aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* Set the file's mtime from the headers in bulk uploadLouis Chemineau2022-01-113-14/+55
| | | | 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>
* | Carefully filter out non matching time ranges for CalDAV searchChristoph Wurst2021-12-131-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-082-0/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Only wildcard search if enumeration is allowedJoas Schilling2021-12-082-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>
* | Merge pull request #30054 from ↵Christoph Wurst2021-12-031-36/+43
|\ \ | | | | | | | | | | | | nextcloud/refactor/cleaner-dav-background-resource-job ✨ Clean up the DAV resource background job
| * | Clean up the DAV resource background jobChristoph Wurst2021-12-021-36/+43
| | | | | | | | | | | | | | | | | | | | | | | | * Replace deprecated execute with executeQuery and executeStatement * Close open cursors * Drop phpdoc that only mirrors php type hints Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Close open cursor in the caldav back-endChristoph Wurst2021-12-021-0/+3
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Cast orphan subscription id to intChristoph Wurst2021-12-011-4/+5
|/ | | | | | DB columns are of type int by default, so they need to be casted. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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-234-4/+4
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #29661 from ↵Christoph Wurst2021-11-151-5/+20
|\ | | | | | | | | nextcloud/enhancement/calendar-search-properties-api Document and type allowed property names for calendar property searches
| * Document and type allowed values for calendar property searchesChristoph Wurst2021-11-111-5/+20
| | | | | | | | | | | | | | | | | | For API users it looked like any properties could be searched. But it turned out to be a hand picked list of properties that we index and then use for the search. To prevent application errors where special props are not found, I suggest we document and type the allowed values. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix loading all principal calendars in the dav app calendar providerChristoph Wurst2021-11-111-1/+1
|/ | | | | | | | | If we load all calendar infos of a principal then we get back an array and not a single calendar info. This was handled incorrectly and an array of calendar infos were passed to the calendar implementation, resulting in interesting bugs. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Force Calendar Obejct Chnage Path to support public writeAnna Larch2021-11-082-0/+15
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Fix missing calendar path for public write on CalendarsAnna Larch2021-11-041-1/+10
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Revert "add dav plugin to trigger recalculating of checksums"John Molakvoæ2021-11-014-97/+4
|
* Merge pull request #27378 from nextcloud/dav-recalc-checksumJohn Molakvoæ2021-11-014-4/+97
|\
| * Add dav plugin to trigger recalculating of checksumsRobin Appelman2021-08-234-4/+97
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #29481 from ↵Christoph Wurst2021-10-281-2/+3
|\ \ | | | | | | | | | | | | nextcloud/fix/dav-calendar-query-start-end-immutable Fix immutable datetime handling in DAV calendar search
| * | Fix immutable datetime handling in DAV calendar searchChristoph Wurst2021-10-281-2/+3
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Register missing DAV app calendar providerChristoph Wurst2021-10-281-0/+3
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #28997 from nextcloud/fix/set-attendee-as-recipientJohn Molakvoæ2021-10-222-1/+12
|\ \
| * | Update attendence for external usersDaniel Kesselberg2021-10-082-1/+12
| | | | | | | | | | | | | | | | | | | | | For local users it's possible to select their calendar via the principal url and first update their own attendance status. External users have no calendar event hence the recipient is the organizer. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | Scheduling plugin not updating responding attendee status take twoAnna Larch2021-10-081-1/+1
| | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | Add scheduling availability settingsChristoph Wurst2021-10-181-0/+44
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #28991 from nextcloud/feature/bulk_uploadJulius Härtl2021-10-164-0/+347
|\ \ \
| * | | Clean BulkUpload pluginLouis Chemineau2021-10-168-1176/+348
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | | Add BulkUpload DAV pluginLouis Chemineau2021-10-156-4/+1179
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | Merge pull request #29240 from nextcloud/work/admin-delegation-implementationCarl Schwan2021-10-152-9/+22
|\ \ \ \ | |/ / / |/| | | Add support for Delegation Settings for more apps
| * | | Add support for Delegation Settings for more appsCarl Schwan2021-10-152-9/+22
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | * This adds support for the sharing, groupware, theming and user_ldap app * This adds some code who disapeared during a rebase in the initial delegation PR (provisioning_api) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #29188 from nextcloud/enhancement/public-write-apiDaniel2021-10-154-10/+124
|\ \ \ | | | | | | | | Add calendar object creation API to OCP
| * | | Add create method to extended calendar implementationAnna Larch2021-10-154-10/+124
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Change return type to correct typeAnna Larch2021-10-141-1/+1
|/ / / | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | Merge pull request #29195 from ↵Daniel2021-10-142-2/+2
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/calendar-invitations-default-language Fix default language detection for calendar emails
| * | | Fix default language detection for calendar notificationsChristoph Wurst2021-10-131-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Fix default langauge detection for calendar invite emailsChristoph Wurst2021-10-131-1/+1
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Add Public Calendar ProviderAnna Larch2021-10-143-10/+86
| | | | | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Remove shadowed $config variableChristoph Wurst2021-10-131-1/+0
|/ / | | | | | | | | | | The variable is overwritten a few lines later. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #28716 from nextcloud/add-orphan-subscriptions-repair-taskszaimen2021-09-131-0/+144
|\ \ | | | | | | Add repair job to delete calendar subscriptions that were orphaned when deleting an user
| * | Add repair job to delete calendar subscriptions that were orphaned whenThomas Citharel2021-09-041-0/+144
| | | | | | | | | | | | | | | | | | | | | | | | deleteding an user Follow-up to https://github.com/nextcloud/server/pull/28419 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | use specific email getter where necessaryArthur Schiwon2021-09-092-6/+3
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #28692 from nextcloud/enh/send-invitation-to-req-participantskesselb2021-09-071-3/+11
|\ \ \ | |/ / |/| | Send attendence links to required and optinal attendees of an event without an RSVP
| * | Send Invitation to Attendees with ROLE=REQ-PARTICIPANTAnna Larch2021-09-031-3/+11
| | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | Merge pull request #28419 from ↵Christoph Wurst2021-08-311-2/+13
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bug/28419/delete-calendar-subscriptions-when-deleting-user Delete calendar subscriptions as well when deleting user
| * | | Delete calendar subscriptions as well when deleting userThomas Citharel2021-08-131-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | Closes #28418 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | 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>