summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix event move issueMaximilian Martin2023-04-181-2/+2
| | | | Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
* Merge pull request #36774 from nextcloud/bugfix/noid/sabre-nodesSimon L2023-04-181-4/+7
|\ | | | | fix: always use proper path on node api when calling the view
| * fix: Use proper path when creating node instancesJulius Härtl2023-04-171-4/+7
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #36528 from nextcloud/dav-backend-transationsSimon L2023-04-183-1197/+1269
|\ \ | | | | | | CalDAV/CardDAV: put every method from backends that does multiple DB calls in transactions
| * | refactor(dav): Since we're in a transaction, use QB properly when ↵Thomas Citharel2023-04-172-20/+32
| | | | | | | | | | | | | | | | | | | | | | | | incrementing synctoken Now that we're in a transaction, we can reuse the sync token's previous value without trouble, and rewrite the increment UPDATE query without dirty direct SQL. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | fix(CalDAV/CardDAV): put every method from Cal/CardDAV backends that does ↵Thomas Citharel2023-04-173-1196/+1256
| |/ | | | | | | | | | | | | | | | | | | | | | | multiple DB calls in transactions In a lot of methods we're doing read-after-writes (for instance calling updateProperties after touching calendar objects). There's also a lot of deleting methods that do stuff sequentially which could cause trouble. This should avoid this kind of issues. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #37645 from nextcloud/fix/improve-imip-emailsSimon L2023-04-172-3/+35
|\ \ | |/ |/| fix(dav): Parse sender PARTSTAT in REPLYs
| * fix(dav): Parse sender PARTSTAT in REPLYsAnna Larch2023-04-132-3/+35
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Merge pull request #36217 from ↵Simon L2023-04-174-10/+15
|\ \ | | | | | | | | | | | | nextcloud/handle-push-notification-with-no-calendar-name Handle reminders where calendar name is null
| * | Handle reminders where calendar name is nullThomas Citharel2023-01-184-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds an interface change, but that's not a public API. We're handling this in the providers and not in ReminderService because the fallback is translated with the user's language. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #36845 from Murena-SAS/reminder-iterator-exceptionSimon L2023-04-171-1/+8
|\ \ \ | |_|/ |/| | Fix max instances exception in get vevent call
| * | Remove reminder if max instances exceededAkhil2023-02-271-0/+1
| | | | | | | | | | | | Signed-off-by: Akhil <akhil@e.email>
| * | Update apps/dav/lib/CalDAV/Reminder/ReminderService.phpAkhil Potukuchi2023-02-271-2/+1
| | | | | | | | | | | | Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com> Signed-off-by: Akhil Potukuchi <akhil.potukuchi@gmail.com>
| * | Fix max instances exception for get vevent callAkhil2023-02-261-1/+8
| | | | | | | | | | | | Signed-off-by: Akhil <akhil@e.email>
* | | Merge pull request #37626 from nextcloud/fix/compare-imip-email-valuesArthur Schiwon2023-04-111-3/+3
|\ \ \ | | | | | | | | fix(dav): add string comparison for diff
| * | | fix(dav): add string comparison for diffAnna Larch2023-04-071-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | | Add type hints for mappersjld31032023-04-071-0/+2
|/ / / | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | Fix DAV typesjld31032023-04-054-6/+7
| | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | Merge pull request #37146 from nextcloud/artonge/feat/migrate_metadata_to_valueLouis2023-04-041-1/+1
|\ \ \ | | | | | | | | Migrate metadata JSON column to new value TEXT column
| * | | Migrate metadata as JSON to value as STRINGLouis Chemineau2023-04-031-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | Use implementations instead of interfaces for accessing private methodsjld31032023-03-302-4/+3
| | | | | | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | | Merge pull request #36661 from onny/event-update-mail-subjectSimon L2023-03-162-2/+8
|\ \ \ \ | | | | | | | | | | Invitation mail: Change subject if event got updated
| * | | | Invitation mail: Change subject if event got updatedJonas Heinrich2023-02-202-3/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jonas Heinrich <heinrich@synyx.de>
* | | | | Merge pull request #36852 from ↵Joas Schilling2023-03-131-4/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/fix-user-status-automation-on-the-day-rules-are-adjusted fix(user_status): Fix the user status automation on the day availablity rules are adjusted
| * | | | | fix(user_status): Fix the user status automation on the day availability ↵Joas Schilling2023-03-131-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rules are adjusted Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #36800 from rotdrop/feature/dav-macos-quirksAnna2023-03-132-0/+135
|\ \ \ \ \ \ | |/ / / / / |/| | | | | apps/dav: add some OSX specific quirks.
| * | | | | apps/dav: add some OSX specific quirks.Claus-Justus Heine2023-03-072-0/+135
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* | | | | | fix(dav): Handle no next potential toggle in availability detectionThomas Citharel2023-03-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: min(): Array must contain at least one element at /var/www/nc/nextcloud/apps/dav/lib/BackgroundJob/UserStatusAutomation.php#142 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | | | Merge pull request #27034 from nextcloud/enh/s3-multipart-upload-apiArthur Schiwon2023-03-099-9/+574
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Use MultipartUpload for uploading chunks to s3
| * | | | | feat(s3): Use multipart upload for chunked uploadingJulius Härtl2023-03-089-9/+574
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | This allows to stream file chunks directly to S3 during upload. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / / / / 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-1/+7
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | fix: Recalculate storage statistics on updating the quotaJulius Härtl2023-03-061-3/+0
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #36935 from nextcloud/fix/noid/imip-plugin-null-hardeningRichard Steinmetz2023-03-022-8/+23
|\ \ \ \ | | | | | | | | | | fix(caldav): harden null handling of iMip scheduling method
| * | | | fix(caldav): harden null handling of iMip scheduling methodRichard Steinmetz2023-03-022-8/+23
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | | | Merge pull request #36594 from nextcloud/fix-handling-of-invitationsblizzz2023-03-021-8/+29
|\ \ \ \ \ | |/ / / / |/| | | | 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-8/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | fix(caldav): convert iMip recipient name to a stringRichard Steinmetz2023-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | | | fix(Repair): Fix repair step compatibility with Oracle DBJoas Schilling2023-02-231-1/+1
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #34375 from nextcloud/fix/trashbin-uidDaniel2023-02-211-4/+6
|\ \ \ \ | | | | | | | | | | fix(dav) Handle Calendar trashbin UID conflicts by removing the deleted calendar object
| * | | | Allow reimporting prev. deleted items by deleting trashbin itemAnna Larch2023-02-131-4/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | | | Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-217-35/+246
| |_|/ / |/| | |
* | | | assign group share valueMaximilian Martin2023-02-201-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
* | | | fix: Use passed LazyFolder when building sabre nodesJulius Härtl2023-02-171-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Do not set up filesystem on every callAnna Larch2023-02-176-245/+33
| | | | | | | | | | | | | | | | | | | | | | | | Also remove old Oc_FileChunking logis that produced GC- collectable chunks Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | | l10n: Fixed grammarrakekniven2023-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* | | | fix(caldav): Fix reminder timezone drift for all-day eventsChristoph Wurst2023-02-092-4/+51
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | perf(dav): Do not call general setupFS on ever dav authJulius Härtl2023-02-091-3/+0
| |/ / |/| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #29010 from mattian/fix/19218/birthday-leap-dayChristoph Wurst2023-02-081-25/+23
|\ \ \ | |/ / |/| | dav: fix birthday calendar event generation for leap days
| * | dav: fix birthday calendar event generation for leap daysMattia Narducci2023-02-061-25/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix generation of birthday calendar events for the 29th of February. A recurring event for the 29th of February in the (default) Gregorian calendar system would only generate instances in leap years. Fix this behaviour by generating recurring events for the last day of February, the 29th on leap years and the 28th otherwise. Signed-off-by: Mattia Narducci <mattianarducci1@gmail.com>