aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-091-7/+7
| | | | | | | | | Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_versions): renaming file version when its not a stringSanskar Soni2024-06-201-1/+2
| | | | Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-06-024-73/+8
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat: author displayname and avatar on versionsEduardo Morales2024-03-151-0/+2
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* feat: exposed metadata column to frontendEduardo Morales2024-03-111-0/+1
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* fix(dav): multiple fixes in usage of webdav libraryVarun Patil2024-02-281-11/+19
| | | | | | | | 1. Refresh token on update 2. Fix some very weird imports 3. Patch fetch instead of request to prevent accessing impl details Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* chore(files): replace `encodeFilePath` by `encodePath` from `@nextcloud/paths`skjnldsv2024-02-221-6/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Move modal outside of the Version component.Louis Chemineau2024-01-261-42/+28
| | | | | | This is for accessibility, to have the NcListItem (<li>) as a direct child of the <ul> Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(files): add move or copy actionJohn Molakvoæ2023-09-261-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix: allow to name the current versionLouis Chemineau2023-09-071-7/+3
| | | | | | | We only need to change the filename of the current version for the viewer Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat: Use viewer to open and compare versionsLouis Chemineau2023-08-082-18/+46
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Provide hasPreview in files_versions DAV APILouis Chemineau2023-06-282-0/+3
| | | | | | | This allow to no request non existing previews I also set some properties to the img element to reduce preview loading to what the browser think is necessary Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(deps): update webdav 5 usageJohn Molakvoæ2023-04-061-7/+10
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Support getting and patching version-labelLouis Chemineau2023-01-262-37/+53
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Lint and remove file_versions testsLouis Chemineau2022-11-281-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Extract logic into separate filesLouis Chemineau2022-11-284-0/+218
Signed-off-by: Louis Chemineau <louis@chmn.me>