Julius Härtl
09a2f0ea5e
fix: Only query boards not marked for deletion unless we want to undo
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-01-03 16:50:23 +01:00
Julius Härtl
c2fd39779f
fix: Avoid too large index on postgres as indexing just the last_editor column is enough
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-11-15 09:00:18 +01:00
Julius Härtl
c17b11192d
fix: Check both card reference url patterns
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-11-07 10:24:11 +00:00
Luka Trovic
1dffc29338
feat: update smart picker links
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2023-08-28 06:38:40 +00:00
Julius Härtl
3da4e2498f
fix: use proper owner source
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-12 09:11:31 +02:00
Julius Härtl
beafcfa743
style: fix php-cs
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:48:22 +02:00
Julius Härtl
07ba4b2e4a
fix: Only map owner for user mapping
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:37:00 +02:00
Julius Härtl
a8466d1426
chore: Cleanup some outdated fixme comments
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:37:00 +02:00
Julius Härtl
b0af2fef2d
fix: Map card assignments through mapping config
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:37:00 +02:00
Julius Härtl
8feeb7005d
fix: Add output for individual failures or skipped parts
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:36:59 +02:00
Julius Härtl
0af05d62b7
tests: assert json diff between import/export
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:36:59 +02:00
Julius Härtl
4b9bae2753
fix: Do not fail on missing owner details
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:36:59 +02:00
Julius Härtl
cc9750ace7
fix: Only set last modified if not already set manually
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:36:59 +02:00
Julius Härtl
8cabd6001e
fix: Avoid duplicate data on board export
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:36:59 +02:00
Julius Härtl
73c6487798
test: Add reimport test case
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:36:59 +02:00
Julius Härtl
5f4c4cdce7
fix: request full details for board export
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:36:58 +02:00
Julius Härtl
e48a1c6a94
draft: todos
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:36:58 +02:00
Julius Härtl
e2ac4df537
feat: Let occ deck:import default to deck json importer
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:36:58 +02:00
Julius Härtl
ab8d4b8432
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:36:58 +02:00
Julius Härtl
7a4ae5fa2c
feat: Add app version to the deck app export
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:36:54 +02:00
Julius Härtl
4c05c4039b
feat: Implement logic to import multiple boards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:29:38 +02:00
Max
c683044d2c
WIP: enh(import): import deck json exports
...
Signed-off-by: Max <max@nextcloud.com >
2023-08-11 19:29:38 +02:00
Julius Härtl
b381588199
fix: Avoid failing due to uninitialized acces of systemInstance
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:29:38 +02:00
Julius Härtl
4e4da92ad6
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:29:37 +02:00
Julius Härtl
9aded3ccb8
chore: Add LoadEditor event to psalm stubs
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-09 14:46:30 +02:00
Julius Härtl
731a491bd1
fix: Load editor on reference pickers for card create dialog
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-09 12:02:38 +00:00
Julius Härtl
9542dde184
fix: Also detect reference to simple card urls
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-09 12:02:38 +00:00
Luka Trovic
1cd5f2f496
feat: create new card from smart picker
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2023-08-09 12:02:38 +00:00
Julius Härtl
4fe38c62dd
fix: Split query to fetch board ids to avoid slow query join
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-07-24 17:38:37 +02:00
Joas Schilling
19a4832caf
fix(notification): Prevent null in parameters
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2023-07-14 06:25:51 +00:00
Max
0456e43378
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:48:43 +00:00
Julius Härtl
e29eb22a49
Merge pull request #4811 from nextcloud/backport/4809/stable27
2023-06-14 16:17:38 +02:00
Max
736222f975
Fix(occ): set user id for permission sevice from board service
...
Fixes #4010 .
Signed-off-by: Max <max@nextcloud.com >
2023-06-14 10:30:53 +00:00
Max
2b33583bd7
fix: execute return int for export command
...
Signed-off-by: Max <max@nextcloud.com >
2023-06-14 10:29:49 +00:00
Git'Fellow
313b5b0e15
Ensure boardId is an integer
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com >
2023-06-09 07:43:11 +00:00
Faraz Samapoor
b8566a3a0d
Converts 'strpos()' calls to improve code readability.
...
Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com >
2023-05-10 08:55:42 +03:30
Faraz Samapoor
3f34577064
Refactors lib\Activity\DeckProvider.php to improve code readability.
...
Converts 'strpos()' calls to 'str_contains()' to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com >
2023-05-04 17:08:53 +03:30
Bjoern Schiessle
e2a4737fdb
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 08:34:46 +02:00
Björn Schießle
14d686a6bc
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-26 21:50:18 +02:00
Julius Härtl
0b2ea0f839
fix: Centralize usage of CardDetails
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-04-03 15:35:51 +02:00
Jonas
a7608b1900
Gracefully handle not found card for a share
...
Fixes : #3464
Fixes : #4565
Signed-off-by: Jonas <jonas@freesources.org >
2023-03-28 19:14:09 +02:00
Joas Schilling
83bc2c5cf2
fix(API): Fix board API details parameter to work as expected
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2023-03-08 07:38:25 +01:00
Julius Härtl
b207e28c70
fix(references): Mute NoPermissionException as it is expected to happen for references
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-03-07 10:06:45 +01: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