summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #44378 from nextcloud/backport/44376/stable27Andy Scherzinger2024-03-211-1/+1
|\ | | | | [stable27] fix(dav): ACLs for shared addressbooks
| * fix(dav): ACLs for shared addressbooksChristoph Wurst2024-03-211-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(systemtags): Forbid tagging of readonly filesCôme Chilliet2024-03-193-53/+82
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* tests(dav): Add unit test for no calendars/subscription limitChristoph Wurst2024-03-121-0/+38
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #43752 from nextcloud/backport/43732/stable27John Molakvoæ2024-02-221-0/+166
|\
| * fix(dav): Rate limit calendar/subscription creationChristoph Wurst2024-02-221-0/+166
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #43740 from nextcloud/backport/43727/stable27John Molakvoæ2024-02-222-2/+27
|\ \ | |/ |/|
| * Check share attributes when downloading versionsLouis Chemineau2024-02-212-2/+27
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix(dav): Adjust tests as we no longer set a status on REPORTFerdinand Thiessen2024-02-211-3/+0
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(scheduling): don't send iMIP emails to rooms / resourcesAnna Larch2023-11-271-2/+161
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(dav): expand recurrences when searchingRichard Steinmetz2023-09-261-0/+69
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(caldav): add webroot to objectid for activitiesDaniel Kesselberg2023-09-131-0/+2
| | | | | | | | | A calendar uri includes the webroot: example.com/cloud/remote.php/dav/calendars/alice/personal/ The calendar app uses base64(calendar uri) as identifier for calendar objects. Without this patch the links from activity app to calendar app don't work for installations in a subdirectory. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(CalDAV): check birthday calendar ownerAnna Larch2023-09-071-2/+60
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(CardDAV): set owner-principal, displayname properties for SABAnna Larch2023-08-241-1/+0
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #39904 from nextcloud/backport/38397/stable27John Molakvoæ2023-08-161-4/+25
|\
| * enh(contacts): show/hide addressbooks for allJohannes Merkel2023-08-161-4/+25
| | | | | | | | Signed-off-by: Johannes Merkel <mail@johannesgge.de>
* | fix: close cursor after reading the invitationDaniel Kesselberg2023-08-111-1/+3
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fix creating events with old (< unix time) lastoccurenceThomas Citharel2023-08-021-1/+11
| | | | | | Closes #20804 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* fix share roots always being marked as writableRobin Appelman2023-07-281-22/+54
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #38919 from nextcloud/backport/38639/stable27Arthur Schiwon2023-07-122-2/+113
|\ | | | | [stable27] pruneOutdatedSyncTokens deletes all entries
| * Issue #36644: Test casesChristof Arnosti2023-06-212-2/+113
| | | | | | | | Signed-off-by: Christof Arnosti <charno@charno.ch>
* | fix(caldav): Ignore invalid events for reminder generationChristoph Wurst2023-07-101-0/+42
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | refactor: adjust to unexposed searchBySystemTagArthur Schiwon2023-07-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | - in this backport we have to drop the breaking addition in \OCP\Files\Folder - this requires adjustments in check for the existance of the method but also in testing - another change in \OCP\SystemTag\ISystemTagManager can be applied as this interface is not implemented elsewhere Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix: cominbation of small fixesArthur Schiwon2023-07-061-3/+20
| | | | | | | | | | | | | | | | - possible null return - parameter name mismatch in implementation - incomplete unit test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix: include invisible tags for adminsArthur Schiwon2023-07-061-45/+59
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix: search with more than one search tagsArthur Schiwon2023-07-061-108/+302
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix(carddav): Don't show system address book cards to guestsChristoph Wurst2023-05-251-0/+78
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(carddav): Check enumeration settings for all SAB methodsChristoph Wurst2023-05-251-2/+240
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat(CardDAV): Add Sabre\DAV\IMoveTarget support to OCA\DAV\CardDAV\AddressBookThomas Citharel2023-05-161-26/+55
| | | | | | | | | | This allows to just UPDATE the card row instead of deleting it and reinsert it. It's very similar to https://github.com/nextcloud/server/pull/30120 for calendars. As we need the addressbookid exposed, this introduces OCA\DAV\CardDAV\Card that extends Sabre's. I chose specifically NOT to auto-inject LoggerInterface in Addressbook like in #30120 because the chain of DI is huge just for ONE simple call and it would break an existing dirty call (OCA\Contacts calling OCA\DAV) of ContactsManager in Contacts: https://github.com/nextcloud/contacts/pull/1722 (in SocialApiService), but this is debatable. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #37965 from ↵Simon L2023-05-161-4/+8
|\ | | | | | | | | nextcloud/fix/transactional-system-addressbook-sync fix(dav): Run system address book create-if-not-exists in transaction
| * fix(dav): Run system address book create-if-not-exists in transactionChristoph Wurst2023-05-121-4/+8
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | feat(users): Store and load a user's managerChristoph Wurst2023-05-121-2/+32
| | | | | | | | | | Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(carddav): expose system address bookAnna Larch2023-05-111-0/+5
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | feat(dav): store scopes for properties and filter locally scoped properties ↵Anna Larch2023-05-092-10/+131
|/ | | | | | for federated address book sync Signed-off-by: Anna Larch <anna@nextcloud.com>
* Rename setting 'sendEventRemindersToSharedGroupMembers' to ↵Daniel Teichmann2023-05-041-2/+2
| | | | | | 'sendEventRemindersToSharedUsers'. Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
* fix(psalm): systemtagsJohn Molakvoæ2023-04-281-2/+6
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* expose system tags as dav property for filesRobin Appelman2023-04-281-5/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Feature: Provide access to app generated calendars through CalDAVFerdinand Thiessen2023-04-254-12/+304
| | | | | | | | | | | This adds CalDAV support for app generated calendars, which are registered to the nextcloud core. This is done by adding a dav plugin which wraps all ICalendarProviders into a Sabre plugin (inspired by the deck app). Add unit test for AppCalendar wrapper plugin and calendar object implementation. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* tests: Adapt node related unit tests mocks to required root viewJulius Härtl2023-04-172-5/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: Use proper path when creating node instancesJulius Härtl2023-04-171-2/+18
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix dav application testsCôme Chilliet2023-04-031-2/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Tidy up typing in OC\Files\ViewCôme Chilliet2023-04-031-2/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #36661 from onny/event-update-mail-subjectSimon L2023-03-161-5/+5
|\ | | | | Invitation mail: Change subject if event got updated
| * Invitation mail: Change subject if event got updatedJonas Heinrich2023-02-201-5/+5
| | | | | | | | Signed-off-by: Jonas Heinrich <heinrich@synyx.de>
* | fix(CI): Add unit test for nextcloud/server#37167Joas Schilling2023-03-131-1/+46
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(user_status): Fix the user status automation on the day availability ↵Joas Schilling2023-03-131-0/+159
| | | | | | | | | | | | rules are adjusted Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-081-0/+1
| | | | | | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* | fix: Use proper path for quota fetchingJulius Härtl2023-03-061-0/+12
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #36594 from nextcloud/fix-handling-of-invitationsblizzz2023-03-021-10/+19
|\ \ | | | | | | fix(caldav): Correctly handle calendar recreation for invitations when the current calendar is in the trashbin
| * | fix(caldav): Correctly handle calendar recreation for invitations when the ↵Thomas Citharel2023-02-091-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | current calendar is in the trashbin Follow-up to #32361, see https://github.com/nextcloud/calendar/issues/4098 for details Signed-off-by: Thomas Citharel <tcit@tcit.fr>