Commit graph

2530 commits

Author SHA1 Message Date
Côme Chilliet
e400db4658 fix(dav): Allow array of array of scalars, and fix error message
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-10-20 08:52:32 +00:00
Côme Chilliet
6572039eb4 fix(dav): Allow arrays (of scalars) in property values
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-10-20 08:52:32 +00:00
Côme Chilliet
2d6fcb544e fix(dav): Restrict properties allowed object classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-10-20 08:52:31 +00:00
Ferdinand Thiessen
3e61569ea2
refactor(Streamer): inject IDateTimeZone as constructor arg
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-14 15:27:25 +02:00
Louis Chemineau
860d84123f fix(contacts): Do not expose SAB in /contactsmenu
When hitting the `/contactsmenu/contacts` endpoint with the `dav.system_addressbook_exposed` config switch set to `"no"`, the system address book content is still listed in the response.

This ensure that we do not expose unexpectedly the system address book.

Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-12 16:26:09 +02:00
John Molakvoæ (skjnldsv)
680809042e fix(systemtags): catch empty nodes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-10-08 19:06:25 +00:00
Richard Steinmetz
7bfa81216d fix(caldav): encoding inconsistencies in event search provider
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-10-08 10:56:22 +00:00
Joas Schilling
338231092f fix(live-photo): Allow files-live-photo meta data with edit permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-07 18:56:17 +00:00
Anna Larch
2d21413367 fix(ooo): don't catch general DB exceptions
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-10-07 11:37:04 +00:00
Christoph Wurst
5f05dd79ec
fix(dav): clean up user's addressbook shares on deletion
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-09-26 15:26:52 +02:00
SebastianKrupinski
e25d0dbf2d fix: aliases and capitalization of emails
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-09-16 22:05:47 +02:00
Louis Chemineau
d7775cba6a
fix: Dispatch favorite event with an actual path
The `$path` argument was added in https://github.com/nextcloud/server/pull/48612, but was never actually used by the callers. The path was therefore missing in the favorite/unfavorite events, which lead to a broken activity information.

I also added a fallback to handle `addToFavorites` and `removeFromFavorites`, which are part of a public API, and are calling `tagAs` and `untag` without `$path`.

Fix https://github.com/nextcloud/activity/issues/2134

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-15 16:52:28 +02:00
Ferdinand Thiessen
bd397aee01
fix(dav): ensure moving or copying a file is possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-02 18:01:10 +02:00
SebastianKrupinski
4aba03f319 fix: do not ignore move command object target uri
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-08-27 19:14:17 +02:00
Arusekk
47576d10da
fix(caldav): show confidential event if writable
If a party can edit the calendar/event, just display it instead of
hiding the details and risking overwrites.
This might be considered a change impacting privacy,
but it actually improves semantics.

Relevant test updates included, improving assertion correctness.

I think all the relevant use cases are solved by this.

Closes https://github.com/nextcloud/server/issues/5551
Closes https://github.com/nextcloud/calendar/issues/4044
Closes https://github.com/nextcloud/server/issues/11214

