summaryrefslogtreecommitdiffstats
path: root/ogcp
Commit message (Collapse)AuthorAgeFilesLines
* Add client hardware actionRoberto Hueso Gómez2020-10-213-1/+26
| | | | This action lists all the hardware items in a client.
* Add create client actionRoberto Hueso Gómez2020-09-282-0/+37
| | | | | This action provides the functionality to add a new client to an ogServer.
* Add client details actionRoberto Hueso Gómez2020-09-283-2/+70
| | | | | This action is used to visualize the specific details of a client, such as its IP, Name, MAC, etc.
* Add delete partition viewRoberto Hueso Gómez2020-09-151-1/+32
| | | | This view deletes and formats a partition from the selected machine.
* Fix setup partitions filesystem codes to stringRoberto Hueso Gómez2020-09-151-12/+39
| | | | | | Partition filesystem are encoded with integers in the DB. We need to send the type string instead of the encoded integer, so this patch parses the encoded integer to string.
* 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-045-3/+50
| | | | | | 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.