* fix: Limit label actions to labels of the cards board
Signed-off-by: Julius Härtl <jus@bitgrid.net>
* tests: Fix unit test mocking around label checks
Signed-off-by: Julius Knorr <jus@bitgrid.net>
---------
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
fix: Enrich on update
Signed-off-by: Julius Knorr <jus@bitgrid.net>
fix: Enrich on create
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Max Bachhuber <max.bachhuber@bahuma.io>
Adjust BoardServiceTest to new dependencies
Signed-off-by: Max Bachhuber <max.bachhuber@bahuma.io>
Add BoardCloneModal vue component to frontend. Adjust BoardApi and store to support clone options
Signed-off-by: Max Bachhuber <max.bachhuber@bahuma.io>
Add license and credits
Signed-off-by: Max Bachhuber <max.bachhuber@bahuma.io>
Fix PHP code style
Signed-off-by: Max Bachhuber <max.bachhuber@bahuma.io>
Change default clone settings
Signed-off-by: Max Bachhuber <max.bachhuber@bahuma.io>
Add accordion for advanced settings
Signed-off-by: Max Bachhuber <max.bachhuber@bahuma.io>
Fix bug which caused board to be cloned when clicking out of the modal
Signed-off-by: Max Bachhuber <max.bachhuber@bahuma.io>
Change wording of clone options
Signed-off-by: Max Bachhuber <max.bachhuber@bahuma.io>
fix: Rebase failures
Signed-off-by: Julius Härtl <jus@bitgrid.net>
update cloneBoards phpdoc
make error message clear
SPDX Header BoardCloneModal.vue
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
Mostly replace `ILogger` with `LoggerInterface` and some minor cleanup (constructor property promotion).
Some places used the deprecated `logException` this is easy to migrate by simply use the appropriate loglevel on the logger
and place the exception under the `exception` key in the context.
Also the manual checking of the configured log level is not needed, as this is already done by the logger.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Fixes the following issue: https://github.com/nextcloud/deck/issues/5136
By fixing the following error when running 'php occ deck:import --system=TrelloJson'
Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:136
and
Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:364
Signed-off-by: mulles <com.github@emu.lu>
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>