Commit graph

33856 commits

Author SHA1 Message Date
F. E Noel Nfebe
989f24fea6
Merge pull request #52409 from nextcloud/backport/52364/stable31
[stable31] fix(files_sharing): Improve expiration date input change handling
2025-04-24 21:39:17 +02:00
John Molakvoæ
a1c8a48a71
Merge pull request #52371 from nextcloud/backport/52094/stable31 2025-04-24 20:09:40 +02:00
Andy Scherzinger
a2979dc1f5
Merge pull request #52411 from nextcloud/backport/52373/stable31
[stable31] fix(files_versions): create version if previous does not exist
2025-04-24 19:15:12 +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
rakekniven
d249074e9c
chore(i18n): Use "name" instead of "nickname"
Users asked why they should use a nickname?

"Name" covers nickname, pseudonym, username or real name.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-04-24 18:53:59 +02:00
Andy Scherzinger
c557da40f0
Merge pull request #52415 from nextcloud/backport/51438/stable31
[stable31] perf(db): Extend index on cards_properties to cover name and value
2025-04-24 18:39:40 +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
Ferdinand Thiessen
cf0814a7fd fix(files_versions): create version if previous does not exist
This issue happens reproducible if:
- Versions is disabled
- Upload a file
- Enable versions
- Upload same file unchanged
- Now the error happens.

Problem is that the mtime is unchanged so no version will be created on the upload, but it tries to update the last version which does not exists.
Instead of "upload same file unchanged" you can also - like in the example stack trace above - use Android with an SD card with invalid mtime -> the mtime will be stripped so its always the same.
Instead of disable versions the same also happens if e.g. the versions creation failed due to other issues.

The solution now is to catch the exception and create if not exists.
A cleaner solution would be to have a method on the versions backend
like `hasVersionEntity(File $file, int $revision): bool` but this would
be a breaking change or at least a feature that apps need to implement.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-24 11:31:00 +00:00
nfebe
1d52c09b05 fix(files_sharing): Improve expiration date input change handling
If the time picker component is emitting a Date object already, then there is redundant call of `new Date(new Date())` and

therefore introduces subtle bugs, for example on chrome users could not  enter expiration date with keyboard.

- Use @update:model-value instead of @change/@input for more reliable date updates

- Ensure null and invalid dates are handled correctly in onExpirationChange

- Validate date input before updating defaultExpirationDateEnabled

Resolves : https://github.com/nextcloud/server/issues/51875

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-04-24 12:04:06 +01:00
provokateurin
4a23792fc5 fix(updatenotification): Fix error handling when fetching applist for server update
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-04-24 10:25:07 +00:00
Andy Scherzinger
68d4864cf8
Merge pull request #51996 from nextcloud/backport/51927/stable31
[stable31] fix(systemtags): emit assign and unassign bulk tagging events
2025-04-24 10:00:49 +02:00
Nextcloud bot
c037fbb79d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-24 00:23:43 +00:00
John Molakvoæ (skjnldsv)
f249a487ff fix(systemtags): emit assign and unassign bulk tagging events
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-04-23 23:14:57 +02: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
John Molakvoæ (skjnldsv)
532f8948d1 fix(files): prevent dragging preview when drag-drop
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-04-22 18:08:38 +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
Arthur Schiwon
9bc3368f97
Merge pull request #52287 from nextcloud/backport/52257/stable31
[stable31] fix(LDAP): inlcude ldapExpertUsernameAttr in general attribute list
2025-04-22 13:11:07 +02:00
Ferdinand Thiessen
78a59a1575
test: update snapshots
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 12:32:53 +02:00
skjnldsv
f47b72c134
fix(files_sharing): file request pass empty string if password or expiration is disabled
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-04-22 11:17:23 +02:00
Arthur Schiwon
fa38ae46f4 fix(LDAP): inlcude ldapExpertUsernameAttr in general attribute list
fixes corner cases in which an LDAP record might be loaded and used,
where the user is still not mapped - and then this information is
missing though expected.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-22 07:25:02 +00:00
Nextcloud bot
94079a8ba2
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-22 00:23:09 +00:00
Ferdinand Thiessen
1d5d2188ca
Merge pull request #52030 from nextcloud/backport/51946/stable31
[stable31] perf(cloud_federation_api): only provide capabilities if needed
2025-04-21 22:47:44 +02:00
Nextcloud bot
448ca090f9
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-21 00:23:18 +00:00
Nextcloud bot
62326bae8d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-20 00:23:13 +00: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
Ferdinand Thiessen
504cb11c5d
Merge pull request #52001 from nextcloud/backport/51937/stable31
[stable31] perf(files_sharing): do not emit second propfind for account filter
2025-04-18 19:53:36 +02:00
Ferdinand Thiessen
f42ca3a383
Merge pull request #52248 from nextcloud/backport/52240/stable31
[stable31] fix(mail): use matching text color for primary elements
2025-04-18 16:23:53 +02: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
Ferdinand Thiessen
dada9b5c1c fix(mail): use matching text color for primary elements
when we use the default primary as background color we have to use the
default primary text color as well.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-17 10:43:58 +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
nfebe
cc9ec2607a fix(files_sharing): Apply default password setting in SharingDetailsTab
Signed-off-by: nfebe <fenn25.fn@gmail.com>

[skip ci]
2025-04-15 10:57:10 +00:00
John Molakvoæ
3f528a2726 fix(files_sharing): adjust rate limit share creation to 20 over 10 minutes
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-04-15 08:58:17 +00:00
skjnldsv
aec6eeb5b8 fix(files_sharing): rate limit share creation 10 times per 10 minutes
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-15 08:58:17 +00:00
Nextcloud bot
3c1b471d0c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-15 00:22:51 +00:00
Louis
470af3e908
Merge pull request #51999 from nextcloud/backport/51837/stable31 2025-04-14 11:01:45 +02:00
Ferdinand Thiessen
c253e9a2e2 perf(files_sharing): do not require second propfind for account filter
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-14 10:41:22 +02:00
Nextcloud bot
997ea5e34f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-14 00:23:03 +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
John Molakvoæ
e75f3df9a1
Merge pull request #52078 from nextcloud/backport/52075/stable31 2025-04-11 13:29:53 +02:00
Joas Schilling
023542c9a5
Merge pull request #52054 from nextcloud/backport/52019/stable31
[stable31] fix(dav): Really only run the chunk cleanup once
2025-04-11 12:35:16 +02:00
Simon L.
90aad5759c feat(bulk-upload): change the default to disabled as there are still some bugs present
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-11 09:22:24 +00:00
Nextcloud bot
689738570e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-11 00:23:12 +00:00
Nextcloud bot
94fd2be634
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-10 00:22:54 +00:00
skjnldsv
f81ef274dd fix(files_sharing): fix share creation error handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-09 15:22:32 +00:00
Nextcloud bot
5ace494bf2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-09 00:23:36 +00:00