summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add partitions setup formsRoberto Hueso Gómez2020-09-143-3/+78
| | | | | This provides a menu to setup the internal partitions setup of each machine. Delete partitions is still just a placeholder.
* Fix parse_ips(...) function to avoid parsing CSFRRoberto Hueso Gómez2020-09-141-2/+3
| | | | This avoids trying to parse CSFT token as an IP.
* Fix internal server error codeRoberto Hueso Gómez2020-09-141-2/+2
|
* Add 500 default error handlerRoberto Hueso Gómez2020-09-041-0/+4
| | | | This handles HTTP 500 internal server errors.
* Add 404 default error handler.Roberto Hueso Gómez2020-09-042-0/+13
| | | | This handles HTTP 404 page does not exist errors.
* Add refresh actionRoberto Hueso Gómez2020-09-042-0/+10
| | | | This action can be applied on single or multiple scopes.
* Add WoL actionRoberto Hueso Gómez2020-09-046-3/+55
| | | | | | This action can be applied on one or multiple scopes. This implementation use Flask-WTF as a way to build and valdiate forms. As a side effect, this adds CSRF protection to all forms.
* Add reboot actionRoberto Hueso Gómez2020-09-032-0/+9
| | | | This action handles reboot on one or multiple scopes.
* Rename add_state_to_scopes() functionRoberto Hueso Gómez2020-09-021-3/+3
| | | | This function is renamed to add_state_and_ips() which is more accurate.
* Add action_poweroff() view functionRoberto Hueso Gómez2020-09-021-1/+14
| | | | This function handles a poweroff request to one or multiple scopes.
* Implement scopes() view functionRoberto Hueso Gómez2020-09-021-1/+21
| | | | | This function provides the data needed to render the scopes.html template.
* Add requests functionality to the OGServer classRoberto Hueso Gómez2020-09-021-0/+19
| | | | | These functions will be used to make HTTP GET and POST requests to the OGServer.
* Add scopes.html templateRoberto Hueso Gómez2020-09-021-0/+40
| | | | | This template shows information about scopes and its states as well as a tool to apply actions on them. Style improvements are still necessary.
* Add bootstrap bundleRoberto Hueso Gómez2020-09-022-0/+8
| | | | This is used for multiple bootstrap components such as dropdown menus.
* Add frontend basic structureRoberto Hueso Gómez2020-08-315-0/+52
| | | | | This adds base.html and nav.html templates as well as its dependencies on Bootstrap and jQuery.
* Add basic backend structureRoberto Hueso Gómez2020-08-314-0/+43
| | | | This adds views functions and ogServer config loading.
* Add requirements.txtRoberto Hueso Gómez2020-08-311-0/+14
| | | | | | | | | These are the basic libraries this app needs in order to run: - Flask - requests - Flask-Babel the rest of libraries are dependencies of theirs.
* Add gitignoreRoberto Hueso Gómez2020-08-281-0/+135