Julius Härtl
c4c905042f
fix: Avoid conflicts on deck attachments folder name
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-03-27 15:02:39 +00:00
Julius Härtl
aeb691752c
fix: Pass user id along to properly check permissions in background jobs
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-02-14 12:06:58 +01:00
Julius Härtl
d0780557f6
test: Adapt unit tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-01-12 08:45:07 +01:00
Julius Härtl
e56b278383
fix: PHP 7.4 compatibility
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-01-12 08:44:22 +01:00
Julius Härtl
8efa30ddd2
tests: Fix missing behat context methods
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-01-12 08:43:37 +01:00
Julius Härtl
aa7430bde9
fix: Further limit updating cards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-01-12 08:43:37 +01:00
Julius Härtl
e75ff1c1a0
fix: limit to non-deleted cards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-01-12 08:43:37 +01:00
Julius Härtl
037469352e
fix: Consider a deleted board inaccessible to share recipients
...
Only the owner can delete/undo a board deletion so there is no reason
other users should have any permission on a board marked as deleted
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-01-12 08:43:36 +01:00
Julius Härtl
8ded6e43c0
fix: Psalm and CI
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-01-09 18:01:37 +01:00
Julius Härtl
585d2de7f7
fix: Only query boards not marked for deletion unless we want to undo
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-01-09 12:10:25 +01:00
Max
2851791f9a
fix: crash when leaving out system parameter
...
The `--system` parameter can be supplied via command line
or selected afterwards.
However if none was provided the command would crash with
`TypeError: Cannot assign null to property $system`.
Handle that gracefully and make the type spec more precise
for the setSystem function.
Signed-off-by: Max <max@nextcloud.com >
2023-06-20 08:49:27 +00:00
Max
f0619912ff
Fix(occ): set user id for permission sevice from board service
...
Fixes #4010 .
Signed-off-by: Max <max@nextcloud.com >
2023-06-14 10:31:08 +00:00
Julius Härtl
dbdbb00fd5
fix: Use passed userid when getting attachment folder
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-03-17 14:05:08 +00:00
Julius Härtl
c3f0a1edc4
Fix validation of attachment data
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-11-03 20:37:47 +01:00
Julius Härtl
a8b46ad10f
Unify getting the share for attachments
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-10-31 20:18:10 +00:00
Luka Trovic
9d09916c17
feat: add validators to check values in services
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-10-31 11:59:50 +00:00
Julius Härtl
46972646d8
Cache user membership for circles
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-10-19 19:05:47 +00:00
Julius Härtl
6cc589539b
Avoid always setting the current time on card updates
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-10-19 18:56:39 +00:00
Joas Schilling
b74569abef
Fix issue with duedate format
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2022-10-19 18:56:39 +00:00
Joas Schilling
5851c4a5f1
Fix sorting stacks
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2022-10-13 13:27:46 +00:00
Julien Veyssier
cb60e70ae9
refs #4035 fix attachment creator name: show display name instead of user id
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2022-09-07 16:53:51 +02:00
Julius Härtl
e2c5367050
Avoid duplicate code
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-08-28 20:51:22 +02:00
Julius Härtl
7c40172c40
Use capped memory cache for board permissions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-08-16 16:06:40 +02:00
Julius Härtl
e639456a82
Fetch attachment folder for the correct user during cron job
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-08-05 13:20:41 +02:00
Julius Härtl
ceab78e2d8
Merge pull request #3862 from mstolf/bugfix/3861/inserted-required-property-in-rename-list-field
...
Inserted required property in the rename list field, to prevent the l…
2022-07-26 16:59:30 +02:00
Julius Härtl
f98b5764ea
Ensure that lists have a title
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-07-05 22:20:59 +02:00
Julius Härtl
ce7da62a88
Revert lazy use of userId in ConfigService
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-05-13 11:52:21 +02:00
Carl Schwan
44481e1c2a
Switch from OC::$server->get to OCP\Server::get
...
And add a bit more typing to some classes + psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2022-05-12 10:55:36 +02:00
Julius Härtl
9bd8669cf4
Merge pull request #3682 from nextcloud/bug/increase-file-count-after-sharing
...
Increase file count after sharing
2022-05-11 16:40:42 +02:00
Julius Härtl
03f400620e
Move all caching to helper
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-05-11 16:04:12 +02:00
Raul Ferreira Fuentes
b86fbb3cd8
Merge pull request #3782 from nextcloud/enh/backend_serialization_models
...
Add CardDetail serialization model
2022-05-06 12:47:33 +02:00
Raul
ebbafbe55d
Add board summary model
...
Signed-off-by: Raul <raul@nextcloud.com >
2022-05-06 11:29:13 +02:00
Raul
7b7af75802
Update Card serialization (jsonSerialize usages) to use CardDetails model
...
Signed-off-by: Raul <raul@nextcloud.com >
2022-05-06 11:29:13 +02:00
Luka Trovic
ed3be361b5
fix: move shares count cache logic to the DeckShareProvider
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
fix: conflicts
Signed-off-by: Luka Trovic <luka@nextcloud.com >
fix: conflicts and test issues
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-05-06 10:25:48 +02:00
Luka Trovic
0b6990f828
fix: update attachments count when sharing
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-05-06 10:24:32 +02:00
Julius Härtl
9fab40d12a
Fetch full board data after cloning
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-05-02 17:48:25 +02:00
Julius Härtl
7507ac31f7
Merge pull request #3692 from nextcloud/bug/fix-hidden-attachment-icon-on-archived-cards
...
Fix hidden attachment icon on archived cards
2022-04-20 16:22:01 +02:00
Raul
0c5b1a88a6
Run cs:fix
...
Signed-off-by: Raul <raul@nextcloud.com >
2022-04-13 12:43:00 +02:00
Raul
1d5fdef4b4
Remove redundant is_array checks on return result from LabelMapper::findAll
...
Signed-off-by: Raul <raul@nextcloud.com >
2022-04-13 12:40:05 +02:00
Raul Ferreira Fuentes
8c1e53a8df
Fix test case which relied on mapper->delete() returning a bool value
...
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com >
2022-04-11 20:04:16 +02:00
Julius Härtl
949cb99847
Merge pull request #3625 from bink/bugfix/correct-acl-for-cirlce-and-member-shares
...
Fix: Check all circle shares for permissions
2022-04-11 16:45:37 +02:00
Bink
04f8292b8a
Fix: Check all circle shares for permissions instead of returning after the first
2022-04-11 15:49:14 +02:00
Julius Härtl
86d3de2211
Properly check for the stack AND setting board permissions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-04-11 12:47:44 +02:00
Julius Härtl
a08f1936ec
Fix test warnings
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-04-08 15:40:01 +02:00
Luka Trovic
c9bb49e0f7
fix: hidden attachment icon on archived cards
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-04-05 18:29:47 +02:00
Julius Härtl
23f0b16a5a
Handle board exceptions more gracefully
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:30 +01:00
Julius Härtl
3f29cd97db
Cover case where the owner is preserved
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:30 +01:00
Luka Trovic
9f1dbd137c
fix: feedback
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-03-22 08:23:29 +01:00
Luka Trovic
bf9a51d167
feat: add api endpoint and UI to transfer a board to a different user
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-03-22 08:23:29 +01:00
Julius Härtl
4f13977851
Reuse single board transfer for all user boards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:29 +01:00