Luka Trovic
be27d3ed01
fix: merge conflicts
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-12-20 21:41:47 +01:00
Julius Härtl
ed282479a1
Fix validation of attachment data
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-11-03 20:39:20 +01:00
Luka Trovic
1217b37b19
feat: add validators to check values in services
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-10-21 18:08:19 +02: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
03f400620e
Move all caching to helper
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-05-11 16:04:12 +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
13dcacc3bb
Delete file shares through attachments API
...
Previously the file was deleted in the file structure of the user is not
expected as the file might not only be related to the card.
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-09-05 12:13:21 +02:00
Julius Härtl
08842d239e
Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 16:01:55 +01:00
Julius Härtl
199cccf86b
Add 1.1 api version to handle other attachment types properly
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 15:58:40 +01:00
Julius Härtl
74814ad614
Fix test mocking
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 12:10:54 +01:00
Julius Härtl
7291c46d0d
WIP work on delete/update
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 12:10:54 +01:00
Julius Härtl
e095302750
Fix counting attachments
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 12:10:53 +01:00
Julius Härtl
99379beb56
Move to dedicated file attachment service
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 12:10:53 +01:00
Julius Härtl
67c90b1da8
Attachments sidebar
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 12:10:53 +01:00
Julius Härtl
ffd1f677c5
Fetch new attachment type
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 12:10:52 +01:00
Julius Härtl
e16c561d68
Propagate ETag when an attachment is being marked as deleted
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-11-10 18:04:20 +01:00
Julius Härtl
6114c28b10
Remove unneeded cardId parameters
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-07-11 12:21:37 +02:00
Julius Härtl
cd0b3b29f1
Check for the card permissions based on attachment id
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-07-07 15:33:52 +02:00
Julius Härtl
52febb396c
Fix php cs issues
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-04-22 19:57:19 +02:00
Julius Härtl
a026ebf094
Add change database helper
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-11-05 14:53:01 +01:00
Julius Härtl
a068d6e1c6
Add last_modified to board/stack database and add check on index methods
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-11-05 13:23:26 +01:00
Julius Härtl
18f92f7b54
Implement remaining activity types
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-09-06 10:05:01 +02:00
Ryan Fletcher
7930fec5d7
Added in BadRequestException tests into AttachmentService.php
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:22 +02:00
Julius Härtl
dcfb9f3903
Properly annotate exceptions thrown by services
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-08-15 21:15:19 +02:00
Julius Härtl
546928fb79
Throw proper StatusException
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-25 17:55:18 +02:00
Julius Härtl
7ad8080f82
Add unit tests for new classes
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-19 18:00:06 +02:00
Julius Härtl
581fa011e3
Implement updating files
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-19 18:00:05 +02:00
Julius Härtl
0137b882c5
Add attachment indicator
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-19 18:00:04 +02:00
Julius Härtl
ee5a54a575
Allow to undo file deletions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-19 18:00:04 +02:00
Julius Härtl
45c7241daf
Implement attachment backend with a first module for app data file upload
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-19 17:59:00 +02:00