summaryrefslogtreecommitdiffstats
path: root/main.py
Commit message (Collapse)AuthorAgeFilesLines
* Delete ogConfig.pyRoberto Hueso Gómez2020-06-051-2/+1
| | | | | This file is only used for its OG_PATH variable, this variable is now in ogClient.
* Switch config file to jsonRoberto Hueso Gómez2020-05-131-18/+12
| | | | | This patch makes configuration parsing easier as well as making the full configuration available in many subclasses.
* Use samba for create and restore virtual partitionsRoberto Hueso Gómez2020-04-171-1/+10
| | | | This requires to configure user and password for samba repositories.
* Change browser behaviourJavier Sánchez Parra2020-04-161-3/+0
| | | | | | | | | | We have observed that the browser did not show changes. This happens because the ogClient opens the browser at the beginning and forget about it. To show correctly the changes ogClient had to restart the browser every time the menu html changes. This commit changes the behaviour to restart the browser when the menu html has changed.
* Rename ogClient to ogclient in config pathAlvaro Neira Ayuso2020-04-121-1/+1
|
* Launch browser only in linux configurationAlvaro Neira Ayuso2020-04-121-1/+2
|
* Add mode selection for ogClientRoberto Hueso Gomez2020-04-081-1/+2
|
* add shebang to python3 and update permissionOpenGnSys Support Team2020-03-311-0/+2
|
* Rename config fileJavier Sanchez Parra2020-03-241-1/+1
| | | | | This commit changes the name of the config file from ogagent.cfg to ogclient.cfg.
* Make OG_PATH publicJavier Sanchez Parra2020-03-201-1/+2
| | | | | This commit changes the OG_PATH to a public varible of the class ogConfig. This way we improve the configurability of the path.
* Launch the graphical interfaceJavier Sánchez Parra2020-02-241-0/+4
| | | | | This patch adds the launching of the browser that works as interface for the users in ogLive.
* pep-0008 cleanupOpenGnSys Support Team2020-02-211-3/+3
| | | | | | | From pep-0008: Method Names and Instance Variables Use the function naming rules: lowercase with words separated by underscores as necessary to improve readability.
* Convert main file from dos format to unix formatAlvaro Neira Ayuso2020-02-041-28/+28
| | | | Change from dos format to unix the whole main file.
* Include License headerAlvaro Neira Ayuso2020-01-191-0/+8
|
* Avoid a broken pipe error on opengnsysAlvaro Neira Ayuso2020-01-191-0/+2
|
* Port program to Python 3Alvaro Neira Ayuso2020-01-191-1/+1
| | | | | Python 2.7 will be deprecated in January of 2020. So, we need to have the program with a supported api.
* Execute socket loop on run socket functionAlvaro Neira Ayuso2020-01-191-19/+1
| | | | Ported code from main function to a client function for clearing the main loop.
* Modify Client state to use enumAlvaro Neira Ayuso2020-01-191-6/+3
| | | | | | | | | During our connections, we are using states to control the Client Socket. We defined using global variables. In case that we modify this global variable, we need to change it in serveral parts of the code. Using enums and declaring a new class, we can redefine the values or create new states without changing the same code in differents python files.
* Create new ogClientAlvaro Neira Ayuso2020-01-191-0/+39
This commit init the new ogClient. The new ogClient has support for configuring and for connecting with the ogAdminServer.