Roberto Hueso Gómez
a8d7494ab9
Add image create action
...
This action handles the creation of the image in the DB as well as the
'.img' file.
2020-10-29 14:43:23 +01:00
Roberto Hueso Gómez
282984d0ac
Add templates for clients, hardware, restore, session and setup
...
These templates were not added in previous commits.
2020-10-27 11:15:19 +01:00
Roberto Hueso Gómez
8fa8ca3f42
Add run_test.sh script
...
This script is used to run a Flask testing environment.
2020-10-27 10:38:56 +01:00
Roberto Hueso Gómez
904989b175
Add image restore action
...
This action provides the image restoring functionality on a specific
client.
2020-10-23 15:10:29 +02:00
Roberto Hueso Gómez
c5a4ccff55
Add session action
...
This action provides the functionality to run one of the installed OSs
in a client.
2020-10-22 11:04:57 +02:00
Roberto Hueso Gómez
e978c30b9f
Add client hardware action
...
This action lists all the hardware items in a client.
2020-10-21 14:38:44 +02:00
Roberto Hueso Gómez
93ffa115fe
Add create client action
...
This action provides the functionality to add a new client to an
ogServer.
2020-09-28 15:04:00 +02:00
Roberto Hueso Gómez
664d032884
Add client details action
...
This action is used to visualize the specific details of a client, such
as its IP, Name, MAC, etc.
2020-09-28 15:02:16 +02:00
Roberto Hueso Gómez
ea5b22c35e
Add delete partition view
...
This view deletes and formats a partition from the selected machine.
2020-09-15 13:42:28 +02:00
Roberto Hueso Gómez
1ce9c8a95b
Fix setup partitions filesystem codes to string
...
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.
2020-09-15 13:39:05 +02:00
Roberto Hueso Gómez
7815d1fac7
Add partitions setup forms
...
This provides a menu to setup the internal partitions setup of each
machine. Delete partitions is still just a placeholder.
2020-09-14 10:56:58 +02:00
Roberto Hueso Gómez
9df3c538f3
Fix parse_ips(...) function to avoid parsing CSFR
...
This avoids trying to parse CSFT token as an IP.
2020-09-14 10:54:46 +02:00
Roberto Hueso Gómez
19be0f87de
Fix internal server error code
2020-09-14 10:54:01 +02:00
Roberto Hueso Gómez
b7e980f946
Add 500 default error handler
...
This handles HTTP 500 internal server errors.
2020-09-04 13:21:36 +02:00
Roberto Hueso Gómez
31d2808a43
Add 404 default error handler.
...
This handles HTTP 404 page does not exist errors.
2020-09-04 13:20:11 +02:00
Roberto Hueso Gómez
bb7e201991
Add refresh action
...
This action can be applied on single or multiple scopes.
2020-09-04 13:18:26 +02:00
Roberto Hueso Gómez
d5eaf699a7
Add WoL action
...
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.
2020-09-04 11:09:44 +02:00
Roberto Hueso Gómez
73a6e07b83
Add reboot action
...
This action handles reboot on one or multiple scopes.
2020-09-03 11:50:58 +02:00
Roberto Hueso Gómez
ef609cf52a
Rename add_state_to_scopes() function
...
This function is renamed to add_state_and_ips() which is more accurate.
2020-09-02 14:50:52 +02:00
Roberto Hueso Gómez
c12ff832c7
Add action_poweroff() view function
...
This function handles a poweroff request to one or multiple scopes.
2020-09-02 14:46:20 +02:00
Roberto Hueso Gómez
30c5173aea
Implement scopes() view function
...
This function provides the data needed to render the scopes.html
template.
2020-09-02 14:45:02 +02:00
Roberto Hueso Gómez
46b88fff0b
Add requests functionality to the OGServer class
...
These functions will be used to make HTTP GET and POST requests to the
OGServer.
2020-09-02 14:42:10 +02:00
Roberto Hueso Gómez
a4957f2284
Add scopes.html template
...
This template shows information about scopes and its states as well as a
tool to apply actions on them. Style improvements are still necessary.
2020-09-02 14:37:56 +02:00
Roberto Hueso Gómez
3fe6ad6ac6
Add bootstrap bundle
...
This is used for multiple bootstrap components such as dropdown menus.
2020-09-02 14:35:30 +02:00
Roberto Hueso Gómez
01efd71022
Add frontend basic structure
...
This adds base.html and nav.html templates as well as its dependencies
on Bootstrap and jQuery.
2020-08-31 11:58:38 +02:00
Roberto Hueso Gómez
df2e425b34
Add basic backend structure
...
This adds views functions and ogServer config loading.
2020-08-31 11:58:27 +02:00
Roberto Hueso Gómez
0e160da4c0
Add requirements.txt
...
These are the basic libraries this app needs in order to run:
- Flask
- requests
- Flask-Babel
the rest of libraries are dependencies of theirs.
2020-08-31 11:51:07 +02:00
Roberto Hueso Gómez
8429541558
Add gitignore
2020-08-28 10:18:43 +02:00