Ferdinand Thiessen
42112c8d30
chore: auto fix ESLint issues
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-25 16:25:54 +01:00
Louis Chmn
8dc64d794c
refactor(files_versions): Migrate to Vue3
...
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-24 17:46:44 +02:00
Ferdinand Thiessen
ca65cf72d8
chore: add missing import of the logger
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 13:19:43 +02:00
Ferdinand Thiessen
91f3b6b4ee
chore: adjust code to new codestyle
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 13:19:42 +02:00
Alejo
ab11868bb6
fix(files_versions): "undefined restored" on restore
...
Signed-off-by: Alejo <xlejo@protonmail.com>
2025-05-29 12:10:39 +02: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 +01: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 +01: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 +01:00
Ferdinand Thiessen
e8c1e2c611
fix(code-style): Adjust JS code to our code style
...
This resolves 68 ESLint warnings about invalid code style.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 22:11:59 +02:00
Ferdinand Thiessen
351dd6dd8a
fix(files_versions): Migrate version name dialog from NcModal to NcDialog
...
* Resolves https://github.com/nextcloud/viewer/issues/2390
Make the version name dialog a real dialog instead of a modal.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-22 19:16:24 +02:00
Andy Scherzinger
afa48a4e0e
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-02 20:00:00 +02:00
Louis Chemineau
3f63375a06
Move modal outside of the Version component.
...
This is for accessibility, to have the NcListItem (<li>) as a direct child of the <ul>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-26 15:41:50 +01:00
Louis Chemineau
5302024156
Wrap versions list in virtual scroll
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-23 15:57:29 +01:00
Louis Chemineau
687c5aef48
Fix access to fileInfo in VersionTab.vue
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 22:57:08 +02:00
Louis Chemineau
52ceb40c05
Fix: allow to name the current version
...
We only need to change the filename
of the current version for the viewer
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 15:47:59 +02:00
Julius Härtl
bb419321e0
feat: Add events for version restore
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-06 13:29:22 +02:00
Julius Härtl
2c8753a939
fix: Pass proper viewer filename
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-10 12:43:34 +02:00
Louis Chemineau
5902325e23
feat: Use viewer to open and compare versions
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-08-08 21:19:03 +02:00
Louis Chemineau
6eb93c652a
Do not load preview if version tab is not active
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-28 17:00:23 +02:00
John Molakvoæ
a66cae02ef
fix(deps): update webdav 5 usage
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
Louis Chemineau
fd9937a171
Add cypress tests
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau
629de6c8c9
Support getting and patching version-label
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau
a32c25e1c8
Extract logic into separate files
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:31:27 +01:00
Louis Chemineau
a28838b866
Use svg icons
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:31:27 +01:00
Carl Schwan
348796892b
Use NcListItem
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:29:11 +01:00
Carl Schwan
7888aaf34f
Handle case with empty version list
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:29:11 +01:00
Carl Schwan
2c50153618
Port files_versions to vue
...
Simplify code and make it use our standard components
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-28 17:29:11 +01:00