Nextcloud bot
88aa80e847
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-30 00:23:19 +07:00
Ferdinand Thiessen
9df998e710
Merge pull request #52369 from nextcloud/fix/files-versions-author
...
fix(files_versions): wait for version to be created before setting metadata
2025-04-29 11:01:58 +07:00
Nextcloud bot
e5676ce0a9
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-28 00:23:11 +07:00
Ferdinand Thiessen
8ca23f2c7d
fix(files_versions): only handle path updates when there is path
...
`getPathForNode` can fail with null for various reasons (e.g. no owner),
in this cases we need to just skip the event handling.
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-04-27 23:51:56 +07:00
Stephan Orbaugh
258983e665
Merge pull request #51355 from AIlkiv/refactor/rollback-hook-usage
...
refactor: cleanup rollback hook usage
2025-04-25 11:42:20 +07:00
ailkiv
616716cd6a
refactor: cleanup rollback hook usage
...
Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com>
2025-04-25 08:25:11 +07:00
Ferdinand Thiessen
5e03c6fb58
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-23 16:03:20 +07:00
Ferdinand Thiessen
2020760f88
fix(files_versions): wait for version to be created before setting metadata
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-23 13:09:43 +07:00
Nextcloud bot
c337020446
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-18 00:23:31 +07:00
Nextcloud bot
f34466c99e
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-17 00:23:00 +07:00
Nextcloud bot
345167ff18
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-11 00:23:04 +07:00
Nextcloud bot
edeccc897f
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-09 00:23:28 +07:00
Nextcloud bot
815d985470
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-08 00:23:11 +07:00
Nextcloud bot
7b37a58fcc
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-05 00:22:20 +07:00
Nextcloud bot
a54f534797
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 12:36:45 +07:00
Nextcloud bot
efa7d59ce9
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 00:23:24 +07:00
Nextcloud bot
dd6a0ebd48
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-28 00:23:27 +07:00
provokateurin
07c1aea2f5
fix(files_versions): Rely on server mime fallback icons
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-27 08:56:45 +07:00
provokateurin
936166939c
feat(files_versions): Implement preview mime icon fallback
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-27 08:56:45 +07:00
provokateurin
89779808e0
fix(files_versions): Cache previews
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-27 08:56:45 +07:00
Nextcloud bot
f7b96ba26e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-27 00:24:00 +07:00
Ferdinand Thiessen
00a1f23913
fix(files_versions): correctly show version author also for shared files
...
The users endpoint is not available for other users if the current user
has no admin privileges, so instead use the displaynames endpoint.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-25 21:33:06 +07:00
Nextcloud bot
bc47dfc075
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-20 00:23:22 +07:00
Nextcloud bot
2d0f50ad7f
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-18 00:23:53 +07:00
Nextcloud bot
f1dc8c75db
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-15 00:23:31 +07:00
Stephan Orbaugh
ef099806a4
Merge pull request #50990 from AIlkiv/refactor/version-rollback-to-event
...
refactor: move version rollback hook to event
2025-02-27 15:03:37 +07:00
Nextcloud bot
7ef9ffa078
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-27 00:22:16 +07:00
Louis
9682ef7025
Merge pull request #50903 from nextcloud/artonge/fix/min_age_rentention_files_versions
...
fix(files_versions): Do not expire versions newer than min age
2025-02-25 16:01:05 +07:00
ailkiv
9b3424f607
refactor: move version rollback hook to event
...
Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com>
2025-02-25 14:03:21 +07:00
Nextcloud bot
5d4be44748
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 20:39:08 +07:00
Konstantin Myakshin
b9d1dd2dd9
Merge pull request #50958 from nextcloud/bugfix/fix-not-found-exception-for-anonymous-users
...
Fix: NotFoundException for anonymous users
2025-02-24 17:12:04 +07:00
Nextcloud bot
6b2c5b8aa6
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-23 00:22:00 +07:00
Nextcloud bot
698b654a18
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-22 00:21:54 +07:00
Kostiantyn Miakshyn
9bba153e4f
Fix: NotFoundException for anonymous users
...
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-02-21 18:24:11 +07:00
Ferdinand Thiessen
b06f5ba4c4
refactor: Migrate nextcloud-vue usage to new import schema
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-20 02:28:13 +07:00
Louis Chemineau
4561a0a870
fix(files_versions): Do not expire versions newer than min age
...
The auto expire logic does not take into account the min retention age set by the admin. So versions were eagerly deleted.
Fix https://github.com/nextcloud/server/issues/19791
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-19 12:25:09 +07:00
Nextcloud bot
892c473b06
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-17 00:21:45 +07:00
Nextcloud bot
20cedce95f
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-14 00:22:05 +07:00
Côme Chilliet
64863c9d46
chore: Apply new rector configuration to apps folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:46:42 +07:00
Côme Chilliet
f758f565d4
fix: Replace getInstalledApps calls with getEnabledApps
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 10:19:20 +07:00
Nextcloud bot
24f2e93393
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-06 00:21:54 +07:00
Nextcloud bot
566cecbcc4
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-31 00:22:18 +07:00
Louis Chemineau
c87db7a960
fix(files_versions): Update `unencrypted_size` during rollback
...
This prevent restored version of encrypted files from having a wrong reported size. This was blocking download.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-28 15:28:34 +07:00
Louis Chemineau
5336c92ca5
chore(files_versions): Remove unused $node variable
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-28 15:28:34 +07:00
Nextcloud bot
42d4d55c8e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-25 00:21:42 +07:00
Nextcloud bot
4d61fd2e5a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 13:39:30 +07:00
Joas Schilling
4ad215de99
chore: Bump app versions and requirements
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 08:56:06 +07:00
Nextcloud bot
326120a7f7
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-17 00:21:27 +07:00
provokateurin
085d4c9364
refactor(OpenAPI): Adjust scopes to match previous behavior
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-06 14:30:40 +07:00
Nextcloud bot
2db363b306
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-16 00:21:21 +07:00