Commit Graph

953 Commits

Author SHA1 Message Date
Enjeck C.
66d94dd9df fix: Use getId() method for card ID retrieval
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
2025-07-29 09:01:35 +00:00
Luka Trovic
5efb894ed6 fix: acl check when delete, update board acl
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-07-25 15:51:13 +00:00
grnd-alt
ede59e85ac fix:allow foreign label deletion
Signed-off-by: grnd-alt <github@belakkaf.net>
2025-07-25 10:27:09 +00:00
Luka Trovic
7c22020316 fix: update DeleteCron to remove deleted lists
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-06-05 20:14:07 +02:00
Julius Knorr
2fde8eaf2e Merge pull request #6953 from nextcloud/backport/6933/stable30
[stable30] fix: Limit label actions to labels of the cards board
2025-04-29 12:30:49 +02:00
grnd-alt
508cf46909 fix: only delete assignments on unshared board (#6935)
Signed-off-by: grnd-alt <github@belakkaf.net>
2025-04-29 11:48:59 +02:00
Julius Härtl
c465d15fb2 fix: Limit label actions to labels of the cards board
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2025-04-28 08:43:33 +00:00
Julius Knorr
6f5df944ad perf: Skip doing a query just to check if a board is deleted
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-04-08 21:00:24 +00:00
Elizabeth Danzberger
4bf0f33234 fix: skip exporting a deleted card
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-02-04 18:28:10 +00:00
Julius Knorr
5d109684fc fix: Catch not found card
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-10 12:02:59 +00:00
Julius Knorr
9be1a0ed90 fix: Use new query builder
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-12-18 07:48:54 +00:00
grnd-alt
c846880a1e copy labels when moving cards between boards
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-09-02 07:37:39 +00:00
grnd-alt
d86ef0b005 use deleted_users for users that do not exist
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-08-13 11:04:02 +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
19e35fdee4 fix: Remove bindParam usage with simpler query
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-03 10:24:50 +02:00
Jonas
df5b5690a0 Only check path for being accessible when the storage is a object home
Forward-ported https://github.com/nextcloud/server/pull/24103

Signed-off-by: Jonas <jonas@freesources.org>
2024-07-02 10:37:56 +02:00
Julius Härtl
261e6d0362 chore: Move comments event handler to use proper event dispatcher
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-28 14:20:38 +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
Julius Härtl
e9d1e93f47 Merge pull request #5722 from JimMadge/config_default 2024-05-09 14:07:57 +02:00
Jim Madge
2d1a6e78a4 Change import data option to value_required
Signed-off-by: Jim Madge <jmadge@turing.ac.uk>
2024-05-09 13:23:37 +02:00
Jim Madge
5ed61ff0cd Change default import config argument to null
Signed-off-by: Jim Madge <jmadge@turing.ac.uk>
2024-05-09 13:23:37 +02:00
Rob Emery
afb50574f7 Applying variable naming scheme, returning schema only if changes are made for performance and removing the original
creation of the indicies for new installations

Signed-off-by: Rob Emery <git@mintsoft.net>
2024-05-09 13:13:43 +02:00
Rob Emery
d841c960a3 Cleaning up unused indicies, fixes #5520
Signed-off-by: Rob Emery <git@mintsoft.net>
2024-05-09 13:06:29 +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
Julius Härtl
5429f76f10 fix: Remove file committed by accident
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-24 16:50:18 +02:00
Julius Härtl
006c0c3513 ci: Adadpt min php version to 8.1
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-23 19:24:21 +02: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
ea3a54be16 feat: Implement a team resource provider
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-05 20:13:06 +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
Julius Härtl
e14d2e9e25 Merge pull request #5542 from nextcloud/fix/catch-getBoard-exceptions
fix(PermissionService#getPermissions): Catch exceptions from getBoard method
2024-02-02 13:59:40 +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
Joas Schilling
16078a3dd3 fix(activity): Fix permission checks when rendering activities in background jobs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-29 09:10:47 +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
Robin Appelman
534c71b6f8 also filter by storage when getting shares in folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-10 22:14:45 +01:00
Julius Härtl
ce820e19c4 fix: Limit card activities for deleted cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-04 16:01:55 +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
5856c8b500 fix: Avoid undefined variable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-06 14:21:58 +01:00
Julius Härtl
2389eff5ea fix: Avoid sql error on ONLY_FULL_GROUP_BY
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-05 21:19:34 +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
110ee28447 fix: Properly get done state for dav
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-14 10:57:22 +01:00
Julius Härtl
bb51988ddb Merge pull request #5281 from nextcloud/perf/initial-state 2023-11-13 15:17:04 +01:00
Julius Härtl
3ef2bcee3b Merge pull request #5280 from nextcloud/bugfix/multiple 2023-11-13 15:16:52 +01:00