Commit Graph
880 Commits
Author SHA1 Message Date
Joas Schillingandbackportbot[bot] 444c5d13ba fix(activity): Fix permission checks when rendering activities in background jobs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-02 12:56:35 +00:00
Julius Härtl dda1702afb tests: Fix missing behat context methods
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 22:43:07 +01:00
Julius Härtl 6c1f4744cc fix: Limit card activities for deleted cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 15:26:48 +01:00
Julius Härtl df2beaf5a5 fix: Further limit updating cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 15:26:48 +01:00
Julius Härtl a91e0eb1ac fix: limit to non-deleted cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 15:26:48 +01:00
Julius Härtl 25875f1c05 fix: Consider a deleted board inaccessible to share recipients
Only the owner can delete/undo a board deletion so there is no reason
other users should have any permission on a board marked as deleted

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 15:26:47 +01:00
Mario JäckleandJulius Härtl cea66746d7 fix: allow null label colors in trello json importer
Signed-off-by: Mario Jäckle <github@jacksbox.de>
2024-01-09 10:57:33 +01:00
Julius Härtlandbackportbot-nextcloud[bot] 833f1ed0df 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 15:53:05 +00:00
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
MaxandJulius Härtl 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 Schillingandbackportbot-nextcloud[bot] e396c17828 fix(notification): Prevent null in parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-14 06:25:58 +00:00
Maxandbackportbot-nextcloud[bot] 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ärtlandGitHub efa097df5b Merge pull request #4814 from nextcloud/backport/4810/stable26 2023-06-14 16:17:49 +02:00
Maxandbackportbot-nextcloud[bot] 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
Maxandbackportbot-nextcloud[bot] a3bfda27e8 fix: execute return int for export command
Signed-off-by: Max <max@nextcloud.com>
2023-06-14 10:29:51 +00:00
Git'Fellowandbackportbot-nextcloud[bot] 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 Schiessleandbackportbot-nextcloud[bot] 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ßleandbackportbot-nextcloud[bot] 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
Jonasandbackportbot-nextcloud[bot] 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 Schillingandbackportbot-nextcloud[bot] 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ärtlandbackportbot-nextcloud[bot] 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 KlehrandGitHub 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ärtlandGitHub 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 KlehrandGitHub 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 LangeckerandJulius Härtl 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 LangeckerandJulius Härtl 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