Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(files_versions): Folder should not be hardcoedfixHardcodedVersionsFolder | Git'Fellow | 7 days | 1 | -4/+8 |
| | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> | ||||
* | refactor: move version rollback hook to event | ailkiv | 2025-02-25 | 1 | -5/+9 |
| | | | | Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com> | ||||
* | chore: Apply new rector configuration to apps folder | Côme Chilliet | 2025-02-13 | 1 | -2/+3 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore(apps): Apply new rector configuration to autouse classes | Côme Chilliet | 2024-10-15 | 1 | -3/+4 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: Apply rector configuration to apps folder | Côme Chilliet | 2024-09-20 | 1 | -1/+1 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(Files): Handle getOwner() returning falsefix/storage/get-owner-false | provokateurin | 2024-09-17 | 1 | -0/+4 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | style: update codestyle for coding-standard 1.2.3 | Daniel Kesselberg | 2024-08-25 | 2 | -6/+6 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | Merge pull request #46887 from nextcloud/fix/versions-catch-insertion-error | John Molakvoæ | 2024-08-14 | 1 | -1/+21 |
|\ | |||||
| * | fix(files_versions): Catch constraint error on version insertion | Côme Chilliet | 2024-07-30 | 1 | -1/+21 |
| | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | | feat: Make `ISharedStorage` public API and reuse where possible | Ferdinand Thiessen | 2024-08-12 | 1 | -4/+3 |
|/ | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-06-02 | 14 | -256/+28 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | feat(files_versions): Add listener and interfaces to allow versions ↵ | Louis Chemineau | 2024-03-26 | 6 | -2/+144 |
| | | | | | | migration across storages Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Merge pull request #44297 from nextcloud/fix/forbid-tagging-readonly-files | Louis Chemineau | 2024-03-21 | 1 | -6/+14 |
| | | | | | | Forbid tagging readonly files Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | chore(files_versions): Use new metadata API for versions | Louis Chemineau | 2024-03-13 | 4 | -150/+34 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | fix: fixed stylistic errors | Eduardo Morales | 2024-03-11 | 2 | -3/+3 |
| | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com> | ||||
* | fix(files_version): deprecated INameableVersion | Eduardo Morales | 2024-03-11 | 4 | -6/+8 |
| | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com> | ||||
* | feat: exposed metadata column to frontend | Eduardo Morales | 2024-03-11 | 1 | -1/+9 |
| | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com> | ||||
* | feat: added backend metadata interface, allows JSON storage | Eduardo Morales | 2024-03-11 | 4 | -3/+139 |
| | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com> | ||||
* | Merge pull request #43471 from nextcloud/cache-path-by-id | Robin Appelman | 2024-03-05 | 1 | -2/+1 |
|\ | | | | | Cache path by id | ||||
| * | perf: switch places that always use the first getById result to getFirstNodeById | Robin Appelman | 2024-03-04 | 1 | -2/+1 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | fix(files_versions): Improve files version listing | Louis Chemineau | 2024-02-29 | 1 | -43/+50 |
|/ | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Check permissions when labeling a version | Louis Chemineau | 2024-02-21 | 1 | -0/+4 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Check node permissions when restoring a version | Louis Chemineau | 2024-02-21 | 1 | -0/+4 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Check node permissions when deleting a version | Louis Chemineau | 2024-02-21 | 1 | -1/+29 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | fix: Properly fetch version from shared files by accessing the owner storage ↵ | Julius Härtl | 2023-12-06 | 1 | -0/+16 |
| | | | | | | version Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | chore: apply changes from Nextcloud coding standards 1.1.1 | Joas Schilling | 2023-11-23 | 2 | -4/+2 |
| | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | Move module versions management logic out of main logic | Louis Chemineau | 2023-09-07 | 3 | -2/+93 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Fix initialisation of versions in the DB | Louis Chemineau | 2023-05-25 | 1 | -4/+27 |
| | | | | | | Broken after https://github.com/nextcloud/server/pull/36690 Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | fix: catch ManuallyLockedException and use app context | Max | 2023-05-03 | 1 | -1/+50 |
| | | | | | | | | | | | | 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> | ||||
* | Merge pull request #36690 from nextcloud/bugfix/noid/rollback-hook | Julius Härtl | 2023-04-14 | 2 | -14/+27 |
|\ | |||||
| * | fix: Check return type on rollback | Julius Härtl | 2023-03-13 | 1 | -5/+8 |
| | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
| * | don't re-get fileinfo for versioned file if it's not shared | Robin Appelman | 2023-03-13 | 1 | -13/+17 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
| * | tests(files_versions): Tear down fs to clear mount cache before testing | Julius Härtl | 2023-03-13 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
| * | fix: Make sure that rollback hook is triggered on all version backends | Julius Härtl | 2023-03-13 | 1 | -1/+7 |
| | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | | Fix return type of methods returning false on error | Côme Chilliet | 2023-04-03 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Document that size may be a float in new class VersionEntity | Côme Chilliet | 2023-02-07 | 2 | -5/+5 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Handle empty files in version creation logic | Louis Chemineau | 2023-01-26 | 1 | -9/+7 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Allow to delete a version through DAV | Louis Chemineau | 2023-01-26 | 3 | -1/+53 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Support getting and patching version-label | Louis Chemineau | 2023-01-26 | 5 | -23/+173 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Update php licenses | John Molakvoæ (skjnldsv) | 2021-06-04 | 7 | -14/+7 |
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | ||||
* | Format control structures, classes, methods and function | Christoph Wurst | 2020-04-10 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Update the license headers for Nextcloud 19 | Christoph Wurst | 2020-03-31 | 1 | -0/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Remove unused imports | Christoph Wurst | 2020-03-25 | 1 | -1/+0 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Fix mismatching docblock return types | Christoph Wurst | 2020-03-06 | 1 | -1/+3 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Merge pull request #18231 from nextcloud/fix/shared_version_restore | Roeland Jago Douma | 2019-12-09 | 1 | -1/+1 |
|\ | | | | | Fix restoring shared versions | ||||
| * | Fix restoring shared versions | Roeland Jago Douma | 2019-12-05 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | | Update license headers | Christoph Wurst | 2019-12-05 | 7 | -11/+42 |
|/ | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | allow non integer version ids | Robin Appelman | 2019-06-04 | 5 | -9/+9 |
| | | | | | | | currently version ids are timestamps, but for storage provided versions this is not always the case and they might be strings Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | add way for version backends to programmatically specify if they should be used | Robin Appelman | 2019-05-21 | 3 | -12/+45 |
| | | | | | | this allows for backends that should only be used if specific conditions are met Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Allow shared versions again in legacy backend | Roeland Jago Douma | 2019-01-25 | 1 | -2/+15 |
| | | | | | | | | To make sure that the versions in the legacy backend are shared again we have to check the storage of a file. Since all shared files are still on the owners storage. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> |