Merged
Conversation
If the response is dict or list the API converts it to JSON. Otherwise it keeps the original.
Now one can use mongodb or sqlalchemy (SqLite, MySQL, PostgreSQL) Further support for sql databases is not yet supported
classmethods are now check_password and create_hash
If API cannot lookup any users it will set Warning HTTP header with value 'setup-required'. This tells the front-end to redirect to /setup page where one can set the admin account.
API now lives in /api folder where it has its module liberouterapi. This way the root folder is much clearer and free from python files.
HTTP interceptor reacts to HTTP 442 code to redirect to /setup /setup contains a simple form for initial user registration
For now the FTAS config is hardcoded inside the component. This should be placed in some sort of config.
This way we can use SafePipe elsewhere and not just in FTAS.
FTAS is now configured via environment config. Options: * url: simple URL to FTAS instance (e.g. ftas.cesnet.cz) * fullUrl: complete path to filtering page (without protocol, https is forced here) * output: must specify which "output" machines to use
Creates an iframe to SecurityCloud GUI instance with optional setting of looking up by time of an event (clickable through NEMEA Events)
* scgui: New module SecurityCloud SafePipe as module usage FIX: typo Convert SafePipe to module
Connects to NERD the same as FTAS or SecurityCloud.
* nerd: Introduce module NERD Working setup mode
This hides the ugly double scrollbar
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.
Beta version which introduces many improvements and changes
API
Front-end