Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add backend for version naming #35151

Conversation

artonge
Copy link
Contributor

@artonge artonge commented Nov 14, 2022

TODO

  • Create oc_files_versions table with id, file_id?, version_id, name, and author for future.
  • Plug into DAV plugin
  • Check current ajax routes
  • Expose endpoint to name a version
  • Expose endpoint to create a new version from the current version
  • Expose endpoint to delete a version
  • Checkout S3 and group folders implementation as Carl raise some concerns
  • Remove experimental flag on UI

Follow up

  • Use COPY instead of MOVE when restoring version, so that it stays in the history (if not already the case)
  • Disable cleanup of named version in files_versions/lib/Storage.php

Need #35080

@artonge artonge self-assigned this Nov 14, 2022
@artonge artonge added this to the Nextcloud 26 milestone Nov 14, 2022
@artonge artonge force-pushed the artonge/feat/version_naming_ui branch from 461a65e to 87d69f0 Compare November 14, 2022 14:14
@artonge artonge closed this Nov 14, 2022
@artonge artonge force-pushed the artonge/feat/version_naming_backend branch from 514c81a to 87d69f0 Compare November 14, 2022 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant