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

Allow uploading directories, not just multiple files #1584

Closed
mturoci opened this issue Aug 12, 2022 · 0 comments · Fixed by #1585
Closed

Allow uploading directories, not just multiple files #1584

mturoci opened this issue Aug 12, 2022 · 0 comments · Fixed by #1585
Assignees
Labels
feature Feature request server Related to server

Comments

@mturoci
Copy link
Collaborator

mturoci commented Aug 12, 2022

Is your feature request related to a problem? Please describe

Currently, q.site.upload allows for specifying a list of files to be uploaded in a batch. However, Wave server creates a separate uuid-named folder for each file. Sometimes it's needed to keep the dir structure though, especially when working with 3rd party JS libs that dynamically load scripts using relative paths.

Describe the solution you'd like

Upload the whole directory and keep the structure as is.

Describe alternatives you've considered

The obvious alternative is using public/private dirs, but these cannot be set during runtime, which is a deal breaker for me.

Note: Needed for making the Tour and Wave studio work in air-gapped/heavily constrained networks (external CDNs not allowed).

@mturoci mturoci added server Related to server feature Feature request labels Aug 12, 2022
@mturoci mturoci self-assigned this Aug 12, 2022
mturoci added a commit that referenced this issue Aug 12, 2022
mturoci added a commit that referenced this issue Aug 18, 2022
mturoci added a commit that referenced this issue Aug 18, 2022
mturoci added a commit that referenced this issue Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request server Related to server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant