Louis Chmn
3e572c755f
fix(files_versions): Do not assume source exist when migrating versions to new storage
...
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-06 07:24:26 +00:00
Nextcloud bot
d9f561fd3b
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-10-05 00:13:34 +00:00
Nextcloud bot
199988fbdb
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-10-04 00:13:36 +00:00
Nextcloud bot
0fc6b86ce1
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-10-03 00:15:07 +00:00
Nextcloud bot
7e9b13a3be
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-21 00:13:34 +00:00
SebastianKrupinski
0a3bf18a9d
fix: TypeError: this.fetchDisplayName is not a function
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-09-14 20:11:50 +02:00
Nextcloud bot
3c16d5c091
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-11 00:14:08 +00:00
Nextcloud bot
5e79de9eaf
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-06 00:13:54 +00:00
Git'Fellow
0d50ef23f7
fix(files_versions): ensure author and label are string
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-08-30 16:20:40 +00:00
Git'Fellow
ae259d6a38
fix(files_versions): Use helper function
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-08-29 06:11:09 +00:00
SebastianKrupinski
583cf5b3bc
fix: retrieve all display names with one request
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-08-28 12:38:19 -04:00
Nextcloud bot
e8ee3987b5
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-26 00:14:04 +00:00
Nextcloud bot
d30981fadd
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-22 00:12:29 +00:00
Ferdinand Thiessen
b9f8322450
fix(files_versions): has-preview must be either true or false
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-07 12:24:06 +02:00
Nextcloud bot
b433460224
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-02 00:12:37 +00:00
Nextcloud bot
966691a2af
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-30 00:12:25 +00:00
Nextcloud bot
d7f7b6c89d
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-28 00:12:30 +00:00
Nextcloud bot
6bbce5b582
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-26 00:12:28 +00:00
Nextcloud bot
6916d29ed2
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-08 00:12:27 +00:00
Côme Chilliet
af7e6c1598
chore: Use an if/else instead of the try/catch to make meaning more obvious
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 07:46:25 +00:00
Côme Chilliet
774928bcbe
fix(files_versions): Log failure to compute node path
...
To avoid hidden bugs, add some debug logging when a node path cannot be
computed from a received event, to have more information for debugging
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 07:46:25 +00:00
Nextcloud bot
d8296f0ce6
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-30 12:54:19 +00:00
Nextcloud bot
af539176c0
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-23 00:22:21 +00:00
Julien Veyssier
b639a3e136
fix(files_versions): give the version label a min width so it does not get invisible if the author name is long
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-19 16:51:15 +02:00
Ferdinand Thiessen
6481ccbe37
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-06-17 20:00:33 +02:00
Nextcloud bot
54b0fcf87e
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-09 00:22:34 +00:00
Nextcloud bot
e7f604d4b0
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-05 00:22:52 +00: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
Alejo
5b07f95554
fix(files_versions): "undefined restored" on restore
...
Signed-off-by: Alejo <xlejo@protonmail.com>
2025-05-29 13:19:34 +00:00
Andy Scherzinger
6d32c682ed
Merge pull request #52968 from nextcloud/backport/52963/stable30
...
[stable30] fix(files_versions): Log error instead of crashing when event listeners get called on non-existing files
2025-05-25 16:44:55 +02: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
Côme Chilliet
be6cd84f1d
fix(files_versions): Log error instead of crashing when event listeners get called on non-existing files
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-19 16:06:41 +00:00
Nextcloud bot
d687eef216
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-18 00:22:57 +00:00
Git'Fellow
aa913a9ad2
fix(files_versions): Folder should not be hardcoed
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-05-14 08:18:17 +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
Nextcloud bot
744c3faa45
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-30 00:23:33 +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
Ferdinand Thiessen
378eb64d8e
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:13 +00: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
ab94984fb6
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-11 00:23:20 +00:00
Nextcloud bot
5b1010d3a8
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-09 00:23:43 +00:00
Nextcloud bot
117e974718
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-08 00:23:28 +00:00
Nextcloud bot
01c137980f
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-05 00:22:33 +00:00
Nextcloud bot
7252b6bb84
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 12:37:08 +00:00
Nextcloud bot
a3b8746f5e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 00:23:40 +00:00
provokateurin
e05838e259
fix(files_versions): Rely on server mime fallback icons
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 12:02:00 +01:00
provokateurin
4e7fc5bfbf
feat(files_versions): Implement preview mime icon fallback
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 12:01:58 +01:00
provokateurin
2f73d92602
fix(files_versions): Cache previews
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:58:42 +01:00
Nextcloud bot
37d13a09d1
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-28 00:23:43 +00:00