Commit Graph

384 Commits

Author SHA1 Message Date
Vitor Mattos
4138953208 Changes to make possible implement api endpoint
Update documentation
Start implementing getSystems route
Code to route getSystems
Controller to board import
Change return
Increase coverage

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:49 +01:00
Vitor Mattos
39a927de18 Clean attachment table
Clean code
Clean attachment table

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:49 +01:00
Vitor Mattos
c5d10dafb8 Import participants
Big refactor to create route
Import participants

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:48 +01:00
Vitor Mattos
fd92fc3c4d Refactor and improvements on command
Check available helpers
Default permission: view only
Moved validate setting from helper to command
Turn more easy create a importer
Docblock and improvements on interface
lcfirst on system property
Helper moved to ImporHelper folder
Moved fixtures to ImportHelper
Rename settings to config
Big refactor to move import methods to service

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:48 +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
Dmitriy Ivanko
51bcbdb87d Store cardDetailsInModal in config instead of state
Signed-off-by: Dmitriy Ivanko <tmwsls12@gmail.com>
2021-12-28 14:39:25 +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
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
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
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
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
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
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
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
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
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
79468e6f06 Use board permissions to be applied for the shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 22:26:04 +01:00
Julius Härtl
08842d239e Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 16:01:55 +01: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
b26caaa6e5 Fix integration tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:54 +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
7291c46d0d WIP work on delete/update
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:54 +01:00
Julius Härtl
e095302750 Fix counting attachments
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:53 +01:00
Julius Härtl
99379beb56 Move to dedicated file attachment service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:53 +01:00
Julius Härtl
67c90b1da8 Attachments sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:53 +01:00
Julius Härtl
ffd1f677c5 Fetch new attachment type
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:52 +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
4e92faa517 Do not error on deprecated methods for now
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-28 14:48:52 +01:00
Julius Härtl
aacccd06bc Only use first part of the explode result
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-16 08:42:42 +01:00
Julius Härtl
2d10186557 Merge pull request #2521 from nextcloud/bugfix/noid/db 2020-11-13 16:07:23 +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
91a00e3d3c Only try to extract first part of the explode result
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-12 18:07:09 +01:00