Carl Schwan
5cf486150a
refactor: Fix psalm issues
...
- Add typing for most of the services, controllers and mappers
- Add api doc for mappers
- Use vendor-bin for psalm
- Use attributes for controllers
- Fix upload of attachments
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2025-09-28 11:49:06 +02:00
Viktor Diezel
eee35ac6ad
fix: parse arguments to CardService.reorder correctly to int
...
Signed-off-by: Viktor Diezel <viktor.diezel@posteo.de >
2025-08-07 11:54:55 +02:00
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
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
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
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 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
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
439c2b422e
fix phpcs
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2024-09-26 17:12:53 +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
Andy Scherzinger
be11113d32
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de >
2024-05-07 15:51:49 +02: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
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
Thanos Kamber
c3b4ed6e1f
Added ability to mark card as done
...
Closes #534
Signed-off-by: Thanos Kamber <thanos.kamber@gmail.com >
2023-11-08 12:59:27 +01:00
Julius Härtl
0985f24f57
chore: Fix php-cs-fixer errors
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-06-05 22:26:08 +02:00
Julius Härtl
0b2ea0f839
fix: Centralize usage of CardDetails
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-04-03 15:35:51 +02:00
chandi Langecker
322ee92573
live updates for boards
...
Signed-off-by: chandi Langecker <git@chandi.it >
2023-02-21 21:53:20 +01:00
Julius Härtl
46df19a3a6
fix: Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:28 +01:00
Julius Härtl
8ec8a91cab
perf: Group queries for fetching overview cards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
c01e542044
perf: remove duplicate fetching of assignments
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
81c0d96357
perf: Make fetching user details lazy
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:26 +01:00
Julius Härtl
7bfbbee6e8
perf: Enrich calls in combined sql queries
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:26 +01:00
Luka Trovic
1217b37b19
feat: add validators to check values in services
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-10-21 18:08:19 +02:00
Julius Härtl
d00bd159d2
Avoid always setting the current time on card updates
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-10-19 20:03:22 +02:00
Joas Schilling
2c3113334a
Fix issue with duedate format
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2022-10-19 19:46:09 +02:00
Carl Schwan
44481e1c2a
Switch from OC::$server->get to OCP\Server::get
...
And add a bit more typing to some classes + psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2022-05-12 10:55:36 +02:00
Julius Härtl
a08f1936ec
Fix test warnings
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-04-08 15:40:01 +02:00
Luka Trovic
165375fbab
fix: generate fixed link for activity emails
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
fix: generate fixed link for activity emails
Signed-off-by: Luka Trovic <luka@nextcloud.com >
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-09 16:57:31 +01:00
Julius Härtl
bfc8222e6f
Avoid blocking calendar access if something goes wrong while fetching deck entries
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-01-03 10:23:47 +01:00
Julius Härtl
52e7d73f10
Additional check for stacks
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-09-14 20:52:52 +02:00
Julius Härtl
f6eea0e467
Refactor update to have proper order of optional parameters
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-05-28 14:13:25 +02:00
Jakob Röhrl
f23f8b38f1
change func name
...
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de >
2021-05-18 12:08:05 +02:00
Julius Härtl
bbf0394df2
Show comment counter and highlight if unread comments are available
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-04-28 17:14:48 +02:00
Julius Härtl
6b8f24a3b8
Remove notification on unshare/unassign and add type hints
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-04-16 17:04:14 +02:00
Julius Härtl
840c143b92
Implement advanced search queries
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-04-13 14:13:03 +02:00
Julius Härtl
322480a3b7
Move full text search to proper events
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-04-13 11:04:17 +02:00
Julius Härtl
199cccf86b
Add 1.1 api version to handle other attachment types properly
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 15:58:40 +01:00
Julius Härtl
74814ad614
Fix test mocking
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 12:10:54 +01:00
Julius Härtl
e92d34bfcb
Implement share provider for deck
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 12:10:52 +01:00
Julius Härtl
c5f722da30
Check table consistency in migration that might cause issues during upgrades from very old versions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-11-13 15:49:00 +01:00
Julius Härtl
12ed9ae4ac
Merge pull request #2245 from nextcloud/enh/etag-api
2020-11-10 21:58:30 +01:00
Julius Härtl
d916ef191a
Update card modification date on label/user assignment changes
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-11-10 16:01:21 +01:00