Commit graph

4225 commits

Author SHA1 Message Date
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
Nextcloud bot
29a09a4e49
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-31 00:22:48 +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
Nextcloud bot
29d0dcfb6e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-28 00:22:46 +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
Nextcloud bot
86d9289512
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-23 00:22:16 +00: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
Nextcloud bot
2e65f43eb2
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-22 00:22:50 +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
Nextcloud bot
477f0860e4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-21 00:24:51 +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
Nextcloud bot
bfea258648
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-20 00:22:34 +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
Nextcloud bot
395515f346
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-17 00:23:25 +00: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
Andy Scherzinger
b13f76683f
Merge pull request #52663 from nextcloud/backport/52589/stable31
[stable31] fix(dav): move orphan cleaning logic to a chunked background job
2025-05-15 17:25:11 +02:00
Nextcloud bot
755c05a9a9
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-15 00:23:06 +00:00
Nextcloud bot
ac3fe70e48
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-14 00:22:36 +00:00
Nextcloud bot
898eca78c8
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-10 00:23:07 +00:00
Nextcloud bot
f16ef470ef
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-08 00:23:33 +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
Nextcloud bot
cf38aa8be6
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-06 00:23:36 +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
Nextcloud bot
f835660548
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-29 00:22:50 +00:00
Nextcloud bot
e694f65e92
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-28 00:23:21 +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
Nextcloud bot
651f5af528
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-23 00:23:05 +00:00
Ferdinand Thiessen
d3fe0826b4 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-22 11:53:46 +00:00
Ferdinand Thiessen
15726db205 refactor(dav): simplify length header handling
Reduce nesting and drop duplicated sections.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 11:53:46 +00:00
Ferdinand Thiessen
78a59a1575
test: update snapshots
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 12:32:53 +02:00
Nextcloud bot
e5b89e6609
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-19 00:22:55 +00:00
Nextcloud bot
287753e099
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-18 00:23:40 +00:00
Nextcloud bot
47387e574d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-17 00:23:07 +00:00
Nextcloud bot
82efa591f4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-16 00:23:26 +00:00
Nextcloud bot
3c4906a3e9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-13 00:23:15 +00:00
Nextcloud bot
d2055c6235
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-12 00:23:16 +00:00
John Molakvoæ
fdcb8ceb9f
Merge pull request #52123 from nextcloud/backport/51431/stable31 2025-04-11 13:40:05 +02:00