Max
3be3c0cef1
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:13 +00:00
Julius Härtl
efa097df5b
Merge pull request #4814 from nextcloud/backport/4810/stable26
2023-06-14 16:17:49 +02:00
Max
90ae3130c1
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:04 +00:00
Max
a3bfda27e8
fix: execute return int for export command
...
Signed-off-by: Max <max@nextcloud.com >
2023-06-14 10:29:51 +00:00
Git'Fellow
da93c1a4c6
Ensure boardId is an integer
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com >
2023-06-09 07:43:25 +00:00
Bjoern Schiessle
6684023424
forbid changing the displayname or color of the calendar/deck when the user doesn't has the "manage" permissions
...
Signed-off-by: Bjoern Schiessle <bjoern@nextcloud.com >
2023-04-27 06:43:31 +00:00
Björn Schießle
43bec159ff
Allow user to toggle visibility of the calendar of deck boards
...
The calendar object needs to be exposed with "write" properties in order to allow users to hide/show the corresponding calendar in the calendar app. It doesn't has any affects on the general permissions for the whole board or the tasks. As soon as you select a task you jump to the deck app where the normal deck permissions are applied.
fixes: https://github.com/nextcloud/deck/issues/4618
Signed-off-by: Björn Schießle <bjoern@nextcloud.com >
2023-04-27 06:43:30 +00:00
Jonas
713271d525
Gracefully handle not found card for a share
...
Fixes : #3464
Fixes : #4565
Signed-off-by: Jonas <jonas@freesources.org >
2023-03-29 09:00:24 +00:00
Joas Schilling
4b0a27d6b5
fix(API): Fix board API details parameter to work as expected
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2023-03-08 07:43:46 +00:00
Julius Härtl
3574abe0cb
fix(references): Mute NoPermissionException as it is expected to happen for references
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-03-07 09:24:39 +00:00
Marcel Klehr
8fb7bb83a9
Merge pull request #4493 from nextcloud/bugfix/noid/duplicate-boards
2023-03-01 18:47:20 +01:00
Julius Härtl
fbb410667a
fix: Always return sorted index array to make sure a json array is the result
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-03-01 17:28:13 +01:00
Julius Härtl
f69868ae26
Merge pull request #4492 from nextcloud/fix/undefined-array-index-dashboard
2023-03-01 15:59:33 +01:00
Marcel Klehr
e41627d763
fix(dashboard): Fix undefined array index
...
fixes #4491
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2023-03-01 15:43:26 +01:00
Marcel Klehr
4a89db6d67
Merge pull request #4487 from nextcloud/bugfix/3358
...
fix: Use passed userid when getting attachment folder
2023-02-28 13:28:10 +01:00
Julius Härtl
a198a4eef4
fix: Avoid mutating the due date when calculating days
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-27 23:13:06 +01:00
Julius Härtl
62752f8b72
fix: Use passed userid when getting attachment folder
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-27 22:56:28 +01:00
Julius Härtl
1beff8945b
fix: Pass user id along to properly check permissions in background jobs
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-27 11:25:45 +01:00
chandi Langecker
437f5c9ab5
chore(psalm): adding missing events for annotation
...
Signed-off-by: chandi Langecker <git@chandi.it >
2023-02-21 21:53:22 +01:00
chandi Langecker
41d8867bdd
live updates: listen for stack and board changes
...
Signed-off-by: chandi Langecker <git@chandi.it >
2023-02-21 21:53:22 +01:00
chandi Langecker
322ee92573
live updates for boards
...
Signed-off-by: chandi Langecker <git@chandi.it >
2023-02-21 21:53:20 +01:00
Julius Härtl
b4de6a8f96
fix: Chunk in-queries to 1000 items
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:43 +01:00
Julius Härtl
46df19a3a6
fix: Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:28 +01:00
Julius Härtl
b19b7794bc
perf: Cache full/partial board data differently
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
29d21e05e8
chore: Remove some unused methods
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
afcd226be8
refactor: Unify board enrichment
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
4b319d8d23
perf: Avoid extra round trips when checking permissions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
8ec8a91cab
perf: Group queries for fetching overview cards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
96d1e14390
perf: Cache stacks per request
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
c01e542044
perf: remove duplicate fetching of assignments
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
c1e29ab8cb
fix: Fix missing getBoardId method on AclEvent
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
af21282468
style: php-cs-fixer
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:26 +01:00
Julius Härtl
ba3cab1036
perf: Combine fetching acls for boards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:26 +01:00
Julius Härtl
81c0d96357
perf: Make fetching user details lazy
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:26 +01:00
Julius Härtl
ea8b7999f7
perf: No need to fetch boards every middleware call
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:26 +01:00
Julius Härtl
7bfbbee6e8
perf: Enrich calls in combined sql queries
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:26 +01:00
Julius Härtl
23813b7a03
perf: Add mapper methods to get multiple labels/assignments for cards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:26 +01:00
Julius Härtl
2ffecd81d4
chore: Fix typings and update psalm baseline
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-15 13:29:26 +01:00
Raul
7575bd0bf7
Fix due status calculation
...
Signed-off-by: Raul <raul@nextcloud.com >
2023-02-15 13:18:11 +01:00
Raul
308bf80de0
Add Card::getDaysUntilDue() function
...
Signed-off-by: Raul <raul@nextcloud.com >
2023-02-15 13:18:11 +01:00
Raul
4388d898ae
Include board summary in card details
...
Signed-off-by: Raul <raul@nextcloud.com >
2023-02-15 13:18:11 +01:00
Raul
3a730cf38f
Add phpDoc typehints for magic methods
...
Signed-off-by: Raul <raul@nextcloud.com >
2023-02-15 13:18:11 +01:00
Raul
6ae61368a7
Update Card serialization (jsonSerialize usages) to use CardDetails model
...
Signed-off-by: Raul <raul@nextcloud.com >
2023-02-15 13:18:11 +01:00
Raul
4c729530ce
Add CardDetails model
...
Signed-off-by: Raul <raul@nextcloud.com >
2023-02-15 13:18:11 +01:00
Julius Härtl
fc324f611a
Merge pull request #4422 from nextcloud/enh/noid/discoverable-searchable-ref-provider
2023-02-10 14:45:23 +01:00
Julius Härtl
403a4dc294
perf: Register notifier and resource listener lazy
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-09 10:10:42 +01:00
Julien Veyssier
bbd6f0c26c
use deck icon for boards, MDI-card for cards and MDI-comment for comments
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2023-02-08 14:02:06 +01:00
Julien Veyssier
b4d477dc05
implement BoardReferenceWidget and CommentReferenceWidget
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2023-02-08 14:02:05 +01:00
Julien Veyssier
9658ccd843
refactor CommentService a bit, add BoardReferenceProvider and CommentReferenceProvider (no widgets but resolving)
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2023-02-08 14:02:05 +01:00
Julien Veyssier
264be93a74
fix search provider names/ids, set results thumbnail urls, use them in ref provider
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2023-02-08 14:02:05 +01:00