aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre
Commit message (Collapse)AuthorAgeFilesLines
* fix(Federation): Show some icon for federated users on sharesfenn-cs2024-09-191-0/+7
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(dav): set string type for sanitizeMtimebackport/48045/stable28Anna Larch2024-09-151-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(dav): Always respond custom error page on exceptionsLouis Chemineau2024-09-091-4/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(dav): Thrown forbidden error for authenticated user instead of not foundSebastianKrupinski2024-07-191-7/+14
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* fix(dav): also return shared-with-me shares dataskjnldsv2024-06-121-32/+43
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(dav): Don't log access control as errorJoas Schilling2024-06-101-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(caldav): expose calendar subscriptionsDaniel Kesselberg2024-05-311-0/+6
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(DAV): Migrate known exceptions to Sabre exceptions when copyingJoas Schilling2024-04-241-11/+19
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(dav): Fix quota check for chunk uploadCôme Chilliet2024-04-041-4/+6
| | | | | | | Do not ignore OC-Total-Length when Content-Length and X-Expected-Entity-Length are missing Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(dav): fallback realm for HTTP authenticationMichaIng2024-02-232-2/+2
| | | | | | | | | | By default, the name of the Nextcloud instance is an empty string, until changed by the admin. This leads to an empty realm sent with the WWW-Authenticate header, while the realm is mandatory for Basic HTTP authentication. Some clients have issues with an empty realm, e.g. Thunderbird cannot store passwords in this case. This commit applies "Nextcloud" as fallback for the realm, in case the name of the Nextcloud instance is not set. Solves: https://help.nextcloud.com/t/thunderbird-dont-save-caldav-password-because-of-missing-httprealm-or-formsubmiturl/93233 Signed-off-by: MichaIng <micha@dietpi.com>
* Check share attributes when downloading versionsLouis Chemineau2024-02-211-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* perf: skip request without read permissionRichard Steinmetz2024-02-211-4/+9
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(files): add mount root property and adjust delete wordingJohn Molakvoæ2024-02-061-0/+11
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): better upload error handlingJohn Molakvoæ2024-01-161-0/+6
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Use FileInfo's metadata for hidden propLouis Chemineau2023-12-191-3/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2320-80/+77
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* 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-281-3/+3
| | | | | | | | | | | | 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>