Граф коммитов

916 Коммитов

Автор SHA1 Сообщение Дата
René Gieling a2046f4ce0
Merge pull request #1828 from nextcloud/enhancemet/obfuscate-user-id
obfuscate userIds in public polls
2021-07-23 08:23:33 +02:00
dartcafe 7beacb192f
cs-fix
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-11 22:12:24 +02:00
dartcafe 5053d4fa92
fix type hint and add annotations
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-11 22:05:20 +02:00
dartcafe 84df174c5d
type hints, annotations and camel case
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-11 22:02:55 +02:00
dartcafe da7b50139b
obfuscate userIds in public polls
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-11 18:04:31 +02:00
dartcafe dccdad42e7
watch force dependend object refresh server side
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-10 11:19:28 +02:00
dartcafe 0101b38f80
NC21 compatibility keep exceptions #1815
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-07 23:54:53 +02:00
dartcafe df66373fbe
fix notifier
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-05 12:15:39 +02:00
dartcafe 4e71bdb14f
fix parameter order
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-05 12:15:24 +02:00
dartcafe f4f01c7bd3
delete column dt in polls_comments and update migration
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-05 12:14:53 +02:00
dartcafe eeaac17a28
Update version and tidy
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-05 08:57:33 +02:00
dartcafe 815155e997
leave optionText to length 256 due to constraint error
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-02 00:34:03 +02:00
dartcafe 420a883113
fix
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-02 00:08:57 +02:00
dartcafe 2317d70dd3
Adjusting field lengths
Signed-off-by: dartcafe <github@dartcafe.de>
2021-07-02 00:00:40 +02:00
René Gieling 23e24cd6d7
Merge pull request #1789 from nextcloud/fix/circle-v22
Fix/circle v22
2021-06-28 23:25:09 +02:00
dartcafe 1dd476c1cd
compatibility bug
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-28 20:13:01 +02:00
dartcafe 95e08089fe
fix schema (share)
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-27 23:32:57 +02:00
dartcafe f48456f886
fix migration for first time run
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-27 10:17:17 +02:00
dartcafe 79bea2ecdd
run fixVotes in migration (only needed once)
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-22 09:10:00 +02:00
dartcafe 2062843b4d
apply changes from #1762 for #1749 manually
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-21 23:52:14 +02:00
dartcafe 9a3578012d
add columns to GONE_COLUMNS
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-21 08:22:04 +02:00
René Gieling 1f82c49844
Merge pull request #1754 from nextcloud/fix/event-actor
fix actor in events
2021-06-19 23:33:03 +02:00
dartcafe ad0b6583c4
change soft deleted polls to archived polls
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-19 20:32:58 +02:00
dartcafe 3340c1e355
fix actor in events
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-17 23:17:13 +02:00
René Gieling 3775ae8b42
Merge pull request #1750 from nextcloud/Valdnet-patch-1
l10n: Delete dot
2021-06-17 22:24:21 +02:00
René Gieling 1135e9dbef
Do not send mails to disabled group members (#1751) 2021-06-17 22:21:04 +02:00
Valdnet 08f03e96ee
l10n: Delete dot 2021-06-17 11:30:23 +02:00
dartcafe 986e69ce5d
fix variable
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-16 08:11:57 +02:00
René Gieling a6fd1aadae
Merge branch 'master' into enh/GroupDeletedEvent 2021-06-16 08:09:03 +02:00
dartcafe 8e4e027071
remove deleted Groups from shares
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-16 08:02:04 +02:00
dartcafe bfacc47597
we love merge conflicts
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-15 11:43:17 +02:00
dartcafe 7c0cc70dd3
add poll table to ShareListener
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-15 10:42:45 +02:00
dartcafe d96164a569
fixes and move notification to events and listener
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-15 10:42:45 +02:00
dartcafe b95e380b97
Use events for watch and nofication events
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-15 10:42:26 +02:00
dartcafe a6029d01e2
correct naming
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-14 00:46:51 +02:00
dartcafe 916c4b181a
tidy
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-14 00:37:35 +02:00
dartcafe e33c15c41c
Final
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-14 00:19:12 +02:00
dartcafe b2294b7aa7
rename class
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-10 23:09:11 +02:00
dartcafe 238e887531
Prevent notNull && default = '' (oracle compatibility)
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-10 23:02:45 +02:00
dartcafe b23beef493
Prevent notNull && default = '' (oracle compatibility)
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-10 23:01:13 +02:00
dartcafe 4a4c6ae7a0
fix
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-06 20:01:09 +02:00
dartcafe 8ceab5ad32
some more fixes
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-06 20:01:08 +02:00
dartcafe 36c8db50d0
use repairsteps for indices and constraint creation
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-06 20:01:07 +02:00
dartcafe a5f103af10
tidy database and ensure consistent column definitions
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-06 20:01:07 +02:00
dartcafe ce73080bbb
New migration step with consolidated migrations prior to 2.0
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-06 20:01:06 +02:00
dartcafe 2c431fd960
New migration step with complete table schema
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-06 20:01:06 +02:00
dartcafe f81fb7979d
Doctrine
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:57 +02:00
dartcafe 92d824b7e5
psalm
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:57 +02:00
dartcafe 0d8640612b
typo
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:56 +02:00
dartcafe 1dd108cfa0
replace Doctrine\DBAL\ with OCP\DB
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:56 +02:00
dartcafe 5835eb76c2
Doctrine
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:55 +02:00
dartcafe 6758638e82
psalm
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:54 +02:00
dartcafe 0e7855665b
typo
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:54 +02:00
dartcafe acf85e6d0d
replace Doctrine\DBAL\ with OCP\DB
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:54 +02:00
dartcafe 918533ea5f
Doctrine
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:12 +02:00
dartcafe f90cce9287
psalm
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:12 +02:00
dartcafe 22bfa2b362
typo
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:12 +02:00
dartcafe 0aeb5528fb
replace Doctrine\DBAL\ with OCP\DB
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-04 21:46:11 +02:00
dartcafe c0080818f8
add option duration to API
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-03 20:56:36 +02:00
René Gieling b9b372f30b
Merge pull request #1687 from nextcloud/woraround/multiple-contacts-UIDs
Workaround: Don't throw error when contact UID is found multiple times
2021-06-03 20:04:16 +02:00
dartcafe 3f23b27791
fix preferencesService
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-02 16:01:47 +02:00
dartcafe 234fad2164
Workaround #1681
Signed-off-by: dartcafe <github@dartcafe.de>
2021-06-02 08:11:19 +02:00
dartcafe 802a8c697d
fix annotations
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-29 22:59:45 +02:00
dartcafe 9084f3b353
fix named arguments (PHP8)
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-29 22:58:51 +02:00
René Gieling d2b61b3d4c
Merge pull request #1657 from nextcloud/enhancement/invitations
Add displayname to Invitation notice
2021-05-28 18:24:04 +02:00
dartcafe e69ca2448a
fix #1658
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-28 16:56:24 +02:00
dartcafe fdd1a4cd67
fix #1653
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-28 11:03:28 +02:00
dartcafe 5e09812643
fix #1559
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-26 23:19:33 +02:00
dartcafe cfc14cba44
change migration class
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-22 19:21:10 +02:00
René Gieling 56d4220d56
Enh/email markdown (#1631)
* Render poll description in invitations with markdown
* update makefile
* remove doctrine/orm
* psalm ignore doctrine errors
* update workflows
2021-05-22 17:13:16 +02:00
dartcafe 57d2c3172a
cs fix
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-21 06:28:54 +02:00
dartcafe aee209e115
Option to hadle no as unvoted
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-19 21:31:33 +02:00
dartcafe 9cadb19244
fix #1572
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-16 22:36:57 +02:00
dartcafe 600324422b
some more maintenance and refactoring
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-14 20:26:47 +02:00
dartcafe 8dbff26618
fix notificationService
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-12 09:47:04 +02:00
dartcafe c4a907d41a
reduce db access
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-11 23:46:47 +02:00
dartcafe 34fe2e9e43
request acl permission in setter
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-11 21:45:48 +02:00
dartcafe 7395d946b7
more refactoring
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-10 17:33:53 +02:00
dartcafe 7021bbdc4e
acl->request(Acl::PERMISSION_POLL_VIEW) is obsolete
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-10 17:29:11 +02:00
dartcafe c9268be70e
refactor getLogString
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-09 18:19:34 +02:00
dartcafe 384b860c35
rename acl constants
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-09 17:57:30 +02:00
dartcafe 647b0fd4e3
cs-fix
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-09 17:23:54 +02:00
dartcafe 68eddc6b27
tidy and maintenance
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-09 17:18:57 +02:00
dartcafe 50a701447a
cs:fix
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-08 22:45:46 +02:00
dartcafe 6d0058ca1e
use psalm for static analysis
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-08 22:13:52 +02:00
dartcafe aca5b406c0
update NotificationCron to public API
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-02 19:01:30 +02:00
dartcafe 29a7a51136
Add a janitor job to tidy log and watch tables from old entries
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-02 18:48:03 +02:00
René Gieling c53aabf354
Merge pull request #1516 from PhrozenByte/feature/commands
Add polls:share:* CLI commands
2021-05-02 10:05:20 +02:00
Daniel Rudolf 32923834df
Make php:cs linter happy
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-05-01 22:59:55 +02:00
dartcafe 958d8432ca
cs fix
Signed-off-by: dartcafe <github@dartcafe.de>
2021-04-27 23:23:04 +02:00
dartcafe 0cfffdb46e
delete shares by userId
Signed-off-by: dartcafe <github@dartcafe.de>
2021-04-27 23:13:10 +02:00
René Gieling b3f3661dc2
Fix tab indentation 2021-04-27 23:07:45 +02:00
dartcafe f0d7d5e789
delete or rename
Signed-off-by: dartcafe <github@dartcafe.de>
2021-04-27 22:06:42 +02:00
dartcafe 3ce91267c3
delete via sql
Signed-off-by: dartcafe <github@dartcafe.de>
2021-04-25 19:59:28 +02:00
Jonas Rittershofer e57eeb51ed
Delete polls for deleted user
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2021-04-25 17:27:43 +02:00
dartcafe 7175076c9e
allow option proposals in public polls
Signed-off-by: dartcafe <github@dartcafe.de>
2021-04-18 22:10:53 +02:00
Daniel Rudolf 472a30d719
Merge branch 'master' into feature/commands 2021-04-16 12:40:21 +02:00
dartcafe 2e000492ce
username as search parameter #1517
Signed-off-by: dartcafe <github@dartcafe.de>
2021-04-09 02:14:58 +02:00
Daniel Rudolf 84c3ece0ed
Code cleanup
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-03-27 16:56:25 +01:00
Daniel Rudolf 220ea16ec0
Add command polls:share:remove
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-03-27 16:48:16 +01:00
Daniel Rudolf 4aea7e8a2a
Add TShareCommand trait
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-03-27 16:46:19 +01:00
Daniel Rudolf a56c56cc8e
Add command polls:share:add
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-03-27 15:48:52 +01:00
Daniel Rudolf d3ba33b644
Move ShareController::sendInvitation() logic to ShareService
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-03-27 15:48:50 +01:00
dartcafe 12f08fd637
minor
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-25 10:55:54 +01:00
dartcafe b863a1d447
some optimizations
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-25 09:52:22 +01:00
dartcafe 2c37a6f117
fix class name
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-25 07:50:15 +01:00
dartcafe c582634e56
Option::getDisplayName() can be null
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-24 09:09:58 +01:00
dartcafe 879d8e73cb
add migration
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-23 23:30:42 +01:00
dartcafe 68bd3a9b3d
cs-fix
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-23 23:20:38 +01:00
dartcafe 03bd2bca7a
change logger to Psr\Log\LoggerInterface
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-23 23:18:47 +01:00
dartcafe 538d5dd7af
remove logging
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-23 23:13:18 +01:00
dartcafe d2172cf7a3
fixing all type definitoins
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-23 23:09:48 +01:00
dartcafe fbb41c5b4d
fix order and type definitions
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-23 22:49:37 +01:00
dartcafe 329619e162
only add owner, if not poll owner
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-22 07:30:37 +01:00
dartcafe 56034c7b1a
prepare backend
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-22 07:28:49 +01:00
dartcafe 26f90b4126
allow deletion of option by option owner and dsiplay owner
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-22 07:27:09 +01:00
dartcafe 834eec043f
only add owner, if not poll owner
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-22 07:27:08 +01:00
dartcafe 9c3dfba346
prepare backend
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-22 07:26:29 +01:00
René Gieling b07a825a51
change migration (#1469)
change migration
2021-03-07 19:34:07 +01:00
René Gieling b0d7d62f03
Merge pull request #1466 from nextcloud/fix/remove-spaces
Fix/remove spaces
2021-03-07 12:56:33 +01:00
dartcafe ab33109851
remove trailing spaces from translations strings
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-07 11:59:36 +01:00
dartcafe 43d4ff9bf5
move shift date to backend
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-07 11:47:18 +01:00
René Gieling 3a7c63657f
use psr logger (#1462)
use psr logger
2021-03-07 08:46:09 +01:00
dartcafe b3c1284cb9
fix comparism in mail controller
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-06 18:08:20 +01:00
René Gieling ddebf80054
Merge pull request #1461 from nextcloud/fix-notification
remove notification, if poll not found #1421
2021-03-06 17:48:15 +01:00
dartcafe 674a33a066
remove notification, if poll not found #1421
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-06 16:59:54 +01:00
dartcafe 824c6f0e4a
some maintenance
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-06 16:22:45 +01:00
dartcafe c55bb68f8a
rearranging components
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-06 09:37:01 +01:00
dartcafe 4a1dfbe0bf
Support markdown for description, prohibit HTML
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-05 16:15:36 +01:00
dartcafe ff07d8d8c4
Move actions to usermenu
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-03 23:44:24 +01:00
dartcafe 5246479c30
changed closing logic
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-03 18:47:33 +01:00
dartcafe 7b2e40a4ad
Hide counter and participants, if results are hidden
Signed-off-by: dartcafe <github@dartcafe.de>
2021-03-02 19:32:15 +01:00
René Gieling 8bd5e69cb4
added hide options if booked out and move some logic to backend (#1449) 2021-03-02 14:41:39 +01:00
dartcafe e13fddd571
fixed contactgroups in usersearch
Signed-off-by: dartcafe <github@dartcafe.de>
2021-02-28 21:17:09 +01:00
dartcafe b39a24a705
fix migration (column already existing)
Signed-off-by: dartcafe <github@dartcafe.de>
2021-02-28 19:08:46 +01:00
dartcafe 0b0ce15ed8
php-cs nagged
Signed-off-by: dartcafe <github@dartcafe.de>
2021-02-28 13:33:13 +01:00
dartcafe 25df7307ee
load poll list via long poll and remove timed polling
Signed-off-by: dartcafe <github@dartcafe.de>
2021-02-27 23:16:51 +01:00
dartcafe b6d5519379
fix type
Signed-off-by: dartcafe <github@dartcafe.de>
2021-02-26 23:33:04 +01:00
dartcafe 2602297ebd
Let public users change their email address
Signed-off-by: dartcafe <github@dartcafe.de>
2021-02-25 23:44:50 +01:00
dartcafe bb1c3a75b0
enhance poll watching 2021-02-21 18:12:30 +01:00
dartcafe 91f6c49f73
fix option order 2021-02-21 16:59:36 +01:00
dartcafe d3281a5b83
missing changes 2021-02-20 20:43:53 +01:00
dartcafe 5d2ed7b785
respect duration in calendar search 2021-02-20 20:42:00 +01:00
dartcafe 6b156fc152
fix 2021-02-12 17:24:36 +01:00
dartcafe 8a53739306
Merge branch 'duration' of https://github.com/nextcloud/polls into duration 2021-02-12 13:17:36 +01:00
dartcafe 94361b3568
initit date poll with duration 2021-02-12 13:17:28 +01:00
dartcafe 3864e26a37
initit date poll with duration 2021-02-12 13:17:28 +01:00
dartcafe 1f6dba672b
initit date poll with duration 2021-02-12 13:17:27 +01:00
dartcafe 216778eebc
initit date poll with duration 2021-02-12 13:17:27 +01:00
dartcafe 4f8985ab60
fix 2021-02-11 19:30:09 +01:00
René Gieling 947c499ff4
Merge branch 'master' into manage-comments 2021-02-11 14:32:48 +01:00
dartcafe 67e29a3772
apply controls to components 2021-02-11 12:39:14 +01:00
dartcafe 96c585828b
fix migration step
Signed-off-by: dartcafe <github@dartcafe.de>
2021-02-07 17:35:38 +01:00
dartcafe d4c880679f
fix copy&paste error
Signed-off-by: dartcafe <github@dartcafe.de>
2021-02-07 17:35:37 +01:00
dartcafe b9e80f1d3d
allow disabling of comments #737
Signed-off-by: dartcafe <github@dartcafe.de>
2021-02-07 17:35:36 +01:00
dartcafe 904d324773
allow owner deleting of comments #999
Signed-off-by: dartcafe <github@dartcafe.de>
2021-02-07 17:35:35 +01:00
dartcafe 2ae5879436
move index creation for polls_watch to repair steps #1397 2021-02-07 17:20:24 +01:00
dartcafe aca4fbc585
cs-fix 2021-02-07 10:56:40 +01:00
dartcafe 0b140a8610
changed migrations for indices 2021-02-07 10:56:39 +01:00
dartcafe 31ab6ff0f0
initit date poll with duration 2021-02-05 21:47:32 +01:00
dartcafe c7e49c573b
removed wrong type definition for settings #1388 2021-02-05 21:41:54 +01:00
René Gieling a37810f78c
Merge pull request #1382 from nextcloud/code-maintenance
simplify code by using ternary and null coalescing operators
2021-02-05 21:22:07 +01:00
dartcafe 60d45fc680
Default value for preferences #1388 2021-02-05 21:18:58 +01:00
dartcafe 8dde552acf
remove invalid entries from polls_share 2021-02-01 16:55:40 +01:00
dartcafe d1a0fecbb4
simplify code by using ternary and null coalescing operators 2021-01-31 12:54:15 +01:00
René Gieling d2e3dee23b
Watch events (#1367)
Watch current poll for updates an apply immediately
2021-01-30 22:59:40 +01:00
dartcafe ef197cb790
code maintenance 2021-01-25 15:54:20 +01:00
René Gieling aeee4c6fd6
Minor fixes (#1358)
* move router-link to title

* add warning class

* keep recent expired polls in relevant pollList (4 days)

* react faster on vote conflicts
2021-01-22 17:04:58 +01:00
René Gieling 877abb0d09
fix migration (#1356)
fix #1355
2021-01-22 09:43:56 +01:00
dartcafe 198f5e621e
fixing order for sequences 2021-01-17 13:59:44 +01:00
dartcafe bb479464d1
Revert "removed DBAL Type"
This reverts commit 8066b52bd4.
2021-01-16 21:22:58 +01:00
dartcafe a6df3f9822
Revert "correction"
This reverts commit f9e7859af2.
2021-01-16 21:22:34 +01:00
dartcafe f9e7859af2
correction 2021-01-16 21:06:27 +01:00
dartcafe 8066b52bd4
removed DBAL Type 2021-01-16 19:42:07 +01:00
dartcafe 9cb5b447f6
Merge branch 'master' of https://github.com/nextcloud/polls 2021-01-16 09:21:50 +01:00
dartcafe 1ebc288b6e
cs:fix
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-16 08:56:13 +01:00
dartcafe c8876646a5
removed obsolete parameters 2021-01-16 08:39:05 +01:00
dartcafe 2ec8fab4c2
fix #1346 2021-01-15 18:59:13 +01:00
dartcafe 5a86dfbd5a
disallow commenting with public shares 2021-01-13 14:29:42 +01:00
dartcafe 6c22d9b0d5
duplication check is no mor necessary 2021-01-12 14:57:14 +01:00
dartcafe 4de1749d36
some minor fixes 2021-01-12 14:33:44 +01:00
dartcafe dd60883c82
removed useless variable
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-12 13:56:49 +01:00
dartcafe ac743ac95c
cs:fix
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-12 09:00:40 +01:00
dartcafe 6ae7fa45af
changed limits check and make sure only valid votes are counted
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-12 00:14:01 +01:00
René Gieling e43afa2df9
Merge pull request #1339 from nextcloud/refactor-store
Refactor store
2021-01-11 16:42:28 +01:00
dartcafe e2c6463f0d
a try
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-10 22:43:49 +01:00
dartcafe 41e2262fe8
fixes
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-10 22:43:49 +01:00
dartcafe 55eeac2025
cs:fix
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-10 22:43:47 +01:00
dartcafe 98feeb300e
refactoring, optimization, tidy
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-10 22:43:46 +01:00
dartcafe 33102e34ee
shares - load async and take pollId from route params
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-10 22:43:45 +01:00
dartcafe 99469d6471
votes - load async and take pollId from route params
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-10 22:43:44 +01:00
dartcafe 6eee7a89de
options - load async and take pollId from route params
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-10 22:43:43 +01:00
dartcafe 53fcb00a98
comments - load async and take pollId from route params
Signed-off-by: dartcafe <github@dartcafe.de>
2021-01-10 22:43:43 +01:00
dartcafe 82a3bcda20
fix #1326 2021-01-09 10:02:22 +01:00
dartcafe 6b026a32f5
fix 2021-01-04 23:58:44 +01:00
René Gieling f7ef1a927a
Merge pull request #1321 from nextcloud/fixes
Fixes
2021-01-04 23:21:34 +01:00
dartcafe c457451efd
cs:fix 2021-01-04 19:01:22 +01:00
dartcafe 6d7275ae4f
limit votes per option #739 2021-01-04 18:03:09 +01:00
dartcafe 1b33ad823d
add option_limit 2021-01-04 13:58:12 +01:00
dartcafe 8a514962e5
removed accidentially added component 2021-01-04 13:20:16 +01:00
dartcafe 82e25c14d6
adding configuration 2021-01-04 13:09:58 +01:00
dartcafe 1044484d34
limit votes per user #738 2021-01-04 11:18:10 +01:00
René Gieling 5a76364c53
Merge pull request #1281 from nextcloud/admin-section
Adding admin section
2021-01-02 23:03:12 +01:00
dartcafe 1eaa73b770
fix share creation 2021-01-02 19:51:23 +01:00
dartcafe 5b27af4beb
fix shift date options 2021-01-02 11:31:08 +01:00
René Gieling 4729f28c4c
Avoid duplicate entries via unique index in certain dbs (#1284)
Squashing due to many commits
2021-01-02 00:48:46 +01:00
dartcafe 9099fe9e3b
fix share creation 2020-12-30 10:48:49 +01:00
dartcafe a9370e081e
fix comments 2020-12-28 14:07:27 +01:00
dartcafe f3b16b9ce6
cs:fix 2020-12-28 12:32:44 +01:00
dartcafe 7238356261
code maintenance 2020-12-28 12:27:48 +01:00
dartcafe ce80a7711d
some afterwork 2020-12-28 11:06:12 +01:00
dartcafe 0352c2ec0b
remove logging 2020-12-21 23:57:57 +01:00
dartcafe 4526faac54
fix #881 - respect autocompletion restrictions from share settings 2020-12-21 23:25:34 +01:00
dartcafe 9afc1d534b
add subtitle for multiselect 2020-12-19 12:45:23 +01:00
dartcafe 2151559ea8
Add notifications to original poll owner 2020-12-13 22:31:38 +01:00
René Gieling aa95838282
Cancel concurrent request on share searching (#1282)
* fix #1183 
* cancel requests via axios
* debounce user search and omit serching for empty string
2020-12-10 00:02:37 +01:00
dartcafe ec2200b94e
cs-fix 2020-12-08 00:42:08 +01:00
dartcafe 4b72db6c82
Adding admin section 2020-12-06 22:54:42 +01:00
dartcafe 2ce2aa1045
fix #1181 - do not unnecessarily load deleted polls 2020-12-06 12:07:47 +01:00
René Gieling f2bbaecc84
Merge pull request #1278 from nextcloud/fix-public-poll
fixing registration and resending invitation mail
2020-12-05 23:29:18 +01:00
dartcafe c91586fbc7
cs:fix 2020-12-05 23:23:16 +01:00
dartcafe 2b63e9cb66
send new invitation, if the user changed mail address on registration 2020-12-05 23:21:01 +01:00
dartcafe 5177f075c4
fix date option cloning 2020-12-05 22:43:20 +01:00
dartcafe 326efd276a
fixing registration and resending invitation mail 2020-12-05 21:48:10 +01:00
René Gieling bf0081da09
Psalm (#1277)
* added config for psalm
* removed, fixed and additions annotations
* added typehints
2020-12-05 20:44:00 +01:00
René Gieling 6cb597c9e8
publicController (#1272)
* move public pages to one publicController
* some more minor refactoring and optimizations
2020-12-05 13:19:29 +01:00
René Gieling 443861298b
refactor acl (#1254)
* refactor acl
* avoid doule poll requests from db
2020-11-30 20:29:24 +01:00
René Gieling d2eee9bd2b
use github CI and PHPUnit (#1257) (#1269)
* use github CI and PHPUnit (#1257)
* CommentMapperTest
* LogMapperTest
* SubscriptionMapperTest
* all mappers
2020-11-30 20:28:25 +01:00
dartcafe e44d23d02c
fix #1252 2020-11-22 16:31:29 +01:00
dartcafe ae6e090ac9
cs:fix 2020-11-19 08:20:58 +01:00
dartcafe 6d1e039e1e
use black icon for notifications 2020-11-19 08:20:58 +01:00
dartcafe 7774dfc709
add groups notification 2020-11-19 08:20:57 +01:00
dartcafe 35e9c02a9a
fixes 2020-11-19 08:20:56 +01:00
dartcafe 0d97065c29
fixes 2020-11-19 08:20:56 +01:00
dartcafe 19f473f7c0
do not substitute mail invitation with notification 2020-11-19 08:20:55 +01:00
dartcafe 2ef6affb28
jsonSerialize 2020-11-19 08:20:55 +01:00
dartcafe b3f0d01455
fixed registration (convert email and contact share to external share) 2020-11-19 08:20:54 +01:00
dartcafe 63f1e9efbc
refactoring invitations and notifications 2020-11-19 08:20:53 +01:00
dartcafe c85953b4c7
progress, fixes and optimizations 2020-11-19 08:20:51 +01:00
dartcafe d67353002d
invitation via notifications 2020-11-19 08:20:51 +01:00
dartcafe ab186eb032
fix subscription is missing 2020-11-19 07:42:59 +01:00
dartcafe 0c7b8676e6
fix #1244 changed migration for polls_preferences 2020-11-17 22:52:42 +01:00
dartcafe ae13aaafca
removed unused code 2020-11-10 21:46:22 +01:00
dartcafe 2560092cbc
userId is not integer 2020-11-10 16:10:35 +01:00
dartcafe 506d196d36
doing it the manual way 2020-11-10 15:55:28 +01:00
dartcafe e8d5ea519c
remove invalid preferences if any 2020-11-09 23:14:09 +01:00
dartcafe a9b577e809
code fix 2020-11-08 19:08:48 +01:00
dartcafe c7df5fd7fa
code maintenance 2020-11-08 18:09:13 +01:00
dartcafe 63945dcd22
prevent public users from using preferences 2020-11-08 15:59:59 +01:00
dartcafe f0a6dc0224
cs:fix 2020-11-08 09:55:29 +01:00