Commit Graph

896 Commits

Author SHA1 Message Date
Arthur Schiwon
7abbe6c0b5 Merge pull request #5709 from nextcloud/backport/5703/stable27
[stable27] fix: Avoid conflicts on deck attachments folder name
2024-05-24 10:29:51 +02:00
Luka Trovic
efb5f8e28d fix: permission check for cloning board
Signed-off-by: Luka Trovic <luka@nextcloud.com>

[skip ci]
2024-05-17 19:12:03 +02:00
Jim Madge
b70204c5b1 Clarify config file not found exception message
Signed-off-by: Jim Madge <jmadge@turing.ac.uk>
2024-04-03 08:29:50 +00:00
Julius Härtl
0a9b64c758 fix: Avoid conflicts on deck attachments folder name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-27 15:03:02 +00:00
Julius Härtl
fe7c4430f5 Merge pull request #5547 from nextcloud/backport/5542/stable27
[stable27] fix(PermissionService#getPermissions): Catch exceptions from getBoard method
2024-02-05 07:12:02 +01:00
Marcel Klehr
16286010ef fix(PermissionService#getPermissions): Catch exceptions from getBoard method
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-02-02 13:00:00 +00:00
Joas Schilling
517d79156a fix(activity): Fix permission checks when rendering activities in background jobs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-02 12:55:46 +00:00
Julius Härtl
b24d512fda fix: Limit card activities for deleted cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 15:13:40 +01:00
Julius Härtl
e1bd8b2d72 fix: Further limit updating cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 15:13:40 +01:00
Julius Härtl
48dfe02fe4 fix: limit to non-deleted cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 15:13:40 +01:00
Julius Härtl
aa5fb57cb4 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:13:40 +01:00
Julius Härtl
b7d624c671 chore: Fix php-cs and psalm
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 11:32:34 +01:00
Mario Jäckle
6b5667dd8f fix: allow null label colors in trello json importer
Signed-off-by: Mario Jäckle <github@jacksbox.de>
2024-01-09 10:57:05 +01:00
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