Commit graph

34007 commits

Author SHA1 Message Date
Ferdinand Thiessen
8bb41fb708
Merge pull request #52819 from nextcloud/backport/52809/stable31
[stable31] fix(files): do not even try to fetch a preview if `has-preview` is false
2025-05-27 07:58:53 +02:00
Andy Scherzinger
ca9193a1d8
Merge pull request #52969 from nextcloud/backport/52514/stable31
[stable31] feat: only get template fields once selected
2025-05-27 06:42:14 +02:00
Nextcloud bot
39010035a1
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-27 00:22:23 +00:00
John Molakvoæ (skjnldsv)
4ed1050ccf fix(files): do not even try to fetch a preview if èhas-preview` is false
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-05-26 18:57:33 +02:00
nfebe
e1a306340d fix(files_sharing): Show note if note exists on share
When a share includes a note, ensure the note checkbox is checked and the note is
displayed when reopening the share sidebar.

Fixes: #52794.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-05-26 18:05:15 +02:00
Elizabeth Danzberger
8b5a2d3512 chore: update open api spec
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-26 18:03:24 +02:00
Elizabeth Danzberger
52ae766a8e feat: only load template fields when requested
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-26 18:03:24 +02: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
30018bfa11
Merge pull request #53055 from nextcloud/fix/upload-file-drop-info
fix(files_sharing): show note, label and list of uploaded files on file drop
2025-05-26 14:54:56 +02:00
Marcel Klehr
82c4a88512
Merge branch 'stable31' into backport/53001/stable31 2025-05-26 14:14:56 +02:00
Ferdinand Thiessen
e51e4d6c3e
fix(files_sharing): show note, label and list of uploaded files on file drop
This was missing from the Vue migration of the public share view:
- Show the note as the description of the file drop
- Show the label as the heading of the file drop if available
- Show list of uploaded files for verification

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 14:14:40 +02:00
Ferdinand Thiessen
c18c75cb52 docs(files): add more documentation about WCF and links to the admin docs
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 10:12:50 +02:00
Ferdinand Thiessen
41b9a7ec9b feat(files): add command to (dis)enable windows compatible filenames
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 10:12:50 +02:00
Ferdinand Thiessen
3ce306ec57 feat(files): add command to automatically rename filenames
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 10:12:50 +02:00
rakekniven
4300c27333 chore(18n): More natural english - fix plural typo
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-26 10:10:15 +02:00
Joas Schilling
beefa6f411 fix(l10n): Fix one more plural
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-26 10:07:11 +02:00
Marcel Klehr
c50592ecdb fix: Correct translation method use
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-05-26 10:07:03 +02:00
rakekniven
b6898dde7f fix(SetupChecks): Update TaskProcessingPickupSpeed
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-26 10:06:50 +02:00
rakekniven
d6a26bb4be chore(18n): More natural english
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-26 10:06:37 +02:00
Nextcloud bot
c6426364cb
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-26 00:22:31 +00: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
Git'Fellow
0eeb8335a9 fix(files_external): Safely check if the timestamp is numeric
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-05-25 16:52:55 +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
John Molakvoæ
014fd24de2
Merge pull request #53101 from nextcloud/backport/52897/stable31 2025-05-25 15:58:29 +02:00
Nextcloud bot
45672ffcc0
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-25 00:22:26 +00:00
Daniel
0437378e31
Merge pull request #53077 from nextcloud/backport/52914/stable31
[stable31] fix: hide guests group from principal backend
2025-05-24 17:58:43 +02:00
Marcel Klehr
4a01d24295 feat(SetupChecks): Add check for TaskProcessing pickup speed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-05-24 08:52:14 +00:00
Jérôme Herbinet
64a378ea54 refactor(settings): replace "remove" wording with "delete"
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2025-05-24 08:00:35 +00:00
Nextcloud bot
2403763052
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-24 00:22:39 +00: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
Ferdinand Thiessen
c85f6a6f4f
Merge pull request #53040 from nextcloud/backport/52810/stable31
[stable31] fix: Move CSRF check from base to PublicAuth for public.php
2025-05-22 13:36:11 +02:00
Ferdinand Thiessen
f699595748
fix(files): make sure to always have proper plural forms
counted words should always be translated using `n`.
We can still simply concat the segments with punctation, this always
works regardless of the language used (even with RTL / LTR languages).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-22 13:01:50 +02:00
Louis Chemineau
617af2f3cc fix: Replace the deprecated direct download link with the public DAV endpoint
Follow-up of #48098

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-22 08:30:36 +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
skjnldsv
7aca7be306 fix(systemtags): case-insensitive search
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-05-21 13:28:53 +00:00
Joas Schilling
76e15f695a
Merge pull request #53009 from nextcloud/backport/53005/stable31
[stable31] fix(theming): Instead of expecting a warning handle it properly
2025-05-21 07:46:03 +02: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
Joas Schilling
5b5d67908b fix(theming): Instead of expecting a warning handle it properly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-20 21:39:02 +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
Ferdinand Thiessen
9b3d73e6dc fix(updatenotification): respect updatechecker config
If disabled:
- Hide admin settings
- Do not create Nextcloud server update notifications

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-19 13:00:28 +02:00
Nextcloud bot
b8775ca1e3
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-19 00:22:55 +00:00
Nextcloud bot
9d56e34e27
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-18 00:22:50 +00:00
Ferdinand Thiessen
2bb2bbcae4
fix(files_sharing): Disable folder upload on file drop shares for now
The backend does not allow creating folders currently, so we have to
disable it for now.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-17 12:04:36 +02:00