Commit Graph

296 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Julius Härtl
ebbe4eb802 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-08 17:57:01 +02:00
Julius Härtl
cc9dea1f2b Defer obtaining the user session in the config service which might be injected before login has hapened
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-20 16:02:48 +00:00
Julius Härtl
75110bed47 Check for null value to avoid TypeError in the group manager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-04 16:41:31 +00:00
Julius Härtl
958d50d9b7 Move circle checks to a unified service and improve member checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-03 07:43:30 +00:00
Julius Härtl
0cc4151929 Reduce duplicate queries when fetching user boards an permissions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-05 18:27:49 +00:00
Julius Härtl
3e032b133d Add compatibility for circles on 22
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-25 11:23:38 +02:00
Julius Härtl
f6eea0e467 Refactor update to have proper order of optional parameters
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-28 14:13:25 +02:00
Jakob Röhrl
f23f8b38f1 change func name
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2021-05-18 12:08:05 +02:00
Jakob Röhrl
eaf061c4b7 show on shared boards unassigned cards to all users
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2021-05-17 14:30:36 +02:00
Julius Härtl
740a06e2a5 Merge pull request #3038 from nextcloud/bugfix/noid/attachment-get-node 2021-05-03 08:44:06 -01:00
Julius Härtl
bb506d5615 Get attachment from the user node instead of the share source
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-03 08:31:46 +02:00
Julius Härtl
bbf0394df2 Show comment counter and highlight if unread comments are available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-28 17:14:48 +02:00
Julius Härtl
6b8f24a3b8 Remove notification on unshare/unassign and add type hints
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-16 17:04:14 +02:00
Julius Härtl
6b6aef03f7 Attempt to fix psalm false-positive
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-13 14:13:04 +02:00
Julius Härtl
c960d21b37 Add global result frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-13 14:13:03 +02:00
Julius Härtl
840c143b92 Implement advanced search queries
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-13 14:13:03 +02:00
Julius Härtl
322480a3b7 Move full text search to proper events
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-13 11:04:17 +02:00
Julius Härtl
214fb3417d No need to close the temp file as the View is already taking care of it
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-05 15:28:29 +01:00
Julius Härtl
9f7901519b Switch to Content-Disposition attachment and check for sane mimetypes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-04 08:17:28 +01:00
Julius Härtl
79468e6f06 Use board permissions to be applied for the shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 22:26:04 +01: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
b26caaa6e5 Fix integration tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:54 +01:00