Michal Polacik
d3a77e4a11
Permanently delete deck cards marked as deleted after 5 min in a cron job
...
Limit deleted cards in one cron job run to 500
Converted spaces to tabs
Added missing import for CardMapper class
Added another missing import for CardMapper class
Fixed response object in findToDelete method + fixed 2 misspellings in API.md
Fixed invalid parameter type
Fix DeleteCronTest
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
Fix lint errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2022-12-09 14:38:59 +00:00
Julius Härtl
1183459608
Avoid fetching archived cards for calendars
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-08-25 10:47:32 +00:00
Julius Härtl
614c6fbdba
Handle qb mapper exception messages properly
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-04-29 15:45:07 +02:00
Julius Härtl
7c8e762d5d
Merge pull request #3690 from nextcloud/bugfix/optimise_notifier_queries
...
Optimise queries when preparing card related notifications
2022-04-11 13:47:44 +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
Julius Härtl
46f2d448ab
Add typing to jsonSerialize
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-04-08 15:39:59 +02:00
Raul Ferreira Fuentes
270b03949c
Run cs-fix
...
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com >
2022-04-05 18:30:56 +02:00
Raul Ferreira Fuentes
575b885a3a
Catch specific exceptions (not the parent IMapperException) in StackMapper::findStackFromCardId()
...
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com >
2022-04-05 17:24:37 +02:00
Raul Ferreira Fuentes
ac5524efdf
Optimise queries when preparing card related notifications
...
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com >
2022-04-05 14:46:37 +02:00
Julius Härtl
c2144373d9
fix: Properly handle limited scope for remapping users
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:29 +01:00
Julius Härtl
a45e46f80a
Allow transfer of single boards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:29 +01:00
Julius Härtl
b774090032
fix: Psalm
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:28 +01:00
Julius Härtl
72134e6e95
fix: unit tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:28 +01:00
Luka Trovic
4615926e3b
fix: integration tests
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-03-22 08:23:28 +01:00
Luka Trovic
afbbdf0c1b
fix: unit test & psalm static code analysis issues
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-03-22 08:23:28 +01:00
Max
b6340e54c3
fix: queries with the new base mapper in BoardMapper
...
Signed-off-by: Max <max@nextcloud.com >
2022-03-22 08:23:28 +01:00
Max
4d3dabb94e
fix: Assignment is the new AssignedUsers
...
Signed-off-by: Max <max@nextcloud.com >
2022-03-22 08:23:27 +01:00
Julius Härtl
e8ada52c37
Make queries work with the new base mapper
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
fix: conflicts
2022-03-22 08:23:27 +01:00
Julius Härtl
fa7fcef470
Just cleanup old ACL rules, there are none for the board owner so nothing to cleanup or persist there
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:27 +01:00
Julius Härtl
ba7cadf9d5
Fix card mapper query for transfer
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:27 +01:00
Sergey Shliakhov
6106066460
Fix coding styles
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
Signed-off-by: Max <max@nextcloud.com >
2022-03-22 08:23:27 +01:00
Sergey Shliakhov
7df4b7c4bf
Transfer deck ownership even if target user already participant of a board
...
https://github.com/nextcloud/deck/pull/1955#issuecomment-640392715
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
2022-03-22 08:23:27 +01:00
Sergey Shliakhov
8b45495214
Check type before transfer card participants ownership
...
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
temp
2022-03-22 08:23:26 +01:00
Sergey Shliakhov
b45c454ce2
Fix code style
...
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
2022-03-22 08:23:26 +01:00
Sergey Shliakhov
19a2aeb5e5
Update docs
...
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
fix: conflicts
2022-03-22 08:23:26 +01:00
Julius Härtl
eaf6defe59
Move any circles API usage to internal service
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-01-03 10:23:47 +01:00
Julius Härtl
596834853b
Fix codestyle issues
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-12-29 11:43:57 +01:00
Julius Härtl
92acaa0011
Properly handle setters now that there is a default value of null with unset acl/labels
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-11-30 10:57:24 +01:00
Julius Härtl
4ec57d337b
Keep API results the same as before
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-11-24 10:12:28 +01:00
Julius Härtl
901b8f2506
Avoid fetching board details multiple times
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-11-24 09:40:30 +01:00
Julius Härtl
80388d1a88
Cache card to board id relation
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-11-24 09:40:30 +01:00
Julien Veyssier
bbfb155802
switch to QBMapper in BoardMapper
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2021-11-23 22:57:50 +01:00
Julien Veyssier
dd0a22ba04
use term in DB query instead of filtering in php
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2021-10-04 18:33:53 +02:00
Julien Veyssier
7425d00ba5
harmonize since and before search params
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2021-10-04 18:33:53 +02:00
Julien Veyssier
ca04efb736
apply date search filter in SQL queries instead of computing it in php
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2021-10-04 18:33:53 +02:00
Julius Härtl
ae2aa8caff
Reduce duplicate queries when fetching user boards an permissions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-07-05 19:53:43 +02:00
Julius Härtl
3e032b133d
Add compatibility for circles on 22
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-06-25 11:23:38 +02:00
Julius Härtl
b657967cac
Fix ParamNameMismatch occurences
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-06-10 08:01:27 +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
Jakob Röhrl
eaf061c4b7
show on shared boards unassigned cards to all users
...
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de >
2021-05-17 14:30:36 +02:00
Julius Härtl
fbcad7f73b
Catch any error during circle detail fetching
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-05-03 08:15:45 +02:00
Julius Härtl
5fbeb839df
Allow searching for filters without a query to match all that have a given filter set
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-04-30 11:01:22 +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
abacc9a83c
Cast column when comparing comment object_id with the card id
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-04-16 11:00:55 +02:00
Julius Härtl
990659b8f0
Workaround sqlite query issues
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-04-13 17:07:57 +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
381e5e356f
Only extract additional attributes from query when not using the entity mapping for the result
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-03-08 10:50:21 +01:00
Julius Härtl
6d8a03840e
Properly pass the user to fetch circles when calling through occ
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-02-23 14:31:00 +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
7a53076b9b
Filter out deleted stacks from results
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-12-29 15:22:05 +01:00