1000 Commits

Author SHA1 Message Date
Luka Trovic
439c2b422e fix phpcs
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-09-26 17:12:53 +02:00
Jonas H. Steiner
e986ca31a1 Feat(REST API): add url to (un)archive cards
Signed-off-by: Jonas H. Steiner <jsteiner@plusline.net>
2024-08-29 12:33:01 +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
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
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
db4db8a696 Merge branch 'main' into patch-1 2024-05-22 10:25:17 +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
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
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
Julius Härtl
4e10f80eb1 fix: Avoid throwing errors if no token provided on close
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-13 12:33:41 +01:00
Julius Härtl
1a57c10741 perf: Already pass board list as initial state
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-13 09:05:43 +01:00
Julius Härtl
8ccc12433e fix: Adapt reference url patterns to new routes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-13 09:00:57 +01:00