Louis Chmn
476589644b
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:38 +00:00
Git'Fellow
20944944f2
fix(files_versions): Add user to error message
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-11-05 08:27:24 +00:00
Nextcloud bot
396b63ffe0
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-10-05 00:13:26 +00:00
Nextcloud bot
33e92c246c
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-10-04 00:13:28 +00:00
Nextcloud bot
7904644b4e
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-10-03 00:14:54 +00:00
Nextcloud bot
486ef01c99
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-21 00:13:28 +00:00
SebastianKrupinski
766cc99c9b
fix: TypeError: this.fetchDisplayName is not a function
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-09-12 18:37:52 +02:00
Nextcloud bot
1ea42f7df4
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-11 00:14:01 +00:00
Nextcloud bot
4b0655a255
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-06 00:13:47 +00:00
Git'Fellow
24cd42940b
fix(files_versions): ensure author and label are string
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-08-30 18:18:19 +02:00
Git'Fellow
b11e011ed3
fix(files_versions): Use helper function
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-08-29 06:11:21 +00:00
SebastianKrupinski
9cc2641905
fix: retrieve all display names with one request
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-08-28 12:11:55 -04:00
Nextcloud bot
9ba1aae362
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-26 00:13:57 +00:00
Nextcloud bot
4b5a63d9aa
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-22 00:12:23 +00:00
Ferdinand Thiessen
c0e1d49307
fix(files_versions): has-preview must be either true or false
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-07 12:25:20 +02:00
Nextcloud bot
9f07fad362
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-02 00:12:30 +00:00
Nextcloud bot
2b070e5f6a
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-30 00:12:18 +00:00
Nextcloud bot
d6468653e4
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-28 00:12:24 +00:00
Nextcloud bot
3aa6cc01b8
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-26 00:12:21 +00:00
Nextcloud bot
7e1b487cea
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-08 00:12:20 +00:00
Côme Chilliet
93f064d974
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-07-03 13:21:32 +00:00
Côme Chilliet
5e2569840b
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:45:46 +00:00
Côme Chilliet
efd9991e21
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:45:46 +00:00
Nextcloud bot
c4f4f3ca9e
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-30 12:54:11 +00:00
Nextcloud bot
92249b5ab5
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-23 00:22:15 +00:00
Julien Veyssier
b8fbd0c487
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:54:00 +02:00
Ferdinand Thiessen
9c20e30270
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-16 15:55:13 +00:00
Nextcloud bot
ee088fcd44
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-09 00:22:28 +00:00
Nextcloud bot
9fd36561b9
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-05 00:22:45 +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
Alejo
a509b34d55
fix(files_versions): "undefined restored" on restore
...
Signed-off-by: Alejo <xlejo@protonmail.com>
2025-05-29 12:13:38 +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
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
Git'Fellow
005b3347d3
fix(files_versions): Folder should not be hardcoed
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-05-14 08:18:29 +00:00
Nextcloud bot
02bd400b3e
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-30 00:23:26 +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
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
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
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
5ace494bf2
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-09 00:23:36 +00:00
Nextcloud bot
b8e87483f0
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-08 00:23:21 +00:00
Nextcloud bot
605d8a5887
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-05 00:22:27 +00:00
Nextcloud bot
162d1ceed8
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 12:36:54 +00:00
Nextcloud bot
b0c5a1c205
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 00:23:32 +00:00
provokateurin
dab670f289
fix(files_versions): Rely on server mime fallback icons
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:54:32 +01:00
provokateurin
d15ea1f17e
feat(files_versions): Implement preview mime icon fallback
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:54:31 +01:00
provokateurin
0169965c84
fix(files_versions): Cache previews
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:54:13 +01:00
Nextcloud bot
db677a6bc0
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-28 00:23:36 +00:00
Nextcloud bot
053538a05e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-27 00:24:09 +00:00