summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* Check address book URI length before creationJoas Schilling2022-09-151-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check calendar URI length before creationAnna Larch2022-09-151-0/+7
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Fix carddav activitiesJoas Schilling2022-08-233-5/+5
| | | | | | | | The settings where combined last minute but at the same time the activities where not adjusted to map an existing setting so the filter was not possible to even limit it to the types that the activities had. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #33408 from nextcloud/backport/33090/stable23blizzz2022-08-021-51/+76
|\ | | | | [stable23] DAV custom props: catch Exception and rollback transaction in case
| * catch any exception for transaction controlArthur Schiwon2022-07-291-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * DAV custom props: catch Exception and rollback transaction in caseArthur Schiwon2022-07-291-51/+76
| | | | | | | | | | | | | | | | - before exceptions were not caught, a started transaction might not have been finished - also resolve depractions and use IQueryBuilder Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #33103 from nextcloud/enhancement/add-logging-lo-federationblizzz2022-08-011-2/+4
|\ \ | |/ |/| [Stable23] Logging, updating status for general error in federation
| * Add logging to federation syncAnna Larch2022-07-111-2/+4
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Don't try to purge objects from the birthday calendar when it doesn't existThomas Citharel2022-07-261-0/+3
|/ | | | | | | | Doesn't matter much as it's been recreated afterwards with (ensureCalendarExists). Closes #29617 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #32322 from nextcloud/backport/stable22/share_search_tweaksLouis2022-06-231-3/+6
|\ | | | | [stable23] Add share search tweaks
| * Use email settings in DAV searchLouis Chemineau2022-06-071-1/+2
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * Use share setting in DAV searchLouis Chemineau2022-06-071-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>
* | Merge pull request #31788 from nextcloud/backport/30438/stable23blizzz2022-06-111-72/+79
|\ \ | | | | | | [stable23] Fix column/property types in CalDAV
| * | Fix CalDAV subscriptions calendarorder column/prop typeChristoph Wurst2022-04-141-25/+33
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | Fix column/property type of the calendar orderChristoph Wurst2022-04-141-1/+1
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | Fix column/property type of the CalDAV deleted_at time stampChristoph Wurst2022-04-141-47/+46
| | | | | | | | | | | | | | | | | | | | | | | | The timestamp is an int, but we treated it as string. With this patch the property map is enriched with types and settype casts the value if necessary. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #32693 from nextcloud/backport/32471/stable23Vincent Petry2022-06-101-2/+3
|\ \ \ | | | | | | | | [stable23] Make sure activities are not created when a deleted calendar object expires
| * | | Make sure activities are not created when a deleted calendar object expiresThomas Citharel2022-06-071-2/+3
| | |/ | |/| | | | | | | | | | | | | Closes https://github.com/nextcloud/activity/issues/784 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* / | Make X-HAS-{MD5/SHA256} opt-inCarl Schwan2022-06-081-9/+20
|/ / | | | | | | | | | | | | This is not always needed and slow down the upload Signed-off-by: Carl Schwan <carl@carlschwan.eu> (cherry picked from commit 1b426eda44f59648d2f1c5b79a06c78ff74c9fce)
* | Add email validationAnna Larch2022-05-181-2/+9
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Merge pull request #31976 from nextcloud/backport/31886/stable23blizzz2022-05-161-2/+3
|\ \ | | | | | | [stable23] Principal search by display name case insensitive
| * | Principal search by display name case insensitiveVincent Petry2022-04-141-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>
* | | Merge pull request #31641 from nextcloud/backport/31193/stable23blizzz2022-04-141-1/+20
|\ \ \ | |/ / |/| | [stable23] Add optional WebDav propfind properties to count sub elements
| * | add optional WebDav propfind properties to show number of folders/files ↵Julien Veyssier2022-04-141-1/+20
| |/ | | | | | | | | | | inside a folder Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* | Merge pull request #31836 from nextcloud/backport/31734/stable23blizzz2022-04-141-2/+1
|\ \ | |/ |/| [stable23] dont re-query fileinfo when getting dav quota
| * dont re-query fileinfo when getting dav quotaRobin Appelman2022-04-131-2/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #31453 from nextcloud/s3-primary-ci-23blizzz2022-04-141-1/+17
|\ \ | |/ |/| [stable23] Run tests with primary object storage in CI + large upload fixes
| * also handle expired pre-write shared lock on dav upload when not using part ↵Robin Appelman2022-03-101-1/+17
| | | | | | | | | | | | files Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Don't recreate sql query each timeCarl Schwan2022-03-111-8/+8
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Fix more than 1000 entries in queries exception in CardDavBackendCarl Schwan2022-03-111-7/+10
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #31392 from nextcloud/backport/30536/stable23blizzz2022-03-101-18/+53
|\ | | | | [stable23] Make Sabre File exception messages translatable
| * PHP 7.3 compatibilityChristopher Ng2022-03-021-1/+2
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * Make Sabre File exception messages translatableChristopher Ng2022-03-021-18/+52
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Merge pull request #31000 from nextcloud/backport/30974/stable23blizzz2022-03-101-4/+4
|\ \ | | | | | | [stable23] Fix: Birthday events missing after reimporting contacts
| * | delete birthday calendar events permanentlyMaximilian Martin2022-02-221-4/+4
| | | | | | | | | | | | Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
* | | Merge pull request #31183 from nextcloud/backport/31178/stable23Vincent Petry2022-03-091-1/+1
|\ \ \ | |_|/ |/| | [stable23] Fix typo in DAV namespace registration
| * | Fix typo in DAV namespace registrationThomas Citharel2022-02-171-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>
* | | Merge pull request #31262 from nextcloud/backport/20766/stable23John Molakvoæ2022-02-243-3/+15
|\ \ \ | |_|/ |/| |
| * | Fix cleaning reminders after subscription purgeThomas Citharel2022-02-231-3/+3
| | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | Clean reminders for calendar when deleting a subscriptionThomas Citharel2022-02-181-0/+4
| | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | Consider only reminders with calendar dataThomas Citharel2022-02-182-2/+10
| |/ | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Use the new option to signaling insensitivityJoas Schilling2022-02-221-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Wrap S3 multipart upload exceptionLouis Chemineau2022-02-212-0/+43
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Also comment out in testJoas Schilling2022-02-151-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Disable bulk upload by not advertising itVincent Petry2022-02-141-1/+2
| | | | | | | It has been reported broken on many instances. Disable it for now until it can be fixed. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Set the file's mtime from the headers in bulk uploadLouis Chemineau2022-01-123-14/+55
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Carefully filter out non matching time ranges for CalDAV searchChristoph Wurst2021-12-141-1/+35
| | | | | | | | | | | | | | | When we search for CalDAV objects in the DB we take the first and last occurence into account. For recurring events that is when they take place the very first time and the very last time. Searching in a more specific time range will still match this condition, because the recurring event starts before the end of the requested range but ends after the start of the requested range. Sabre has filters for this. If we apply them on all seach objects of a search with a time range, then only the recurring events actually taking place at the time of the requested time range will be returned. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Convert strict_search to wildcard property and add psalm docsJoas Schilling2021-12-132-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only wildcard search if enumeration is allowedJoas Schilling2021-12-132-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Prevent writing invalid mtimeJohn Molakvoæ2021-12-071-0/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>