John Molakvoæ
c46415847f
Merge pull request #48927 from nextcloud/backport/48917/stable26
2024-10-29 07:44:26 +01:00
provokateurin
ae1d924626
fix(dav): Cleanup view-only check
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-28 09:21:25 +00:00
Anna Larch
9edc02401a
fix(caldav): add missing handlers
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-10-02 10:07:12 +00:00
Louis Chemineau
75d7537b09
fix: Override start method of \Sabre\DAV\Server to remove exception output
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-10-01 14:46:17 +02:00
Louis Chemineau
e20eaa3470
fix: Drop unnecessary exit
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-10-01 14:46:17 +02:00
Louis Chemineau
ce9be3d5cd
fix(dav): Always respond custom error page on exceptions
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-10-01 14:46:17 +02:00
Hamza Mahjoubi
695a1e2809
fix(dav): Rate limit address book creation
...
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-06-07 12:17:08 +02:00
Ferdinand Thiessen
5553d8faa2
fix(dav): Make createCalendarObject atomic
...
Partial backport of https://github.com/nextcloud/server/pull/36528
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-23 00:05:28 +02:00
Anna Larch
9e265c4dca
fix(caldav): add EXDATE and EXRULE to confidential object
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-03-21 13:36:07 +00:00
Côme Chilliet
97cf6aa4d1
fix(dav): Add missing use for OCP\Constants
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-19 10:57:01 +00:00
Côme Chilliet
4f7ee61ffe
chore: Break closure call on two lines to make it readable
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-19 10:57:01 +00:00
Côme Chilliet
7249616b2a
fix(systemtags): Forbid tagging of readonly files
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-19 10:57:01 +00:00
Louis Chemineau
c1ab894b59
fix(dav): Init ViewOnlyPlugin after auth
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-28 10:17:21 +01:00
John Molakvoæ
437dbb822a
Merge pull request #43753 from nextcloud/backport/43732/stable26
2024-02-22 16:45:41 +01:00
Christoph Wurst
3224e3b380
fix(dav): Rate limit calendar/subscription creation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-22 10:55:09 +01:00
Louis Chemineau
c5c4c2ab30
Check share attributes when downloading versions
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 19:48:11 +01:00
Richard Steinmetz
d5091a1c21
perf: skip request without read permission
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-21 12:47:29 +00:00
Johannes Merkel
97d3ef565b
fix(CalDAV): set acls for DeletedCalendarObjectsCollection
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-01-18 08:40:30 +01:00
Richard Steinmetz
de3d39048f
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>
2024-01-02 11:56:44 +01:00
Christoph Wurst
837c597ce0
fix(dav): Avoid date diffing if PHP is buggy
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-24 10:53:57 +00:00
Julius Härtl
f6facb233b
fix: Validate that we have a proper distributed cache configured
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-10 08:42:07 +00:00
Richard Steinmetz
ab0a39deaf
fix(dav): expand recurrences when searching
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-26 16:03:42 +02:00
Daniel Kesselberg
3a55fb948f
fix(caldav): add webroot to objectid for activities
...
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>
2023-09-18 14:09:53 +02:00
Anna Larch
22a7e3796f
fix(CalDAV): check birthday calendar owner
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-06 17:21:20 +00:00
Daniel
72a3295c05
Merge pull request #39861 from nextcloud/caldav-share-preload-26
2023-09-06 12:37:41 +02:00
Robin Appelman
4369022f18
cache calendar objects from calendarQuery
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 16:19:41 +02:00
Robin Appelman
64c74716ca
preload shares for calendars when listing calendars
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 14:52:06 +02:00
Daniel Kesselberg
e876408c16
fix: close cursor after reading the invitation
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-11 16:12:33 +00:00
Jamie McClelland
1bc8feb332
ensure outerquery ->where() function doesn't clobber earier ->andWhere()
...
Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-10 07:52:04 +00:00
Jamie McClelland
4f898b9b36
optimize calendar search query
...
see https://github.com/nextcloud/calendar/issues/4758
Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-10 07:52:04 +00:00
Max
e9c9fb4bd3
fix(dav): use quota of destination in s3 chunk upload
...
Resolves : #39228 .
Check the free space on the destination.
Before it was checking the free space on `$storage`
which is the upload storage of the user who triggered the upload.
This led to user quota being applied
even when uploading to a share with unlimited space.
Signed-off-by: Max <max@nextcloud.com>
2023-08-02 12:10:57 +00:00
Matthieu Gallien
4850828839
when reading an empty file getting EOF is not an error
...
will allow uploading empty files via bulk upload
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-24 13:29:33 +02:00
Daniel Kesselberg
f537c7b5c6
fix: check that object store backend supports multi part uploads
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-23 16:06:55 +02:00
Thomas Citharel
226027abf7
style(caldav): improve getDenormalizedData method
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-07-12 19:57:23 +02:00
Thomas Citharel
ceca4cd018
Fix creating events with old (< unix time) lastoccurence
...
Closes #20804
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-07-12 19:57:23 +02:00
Arthur Schiwon
23c2fdc296
Merge pull request #38920 from nextcloud/backport/38639/stable26
...
[stable26] pruneOutdatedSyncTokens deletes all entries
2023-07-12 00:58:47 +02:00
Richard Steinmetz
491eda93cc
fix(dav): close cursor when fetching max id
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-11 07:58:46 +02:00
Robin Appelman
f8eceb40d4
preload custom properties when propfinding folders
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 20:24:32 +00:00
Julius Härtl
c7a8c3b427
Merge pull request #39232 from nextcloud/backport/39202/stable26
2023-07-10 18:08:23 +02:00
Arthur Schiwon
f4f6a95b02
Merge pull request #38972 from nextcloud/backport/38747/stable26
...
[stable26] perf: skip request without write permission
2023-07-10 17:57:55 +02:00
Joas Schilling
ddff2e692d
fix(dav): Abort requests with 429 instead of waiting
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-10 06:32:01 +02:00
Arthur Schiwon
fc9fd0d7f2
refactor: adjust to unexposed searchBySystemTag
...
- 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>
2023-07-07 16:58:07 +02:00
Arthur Schiwon
db1306b955
fix: cannot apply limit+offset on multi-tag-search
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:57 +00:00
Arthur Schiwon
dfbedda0a2
refactor: save unnecessary method_exists
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:57 +00:00
Arthur Schiwon
22c417d70b
fix: use array_unitersect against objects
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:57 +00:00
Arthur Schiwon
eeb76461da
fix: obey offset and limit for results from favs and circles
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:57 +00:00
Arthur Schiwon
749efc1ba1
fix: cominbation of small fixes
...
- possible null return
- parameter name mismatch in implementation
- incomplete unit test
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:56 +00:00
Arthur Schiwon
0b4db60d3b
fix: include invisible tags for admins
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:56 +00:00
Arthur Schiwon
bb165d3d05
fix: search with more than one search tags
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:56 +00:00
Arthur Schiwon
3ed878a368
fix: no search when LazyFolder was provided
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:56 +00:00