Feature: Download Zips#17
Open
benloh wants to merge 12 commits into
Open
Conversation
…of `node nc-multiplex.js`
Keep in case we need to restore this later
Collaborator
Author
|
@jdanish Please give this a spin on DO to see if download works |
Collaborator
|
Thanks @benloh ! Testing locally ... (All Backup .loki files) leads to:
Would it be hard to make a single "download all networks" that zips the Loki files and templates in one place? I usually archive them together just in case ... Not a huge deal, though. Once the first one is fixed I'll test on DO. |
Collaborator
|
Verified on DO and it appears to work, including that one link that didn't work locally. |
Collaborator
Author
|
Thanks. The issue is missing backup folder. We detect the erorr, but handle the error poorly, so I'm adding some error handling. |
Collaborator
Author
|
Added:
|
Collaborator
Author
|
Status update: This has been merged into To Do
|
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.

This ads a new feature for downloading data for non-technical users.
Important
We've needed to add a new library, so make sure you run
npm ciYou can now download the following as zips:
*.lokidatabase files*.lokidatabase files*.template.tomltemplate filesThis will download all of the graphs on your server.
Caution
Security and privacy are your responsibility! Keep in mind that any one who can log into your
nc-multiplexinstance with the password is able to download all of your graph data.The data comes from the
netcreate-itest/runtimefolder.To Test
cd nc-multiplexgit checkout download-zipscd netcreate-itest-- make sure you're running a recent version of the repogit fetch && git checkout dev-dhi-- the latest changes should be indev-dhicd ..-- back tonc-multiplexfoldernpm ci./start-nc-multiplex.shMinor Fixes