aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #32956 from nextcloud/fix/upload-folder-wrong-contentVincent Petry2022-07-271-5/+16
|\ \ | |/ |/| Handle file contained inside the uploads folder
| * Handle file contained inside the uploads folderCarl Schwan2022-06-211-5/+16
| | | | | | | | | | | | Fix #32450 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Fix typos in apps/dav subdirectoryluz paz2022-07-2612-13/+13
| | | | | | | | | | | | Found via `codespell -q 3 -S l10n -L jus ./apps/dav` Signed-off-by: luz paz <luzpaz@github.com>
* | Merge pull request #33251 from ↵Anna2022-07-261-13/+58
|\ \ | | | | | | | | | | | | cneukom/feature/birthday-calendar-reminder-settings Birthday Calendar Reminder Setting
| * | fix possibly null variablesCédric Neukom2022-07-171-1/+8
| | | | | | | | | | | | Signed-off-by: Cédric Neukom <github@webguy.ch>
| * | Respect user settings when generating alerts for birthday calendarCédric Neukom2022-07-171-13/+51
| | | | | | | | | | | | Signed-off-by: Cédric Neukom <github@webguy.ch>
* | | Don't try to purge objects from the birthday calendar when it doesn't existThomas Citharel2022-07-251-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 #32869 from nextcloud/dav-no-deleted-user-activitiesblizzz2022-07-232-2/+23
|\ \ \ | |/ / |/| | Avoid calendar & addressbook activities being created on user being deleted
| * | Avoid calendar & addressbook activities being created on user being deletedThomas Citharel2022-06-142-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | Addressbooks and Calendar data are destroyed through hook OC_User::pre_deleteUser, which when it reaches the backends sends AddressBookDeletedEvent/CalendarDeletedEvent typed events, which in turns generates activities that aren't deleted until they expire. This can probably lead to old activities being visible for a new user created with the same uid. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #33118 from nextcloud/fix/address-book-exportblizzz2022-07-081-0/+4
|\ \ \ | | | | | | | | Fix empty address books being exported
| * | | Fix empty address books being exportedChristopher Ng2022-07-051-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | catch any exception for transaction controlArthur Schiwon2022-07-061-1/+1
|/ / / | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #33090 from ↵Carl Schwan2022-07-041-54/+76
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/noid/proppatch-properties-transaction-rollback DAV custom props: catch Exception and rollback transaction in case
| * | | DAV custom props: catch Exception and rollback transaction in caseArthur Schiwon2022-07-011-54/+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>
* | | | Inject userId directlyJoas Schilling2022-07-011-7/+6
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Remove unused importJoas Schilling2022-07-011-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Add UI to opt-in on the status automationJoas Schilling2022-07-011-0/+25
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Add status automationJoas Schilling2022-07-011-2/+12
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Fix determination of cron job runJoas Schilling2022-07-011-8/+91
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | User status automation background jobJoas Schilling2022-07-013-0/+161
|/ / / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #33007 from nextcloud/cleanup/federation-appCarl Schwan2022-06-284-89/+72
|\ \ \ | | | | | | | | Summer cleanup of the federation app
| * | | Cleanup CardDav SyncServiceCarl Schwan2022-06-242-70/+19
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Summer cleanup of the federation appCarl Schwan2022-06-243-21/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use IEventDispatcher instead of deprecated symfony dispatcher - Use LoggerInterface where possible - Use php 7.4 properties - Add type hinting where possible - Move federation hooks to a seperate listener Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Merge pull request #32701 from nextcloud/fix/type-error-objectreeCarl Schwan2022-06-231-2/+2
|\ \ \ \ | |/ / / |/| | | Fix type error in Sabre/Connector/Directory
| * | | Fix type error in Sabre/Connector/DirectoryCarl Schwan2022-06-141-2/+2
| |/ / | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #32884 from nextcloud/typing/dav-sharingCarl Schwan2022-06-228-240/+146
|\ \ \ | | | | | | | | Add typing to Sharing Backend
| * | | Add typing to Sharing BackendCarl Schwan2022-06-228-240/+146
| | |/ | |/| | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #32881 from nextcloud/Valdnet-patch-2rakekniven2022-06-203-14/+14
|\ \ \ | |/ / |/| | l10n: Spelling unification
| * | Spelling unificationValdnet2022-06-151-1/+1
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
| * | l10n: Spelling unificationValdnet2022-06-151-12/+12
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
| * | l10n: Spelling unificationValdnet2022-06-151-1/+1
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | | Merge pull request #32876 from nextcloud/fix/fix-string-interpolationblizzz2022-06-151-1/+1
|\ \ \ | |/ / |/| | Use {$var} instead of ${var} for PHP 8.2 compatibility
| * | Use {$var} instead of ${var} for PHP 8.2 compatibilityCôme Chilliet2022-06-141-1/+1
| |/ | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / Handle the move operation properly between shared calendarsThomas Citharel2022-06-149-11/+310
|/ | | | | | | | - Introduce a new CalendarObjectMovedEvent typed event dedicated for this operation - Handle the event in the activity backend and add new appropriate activity subjects Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #30368 from nextcloud/dav-allow-object-propertiesVincent Petry2022-06-103-12/+181
|\ | | | | Allow DAV Object properties
| * Allow DAV Object propertiesThomas Citharel2022-05-163-12/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current implementation only saves them as string. It seems they can be more complex than that, and that objects were saved directly. You may find such objects saved in some production databases by executing: ```sql SELECT * from oc_properties where propertyvalue = 'Object'; ``` This commit adds a repair job to clean all of these "broken" properties values, adds a new database column to save the type of the property, and handles converting from and to correct values. Implementation is very similar to SabreDAV's own PDO backend: https://github.com/nextcloud/3rdparty/blob/4921806dfb1c5c309eac60195ed34e2749baf3c1/sabre/dav/lib/DAV/PropertyStorage/Backend/PDO.php Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #31029 from nextcloud/expose-extra-emails-in-davVincent Petry2022-06-103-0/+20
|\ \ | | | | | | Expose additional emails in {DAV:}alternate-URI-set
| * | Expose additional emails in {DAV:}alternate-URI-setThomas Citharel2022-05-173-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #31622 from ↵Vincent Petry2022-06-101-34/+16
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/increase-loglevel-modernize-refresh-webcal Increase loglevel of Webcal parsing errors and modernize code
| * | | Increase loglevel of Webcal parsing errors and modernize codeThomas Citharel2022-05-171-34/+16
| |/ / | | | | | | | | | | | | | | | Closes #31612 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #32361 from nextcloud/dav-scheduling-default-calendarVincent Petry2022-06-103-7/+48
|\ \ \ | | | | | | | | Put calendar invites into the user's first available calendar
| * | | Put calendar invites into the user's first available calendarThomas Citharel2022-05-123-7/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there's no default calendar and we can't find anything with URI 'personal', instead of creating a new one, start by using the first "real personal calendar" available. If not, then we create the default one. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | Merge pull request #32364 from nextcloud/dav-listenersVincent Petry2022-06-1014-270/+371
|\ \ \ \ | | | | | | | | | | 🧹 Remove all legacy event dispatchers from CalDAV & CardDAV backends
| * | | | Fix a doctype in OCP for IAddressBookThomas Citharel2022-05-171-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | | | Add some typed propertiesThomas Citharel2022-05-174-79/+30
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | | | Remove all legacy event dispatchers from CalDAV & CardDAV backendsThomas Citharel2022-05-1711-190/+339
| | |/ / | |/| | | | | | | | | | | | | | | | | | Move them to proper EventListeners and test them Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | Merge pull request #32800 from ↵Vincent Petry2022-06-103-9/+38
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/no-fatal-for-maintenance-mode Don't spam the log with fatals when maintenance mode is enabled or an…
| * | | | Don't spam the log with fatals when maintenance mode is enabled or an ↵Joas Schilling2022-06-103-9/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upgrade has to be done Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Avoid creating carddav activities for the system userThomas Citharel2022-06-101-2/+16
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because of the system addressbook synchronisation. Closes #32803 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | Merge pull request #28703 from nextcloud/enhancement/caldav-reminders-loggingChristoph Wurst2022-06-021-13/+28
|\ \ \ \ | | | | | | | | | | Debug log what happens during reminders processing