summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector
Commit message (Collapse)AuthorAgeFilesLines
* metadata must be set as editable for PROPPATCHMaxence Lange2023-11-141-44/+110
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Hide .mov for live photosLouis Chemineau2023-11-091-0/+7
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Support getting and setting metadata in DAV requestsLouis Chemineau2023-11-083-92/+55
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* IFilesMetadataMaxence Lange2023-11-071-1/+8
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix(dav): report statusJohn Molakvoæ2023-09-181-1/+0
| | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* Merge pull request #38610 from fsamapoor/replace_strpos_calls_in_dav_appChristoph Wurst2023-09-174-4/+4
|\ | | | | Refactors "strpos" calls in /apps/dav
| * Merge branch 'master' into replace_strpos_calls_in_dav_appFaraz Samapoor2023-06-271-2/+13
| |\ | | | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
| * | Refactors "strpos" calls in /apps/dav to improve code readability.Faraz Samapoor2023-06-125-5/+5
| | | | | | | | | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* | | reuse l10n and request in dav folder listingRobin Appelman2023-09-042-33/+53
| | | | | | | | | | | | | | | | | | instead of having to query those once for every node Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25Joas Schilling2023-08-282-6/+6
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | only determine quota_include_external_storage once for quota wrapperRobin Appelman2023-08-181-0/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | only get logger when needed in sabre/directoryRobin Appelman2023-08-181-9/+8
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #39903 from nextcloud/no-dav-acl-filesRobin Appelman2023-08-181-0/+5
|\ \ \ | | | | | | | | don't bother checking dav acl's in files
| * | | don't bother checking dav acl's in filesRobin Appelman2023-08-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | any permissions for files is handled in the filesystem layer anyway Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #39860 from nextcloud/metadata-dont-preload-subfoldersRobin Appelman2023-08-161-6/+10
|\ \ \ \ | |/ / / |/| | | don't preload metadata for the sub-childen
| * | | only triger metadata preload logic when at least one metadata is requestedRobin Appelman2023-08-141-6/+10
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | don't preload metadata for the sub-childenRobin Appelman2023-08-141-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | fix(CardDAV): set owner-principal, displayname properties for SABAnna Larch2023-08-161-0/+5
|/ / / | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | preload all requested metadataRobin Appelman2023-08-071-58/+53
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | expose gps data via webdavtobiasKaminsky2023-08-041-0/+22
| | |
* | | fix!: Remove legacy event dispatching Symfony's GenericEvent from 2FA ManagerJoas Schilling2023-07-271-1/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | feat(dav): Emit a typed event to deprecate OCA\DAV\Connector\Sabre::addPluginJoas Schilling2023-07-171-4/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix(dav): Use IRequest constant to match versionJoas Schilling2023-07-111-4/+2
| | | | | | | | | | | | | | | | | | The pattern matches since a 10 year old client version Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | docs(dav): remove outdated commentArthur Schiwon2023-07-061-2/+0
| | | | | | | | | | | | | | | | | | | | | The method was added actually to PHP API in 28 and the mentioned check is not in place anymore. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #37969 from nextcloud/poc/noid/systemtags-perf-tag-endpointJulius Härtl2023-06-281-58/+80
|\ \ \ | |_|/ |/| |
| * | fix: cannot apply limit+offset on multi-tag-searchArthur Schiwon2023-06-271-1/+11
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | refactor: save unnecessary method_existsArthur Schiwon2023-06-211-4/+1
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix: use array_unitersect against objectsArthur Schiwon2023-06-211-2/+5
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix: obey offset and limit for results from favs and circlesArthur Schiwon2023-06-211-0/+4
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix: cominbation of small fixesArthur Schiwon2023-06-211-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-06-211-7/+1
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix: search with more than one search tagsArthur Schiwon2023-06-211-6/+20
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix: no search when LazyFolder was providedArthur Schiwon2023-06-211-1/+6
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | chore: cleanup unused codeArthur Schiwon2023-06-211-43/+0
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix: ensure searchBySystemTag() is availableArthur Schiwon2023-06-211-1/+3
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix: favorites view and universal search against tagsArthur Schiwon2023-06-211-1/+3
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | use efficient tag retrieval on DAV report requestArthur Schiwon2023-06-211-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>
* / perf: skip request without write permissionDaniel Kesselberg2023-06-191-2/+13
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.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>