summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #39232 from nextcloud/backport/39202/stable26Julius Härtl2023-07-101-58/+80
|\
| * refactor: adjust to unexposed searchBySystemTagArthur Schiwon2023-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | - in this backport we have to drop the breaking addition in \OCP\Files\Folder - this requires adjustments in check for the existance of the method but also in testing - another change in \OCP\SystemTag\ISystemTagManager can be applied as this interface is not implemented elsewhere Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix: cannot apply limit+offset on multi-tag-searchArthur Schiwon2023-07-071-1/+11
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * refactor: save unnecessary method_existsArthur Schiwon2023-07-071-4/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix: use array_unitersect against objectsArthur Schiwon2023-07-071-2/+5
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix: obey offset and limit for results from favs and circlesArthur Schiwon2023-07-071-0/+4
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix: cominbation of small fixesArthur Schiwon2023-07-071-3/+3
| | | | | | | | | | | | | | | | - possible null return - parameter name mismatch in implementation - incomplete unit test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix: include invisible tags for adminsArthur Schiwon2023-07-071-7/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix: search with more than one search tagsArthur Schiwon2023-07-071-6/+20
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix: no search when LazyFolder was providedArthur Schiwon2023-07-071-1/+6
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * chore: cleanup unused codeArthur Schiwon2023-07-071-43/+0
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix: ensure searchBySystemTag() is availableArthur Schiwon2023-07-071-1/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * fix: favorites view and universal search against tagsArthur Schiwon2023-07-071-1/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * use efficient tag retrieval on DAV report requestArthur Schiwon2023-07-071-22/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - uses DAV search approach against valid files joined by systemtag selector - reduced table join for tag/systemtag search - supports pagination - no changes to the output formats or similar Example request body: <?xml version="1.0"?> <oc:filter-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns" xmlns:ocs="http://open-collaboration-services.org/ns"> <d:prop> <d:getcontentlength/> <d:getcontenttype/> <d:getetag/> <d:getlastmodified/> <d:resourcetype/> <nc:face-detections/> <nc:file-metadata-size/> <nc:has-preview/> <nc:realpath/> <oc:favorite/> <oc:fileid/> <oc:permissions/> <nc:nbItems/> </d:prop> <oc:filter-rules> <oc:systemtag>32</oc:systemtag> </oc:filter-rules> <d:limit> <d:nresults>50</d:nresults> <nc:firstresult>0</nc:firstresult> </d:limit> </oc:filter-files> Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #38972 from nextcloud/backport/38747/stable26Arthur Schiwon2023-07-101-2/+13
|\ \ | | | | | | [stable26] perf: skip request without write permission
| * | perf: skip request without write permissionDaniel Kesselberg2023-07-041-2/+13
| |/ | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* / fix(dav): Abort requests with 429 instead of waitingJoas Schilling2023-07-102-0/+61
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure to never trigger files hooks on a null pathCôme Chilliet2023-05-111-8/+10
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Use proper path when creating node instancesJulius Härtl2023-05-081-4/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Migrate metadata as JSON to value as STRINGLouis Chemineau2023-04-061-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #37141 from nextcloud/backport/37139/stable26Arthur Schiwon2023-03-091-0/+1
|\ | | | | [stable26] Share type sciencemesh
| * Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-081-0/+1
| | | | | | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* | feat(s3): Use multipart upload for chunked uploadingJulius Härtl2023-03-092-0/+5
| | | | | | | | | | | | This allows to stream file chunks directly to S3 during upload. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix: Use proper path for quota fetchingJulius Härtl2023-03-071-1/+7
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix: Recalculate storage statistics on updating the quotaJulius Härtl2023-03-071-3/+0
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-217-35/+246
|
* fix: Use passed LazyFolder when building sabre nodesJulius Härtl2023-02-171-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not set up filesystem on every callAnna Larch2023-02-176-245/+33
| | | | | | Also remove old Oc_FileChunking logis that produced GC- collectable chunks Signed-off-by: Anna Larch <anna@nextcloud.com>
* perf(dav): Do not call general setupFS on ever dav authJulius Härtl2023-02-091-3/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix psalm errorsCôme Chilliet2023-02-072-7/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Silence errors of return type mismatch from Sabre for nowCôme Chilliet2023-02-071-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Type sizes as int|float throughout the code baseCôme Chilliet2023-02-073-14/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Allow float sizes in FileInfo for 32bitsCôme Chilliet2023-02-071-5/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(dav): check if principal has email address before accessing itRichard Steinmetz2023-01-241-2/+2
| | | | | | Ref https://github.com/nextcloud/calendar/issues/4811 Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore(dav): Make json_encode and json_decode throw on errorChristoph Wurst2023-01-191-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #35943 from nextcloud/fix/code-fixes-from-34997Côme Chilliet2023-01-031-2/+2
|\ | | | | Code fixes from PR 34997
| * Fix psalm spotted errors with new requirementsCôme Chilliet2023-01-021-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Align checksum dav property with desktop client parsingJulius Härtl2022-12-301-1/+1
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* compare cached filesize on downloadMaxence Lange2022-12-011-1/+13
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #35425 from nextcloud/bumpMinimumDesktopClientForWebdavSimon L2022-11-281-1/+1
|\ | | | | minimum desktop client that is supported is 2.3.0
| * minimum desktop client that is supported is 2.3.0Matthieu Gallien2022-11-251-1/+1
| | | | | | | | | | | | | | | | | | 2.3.0 was release on Mar 3, 2017 added support for new chunking algorithm allowing to now deprecate the older one Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
* | Merge pull request #34849 from nextcloud/feat/hint-about-no-access-reasonsCarl Schwan2022-11-251-1/+5
|\ \ | |/ |/| Add an hint about reasons why files can't be accessed
| * Use public IAppManager instead of OC_AppCarl Schwan2022-11-231-1/+1
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Add an hint about reasons why files can't be accessedCarl Schwan2022-10-271-1/+5
| | | | | | | | | | | | Hopefully saves some debugging time next time Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Do not check quota for non NodeLouis Chemineau2022-11-241-3/+3
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Apply the same fix as on beforeCopy on beforeMoveCôme Chilliet2022-11-171-1/+5
| | | | | | | | | | | | Let’s be safe Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix dirname usageRobin Appelman2022-11-171-1/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix psalm issuesCôme Chilliet2022-11-171-0/+6
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Check quota on file copyCôme Chilliet2022-11-171-1/+22
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix duplicate event email notificationsRichard Steinmetz2022-11-041-0/+40
|/ | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>