Commit Graph

455 Commits

Author SHA1 Message Date
StPronk
79eba77b49 Updated all functionalities within cardService to include a before state where possible
Signed-off-by: StPronk <stpronk@gmail.com>
2025-07-31 08:14:00 +02:00
Luka Trovic
8229d40981 fix: acl check when delete, update board acl
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-07-25 16:21:10 +02:00
grnd-alt
4741817594 fix:allow foreign label deletion
Signed-off-by: grnd-alt <github@belakkaf.net>
2025-07-24 12:02:30 +02:00
Luka Trovic
688649f5a8 Merge pull request #6916 from nextcloud/perf/dont-enrich-calendar-entries
perf: don't enrich cards when finding calendar entries
2025-04-29 13:39:08 +02:00
grnd-alt
d31e31735d Merge pull request #6933 from nextcloud/fix/label-card-limit
fix: Ensure consistent label mappings
2025-04-28 10:43:20 +02:00
grnd-alt
899d8a6531 fix: only delete assignments on unshared board (#6932)
Signed-off-by: grnd-alt <github@belakkaf.net>
2025-04-23 11:37:17 +02:00
Julius Härtl
a92dc282a8 fix: Limit label actions to labels of the cards board
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2025-04-22 15:41:39 +02:00
Richard Steinmetz
fa2f5bcab8 perf: don't enrich cards when finding calendar entries
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-16 13:49:58 +02:00
Ronni Dal Lago
94da732bfb CSV export fixes
Signed-off-by: Ronni Dal Lago <blackjacksuper@hotmail.it>
2025-03-21 18:20:37 +01:00
Luka Trovic
b15254f1ed feat: update default content
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-02-13 14:18:47 +01:00
Julius Knorr
7b4586a43a fix: Adapt URLs generated in the backend to new routes
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-02-12 21:56:06 +01:00
Julius Knorr
047fcb6584 fix: Skip individual board caches when listing all boards
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-14 23:19:38 +01:00
Julius Härtl
75be929077 feat: Implement reference resolving for cards that have a link in the title
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>
2025-01-14 23:19:37 +01:00
Julius Knorr
0f593eda27 Merge pull request #6646 from nextcloud/fix/6516 2025-01-09 17:17:20 +01:00
Julius Knorr
a35489bee3 fix: Catch not found card
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-03 14:48:00 +01:00
Luka Trovic
fe1c4e5b34 Merge pull request #6642 from nextcloud/fix/public-dav
fix: Avoid failing on public dav URLs
2025-01-03 11:11:54 +01:00
Julius Knorr
052774397c Merge pull request #3430 from bahuma20/2797-clone-cards
Clone cards together with the board
2025-01-02 17:08:14 +01:00
Max Bachhuber
f2c30afe8a feat: Add possibility to clone cards when cloning a board
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>
2025-01-02 16:58:58 +01:00
Julius Knorr
ea01d84419 Merge pull request #5859 from mulles/patch-1
Update TrelloJsonService.php
2025-01-02 15:58:42 +01:00
Julius Knorr
97eb0a2c5e fix: Avoid failing on public dav URLs
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-02 10:16:00 +01:00
grnd-alt
1fe20dcc1d check user-permsisions when assigning to cloned card
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-12-18 22:31:44 +01:00
grnd-alt
838b648ef6 introduce cloneCard backendFunctionality
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-12-18 22:31:44 +01:00
Julius Knorr
86cb011a5c style: Fix php-cs issues
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-12-17 09:22:00 +01:00
Luka Trovic
fff42693df fix: workflow issues
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-10-25 17:32:25 +02:00
Luka Trovic
439c2b422e fix phpcs
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-09-26 17:12:53 +02:00
Julius Härtl
43a0fec9a6 Merge pull request #6257 from nextcloud/fix/no-cross-referencing-in-labels
copy labels when moving cards between boards
2024-08-29 12:30:17 +02:00
grnd-alt
dbca6bc0d7 copy labels when moving cards between boards
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-08-28 11:59:34 +02:00
dependabot[bot]
ba3e97b73d Chore(deps-dev): Bump nextcloud/coding-standard from 1.2.1 to 1.2.3
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.2.1 to 1.2.3.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v1.2.1...v1.2.3)

---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 08:14:42 +02:00
Ferdinand Thiessen
beb563e74e refactor: Migrate away from deprecated ILogger interface to PSR-3
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>
2024-08-19 14:09:13 +02:00
grnd-alt
09748aebb9 export json data of commments
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-08-05 10:05:05 +02:00
grnd-alt
8da918a6a8 add Order when cloning board
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-07-31 13:21:20 +02:00
Julius Härtl
d4ea088cd2 perf: Avoid fetching labels and owner details on permission check
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-25 17:01:30 +02:00
Julius Härtl
ec9e87d0cb chore: Clean up permission service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-21 09:58:11 +02:00
mulles
be263513b3 Update TrelloJsonService.php
removed trailing white space, I am sorry for that thx for your patience.

Signed-off-by: mulles <com.github@emu.lu>
2024-05-22 10:28:47 +02:00
mulles
c2425f3c33 Update TrelloJsonService.php
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>
2024-05-09 13:02:59 +02:00
Andy Scherzinger
be11113d32 chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-07 15:51:49 +02:00
Luka Trovic
f7f5b88917 fix: permission check for cloning board
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-05-06 19:32:34 +02:00
Julius Härtl
cf89d4d1c8 fix: Avoid optional before required parameter
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-26 08:05:12 -04:00
Jim Madge
bf6d2f0667 Clarify config file not found exception message
Signed-off-by: Jim Madge <jmadge@turing.ac.uk>
2024-03-31 13:42:35 +01:00
Julius Härtl
d7fe39ecb6 fix: Avoid conflicts on deck attachments folder name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-26 16:13:20 +01:00
Julius Härtl
1fdc164462 style: Apply php-cs-fixer updates
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-05 07:14:22 +01:00
Marcel Klehr
a45ede092a fix(PermissionService#getPermissions): Catch exceptions from getBoard method
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-02-02 11:50:17 +01:00
Niedermann IT-Dienstleistungen
cf4d6268ac fix(done): Mark card as undone when updating card
As stated in https://github.com/nextcloud/deck/issues/534#issuecomment-1892061055 updating the done property of a card via the REST API (without calling the /done and /undone endpoints explicitly) does only work "one way".

This commit allows setting null as new value thus allowing to mark cards as undone without an additional HTTP request but within a usual update request.

Refs: #534 #4137 c3b4ed6e1f

Signed-off-by: Stefan Niedermann <info@niedermann.it>

Signed-off-by: Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com>
2024-01-18 12:08:10 +01:00
Julius Härtl
f4791aa4a4 fix: Further limit updating cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-04 15:20:08 +01:00
Julius Härtl
86d2d1a0f3 fix: limit to non-deleted cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-04 15:20:08 +01:00
Julius Härtl
178d1b3d77 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-04 15:20:08 +01:00
Mario Jäckle
197d41ba1e fix: allow null label colors in trello json importer
Signed-off-by: Mario Jäckle <github@jacksbox.de>
2023-12-06 17:29:08 +01:00
Julius Härtl
a05d64250f fix: Only query boards not marked for deletion unless we want to undo
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-20 08:22:45 +01:00
Julius Härtl
27d5861456 fix: Allow optional nullable parameters in the API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-08 12:59:35 +01:00
Julius Härtl
c2fd5163b0 fix: Move to storing the date instead of boolean for done state
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-08 12:59:35 +01:00