summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit
Commit message (Collapse)AuthorAgeFilesLines
* Fix duplicate event email notificationsRichard Steinmetz2022-11-044-5/+125
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* add test for trying to fopen a file which no longer exists on diskRobin Appelman2022-10-031-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add test for search operator limitRobin Appelman2022-09-081-25/+76
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix typos in apps/ subdirectoryluz paz2022-09-052-2/+2
| | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix Capabilities tests for dav applicationCôme Chilliet2022-08-291-3/+23
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Support iMIP invitations from MailAnna Larch2022-08-221-0/+79
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #33615 from ↵Joas Schilling2022-08-191-37/+0
|\ | | | | | | | | nextcloud/perf/noid/user-displayname-cache-for-activity-providers Use user name cache in activity providers
| * Use user name cache in activity providersJoas Schilling2022-08-191-37/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix carddav activitiesJoas Schilling2022-08-191-2/+2
|/ | | | | | | | 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>
* Fix dynamic property creations in test filesCôme Chilliet2022-08-011-5/+9
| | | | | | This fixes warnings in PHP 8.2 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Multiple fixesCarl Schwan2022-07-312-15/+22
| | | | | | | | | | | - Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix view-only code after code review commentsVincent Petry2022-07-281-2/+2
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add nc:share-attributes Webdav propertyVincent Petry2022-07-281-0/+62
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add share attributes + prevent download permissionVincent Petry2022-07-281-0/+118
| | | | | | Makes it possible to store download permission Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix typos in apps/dav subdirectoryluz paz2022-07-262-4/+4
| | | | | | 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-28/+41
|\ | | | | | | | | cneukom/feature/birthday-calendar-reminder-settings Birthday Calendar Reminder Setting
| * Respect user settings when generating alerts for birthday calendarCédric Neukom2022-07-171-28/+41
| | | | | | | | Signed-off-by: Cédric Neukom <github@webguy.ch>
* | Merge pull request #32869 from nextcloud/dav-no-deleted-user-activitiesblizzz2022-07-232-3/+58
|\ \ | |/ |/| Avoid calendar & addressbook activities being created on user being deleted
| * Avoid calendar & addressbook activities being created on user being deletedThomas Citharel2022-06-142-3/+58
| | | | | | | | | | | | | | | | 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 #32863 from nextcloud/feature/add-comments-expire-dateblizzz2022-06-241-0/+5
|\ \ | | | | | | Add comments expire date
| * | Fix test to check the expire dateVitor Mattos2022-06-201-0/+5
| |/ | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* / Add typing to Sharing BackendCarl Schwan2022-06-222-4/+8
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #31029 from nextcloud/expose-extra-emails-in-davVincent Petry2022-06-103-0/+53
|\ | | | | Expose additional emails in {DAV:}alternate-URI-set
| * Expose additional emails in {DAV:}alternate-URI-setThomas Citharel2022-05-173-0/+53
| | | | | | | | | | | | | | | | | | 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-11/+10
|\ \ | | | | | | | | | | | | 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-11/+10
| |/ | | | | | | | | | | Closes #31612 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #32361 from nextcloud/dav-scheduling-default-calendarVincent Petry2022-06-101-18/+67
|\ \ | | | | | | Put calendar invites into the user's first available calendar
| * | Refactor CalDAV\Schedule\PluginTest for depreciated phpunit methodsThomas Citharel2022-05-121-10/+15
| | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | Put calendar invites into the user's first available calendarThomas Citharel2022-05-121-8/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-107-59/+265
|\ \ \ | | | | | | | | 🧹 Remove all legacy event dispatchers from CalDAV & CardDAV backends
| * | | Remove all legacy event dispatchers from CalDAV & CardDAV backendsThomas Citharel2022-05-177-59/+265
| | |/ | |/| | | | | | | | | | | | | Move them to proper EventListeners and test them Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #32800 from ↵Vincent Petry2022-06-101-2/+5
|\ \ \ | | | | | | | | | | | | | | | | 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-101-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | upgrade has to be done Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Add tests for OCA\DAV\CardDAV\Activity\Backend (adapted from CalDAV)Thomas Citharel2022-06-101-0/+503
|/ / / | | | | | | | | | | | | | | | And test that the system addressbook will never generate activity events Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #28703 from nextcloud/enhancement/caldav-reminders-loggingChristoph Wurst2022-06-021-12/+18
|\ \ \ | | | | | | | | Debug log what happens during reminders processing
| * | | Debug log what happens during reminders processingChristoph Wurst2022-06-011-12/+18
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #32471 from nextcloud/fix-wrong-dav-activitiesChristoph Wurst2022-06-012-2/+108
|\ \ \ \ | |/ / / |/| | | 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-05-182-2/+108
| |/ / | | | | | | | | | | | | | | | Closes https://github.com/nextcloud/activity/issues/784 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* / / Add email validationAnna Larch2022-05-181-87/+33
|/ / | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* / Fix more psalm issuesCarl Schwan2022-05-161-3/+3
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #31963 from nextcloud/feat/use_setting_in_dav_searchLouis2022-05-041-0/+4
|\ | | | | Use share setting in DAV search
| * Use email settings in DAV searchLouis Chemineau2022-04-191-0/+4
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-0216-112/+71
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix namespace of RefreshWebcalServiceTestCôme Chilliet2022-05-021-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix PublishingTest class nameCôme Chilliet2022-05-021-1/+1
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #25747 from nextcloud/XAccelBufferingblizzz2022-04-071-2/+5
|\ | | | | Add X-Accel-Buffering header to downloads
| * Add X-Accel-Buffering header to downloadsUnpublished2022-01-171-2/+5
| | | | | | | | Signed-off-by: Unpublished <unpublished@gmx.net>
* | use existing node in SharesPluginRobin Appelman2022-04-064-47/+80
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #31734 from nextcloud/dav-quota-dont-queryRobin Appelman2022-04-041-8/+0
|\ \ | | | | | | dont re-query fileinfo when getting dav quota
| * | dont re-query fileinfo when getting dav quotaRobin Appelman2022-03-281-8/+0
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>