Export entire folder recursively#711
Merged
Merged
Conversation
33de0d1 to
e8dea81
Compare
lunika
reviewed
May 18, 2026
c6c6ab8 to
43da7d0
Compare
43da7d0 to
175b1fa
Compare
| }, | ||
| { | ||
| icon: <Download />, | ||
| label: t("explorer.item.actions.download"), |
Contributor
There was a problem hiding this comment.
Maybe export is more explicit ?
Contributor
PanchoutNathan
left a comment
There was a problem hiding this comment.
A really cool feature. One small bug before validating its functionality: the complete directory structure isn't displayed. If I have a folder A with a folder A.1 and a file X, if I export A, I only get file X by itself.
PanchoutNathan
approved these changes
May 28, 2026
Introduce a new "export" entry in Item.get_abilities, true only for folders the user can read. Will be the gate for the upcoming recursive folder export endpoint.
Used to stream a zip archive of a folder's content over HTTP without buffering the whole archive in memory.
Issue #412 asks for a way to download an entire folder. Add a GET /items/<id>/export/ action that streams a recursive ZIP archive of the folder, preserving the directory hierarchy and skipping soft-deleted or not-yet-uploaded descendants.
Expose the backend folder ZIP export from explorer folder menus through the Download action.
fd68a2d to
cd7bebf
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Purpose
Export entire folder recursively
Fixes #412.
Proposal
exportability for accessible foldersGET /api/v1.0/items/<id>/export/endpoint