Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
|
|
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
|
|
|
|
|
|
|
|
|
|
* add logic to irrevocably delete polls
Signed-off-by: Vinzenz Rosenkranz <vinzenz.rosenkranz@uni-tuebingen.de>
* add onDelete fk constraint to tables depending on polls
Signed-off-by: Vinzenz Rosenkranz <vinzenz.rosenkranz@uni-tuebingen.de>
* rename finally/irrevocably to permanently
Signed-off-by: Vinzenz Rosenkranz <vinzenz.rosenkranz@uni-tuebingen.de>
* fix poll still visible after delete and show notification after delete
Signed-off-by: Vinzenz Rosenkranz <vinzenz.rosenkranz@uni-tuebingen.de>
* update migration to delete orphaned entries before adding fk constraint
Signed-off-by: Vinzenz Rosenkranz <vinzenz.rosenkranz@uni-tuebingen.de>
* fix sql syntax for non-pgsql in migration
Signed-off-by: Vinzenz Rosenkranz <vinzenz.rosenkranz@posteo.de>
Co-authored-by: René Gieling <github@dartcafe.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
|
|
* small fixes on the backend side
* removed pollService and annotations for scrutinizer
* Fix ACL checks
* Don't load shares, when user has no edit rights
* fix acl
* avoid 💣 Database and logging with recursive setting
* fix PollController
|
|
* renamed event to poll in the entire project
* Migration polls_event to polls_polls
* use timestamp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
|
|
Here the SQLite error message:
An exception occurred while executing 'ALTER TABLE oc_polls_events ADD COLUMN show_results VARCHAR(255) NOT NULL':
SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
|
|
I understand the need to require a value for 'delete_date' column, but it should be done on the application level to support SQLite.
FYI, Nextcloud Server doesn't have any DATETIME column with a NOT NULL constraint, see:
https://github.com/nextcloud/server/blob/v17.0.1/core/Migrations/Version13000Date20170718121200.php#L752
Here the SQLite error message:
An exception occurred while executing 'ALTER TABLE oc_polls_events ADD COLUMN delete_date DATETIME NOT NULL':
SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
|
|
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
|
|
not a string
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
|
|
Fix PostgreSQL and SQLite tests.
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
|
|
See: https://github.com/nextcloud/polls/commit/5b7165b7aae6948c499cb70935c4d9caf4f41e19#diff-b2c29e32782807f65fe6a60f16ee479fL74
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
|
|
|
|
* adding acl
* changing share db and migration (hash becomes token)
* View public vote
* Refactoring anonymizer
* some more refactoring
* nearly finished public voting
* updated dependencies
* linter autofixes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|