Commit graph

2501 commits

Author SHA1 Message Date
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
Hamza Mahjoubi
1ccc167738 fix(imip): dont compare events for the reply message
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-06-12 19:09:06 +02:00
John Molakvoæ
1fb68599ed
Revert "[stable31] fix: hide guests group from principal backend" 2025-06-06 11:43:27 +02:00
skjnldsv
8f2d3fcfb6 fix(dav): file drop nickname
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 08:56:17 +02:00
Andy Scherzinger
4420ca0192
Merge pull request #53266 from nextcloud/backport/52215/stable31
[stable31] perf(carddav): don't query circle memberships
2025-06-04 11:08:29 +02:00
Maksim Sukharev
90f95d46f5 feat: link upcoming event to calendar app modal
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-03 12:05:57 +00:00
Richard Steinmetz
d447edf947 perf(carddav): don't query circle memberships
It is not possible to share address books with circles so it is
pointless to query for address books shared with joined circles.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-02 14:46:55 +00:00
Robin Appelman
2aced4a607 fix: log error when writing stream to dav file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-30 12:46:32 +00:00
Andy Scherzinger
4faf51183d
Merge pull request #52903 from nextcloud/backport/52708/stable31
[stable31] fix(dav): add repair step to queue job to update rooms and resources
2025-05-26 17:57:37 +02:00
Andy Scherzinger
76b73436ba
Merge pull request #53036 from nextcloud/backport/53029/stable31
[stable31] fix(caldav): don't send invitations to circles
2025-05-25 22:51:59 +02:00
Andy Scherzinger
a9d0c2164f
Merge pull request #52978 from nextcloud/backport/52879/stable31
[stable31] feat: add command to clear contacts photo cache
2025-05-25 16:44:07 +02:00
Daniel Kesselberg
78ba825455 fix: hide guests group from principal backend
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-23 16:27:57 +00:00
SebastianKrupinski
bd3026fcbd
fix: add calendar enable
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-05-23 10:42:12 +02:00
Louis Chemineau
7a0261878a fix: Move CSRF check from base to PublicAuth for public.php
This currently prevent directly accessing a ressource when clicking on a link on a third party site. Example, clicking on `https://example.com/public.php/dav/files/pqLWcA269zfzXez/?accept=zip` in a GitHub comment.

Skipping the check is an issue with password protected shares, as it allows third party sites to request the ressource when the user already entered the password, aka CSRF.  So after removing the check from `base.php`, we need to add the it again in the `PublicAuth` plugin.

We also add a redirect to be helpful to the user.

**Warning**: this adds the limitation that clicking on a direct download link for password protected shares will redirect you to the password form, and then to the main share view.

Fix #52482

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-22 08:30:36 +00:00
Richard Steinmetz
d9eff389a7 fix(caldav): don't send invitations to circles
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-21 14:16:07 +00:00
Daniel Kesselberg
79e4147454 feat: add command to clear contacts photo cache
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-20 15:02:59 +00:00
Daniel Kesselberg
1313fdaa50 fix(dav): only consider user's principal for unsharing entries
Before: Find all entries in `dav_shares` with `access = 5` for the user's principal, as well as group and circle memberships.

After: Find all entries in `dav_shares` with `access = 5` solely for the user's principal.

Future support for unsharing group or circle principals could be considered as a feature enhancement.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-19 14:35:04 +02:00
Daniel Kesselberg
eab2c5cbee fix(caldav): prevent unshare entry creation for owner unsharing
- Introduces a `unshare` method in `CalDavBackend` to handle user unshares.
- Implements check to determine if unshare entry is needed based on group/circle membership.
- Ensures `updateShares` is only used when the calendar owner manages shares.
- Resolves issue where unsharing a calendar as owner created an unshare entry in `oc_dav_shares`.

Related PRs:
- https://github.com/nextcloud/server/pull/43117
- https://github.com/nextcloud/server/pull/47737

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-19 14:35:04 +02:00
Richard Steinmetz
9b51ba9ff1 fix(dav): add repair step to queue job to update rooms and resources
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-16 10:40:12 +00:00
Richard Steinmetz
3bb440a73e fix(dav): move orphan cleaning logic to a chunked background job
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-06 13:05:26 +00:00
Sebastian Krupinski
9349c8a42b
Merge pull request #52562 from nextcloud/backport/52228/stable31
[stable31] fix(CalDAV): do not ignore move command object target uri
2025-04-30 17:45:54 +01:00
SebastianKrupinski
87317aae1d fix: do not ignore move command object target uri
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-04-30 14:28:10 +00:00
skjnldsv
1486243604 fix(dav): check the owner displayName scope before giving attribute
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-04-30 12:38:16 +02:00
Richard Steinmetz
c22f215d02 perf(caldav): increase chunk size in RemoveOrphanEventsAndContacts repair step
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-29 21:05:24 +00:00
Ferdinand Thiessen
4314e3f5f7 feat(files_sharing): add WebDAV property for the hide-download state of shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-27 14:26:16 +02:00
Andy Scherzinger
91116e7129
Merge pull request #52138 from nextcloud/revert-52123-backport/51431/stable31
Revert "[stable31] feat(bulk-upload): change the default to disabled as there are still some bugs present"
2025-04-25 15:48:38 +02:00
Andy Scherzinger
00dc876dc8
Merge pull request #52101 from nextcloud/backport/52073/stable31
[stable31] fix: fix preloading files with no custom properties
2025-04-24 19:10:41 +02:00
Louis
215fa11204 Revert "[stable31] feat(bulk-upload): change the default to disabled as there are still some bugs present" 2025-04-24 14:54:02 +02:00
Christoph Wurst
4017378c95 perf(db): Extend index on cards_properties to cover name and value
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-24 11:34:07 +00:00
Robin Appelman
e436f87496 fix: fix preloading files with no custom properties
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-23 23:02:18 +02:00