Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | files_versions: Add OpenAPI spec | jld3103 | 2023-07-13 | 2 | -5/+13 |
| | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com> | ||||
* | Enable all files versions features when groupfolders is enabled | Louis Chemineau | 2023-07-05 | 1 | -4/+2 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | feat(ocp): More specific type for ICapabilities::getCapabilities | Christoph Wurst | 2023-07-03 | 1 | -2/+0 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Base versions' has-preview on mimetype | Louis Chemineau | 2023-06-29 | 2 | -26/+3 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Provide hasPreview in files_versions DAV API | Louis Chemineau | 2023-06-28 | 2 | -2/+29 |
| | | | | | | | 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> | ||||
* | Do not create a new version if previousNode has the same mtime | Louis Chemineau | 2023-06-22 | 1 | -2/+2 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | fix: Add logging statement for cases when updating the version fails | Julius Härtl | 2023-06-21 | 1 | -8/+29 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Handle previousNode size === 0 on version creation | Louis Chemineau | 2023-06-21 | 1 | -20/+10 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | fix: Avoid failing to update the current version entry if there is none | Julius Härtl | 2023-06-13 | 1 | -5/+12 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Enable version features again with S3 versioning | Benjamin Somers | 2023-06-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Benjamin Somers <bsomers@resel.fr> | ||||
* | Fix initialisation of versions in the DB | Louis Chemineau | 2023-05-25 | 2 | -4/+31 |
| | | | | | | Broken after https://github.com/nextcloud/server/pull/36690 Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Check if version has entity before trying to access it | Git'Fellow | 2023-05-12 | 1 | -1/+1 |
| | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> | ||||
* | Check if version entity is not null before delete | Git'Fellow | 2023-05-08 | 1 | -1/+6 |
| | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> | ||||
* | fix: catch ManuallyLockedException and use app context | Max | 2023-05-03 | 2 | -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> | ||||
* | Merge pull request #37428 from nextcloud/enh/ignore-non-numeric-versions | Côme Chilliet | 2023-04-20 | 1 | -1/+7 |
|\ | | | | | Ignore and log non integer versions | ||||
| * | Check for non-numeric versions, not non-integer | Côme Chilliet | 2023-04-05 | 1 | -2/+2 |
| | | | | | | | | | | | | All versions are string Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
| * | Ignore and log non integer versions | Côme Chilliet | 2023-04-05 | 1 | -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> | ||||
* | | Really disable versions features when S3 versioning is enabled | Louis Chemineau | 2023-04-17 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | | Merge pull request #36690 from nextcloud/bugfix/noid/rollback-hook | Julius Härtl | 2023-04-14 | 3 | -20/+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 | 2 | -7/+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> | ||||
* | Handle empty DB while expiring versions | Louis Chemineau | 2023-02-08 | 1 | -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> | ||||
* | Document that size may be a float in new class VersionEntity | Côme Chilliet | 2023-02-07 | 4 | -9/+13 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix versions restoring with S3 | Louis Chemineau | 2023-01-26 | 1 | -5/+24 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Use node's owner if no user is connected | Louis Chemineau | 2023-01-26 | 1 | -15/+25 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Prevent storing versions with the same mtime | Louis Chemineau | 2023-01-26 | 1 | -2/+3 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Fix renaming files_versions | Louis Chemineau | 2023-01-26 | 1 | -7/+6 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Handle empty files in version creation logic | Louis Chemineau | 2023-01-26 | 5 | -29/+131 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Fix hookconnector tests | Louis Chemineau | 2023-01-26 | 1 | -30/+5 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Adapt files_versions tests to modernized hooks | Louis Chemineau | 2023-01-26 | 1 | -8/+45 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | User rootFolder instead of userFolder in FileEventsListener | Louis Chemineau | 2023-01-26 | 1 | -13/+26 |
| | | | | | | Requesting userFolder fails during NC installation phase. Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Rename Hooks.php to FileEventsListener.php | Louis Chemineau | 2023-01-26 | 2 | -11/+12 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Prevent expiration of named versions | Louis Chemineau | 2023-01-26 | 1 | -1/+22 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Delete file versions entries in DB when node is deleted | Louis Chemineau | 2023-01-26 | 2 | -0/+10 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Allow to delete a version through DAV | Louis Chemineau | 2023-01-26 | 6 | -4/+72 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Support getting and patching version-label | Louis Chemineau | 2023-01-26 | 11 | -35/+294 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Create files_versions table | Louis Chemineau | 2023-01-26 | 3 | -0/+220 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Modernise hook listener of files_versions | Louis Chemineau | 2023-01-26 | 2 | -55/+88 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Handle badly named version files more gracefully and log information | Côme Chilliet | 2022-10-11 | 1 | -5/+13 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | use filesystem user instead of file owner for creating version | Robin Appelman | 2022-09-09 | 1 | -1/+10 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | always use the default fs owner when storing versions | Robin Appelman | 2022-09-06 | 1 | -14/+27 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Port existing server code to new interface | Carl Schwan | 2022-08-08 | 1 | -17/+9 |
| | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | Expose additional emails in {DAV:}alternate-URI-set | Thomas Citharel | 2022-05-17 | 1 | -0/+2 |
| | | | | | | | | | This allows iMip invitations to be send with an alternative email as "Reply-To" field. Closes #27201 Signed-off-by: Thomas Citharel <tcit@tcit.fr> | ||||
* | cache internalpath in versions cleanup | Robin Appelman | 2022-04-04 | 1 | -2/+3 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Add configuration flag to disable the background job for files_versions | Daniel Kesselberg | 2021-10-11 | 1 | -3/+13 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | Merge pull request #27408 from PhrozenByte/enhancement/FilesVersionsCleanUpPath | Vincent Petry | 2021-10-08 | 1 | -5/+28 |
|\ | | | | | Add occ versions:cleanup --path option | ||||
| * | Improve occ versions:cleanup --path option | Daniel Rudolf | 2021-10-07 | 1 | -2/+2 |
| | | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de> |