Commit Graph

922 Commits

Author SHA1 Message Date
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
Julien Veyssier
b533d11c13 use distinct pagination cursor for cards and boards, use cursor and limit in SearchSe
rvice::searchBoards()

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-10-04 15:23:19 +02:00
Julius Härtl
77f57a926b Revert "Fix search pagination cursor" 2021-10-04 07:36:08 +02:00
Julien Veyssier
9dbfeac56a fix search pagination cursor, use LastModified of last card
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-09-30 10:30:53 +02: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
6caa7bcfcb Merge pull request #3298 from nextcloud/bugfix/attachment-delete
Delete file shares through attachments API
2021-09-07 13:10:24 +02:00
Julius Härtl
021aa698d9 Return false instead of throwing when getting calendar integration setting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-09-07 10:54:02 +02:00
Julius Härtl
13dcacc3bb Delete file shares through attachments API
Previously the file was deleted in the file structure of the user is not
expected as the file might not only be related to the card.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-09-05 12:13:21 +02:00
Julius Härtl
315ea4b991 Merge pull request #3263 from nextcloud/bugfix/3248
Defer obtaining the user session in the config service
2021-08-20 18:01:57 +02:00
Julius Härtl
7b0579625e Defer obtaining the user session in the config service which might be injected before login has hapened
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-20 17:34:58 +02:00
Julius Härtl
cb9fc6c9a2 Check for null value to avoid TypeError in the group manager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-03 09:47:27 +02:00
Julius Härtl
82dbd800d6 Move circle checks to a unified service and improve member checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-03 09:15:18 +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
62f3fce3ea Merge pull request #3151 from nextcloud/bugfix/noid/log-exceptions
Always log generic exceptions
2021-07-02 17:55:00 +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
0fc220baef Always log generic exceptions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-25 11:05:53 +02:00
Julius Härtl
5d3b6d92a6 Always pass user id in share provider
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-21 08:20:18 +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
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
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
740a06e2a5 Merge pull request #3038 from nextcloud/bugfix/noid/attachment-get-node 2021-05-03 08:44:06 -01:00
Julius Härtl
bb506d5615 Get attachment from the user node instead of the share source
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-03 08:31:46 +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
84f96ad05d Fix handling of quotes in queries
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-30 11:01:22 +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
John Molakvoæ (skjnldsv)
4ff505934b Migrate to babel config and updgrade webpack-vue-config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-04-26 16:54:23 +02:00
Julius Härtl
f4ea995182 Merge pull request #2950 from nextcloud/bugfix/2932 2021-04-16 14:29:57 -01:00
Joas Schilling
e5d716c102 Rich object string parameters for notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16 17:10:26 +02:00
Julius Härtl
8d05926ea5 Filter out current user when emitting share notifications to groups
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-16 17:04:14 +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
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
9970ebc220 Do not log if FTS is unavailable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-13 14:31:46 +02:00
Julius Härtl
0f3bbe332b Improve quote handling in search strings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-13 14:13:04 +02:00
Julius Härtl
6b6aef03f7 Attempt to fix psalm false-positive
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-13 14:13:04 +02:00
Julius Härtl
c960d21b37 Add global result frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-13 14:13:03 +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
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
3738d1e02b Merge pull request #2857 from nextcloud/bugfix/noid/fclose-node
Don't close tempfile as it is already done
2021-03-08 10:25:41 +01:00
Julius Härtl
20821680d9 Merge pull request #2823 from nextcloud/bugfix/noid/circles-export
Properly pass the user to fetch circles when calling through occ
2021-03-05 15:40:09 +01:00
Julius Härtl
214fb3417d No need to close the temp file as the View is already taking care of it
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-05 15:28:29 +01:00
Julius Härtl
225a22c93e Merge pull request #2847 from nextcloud/bugfix/noid/content-disposition
Switch to Content-Disposition attachment and check for sane mimetypes
2021-03-04 08:25:46 +01:00
Julius Härtl
9f7901519b Switch to Content-Disposition attachment and check for sane mimetypes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-04 08:17:28 +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
7b31648b90 Also include /apps/spreed urls in the listener for loading the talk integration
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-02-23 11:07:13 +01:00
Julius Härtl
e7f9fc59fa Fix issues when creating a card from a talk message
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-02-19 16:06:46 +01:00