summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector
Commit message (Collapse)AuthorAgeFilesLines
* only triger metadata preload logic when at least one metadata is requestedRobin Appelman2023-09-181-6/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* don't preload metadata for the sub-childenRobin Appelman2023-09-181-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* only determine quota_include_external_storage once for quota wrapperRobin Appelman2023-09-071-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* only get logger when needed in sabre/directoryRobin Appelman2023-09-071-9/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(CardDAV): set owner-principal, displayname properties for SABAnna Larch2023-08-241-0/+5
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* don't bother checking dav acl's in filesRobin Appelman2023-08-181-0/+5
| | | | | | any permissions for files is handled in the filesystem layer anyway Signed-off-by: Robin Appelman <robin@icewind.nl>
* preload all requested metadataRobin Appelman2023-08-081-58/+53
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* expose gps data via webdavtobiasKaminsky2023-08-081-0/+22
|
* Merge pull request #38968 from nextcloud/backport/38747/stable27Arthur Schiwon2023-07-101-2/+13
|\ | | | | [stable27] 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>
* | 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-061-1/+11
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | refactor: save unnecessary method_existsArthur Schiwon2023-07-061-4/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix: use array_unitersect against objectsArthur Schiwon2023-07-061-2/+5
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix: obey offset and limit for results from favs and circlesArthur Schiwon2023-07-061-0/+4
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix: cominbation of small fixesArthur Schiwon2023-07-061-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-061-7/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix: search with more than one search tagsArthur Schiwon2023-07-061-6/+20
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix: no search when LazyFolder was providedArthur Schiwon2023-07-061-1/+6
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | chore: cleanup unused codeArthur Schiwon2023-07-061-43/+0
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix: ensure searchBySystemTag() is availableArthur Schiwon2023-07-061-1/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix: favorites view and universal search against tagsArthur Schiwon2023-07-061-1/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | use efficient tag retrieval on DAV report requestArthur Schiwon2023-07-061-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>
* Make sure to never trigger files hooks on a null pathCôme Chilliet2023-05-041-8/+10
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(dav): Abort requests with 429 instead of waitingJoas Schilling2023-05-032-0/+61
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: Use proper path when creating node instancesJulius Härtl2023-04-171-4/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #37146 from nextcloud/artonge/feat/migrate_metadata_to_valueLouis2023-04-041-1/+1
|\ | | | | Migrate metadata JSON column to new value TEXT column
| * Migrate metadata as JSON to value as STRINGLouis Chemineau2023-04-031-1/+1
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Merge pull request #36800 from rotdrop/feature/dav-macos-quirksAnna2023-03-131-0/+133
|\ \ | | | | | | apps/dav: add some OSX specific quirks.
| * | apps/dav: add some OSX specific quirks.Claus-Justus Heine2023-03-071-0/+133
| | | | | | | | | | | | Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* | | Merge pull request #27034 from nextcloud/enh/s3-multipart-upload-apiArthur Schiwon2023-03-092-0/+5
|\ \ \ | |_|/ |/| | Use MultipartUpload for uploading chunks to s3
| * | feat(s3): Use multipart upload for chunked uploadingJulius Härtl2023-03-082-0/+5
| |/ | | | | | | | | | | This allows to stream file chunks directly to S3 during upload. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-081-0/+1
|/ | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* fix: Use proper path for quota fetchingJulius Härtl2023-03-061-1/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: Recalculate storage statistics on updating the quotaJulius Härtl2023-03-061-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