Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(files_versions): Folder should not be hardcoedfixHardcodedVersionsFolder | Git'Fellow | 2025-05-09 | 1 | -4/+8 |
| | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> | ||||
* | Merge pull request #52369 from nextcloud/fix/files-versions-author | Ferdinand Thiessen | 2025-04-29 | 1 | -1/+2 |
|\ | | | | | fix(files_versions): wait for version to be created before setting metadata | ||||
| * | fix(files_versions): wait for version to be created before setting metadatafix/files-versions-author | Ferdinand Thiessen | 2025-04-23 | 1 | -1/+2 |
| | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | | fix(files_versions): only handle path updates when there is pathfix/files-versions-listeners | Ferdinand Thiessen | 2025-04-27 | 1 | -4/+12 |
| | | | | | | | | | | | | | | | | | | `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> | ||||
* | | fix(files_versions): create version if previous does not existfix/files-version-creation | Ferdinand Thiessen | 2025-04-23 | 1 | -2/+11 |
|/ | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | feat(files_versions): Implement preview mime icon fallback | provokateurin | 2025-03-27 | 1 | -1/+16 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix(files_versions): Cache previews | provokateurin | 2025-03-27 | 1 | -1/+3 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | Merge pull request #50990 from AIlkiv/refactor/version-rollback-to-event | Stephan Orbaugh | 2025-02-27 | 4 | -8/+82 |
|\ | | | | | refactor: move version rollback hook to event | ||||
| * | refactor: move version rollback hook to event | ailkiv | 2025-02-25 | 4 | -8/+82 |
| | | | | | | | | Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com> | ||||
* | | Merge pull request #50903 from ↵ | Louis | 2025-02-25 | 2 | -1/+23 |
|\ \ | | | | | | | | | | | | | nextcloud/artonge/fix/min_age_rentention_files_versions fix(files_versions): Do not expire versions newer than min age | ||||
| * | | fix(files_versions): Do not expire versions newer than min ageartonge/fix/min_age_rentention_files_versions | Louis Chemineau | 2025-02-19 | 2 | -1/+23 |
| |/ | | | | | | | | | | | | | | | The auto expire logic does not take into account the min retention age set by the admin. So versions were eagerly deleted. Fix https://github.com/nextcloud/server/issues/19791 Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* / | Fix: NotFoundException for anonymous usersbugfix/fix-not-found-exception-for-anonymous-users | Kostiantyn Miakshyn | 2025-02-21 | 1 | -1/+5 |
|/ | | | | Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com> | ||||
* | chore: Apply new rector configuration to apps folder | Côme Chilliet | 2025-02-13 | 4 | -25/+28 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: Replace getInstalledApps calls with getEnabledAppsfix/clarify-app-manager-methods | Côme Chilliet | 2025-02-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(files_versions): Update `unencrypted_size` during rollbackartonge/fix/restoring_encrypted_version | Louis Chemineau | 2025-01-28 | 1 | -1/+2 |
| | | | | | | This prevent restored version of encrypted files from having a wrong reported size. This was blocking download. Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | chore(files_versions): Remove unused $node variable | Louis Chemineau | 2025-01-28 | 1 | -2/+0 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | refactor(OpenAPI): Adjust scopes to match previous behavior | provokateurin | 2025-01-06 | 1 | -0/+2 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix: Correctly create NonExistingFolder during copy | Louis Chemineau | 2024-12-04 | 1 | -1/+2 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntax | provokateurin | 2024-11-05 | 1 | -1/+1 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | refactor(apps): Use constructor property promotion when possible | provokateurin | 2024-10-21 | 10 | -116/+41 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | chore(apps): Apply new rector configuration to autouse classes | Côme Chilliet | 2024-10-15 | 4 | -9/+15 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: Apply rector configuration to apps folder | Côme Chilliet | 2024-09-20 | 3 | -3/+3 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore(deps): Update nextcloud/coding-standard to v1.3.1 | provokateurin | 2024-09-19 | 5 | -22/+22 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | 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 | 9 | -36/+36 |
| | | | | 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> | ||||
* | | Merge pull request #46813 from ↵ | Kate | 2024-08-14 | 1 | -3/+4 |
|\ \ | | | | | | | | | | nextcloud/refactor/files_versions/security-attributes | ||||
| * | | refactor(files_versions): Replace security annotations with respective ↵ | provokateurin | 2024-07-27 | 1 | -3/+4 |
| |/ | | | | | | | | | | | attributes Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | | 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> | ||||
* | | Merge pull request #46710 from ↵ | Stephan Orbaugh | 2024-08-06 | 1 | -1/+1 |
|\ \ | |/ |/| | | | | | nextcloud/artonge/fix/use_timestamp_instead_of_revision fix: Use timestamp instead of revision id in files_versions metadata API | ||||
| * | fix: Use timestamp instead of revision id in files_versions metadata API | Louis Chemineau | 2024-07-24 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | | fix: add a try and catch for delete versioning | greta | 2024-07-25 | 1 | -2/+7 |
| | | | | | | | | Signed-off-by: greta <gretadoci@gmail.com> | ||||
* | | fix(files_versions): avoid unintentional skipping of expiration | carhe | 2024-07-25 | 1 | -1/+1 |
|/ | | | Signed-off-by: carhe <carstenherrmann@web.de> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-06-02 | 39 | -785/+89 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | feat(files_versions): Add listener and interfaces to allow versions ↵ | Louis Chemineau | 2024-03-26 | 9 | -2/+325 |
| | | | | | | migration across storages Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Merge pull request #44362 from ↵ | Louis | 2024-03-22 | 1 | -6/+14 |
|\ | | | | | | | | | nextcloud/artonge/feat/check_permissions_of_all_nodes_for_versions Check permissions of all accessible file for versions | ||||
| * | 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> | ||||
* | | refactor(files_versions): Rename MetadataFileEvents to VersionAuthorListener | Louis Chemineau | 2024-03-21 | 2 | -4/+4 |
|/ | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Merge pull request #43613 from nextcloud/version-owner-fallback | John Molakvoæ | 2024-03-16 | 1 | -0/+10 |
|\ | |||||
| * | fix: fallback from guessing the owner from path in versioning | Robin Appelman | 2024-03-07 | 1 | -0/+10 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | chore(files_versions): Use new metadata API for versions | Louis Chemineau | 2024-03-13 | 9 | -183/+53 |
| | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | | fix: fixed stylistic errors | Eduardo Morales | 2024-03-11 | 4 | -6/+6 |
| | | | | | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com> | ||||
* | | fix(files_version): deprecated INameableVersion | Eduardo Morales | 2024-03-11 | 8 | -13/+16 |
| | | | | | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com> | ||||
* | | feat: exposed metadata column to frontend | Eduardo Morales | 2024-03-11 | 4 | -3/+23 |
| | | | | | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com> | ||||
* | | feat: added backend metadata interface, allows JSON storage | Eduardo Morales | 2024-03-11 | 6 | -4/+159 |
| | | | | | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com> | ||||
* | | feat: added metadata event listener | Eduardo Morales | 2024-03-11 | 2 | -0/+69 |
| | | | | | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com> | ||||
* | | Revert "files_versions: add missing null check" | Louis | 2024-03-08 | 1 | -5/+0 |
|/ | |||||
* | fix(files_versions): Add missing null check | Varun Patil | 2024-03-07 | 1 | -0/+5 |
| | | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu> | ||||
* | fix(files_versions): Improve files version listing | Louis Chemineau | 2024-03-06 | 2 | -0/+40 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> |