Signed-off-by: Arusekk <floss@arusekk.pl>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-08-27 09:56:47 +02:00
Richard Steinmetz
06ab1f2d14 fix(carddav): IAddressBook::getKey() should return a string
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-08-26 12:21:17 +00:00
Matt Evans
3ccd76f909 fix: use appropriate user agent string when syncing Outlook calendar subscriptions
Signed-off-by: Matt Evans <matt@mattevans.org>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-08-24 16:32:45 +02:00
Richard Steinmetz
c9b2c81474
fix(caldav): encode calendar URLs properly when formatting search results
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-08-19 12:10:31 +02:00
Andy Scherzinger
9e754ca54e
Merge pull request #54412 from nextcloud/backport/54401/stable31
[stable31] fix(ZipFolderPlugin): set mtime of directories in archive
2025-08-19 07:09:50 +02:00
Richard Steinmetz
4dd6e4fbdf
Merge pull request #54276 from nextcloud/backport/50092/stable31
[stable31] feat(cardav): support result truncation for addressbook federation
2025-08-15 15:53:18 +02:00
Richard Steinmetz
a211af9161
Merge pull request #54425 from nextcloud/backport/54411/stable31
[stable31] perf: ignore any custom property in the nc/oc namespace that isn't explicitly allowed
2025-08-15 15:40:42 +02:00
Richard Steinmetz
c9f404a150
Merge pull request #54427 from nextcloud/backport/54420/stable31
[stable31] perf(calendar): Disable custom properties for individual calendar events
2025-08-15 14:35:33 +02:00
Carl Schwan
1d21f04d7b perf(calendar): Disable custom properties for individual calendar events
Save a query per event stored in the calendar and at least on the
production instance, there is no entries in the table for the events.

Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-08-14 16:27:20 +00:00
Robin Appelman
45d3722f52 perf: ignore any customer property in the nc/oc namespace that isn't explicitly allowed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-14 13:52:35 +00:00
Robin Appelman
9c84b2b4a8 fix: rework UploadFolder implementation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-14 15:50:42 +02:00
Ferdinand Thiessen
e7cc19966e fix(ZipFolderPlugin): set mtime of directories in archive
Directories should also have the correct mtime set and not the current
time. For this the `Streamer` class needs to support passing a time
attribute for creating folders, the underlying library already supports
this.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-14 12:06:39 +02:00
Daniel Kesselberg
481aaf11fc fix(carddav): return correct sync token for non-truncated requests
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-08-14 11:17:27 +02:00
Daniel Kesselberg
f5ddac141e feat(carddav): handle truncated non-initial requests
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-08-14 11:17:27 +02:00
Hamza Mahjoubi
84c0e1be9a feat(cardav): support result truncation for addressbook federation
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-08-14 11:17:26 +02:00
Benjamin Gaussorgues
50fc614bcd
Merge pull request #54297 from nextcloud/backport/54125/stable31 2025-08-07 17:00:12 +02:00
Robin Appelman
902cb3dbb9
fix: validate written size for s3 multipart uploads
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-07 13:48:42 +02:00
Christoph Wurst
2a49b910fd fix(dav): calculate permissions based on addressbook principal
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-08-06 21:37:34 +00:00
Christoph Wurst
7586d5a904
Merge pull request #54169 from nextcloud/backport/54084/stable31
[stable31] feat(dav): add occ commands to get and set absences
2025-08-06 10:53:34 +02:00
Anna Larch
04f57d3611 fix(caldav): get UID value
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-08-05 19:08:39 +02:00
SebastianKrupinski
37692d0be0 fix: spelling mistake
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-07-31 18:06:38 +00:00
Jyrki Gadinger
9f7d8edd4a fix: hide guests group from overall principals
Follow-up for #52914 and #53369

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-07-31 12:38:47 +00:00
Christoph Wurst
d31837d0a8 feat(dav): add occ commands to get and set absences
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-07-31 10:43:47 +00:00
Anna Larch
0b96b16902 fix(caldav): don't return cancelled events for upcoming events API
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-07-28 10:19:03 +00:00
Salvatore Martire
6aef05c79b fix: adjust setTimeout value for ClearOldStatusesBackgroundJob
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2025-07-22 10:41:43 +02:00
Daniel
c2f14f44cb
Merge pull request #53838 from nextcloud/backport/53814/stable31
[stable31] fix(imip): set charset for imip attachment
2025-07-20 23:22:58 +02:00
Daniel Kesselberg
7a4887953d fix(federation): respect sharing.federation.allowSelfSignedCertificates for address book sync
The configuration option, to accept self-signed certificates, is now also used when syncing address books.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-17 12:29:56 +02:00
Daniel Kesselberg
8dafde1fb9 fix(imip): set charset for imip attachment
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-14 15:43:42 +02:00
Daniel Kesselberg
62ddbb6e54 Revert "fix(dav): only consider user's principal for unsharing entries"
This reverts commit 023b98c44b.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-10 07:24:48 +00:00
Arthur Schiwon
512d423fb9
Merge pull request #53769 from nextcloud/backport/52976/stable31
[stable31] perf: Skip photos related properties in custom properties
2025-07-02 23:50:10 +02:00
Julius Knorr
fef5899f77 perf: Skip photos app related property in custom properties
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-07-02 19:54:30 +00:00
Julius Knorr
a9b4a6b269
perf(dav): Preload dav search with tags/favorites
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-07-02 21:52:12 +02:00
Maxence Lange
0f7cbf4e29 fix(dav): catch exception on non local account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-06-25 13:36:24 +00:00
Daniel Kesselberg
89f20f0daf
fix: hide guests group when searching for principals
Follow-up for https://github.com/nextcloud/server/pull/52914

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-17 20:02:30 +02:00
Daniel Kesselberg
6daf4bbad9
fix: hide guests group from principal backend
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-17 20:02:30 +02:00
Richard Steinmetz
3f631400f7 docs(caldav): improve documentation of CalDavBackend::getCalendarsForUserCount
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-12 22:38:14 +02:00