Commit Graph

662 Commits

Author SHA1 Message Date
Julius Härtl
f10e1a21fe Fetch attachment folder for the correct user during cron job
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-08 07:00:59 +00:00
Julius Härtl
33f24e5add Add app config to toggle the default calendar setting as an admin
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-30 12:42:40 +00:00
Julius Härtl
fc0571aeda Move all caching to helper
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-11 14:44:53 +00:00
Luka Trovic
8695641c2a 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-11 14:44:52 +00:00
Luka Trovic
894e17aaef fix: update attachments count when sharing
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-05-11 14:44:51 +00:00
Luka Trovic
a8db7a90f1 fix: undefined variable in AttachmentMapper.php
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-05-09 19:25:41 +01:00
Julius Härtl
d1498486eb Fetch full board data after cloning
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-04 10:29:41 +00:00
Julius Härtl
e1391efbef Add missing indices
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-26 16:26:44 +00:00
Luka Trovic
d14c7810ee fix: hidden attachment icon on archived cards
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-04-20 14:22:33 +00:00
Julius Härtl
bd405122e2 Use explicit cast to make use of index
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-19 19:43:29 +00:00
Bink
ca6fe65580 Fix: Check all circle shares for permissions instead of returning after the first 2022-04-12 15:19:09 +00:00
Julius Härtl
498ed9dfff Merge pull request #3665 from nextcloud/backport/stable22/2496
[stable22] Transfer ownership
2022-04-11 18:29:28 +02:00
Julius Härtl
4bd1b70a5e Properly check for the stack AND setting board permissions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-11 14:35:25 +00:00
Julius Härtl
658d358e70 Skip unavailable cache
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 15:12:41 +01:00
Julius Härtl
3e6a80eb37 Fix tests and move to 7.3 as a min php version
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 15:07:42 +01:00
Julius Härtl
6e5fd9e25a Handle board exceptions more gracefully
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:20:29 +01:00
Julius Härtl
9fbdafbe73 Cover case where the owner is preserved
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:20:29 +01:00
Luka Trovic
9403fb1759 fix: feedback
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-03-22 14:20:29 +01:00
Luka Trovic
691abb02d8 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 14:20:29 +01:00
Julius Härtl
74e0149a6d Reuse single board transfer for all user boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:20:28 +01:00
Julius Härtl
c5d83e662c fix: Properly handle limited scope for remapping users
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:20:28 +01:00
Julius Härtl
a52664e9e4 Allow transfer of single boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:20:28 +01:00
Julius Härtl
f573abe279 fix: Psalm
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:20:26 +01:00
Julius Härtl
975af7c056 fix: unit tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:18:40 +01:00
Luka Trovic
c7c9302109 fix: integration tests
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-03-22 14:18:11 +01:00
Luka Trovic
989db4702c fix: unit test & psalm static code analysis issues
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-03-22 14:17:04 +01:00
Max
9de5f12f4b fix: queries with the new base mapper in BoardMapper
Signed-off-by: Max <max@nextcloud.com>
2022-03-22 14:17:04 +01:00
Max
9338ebb561 fix: Assignment is the new AssignedUsers
Signed-off-by: Max <max@nextcloud.com>
2022-03-22 14:17:04 +01:00
Julius Härtl
0d9cdc5f1e Make queries work with the new base mapper
Signed-off-by: Julius Härtl <jus@bitgrid.net>

fix: conflicts
2022-03-22 14:17:04 +01:00
Julius Härtl
f66c71ee55 Just cleanup old ACL rules, there are none for the board owner so nothing to cleanup or persist there
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:17:03 +01:00
Julius Härtl
d742bc097b Use proper description of what gets transferred
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:17:03 +01:00
Julius Härtl
53386a7f1a Fix card mapper query for transfer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:17:03 +01:00
Sergey Shliakhov
cfbc18deb9 Fix coding styles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Max <max@nextcloud.com>
2022-03-22 14:17:03 +01:00
Sergey Shliakhov
bdf4631504 Transfer deck ownership even if target user already participant of a board
https://github.com/nextcloud/deck/pull/1955#issuecomment-640392715
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
2022-03-22 14:17:03 +01:00
Sergey Shliakhov
a0f93a81d2 Check type before transfer card participants ownership
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>

temp
2022-03-22 14:17:03 +01:00
Sergey Shliakhov
b8b3ac3516 Fix code style
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
2022-03-22 14:17:03 +01:00
Sergey Shliakhov
c93aaeb9bf Update docs
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>

fix: conflicts
2022-03-22 14:17:02 +01:00
Sergey Shliakhov
f42c82274f Add deck:transfer-ownership command
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
2022-03-22 14:17:02 +01:00
Luka Trovic
4e937bd03a fix: generate fixed link for activity emails
Signed-off-by: Luka Trovic <luka@nextcloud.com>

fix: generate fixed link for activity emails

Signed-off-by: Luka Trovic <luka@nextcloud.com>

Fix tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-09 17:24:32 +00:00
Julien Veyssier
edacda1377 fix confusion between stackId and boardId in StackService::update()
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-01-18 15:23:26 +00:00
Julius Härtl
6e89dd48bc Move any circles API usage to internal service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-11 09:31:34 +01:00
Julius Härtl
2bbd572cb5 Avoid blocking calendar access if something goes wrong while fetching deck entries
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-11 09:29:29 +01:00
Simon Spannagel
9f8df2bbd4 CardApiController: Fix order of optional parameters
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2022-01-10 11:02:10 +00:00
Julius Härtl
cef4cc6a4d Fix cursor generation if no results are found
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-30 12:22:08 +00:00
Julius Härtl
33993418ac Keep exceptions http response generic and return the request ID for further tracing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-05 17:02:27 +00:00
Julius Härtl
a680915a89 Fix optional parameter order
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-06 09:24:12 +00:00
Julien Veyssier
5a108b64b0 use distinct pagination cursor for cards and boards, use cursor and limit in SearchService::searchBoards()
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-10-04 17:38:07 +02:00
Julius Härtl
18a7ae3a1a Additional check for stacks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-09-14 19:01:19 +00:00
Julius Härtl
0f71741c46 Merge pull request #3306 from nextcloud/backport/3299/stable22
[stable22] Return false instead of throwing when getting calendar setting
2021-09-08 18:28:57 +02:00
Julius Härtl
d51f645299 Return false instead of throwing when getting calendar integration setting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-09-08 16:00:28 +00:00