Anna
5c20c9e4b2
Merge pull request #46594 from nextcloud/fix/issue-28162-2
...
fix(caldav): decode values before returning
2024-07-18 16:00:05 +02:00
Sebastian Krupinski
31d051ae74
Merge pull request #45547 from nextcloud/feature/recurrence-invitations2
...
feature: Improved Recurrence Invitations Messages
2024-07-18 06:57:26 -04:00
SebastianKrupinski
43ee948890
feat: Improve recurrence invitations messages
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-17 19:10:32 -04:00
SebastianKrupinski
0f3d05afea
fix(caldav): Throw 403 Forbidden Error instead of 500 Internal Server Error
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-17 17:42:35 -04:00
SebastianKrupinski
79c97e7f09
fix(caldav): decode values before returning
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-17 17:34:50 -04:00
Sebastian Krupinski
fe90956aa4
Merge pull request #46315 from nextcloud/fix/limit-vevent-size
...
fix(caldav): limit vevent size
2024-07-08 09:10:09 -04:00
SebastianKrupinski
247fbb5538
fix(caldav): limit vevent size
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-04 18:56:27 -04:00
SebastianKrupinski
65e4d46e2c
chore(caldav): remove obsolete function
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-04 03:39:49 -04:00
SebastianKrupinski
d7eb509b26
fix(caldav): when message is a reply compare the message sender not the recipient
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-25 16:43:51 -04:00
Joas Schilling
8130968a35
feat(notifications): Migrate server INotifiers to new exceptions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-25 11:56:24 +02:00
Richard Steinmetz
df28c04a8f
fix(caldav): encode calendar URIs with umlauts for activities
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-20 10:56:27 +02:00
Richard Steinmetz
3a975d0a89
fix(caldav): event links in shared calendar notifications
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-11 20:08:57 +02:00
Anna Larch
ad78f7e48e
fix(caldav): automatically delete outdated scheduling objects
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-05-31 13:14:01 +02:00
Daniel Kesselberg
b769dc4304
feat(caldav): order the calendar objects by start date for search
...
Sorting the events by the start date leads to more predictable results for the search API consumers.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-05-28 19:56:36 +02:00
Daniel Kesselberg
4718a7e4e0
fix(caldav): event search with limit and timerange
...
Event recurrences are evaluated at runtime because the database only knows the first and last occurrence.
Given, a user created 8 events with a yearly reoccurrence and two for events tomorrow.
The upcoming event widget asks the CalDAV backend for 7 events within the next 14 days.
If limit 7 is applied to the SQL query, we find the 7 events with a yearly reoccurrence and discard the events after evaluating the reoccurrence rules because they are not due within the next 14 days and end up with an empty result even if there are two events to show.
The workaround for search requests with a limit and time range is asking for more row than requested and retrying if we have not reached the limit.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-05-28 19:56:36 +02:00
Andy Scherzinger
9d4b944098
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-27 20:11:22 +02:00
Jérôme Herbinet
1ffdebd20d
fix(dav): Replaces "Time:" with "Date and time:" in calendar invite email
...
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-05-23 15:37:11 +02:00
Anna Larch
de49514fb4
fix(caldav): loop through all events for busy events
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-05-14 14:32:58 +02:00
Daniel Kesselberg
e210043ee9
feat(caldav): expose calendar subscriptions
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-05-07 16:03:33 +02:00
Anna Larch
e43811d395
fix(userstatus): catch unique constrain violation on revert
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-05-06 17:08:25 +02:00
SebastianKrupinski
51d338b9cc
fix(caldav): Fixed formatting to comply with php-cs
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-05-03 09:01:07 -04:00
SebastianKrupinski
d25039ec1a
fix(caldav): Test if user object is not null and trim senderName
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-05-01 19:51:45 -04:00
SebastianKrupinski
f44b73e2db
fix(caldav): Use userSession instead of userId
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-04-30 10:30:12 -04:00
Anna Larch
a28f264783
fix(CalDAV): remove UNKNOWN from room / resource consideration
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-04-19 21:22:17 +02:00
Côme Chilliet
ab6afe0111
fix: Fix new psalm errors from update
...
Not sure about the SimpleContainer modification, let’s see what CI says
about that.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-08 11:29:09 +02:00
Daniel
c0d21b4443
Merge pull request #44511 from nextcloud/perf/noid/skip-tree-lookup-for-non-calendar-requests
...
perf(dav): skip non-calendar requests in webcal caching plugin
2024-04-03 07:44:33 +02:00
Côme Chilliet
ec5133b739
fix: Apply new coding standard to all files
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-02 14:16:21 +02:00
Daniel Kesselberg
4bdb473aae
perf(dav): skip non-calendar requests in webcal caching plugin
...
The webcal caching plugin is active when the X-NC-CalDAV-Webcal-Caching header is there.
findPrincipalByUrl sends a request for /remote.php/dav/principals/users/admin/ using the caldavService which sets the header by default.[^1]
As X-NC-CalDAV-Webcal-Caching only impacts calendar requests, we can skip non-calendar requests.
[^1]: b3670f1805/src/services/caldavService.js (L43)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-03-27 20:04:23 +01:00
Robert C. Schaller
fa6e6131ee
fix(dav): wrong comparison method between two events
...
Old comparison implementation compares each element of the array against each other with no respect for the associated array label, which leads to wrongful removals because one value is accidentally present in a completely different label. New comparison works 'by-label' individually.
Partly fixes #41084 because changes between 'SEQUENCE' not present, 'SEQUENCE:0' and 'SEQUENCE:1' were not detected in the old implementation and thus no email update sent.
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Robert C. Schaller <gtbc_robert.schaller@rsxc.de>
2024-03-25 13:18:58 +01:00
Christoph Wurst
3dea99f42b
fix(dav): Add retention time to sync token cleanup
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-21 18:37:21 +01:00
Anna Larch
a96f8f7fee
fix(caldav): add EXDATE and EXRULE to confidential object
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-03-21 10:01:33 +01:00
Christoph Wurst
f40f962c2e
fix(dav): Add occ command to fix missing caldav sync tokens
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-12 12:44:00 +01:00
Christoph Wurst
a2fcf50f43
fix(dav): Fix atomic calendar/subscription updates
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-29 09:42:51 +01:00
Richard Steinmetz
53ef6c5f71
feat(dav): update a principal's schedule-default-calendar-URL
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-28 14:51:10 +01:00
John Molakvoæ
9eece36235
Merge pull request #39553 from zero0cool0/fix/caldavbackend_getChangesForCalendar
2024-02-23 21:35:43 +01:00
John Molakvoæ
54e6ad6e63
Merge pull request #39750 from nextcloud/Jerome-Herbinet-to-dos-wording-change
2024-02-23 21:30:06 +01:00
Jérôme Herbinet
678c003546
"Taks" to fit calendar wording
...
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-02-23 17:05:56 +01:00
Patrick Fischer
0f16153e4a
Bug fix: Select the correct table based on CALENDAR_TYPE_CALENDAR
...
Signed-off-by: Patrick Fischer <mail@patrickfischer.ch>
2024-02-23 16:18:01 +01:00
Hamid Dehnavi
7bf31df0bc
Refactors "substr" calls to improve code readability
...
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-02-23 15:54:10 +01:00
Christoph Wurst
dc7f2baf26
fix(dav): Rate limit calendar/subscription creation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-23 08:52:59 +01:00
Anna Larch
dce69154ba
enh(sharing): enable unsharing for sharees for DAV shares (addressbooks and calendars)
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-02-15 18:01:12 +01:00
Thomas Citharel
2bfe67c8ab
fix(caldav): only call getTimestamp() on actual DateTime data
...
For some reason the value of $component['DTSTART'][0] may not be a DateTimeImmutable
Closes #42464
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-02 10:46:48 +01:00
Joas Schilling
71add5561a
fix(userstatus): Also set the user status when the user has no status at all
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-25 11:05:48 +01:00
Anna Larch
e1b957e17b
fix(userstatus): CALL status should overwrite MEETING status
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-01-24 18:23:21 +01:00
Christoph Wurst
d9d222d18a
Merge pull request #42850 from nextcloud/fix/caldav/update-acls-deletedcalendarobjectscollection
...
fix(CalDAV): set acls for DeletedCalendarObjectsCollection
2024-01-18 10:42:14 +01:00
Johannes Merkel
b454156f57
fix(CalDAV): set acls for DeletedCalendarObjectsCollection
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-01-17 17:08:31 +01:00
Joas Schilling
e981619c01
fix(dav): Fix user status "Undefined array key 0 at StatusService.php#98"
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-10 09:18:08 +01:00
jld3103
08b43021e1
fix(dav): Hide less than minute diff in calendar notification title
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-12-20 18:29:57 +01:00
Anna Larch
4c6eff975f
fix(userstatus): set user status to 'In a meeting' if calendar is busy
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-19 14:59:00 +01:00
Richard Steinmetz
06aba2a5c8
fix(dav): allow multiple organizers if possible
...
This is very hacky! However, we want to allow saving events with multiple
organizers. Those events are not RFC compliant, but sometimes imported from major
external calendar services (e.g. Google). If the current user is not an organizer of
the event we ignore the exception as no scheduling messages will be sent anyway.
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-12-17 17:46:00 +01:00