summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Handle reminders where calendar name is nullThomas Citharel2023-04-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 #38248 from ↵Christoph Wurst2023-05-171-0/+10
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | nextcloud/fix/read-only-system-addres-book-acls-stable26 [stable26] fix(carddav): Mark system address book as read-only
| * | | fix(carddav): Mark system address book as read-onlyChristoph Wurst2023-05-151-0/+10
| | |/ | |/| | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / | Make sure to never trigger files hooks on a null pathCôme Chilliet2023-05-111-8/+10
|/ / | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Use proper path when creating node instancesJulius Härtl2023-05-081-4/+7
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix event move issueMaximilian Martin2023-04-191-2/+2
|/ | | | Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
* fix(dav): add string comparison for diffAnna Larch2023-04-121-3/+3
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Migrate metadata as JSON to value as STRINGLouis Chemineau2023-04-061-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(user_status): Fix the user status automation on the day availability ↵Joas Schilling2023-03-141-4/+13
| | | | | | rules are adjusted Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(dav): Handle no next potential toggle in availability detectionThomas Citharel2023-03-131-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 #37141 from nextcloud/backport/37139/stable26Arthur Schiwon2023-03-091-0/+1
|\ | | | | [stable26] Share type sciencemesh
| * Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-081-0/+1
| | | | | | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* | feat(s3): Use multipart upload for chunked uploadingJulius Härtl2023-03-099-9/+574
| | | | | | | | | | | | This allows to stream file chunks directly to S3 during upload. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix: Use proper path for quota fetchingJulius Härtl2023-03-071-1/+7
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix: Recalculate storage statistics on updating the quotaJulius Härtl2023-03-071-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>
* | Removed catch of ValueError as we cannot know if it’s >2038 or <1970Côme Chilliet2023-02-071-11/+2
| | | | | | | | | | | | Also fixed numericToString to correctly convert float to int if it fits Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix psalm errorsCôme Chilliet2023-02-072-7/+8
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Improve behavior with dates on 32bits and fix tests or skip themCôme Chilliet2023-02-071-16/+23
| | | | | | | | | | | | | | We do not support events after 2038 on 32bits but still behave better when date range start/end is after 2038. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Silence errors of return type mismatch from Sabre for nowCôme Chilliet2023-02-073-0/+6
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Type sizes as int|float throughout the code baseCôme Chilliet2023-02-074-15/+8
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Allow float sizes in FileInfo for 32bitsCôme Chilliet2023-02-071-5/+1
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use recurrence instance to build iMip emailAnna Larch2023-02-023-499/+832
| | | | | | | | instead of the main VEVENT of a repeating event Fixes part of https://github.com/nextcloud/calendar/issues/3919 Signed-off-by: Anna Larch <anna@nextcloud.com>
* Migrate to Symfony MailerCôme Chilliet2023-02-021-1/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Do not reuse query builder objects in DAV account deletionJoas Schilling2023-02-012-2/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #36380 from ↵Christoph Wurst2023-01-271-1/+0
|\ | | | | | | | | nextcloud/fix/caldav/reminder-service-nullable-calendar-data fix(caldav): Fix wrong Psalm report for nullable calendar data
| * fix(caldav): Fix wrong Psalm report for nullable calendar dataChristoph Wurst2023-01-261-1/+0
| | | | | | | | | | | | | | | | > Docblock-defined type Sabre\VObject\Component\VCalendar for $vcalendar is never falsy ^ is a lie Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(dav): check if principal has email address before accessing itRichard Steinmetz2023-01-241-2/+2
|/ | | | | | Ref https://github.com/nextcloud/calendar/issues/4811 Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Merge pull request #36260 from ↵Joas Schilling2023-01-231-1/+1
|\ | | | | | | | | nextcloud/bugfix/noid/fix-user-availability-selection Fix WHERE condition when selecting user's availability for the status…
| * Fix WHERE condition when selecting user's availability for the status automationJoas Schilling2023-01-201-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #36254 from nextcloud/chore/dav/throw-json-encode-decodeChristoph Wurst2023-01-237-12/+12
|\ \ | | | | | | chore(dav): Make json_encode and json_decode throw on error
| * | chore(dav): Make json_encode and json_decode throw on errorChristoph Wurst2023-01-197-12/+12
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / chore(dav): Remove useless var tagChristoph Wurst2023-01-191-3/+0
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(dav): catch MaxInstancesExceedeException for recurring events without ↵Anna Larch2023-01-181-34/+39
| | | | | | | | end date Ref https://github.com/nextcloud/calendar/issues/4811 Signed-off-by: Anna Larch <anna@nextcloud.com>