Julius Härtl
f2e1a24b6b
fix: use proper owner source
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-12 09:11:36 +02:00
Julius Härtl
6891b80eb2
style: fix php-cs
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:49:01 +02:00
Julius Härtl
3a5d5bd449
fix: Only map owner for user mapping
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:15 +02:00
Julius Härtl
5b81f4b614
chore: Cleanup some outdated fixme comments
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:15 +02:00
Julius Härtl
4ee7203990
fix: Map card assignments through mapping config
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:14 +02:00
Julius Härtl
3039d6dce2
fix: Add output for individual failures or skipped parts
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:14 +02:00
Julius Härtl
60df897bd2
tests: assert json diff between import/export
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:14 +02:00
Julius Härtl
b78f8a664f
fix: Do not fail on missing owner details
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:14 +02:00
Julius Härtl
9ca442f959
fix: Only set last modified if not already set manually
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:14 +02:00
Julius Härtl
fd9883207e
fix: Avoid duplicate data on board export
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:14 +02:00
Julius Härtl
073093c958
test: Add reimport test case
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:13 +02:00
Julius Härtl
f98873093d
fix: request full details for board export
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:13 +02:00
Julius Härtl
f160ec63c0
draft: todos
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:13 +02:00
Julius Härtl
f5648284f2
feat: Let occ deck:import default to deck json importer
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:11 +02:00
Julius Härtl
890893f9e3
docs: Add dedicated documentation section for import/export
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
docs: Update import docs
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:39:13 +02:00
Julius Härtl
e98188fbf8
feat: Add app version to the deck app export
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:39:12 +02:00
Julius Härtl
2ae9f71483
feat: Implement logic to import multiple boards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:39:12 +02:00
Max
8954569aee
WIP: enh(import): import deck json exports
...
Signed-off-by: Max <max@nextcloud.com >
2023-08-11 19:39:12 +02:00
Julius Härtl
ef463f32e6
fix: Avoid failing due to uninitialized acces of systemInstance
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:39:12 +02:00
Julius Härtl
72b5e1baf6
fix: Properly export cards as a child element of the related stack
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:39:12 +02:00
Julius Härtl
07c219dfa7
fix: Split query to fetch board ids to avoid slow query join
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-07-21 18:30:22 +02:00
Joas Schilling
e396c17828
fix(notification): Prevent null in parameters
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2023-07-14 06:25:58 +00:00
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