Commit graph

2178 commits

Author SHA1 Message Date
Ferdinand Thiessen
1e6237d1b9
fix(dav): Try basic auth for ajax WebDAV requests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 10:11:18 +01:00
provokateurin
0088dc10ec fix(dav): Cleanup view-only check
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-28 09:23:41 +00:00
Louis Chemineau
835e14ec4e fix: Override start method of \Sabre\DAV\Server to remove exception output
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-10-08 18:14:26 +02:00
Louis Chemineau
3c7bb63cd3 fix: Drop unnecessary exit
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-10-08 18:14:26 +02:00
Kate
f9eaadfdca
Merge pull request #48510 from nextcloud/fix/stable28/webcal-subscription-jobs-middleware 2024-10-02 12:05:20 +02:00
Anna Larch
16d09d8466 fix(caldav): add missing handlers
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-10-01 22:52:08 +02:00
SebastianKrupinski
2ac9a1bac4 fix(caldav): Do not load IMipPlugin before user auth and session is created
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-09-22 10:53:24 +02:00
fenn-cs
2b40fb452e fix(Federation): Show some icon for federated users on shares
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-09-19 16:18:26 +01:00
Luc Didry
df397d969e fix(dav): catch MaxInstancesExceededException on calendar events
Signed-off-by: Luc Didry <luc@didry.org>
2024-09-16 13:05:34 +00:00
Anna Larch
19ebe4dd44 fix(dav): cast parameters to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:08:24 +00:00
Anna Larch
81804c49e0 fix(dav): set string type for sanitizeMtime
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 20:42:55 +00:00
Louis Chemineau
8524ab9a09 fix(dav): Always respond custom error page on exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-09 17:30:19 +02:00
Andy Scherzinger
b678e139be
Merge pull request #47336 from nextcloud/backport/47332/stable28
[stable28] fix(caldav): allow renaming of birthday calendars
2024-08-29 18:54:48 +02:00
Anna Larch
9a20761231 fix(caldav): limit property length
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-22 11:18:57 +00:00
Anna Larch
932b0f76f7 fix(caldav): allow renaming of birthday calendars
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-20 08:50:29 +00:00
Anna Larch
64b8537afb fix(userstatus): add missing parenthesis
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-01 16:14:50 +00:00
SebastianKrupinski
5cf9d62c6d fix(dav): Thrown forbidden error for authenticated user instead of not found
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-19 17:21:18 +00:00
Sebastian Krupinski
1dd731d893
Merge pull request #46603 from nextcloud/backport/46593/stable28
[stable28] fix(caldav): Throw 403 Forbidden Error instead of 500 Internal Server…
2024-07-18 18:03:41 -04:00
SebastianKrupinski
71f4089673 fix(caldav): decode values before returning
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-18 14:01:07 +00:00
SebastianKrupinski
4ee152709e fix(caldav): Throw 403 Forbidden Error instead of 500 Internal Server Error
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-18 08:18:38 +00:00
Andy Scherzinger
ee8872d333
Merge pull request #46421 from nextcloud/backport/46315/stable28
[stable28] fix(caldav): limit vevent size
2024-07-11 10:56:22 +02:00
Andy Scherzinger
7a3805607e
Merge pull request #46011 from nextcloud/backport/45999/stable28
[stable28] fix(caldav): encode calendar URIs with umlauts for activities
2024-07-10 22:18:58 +02:00
SebastianKrupinski
bb603b23f3 fix(caldav): limit vevent size
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-10 15:07:06 -04:00
SebastianKrupinski
cce95586ce fix(carddav): limit vcard size
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-10 10:43:13 -04:00
Richard Steinmetz
53f0d5516b fix(caldav): encode calendar URIs with umlauts for activities
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-10 15:23:54 +02:00
Arthur Schiwon
c3895990c5
fix(BuildSocialSearchIndexBackgroundJob): offset not applied
with more than 100 results, this job may never finish

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-01 14:40:28 +02:00
SebastianKrupinski
77291ce2ae 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-26 17:45:22 -04:00
Christoph Wurst
ca15306721 fix(dav): Limit number of UPDATES for sync token created_at
Address book and calendar sync tokens have a created_at column in 26+
and we need to assign a current timestamp to the existing data at
upgrade so the data isn't cleaned up immediately. Updating the full
table is expensive and fails on clustered setups that limit transaction
size. We don't need a timestamp for the oldest rows so we can skip
updating them.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-19 16:07:37 +00:00
skjnldsv
14c1b53b56 fix(dav): also return shared-with-me shares data
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-12 13:23:39 +02:00
Richard Steinmetz
051d94117f fix(caldav): event links in shared calendar notifications
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-11 18:42:56 +00:00
Joas Schilling
c57df2777a fix(dav): Don't log access control as error
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-10 11:57:00 +00:00
Hamza Mahjoubi
aafab6987b fix(dav): Rate limit address book creation
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-06-07 12:14:42 +02:00
Christoph Wurst
402bb77753
fix(dav): Add retention time to sync token cleanup
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-04 19:07:01 +02:00
Anna Larch
fc33ee0527 fix(CalDAV): remove UNKNOWN from room / resource consideration
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-06-04 12:32:09 +02:00
Anna
13c4787193
Merge pull request #45640 from nextcloud/backport/45235/stable28
[stable28] fix(caldav): automatically delete outdated scheduling objects
2024-06-04 12:08:33 +02:00
Anna Larch
57f7f0278e fix(caldav): automatically delete outdated scheduling objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-06-03 17:31:03 +02:00
Daniel Kesselberg
0d920c87d4 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-06-03 12:18:19 +02:00
Daniel Kesselberg
4be308ab26 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-06-03 12:18:19 +02:00
Daniel
06c01c568d
Merge pull request #44197 from nextcloud/backport/44130/stable28
[stable28] fix(dav): Add occ command to fix missing caldav sync tokens
2024-06-03 11:16:24 +02:00
Daniel Kesselberg
951a679788 feat(caldav): expose calendar subscriptions
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-05-31 17:58:45 +02:00
Christoph Wurst
8dd067a763
fix(dav): Add occ command to fix missing caldav sync tokens
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-05-31 14:41:38 +02:00
Anna Larch
5188f08fad fix(userstatus): catch unique constrain violation on revert
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-05-28 17:44:27 -04:00
Anna Larch
19f95cd10d fix(caldav): loop through all events for busy events
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-05-14 13:34:01 +00:00
Joas Schilling
f294ea13a8 fix(DAV): Migrate known exceptions to Sabre exceptions when copying
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-24 16:31:29 +00:00
Benjamin Gaussorgues
8d91e071d7
Merge pull request #44473 from nextcloud/backport/44017/stable28 2024-04-17 11:24:12 +02:00
Côme Chilliet
85491ff1e8 fix(dav): Fix quota check for chunk upload
Do not ignore OC-Total-Length when Content-Length and
 X-Expected-Entity-Length are missing

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-04 12:49:28 +00:00
Robert C. Schaller
823a07bb1d 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-26 08:49:34 +00:00
Andy Scherzinger
1b237b19f1
Merge pull request #44386 from nextcloud/backport/44360/stable28
[stable28] fix(caldav): add EXDATE and EXRULE to confidential object
2024-03-21 16:35:28 +01:00
Andy Scherzinger
fb3d58d4a5
Merge pull request #44377 from nextcloud/backport/44376/stable28
[stable28] fix(dav): ACLs for shared addressbooks
2024-03-21 15:55:23 +01:00
Anna Larch
2e0eb60177 fix(caldav): add EXDATE and EXRULE to confidential object
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-03-21 13:39:49 +00:00