summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #31029 from nextcloud/expose-extra-emails-in-davVincent Petry2022-06-101-0/+16
|\ | | | | Expose additional emails in {DAV:}alternate-URI-set
| * Expose additional emails in {DAV:}alternate-URI-setThomas Citharel2022-05-171-0/+16
| | | | | | | | | | | | | | | | | | This allows iMip invitations to be send with an alternative email as "Reply-To" field. Closes #27201 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Don't spam the log with fatals when maintenance mode is enabled or an ↵Joas Schilling2022-06-102-9/+7
| | | | | | | | | | | | upgrade has to be done Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Make X-HAS-{MD5/SHA256} opt-inCarl Schwan2022-06-011-9/+20
| | | | | | | | | | | | This is not always needed and slow down the upload Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Fix return type and make type stricterCarl Schwan2022-05-241-8/+6
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix more psalm issuesCarl Schwan2022-05-169-10/+11
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Cleanup davCarl Schwan2022-05-0516-367/+124
| | | | | | | - Remove unused class AppEnabledPlugin - Add more type hinting when possible Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #31963 from nextcloud/feat/use_setting_in_dav_searchLouis2022-05-041-3/+6
|\ | | | | Use share setting in DAV search
| * Use email settings in DAV searchLouis Chemineau2022-04-191-1/+2
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * Use share setting in DAV searchLouis Chemineau2022-04-191-2/+4
| | | | | | | | | | | | shareapi_restrict_user_enumeration_full_match_ignore_second_display_name was introduced to ignore second display name during search from the share panel. But this setting was not respected by search from the calendar application. This fix it. Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-024-35/+25
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | add logging of failed quota infoRobin Appelman2022-04-221-0/+6
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #31886 from ↵Vincent Petry2022-04-141-2/+3
|\ | | | | | | | | nextcloud/bugfix/noid/principal-search-case-insensitive-dn Principal search by display name case insensitive
| * Principal search by display name case insensitiveVincent Petry2022-04-081-2/+3
| | | | | | | | | | | | | | | | Adjust principal search to be case insensitive even with exact match. This aligns the behavior to how the search also works in Collaborators/UserPlugin Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Fix an issue with the search backend updateCarl Schwan2022-04-141-3/+3
| | | | | | | | | | | | And update autoloader Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Add a metadata service to store file metadataCarl Schwan2022-04-133-0/+74
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #25747 from nextcloud/XAccelBufferingblizzz2022-04-071-0/+1
|\ | | | | Add X-Accel-Buffering header to downloads
| * Add X-Accel-Buffering header to downloadsUnpublished2022-01-171-0/+1
| | | | | | | | Signed-off-by: Unpublished <unpublished@gmx.net>
* | shRobin Appelman2022-04-061-12/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | use existing node in SharesPluginRobin Appelman2022-04-061-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | allow reusing known folder info when getting directory contentsRobin Appelman2022-04-062-7/+11
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | save filesystem node in dav nodeRobin Appelman2022-04-063-1/+33
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #29510 from nextcloud/backport/27378/masterJohn Molakvoæ2022-04-043-4/+95
|\ \
| * | Add dav plugin to trigger recalculating of checksumsRobin Appelman2022-03-313-4/+95
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | dont re-query fileinfo when getting dav quotaRobin Appelman2022-03-281-2/+1
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix check if dav root is folderRobin Appelman2022-03-241-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | dont setup full fs after dav authRobin Appelman2022-03-241-1/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | add optional WebDav propfind properties to show number of folders/files ↵Julien Veyssier2022-03-191-1/+20
| | | | | | | | | | | | inside a folder Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* | Merge pull request #31266 from nextcloud/root-setup-mountproviderRobin Appelman2022-03-041-1/+17
|\ \ | | | | | | move root mount setup to mountproviders
| * | also handle expired pre-write shared lock on dav upload when not using part ↵Robin Appelman2022-02-251-1/+17
| | | | | | | | | | | | | | | | | | files Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Make Sabre File exception messages translatableChristopher Ng2022-03-011-18/+52
|/ / | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Wrap S3 multipart upload exceptionLouis Chemineau2022-02-162-0/+43
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Fix typo in DAV namespace registrationThomas Citharel2022-02-141-1/+1
| | | | | | | | | | | | See https://github.com/nextcloud/3rdparty/blob/b0afba6d6508a1c85332cf8c61e90ad91b289ebc/sabre/dav/lib/DAV/Xml/Service.php#L43 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | send request id in response headerRobin Appelman2022-02-012-0/+52
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Set the file's mtime from the headers in bulk uploadLouis Chemineau2022-01-112-14/+43
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #29948 from nextcloud/enh/webdav-creationdateJohn Molakvoæ2021-12-281-0/+14
|\
| * Expose DAV:creationdate for propfind/proppatchJulius Härtl2021-11-291-0/+14
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Prevent writing invalid mtimeJohn Molakvoæ2021-12-071-0/+5
|/ | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #29864 from nextcloud/bugfix/noid/dav-propfind-ctimeVincent Petry2021-11-241-6/+3
|\ | | | | Allow to fetch the creation time of folders
| * Allow to fetch the creation time of foldersJulius Härtl2021-11-231-6/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix dav application tests and code for PHP 8.1Côme Chilliet2021-11-233-3/+3
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Revert "add dav plugin to trigger recalculating of checksums"John Molakvoæ2021-11-013-95/+4
|
* Merge pull request #27378 from nextcloud/dav-recalc-checksumJohn Molakvoæ2021-11-013-4/+95
|\
| * Add dav plugin to trigger recalculating of checksumsRobin Appelman2021-08-233-4/+95
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | use specific email getter where necessaryArthur Schiwon2021-09-091-5/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | always allow dav move for movable mount rootRobin Appelman2021-08-271-1/+1
|/ | | | | | the root of a movable mountpoint can be moved even if it doesn't have update permissions Signed-off-by: Robin Appelman <robin@icewind.nl>
* Expose user language through DAVThomas Citharel2021-08-161-0/+6
| | | | | | | | | Introduces the '{http://nextcloud.com/ns}language' prop that gives the user's language Closes #28449 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Make sure that the dav propfind plugins always use the proper user idJulius Härtl2021-07-222-3/+24
| | | | | | | | For old android versions it could happen that the requests are performed with a login name instead of the actual user id, so before this change the property methods used the wrong value for fetching their information Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Throttle on public DAV endpointLukas Reschke2021-06-221-1/+15
| | | | | | We should throttle whenever an invalid request is sent to the public WebDAV endpoint. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Header must contain a colonacsfer2021-06-091-1/+1
|