Commit graph

4119 commits

Author SHA1 Message Date
Daniel Kesselberg
4c13ef7f0d
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-06-01 16:39:43 +02:00
Daniel Kesselberg
d0871f6cdc
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-06-01 16:39:43 +02:00
Andy Scherzinger
8a7ffb0984
Merge pull request #53208 from nextcloud/backport/53145/stable30
[stable30] fix: log error when writing stream to dav file
2025-05-31 17:46:14 +02:00
Nextcloud bot
455880d5ca
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-31 00:22:55 +00:00
Kate
22848f7725
Update apps/dav/lib/Connector/Sabre/File.php
Signed-off-by: Kate <26026535+provokateurin@users.noreply.github.com>
2025-05-30 16:07:56 +02:00
Robin Appelman
ca432b8157 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
Nextcloud bot
aed33e9335
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-28 00:22:53 +00:00
Richard Steinmetz
91be5a0c1c fix(dav): add repair step to queue job to update rooms and resources
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-26 18:08:36 +02:00
Christoph Wurst
223f733354
Merge pull request #52995 from nextcloud/backport/52879/stable30
[stable30] feat: add command to clear contacts photo cache
2025-05-26 14:15:51 +02:00
Richard Steinmetz
9c0c107e5d fix(caldav): don't send invitations to circles
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-26 07:07:09 +02:00
Daniel Kesselberg
7a226807ab fix: hide guests group from principal backend
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-23 16:27:59 +00:00
SebastianKrupinski
b7d1691462
fix: add calendar enable
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-05-23 10:39:45 +02:00
Nextcloud bot
f02013a0e9
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-23 00:22:23 +00:00
Nextcloud bot
769a94497a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-22 00:22:57 +00:00
Nextcloud bot
e42a35f291
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-21 00:25:01 +00:00
Daniel Kesselberg
da4b6ce20b
feat: add command to clear contacts photo cache
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-20 17:07:48 +02:00
Nextcloud bot
6b387d8821
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-20 00:22:42 +00:00
Kate
119727d74a
Merge pull request #52759 from nextcloud/backport/49352/stable30 2025-05-19 06:44:24 +02:00
Nextcloud bot
b9428bf8cd
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-17 00:23:32 +00:00
Andy Scherzinger
182406af04
Merge pull request #52664 from nextcloud/backport/52589/stable30
[stable30] fix(dav): move orphan cleaning logic to a chunked background job
2025-05-15 17:26:21 +02:00
Nextcloud bot
3f230d7633
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-15 00:23:14 +00:00
Nextcloud bot
0b626f5d21
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-14 00:22:44 +00:00
Robin Appelman
48640ce155 fix: improve assembly stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:59:38 +02:00
Nextcloud bot
c5d0771699
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-10 00:23:15 +00:00
Nextcloud bot
07e3f2edb0
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-08 00:23:41 +00:00
Richard Steinmetz
9a41fe993e
fix(dav): move orphan cleaning logic to a chunked background job
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-07 13:28:53 +02:00
Nextcloud bot
4650720270
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-06 00:23:43 +00:00
Ferdinand Thiessen
832f79ac93
chore: apply code style
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:04:59 +02:00
Sebastian Krupinski
3ba981c15e
Merge pull request #52561 from nextcloud/backport/52228/stable30
[stable30] fix(CalDAV): do not ignore move command object target uri
2025-04-30 17:46:07 +01:00
SebastianKrupinski
f64ad8a452 fix: do not ignore move command object target uri
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-04-30 14:27:57 +00:00
skjnldsv
b658c8519c fix(dav): check the owner displayName scope before giving attribute
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-04-30 12:39:10 +02:00
Richard Steinmetz
1b71425b96 perf(caldav): increase chunk size in RemoveOrphanEventsAndContacts repair step
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-29 21:05:12 +00:00
Nextcloud bot
15b1e5f6c3
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-29 00:22:57 +00:00
Nextcloud bot
b58a3ea482
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-28 00:23:33 +00:00
Andy Scherzinger
290d609a9a
Merge pull request #52139 from nextcloud/revert-52122-backport/51431/stable30
Revert "[stable30] feat(bulk-upload): change the default to disabled …
2025-04-25 15:47:52 +02:00
Louis
1f6c10d3b5 Revert "[stable30] feat(bulk-upload): change the default to disabled as there are still some bugs present" 2025-04-24 14:54:06 +02:00
Christoph Wurst
a819f910b3 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:33:55 +00:00
Ferdinand Thiessen
744a4394fe fix(dav): allow uploading of files with long filenames
A filename must be less or equal 255 characters, but when adding the
`.part` and `.ocfiletransfer` extensions we might overflow this limit.
So we should also use filename hashes for uploading when the file has a
long filename, similar like when we are uploading to the user storage
directly.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-23 15:19:36 +00:00
Ferdinand Thiessen
95b5fa203f refactor(dav): simplify length header handling
Reduce nesting and drop duplicated sections.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-23 15:19:36 +00:00
Nextcloud bot
7a9632d4f5
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-23 00:23:11 +00:00
Ferdinand Thiessen
d4ae8615fa
test: update snapshots
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 13:00:30 +02:00
Julius Knorr
88984ac114
Merge pull request #52102 from nextcloud/backport/52073/stable30
[stable30] fix: fix preloading files with no custom properties
2025-04-22 08:42:55 +02:00
Nextcloud bot
ec1d985d68
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-19 00:23:02 +00:00
Robin Appelman
9f87babd5e fix: fix preloading files with no custom properties
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-18 07:49:30 +02:00
Nextcloud bot
3a699c6373
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-18 00:23:47 +00:00
Nextcloud bot
5e8b9428c0
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-17 00:23:14 +00:00
Nextcloud bot
3a1880d8ce
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-16 00:23:33 +00:00
Nextcloud bot
87c4d21e69
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-13 00:23:22 +00:00
Nextcloud bot
624c8afb9f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-12 00:23:23 +00:00
John Molakvoæ
9ba1d2a065
Merge pull request #52122 from nextcloud/backport/51431/stable30 2025-04-11 13:40:11 +02:00