aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions
Commit message (Collapse)AuthorAgeFilesLines
* Fix(l10n): Update translations from TransifexNextcloud bot2023-05-2744-60/+16
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Check if version has entity before trying to access itGit'Fellow2023-05-121-1/+1
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Check if version entity is not null before deleteGit'Fellow2023-05-081-1/+6
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-05-052-0/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix: catch ManuallyLockedException and use app contextMax2023-05-032-16/+67
| | | | | | | | | | | | The files_lock app may throw ManuallyLockedExceptions when attempting to revert a file that is currently opened. This would prevent the user from rolling back a opened file. Text and Richdocuments handle changes of the file while editing. Allow reverting files even when they are locked by these apps and let the apps handle the conflict. Signed-off-by: Max <max@nextcloud.com>
* fix(assets): Optimize SVGs with scour 0.38.2Joas Schilling2023-04-241-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(autoloader): Update autoloaders with composer 2.5.5Joas Schilling2023-04-213-11/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #37428 from nextcloud/enh/ignore-non-numeric-versionsCôme Chilliet2023-04-201-1/+7
|\ | | | | Ignore and log non integer versions
| * Check for non-numeric versions, not non-integerCôme Chilliet2023-04-051-2/+2
| | | | | | | | | | | | All versions are string Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Ignore and log non integer versionsCôme Chilliet2023-04-051-0/+6
| | | | | | | | | | | | | | | | This avoids being stuck when there is one buggy file version with a non-integer version. It allows the expiration process to not crash and continue with the other ones. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Highlight selected file version (Nextcloud Office)Jérôme Herbinet2023-04-181-0/+98
| | | | | | | | | | | | | | After my PR #32492 fail, I create a new PR. Signed-off-by: Jérôme Herbinet <jerome.herbinet@arawa.fr> Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
* | Really disable versions features when S3 versioning is enabledLouis Chemineau2023-04-171-1/+1
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Merge pull request #36690 from nextcloud/bugfix/noid/rollback-hookJulius Härtl2023-04-144-21/+34
|\ \
| * | fix: Check return type on rollbackJulius Härtl2023-03-131-5/+8
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | don't re-get fileinfo for versioned file if it's not sharedRobin Appelman2023-03-132-14/+17
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | tests(files_versions): Tear down fs to clear mount cache before testingJulius Härtl2023-03-132-2/+9
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | fix: Make sure that rollback hook is triggered on all version backendsJulius Härtl2023-03-132-7/+7
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | fix(deps): update webdav 5 usageJohn Molakvoæ2023-04-062-7/+11
| |/ |/| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Fix return type of methods returning false on errorCôme Chilliet2023-04-031-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-302-4/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-272-0/+22
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | chore(eslint): fix missing import extensionsJohn Molakvoæ2023-03-231-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | chore(eslint): replace node/no-missing-import by n/no-missing-importJohn Molakvoæ2023-03-231-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-204-2/+46
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Use native tooltip for versionsLouis Chemineau2023-03-091-5/+6
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix download URL for versionsChristopher Ng2023-03-071-3/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-062-0/+22
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* chore(release): Bump requirements and versions in apps/Joas Schilling2023-03-031-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-012-2/+32
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-272-6/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-262-2/+32
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-242-0/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #36556 from ↵blizzz2023-02-161-4/+10
|\ | | | | | | | | nextcloud/artonge/fix/expiring_file_versions_empty_db Handle empty DB while expiring versions
| * Handle empty DB while expiring versionsLouis Chemineau2023-02-081-4/+10
| | | | | | | | | | | | | | | | Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix https://github.com/nextcloud/server/issues/36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-122-0/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-102-4/+32
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-092-0/+18
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Document that size may be a float in new class VersionEntityCôme Chilliet2023-02-074-9/+13
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix a few tests that were using too big int values for 32bitsCôme Chilliet2023-02-071-2/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-042-0/+22
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-024-0/+44
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-0120-2/+222
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-01-3136-108/+36
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Handle undefined label in front-endLouis Chemineau2023-01-261-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Add cypress testsLouis Chemineau2023-01-262-2/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix versions restoring with S3Louis Chemineau2023-01-262-5/+57
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Use node's owner if no user is connectedLouis Chemineau2023-01-261-15/+25
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Prevent storing versions with the same mtimeLouis Chemineau2023-01-261-2/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix renaming files_versionsLouis Chemineau2023-01-263-11/+8
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Handle empty files in version creation logicLouis Chemineau2023-01-266-29/+133
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>