Christoph Wurst
f3e95bf05a
Merge pull request #41245 from nextcloud/backport/40665/stable27
...
[stable27] fix(dav): Reduce CalDAV backend memory footprint
2023-11-15 23:48:04 +01:00
Arthur Schiwon
337445746d
Merge pull request #41371 from nextcloud/backport/41354/stable27
...
[stable27] fix: Validate that we have a proper distributed cache configured
2023-11-15 22:40:40 +01:00
Julius Härtl
f81aa8041d
fix: Validate that we have a proper distributed cache configured
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-10 08:32:23 +00:00
Robin Appelman
e46ef2b355
get children from dav node when preloading system tags
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 17:36:15 +00:00
Christoph Wurst
d1e501a8d6
fix(dav): Reduce CalDAV backend memory footprint
...
fetchAll inflates memory. Fetching in a loop allows GC to run earlier
and more often.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-06 12:48:24 +01:00
Richard Steinmetz
28f58a8af9
fix(dav): expand recurrences when searching
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-26 08:04:33 +00:00
Daniel Kesselberg
efb01db387
fix: use faster method to fetch user count
...
countUsers: the actual user count reported by the backend.
countSeenUsers: count every user who was logged in once.
1: We should avoid expensive operations (like asking every backend for it's user count) in migrations.
2: The current check is wrong because countUsers returns an array. var_dump([] > 1000) => true ;)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-18 14:09:01 +02:00
Robin Appelman
e14858007d
only triger metadata preload logic when at least one metadata is requested
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 09:31:06 +00:00
Robin Appelman
9b3d8f334b
don't preload metadata for the sub-childen
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 09:31:05 +00:00
Daniel Kesselberg
0da5cb3b85
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-13 19:34:03 +00:00
Robin Appelman
ee8c1a5c60
only determine quota_include_external_storage once for quota wrapper
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-07 16:25:23 +02:00
Robin Appelman
9242e8939f
only get logger when needed in sabre/directory
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-07 16:25:16 +02:00
Anna Larch
9459352f53
fix(CalDAV): check birthday calendar owner
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-07 09:25:08 +02:00
Anna Larch
6354dce7ea
fix(CardDAV): allow disabling of the system address book via config option
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-05 10:22:52 +02:00
Anna Larch
b3526ea81f
fix(CardDAV): only run upgrade sync if 1000 users or less
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-27 14:04:44 +00:00
Anna Larch
504f396d33
fix(CardDAV): set owner-principal, displayname properties for SAB
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-24 15:07:24 +02:00
Robin Appelman
dbc80b02b9
don't bother checking dav acl's in files
...
any permissions for files is handled in the filesystem layer anyway
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 08:08:34 +00:00
John Molakvoæ
8065a2f635
Merge pull request #39904 from nextcloud/backport/38397/stable27
2023-08-16 15:44:16 +02:00
John Molakvoæ
de7822477c
Merge pull request #39858 from nextcloud/backport/39568/stable27
2023-08-16 15:43:10 +02:00
Johannes Merkel
8dae579261
enh(contacts): show/hide addressbooks for all
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-08-16 10:47:40 +00:00
Robin Appelman
526a1404c0
cache calendar objects from calendarQuery
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 09:10:19 +00:00
Robin Appelman
234ae93f18
preload shares for calendars when listing calendars
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 09:10:19 +00:00
Daniel Kesselberg
f10972e2fe
fix: close cursor after reading the invitation
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-11 16:37:37 +00:00
Jamie McClelland
b025e67d8d
ensure outerquery ->where() function doesn't clobber earier ->andWhere()
...
Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-10 12:54:20 +02:00
Jamie McClelland
6de2eccb7b
optimize calendar search query
...
see https://github.com/nextcloud/calendar/issues/4758
Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-10 12:54:20 +02:00
Richard Steinmetz
e5a0d65af4
feat(caldav): linkify location in scheduling mails
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-10 08:20:39 +02:00
Robin Appelman
2c4535d2fd
preload all requested metadata
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-08 13:29:34 +00:00
tobiasKaminsky
963a783747
expose gps data via webdav
2023-08-08 13:29:34 +00:00
Thomas Citharel
e08051dbbc
style(caldav): improve getDenormalizedData method
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-08-02 21:12:09 +02:00
Thomas Citharel
c47942d653
Fix creating events with old (< unix time) lastoccurence
...
Closes #20804
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-08-02 21:12:09 +02:00
Arthur Schiwon
2a8498607a
Merge pull request #39554 from nextcloud/backport/39221/stable27
...
[stable27] Bugfix/bulk upload empty files
2023-08-02 20:57:20 +02:00
Max
4f2a538b7a
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 11:58:09 +00:00
Matthieu Gallien
337b1b3886
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-25 11:44:48 +02:00
Daniel Kesselberg
5d4a880437
fix: check that object store backend supports multi part uploads
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-23 16:07:21 +02:00
Arthur Schiwon
592aeec17e
Merge pull request #38919 from nextcloud/backport/38639/stable27
...
[stable27] pruneOutdatedSyncTokens deletes all entries
2023-07-12 19:50:40 +02:00
Arthur Schiwon
0f359f385a
Merge pull request #39292 from nextcloud/backport/39248/stable27
...
[stable27] preload custom properties when propfinding folders
2023-07-12 01:06:34 +02:00
Arthur Schiwon
421fec8f5f
Merge pull request #38572 from nextcloud/backport/38301/stable27
...
[stable27] fix(caldav): Ignore invalid events for reminder generation
2023-07-12 01:01:40 +02:00
Arthur Schiwon
8adad15e77
Merge pull request #38475 from nextcloud/backport/38454/stable27
...
[stable27] fix(carddav): Make system contact phone number RFC compliant
2023-07-12 01:00:12 +02:00
Richard Steinmetz
f2e9044494
fix(dav): close cursor when fetching max id
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-11 08:02:45 +02:00
Robin Appelman
eb44900d35
preload custom properties when propfinding folders
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 20:19:22 +00:00
Arthur Schiwon
ff86e8c411
Merge pull request #38968 from nextcloud/backport/38747/stable27
...
[stable27] perf: skip request without write permission
2023-07-10 18:30:41 +02:00
Arthur Schiwon
1b422df12a
Merge pull request #38792 from nextcloud/backport/38777/stable27
...
[stable27] fix(carddav): Make SystemAddressBook::__construct $groupManager argument nullable
2023-07-10 18:28:02 +02:00
Arthur Schiwon
7073c21e2d
Merge pull request #38659 from nextcloud/backport/38649/stable27
...
[stable27] fix(caldav): Close DB cursor in reminder index background job
2023-07-10 18:25:24 +02:00
Christoph Wurst
1bbeffa4a5
fix(caldav): Ignore invalid events for reminder generation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-10 18:24:05 +02:00
greta
e44cd0f080
fix(carddav): Make system contact phone number RFC compliant
...
Signed-off-by: greta <gretadoci@gmail.com>
2023-07-10 18:21:33 +02:00
Johannes
05de066ee7
Merge pull request #38947 from nextcloud/fix/contacts/3404/put-location-in-proper-place-stable27
...
[stable27] Manuel backport: fix(sab): put location in proper address field
2023-07-07 18:02:56 +02:00
Johannes Merkel
db8da6a571
fix(sab): put location in proper address field
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-07 15:16:58 +00:00
Arthur Schiwon
a7b4f502aa
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 12:25:04 +02:00
Arthur Schiwon
35de0b5504
fix: cannot apply limit+offset on multi-tag-search
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:53 +02:00
Arthur Schiwon
d05d185862
refactor: save unnecessary method_exists
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:52 +02:00