Roberto Hueso Gomez
4f03c31f85
Add mode selection for ogClient
2020-04-08 13:31:45 +02:00
OpenGnSys Support Team
99f2951395
add shebang to python3 and update permission
2020-03-31 20:15:32 +02:00
Javier Sanchez Parra
f11e345dbf
Rename config file
...
This commit changes the name of the config file from ogagent.cfg to
ogclient.cfg.
2020-03-24 08:06:02 +01:00
Javier Sanchez Parra
4cd87e9875
Make OG_PATH public
...
This commit changes the OG_PATH to a public varible of the class
ogConfig. This way we improve the configurability of the path.
2020-03-20 14:53:07 +01:00
Javier Sánchez Parra
bf69d20966
Launch the graphical interface
...
This patch adds the launching of the browser that works as interface for
the users in ogLive.
2020-02-24 14:53:42 +01:00
OpenGnSys Support Team
3917c3675f
pep-0008 cleanup
...
From pep-0008: Method Names and Instance Variables
Use the function naming rules: lowercase with words separated by underscores as
necessary to improve readability.
2020-02-21 12:57:54 +01:00
Alvaro Neira Ayuso
834f5cd5c2
Convert main file from dos format to unix format
...
Change from dos format to unix the whole main file.
2020-02-04 14:23:05 +01:00
Alvaro Neira Ayuso
05b1088827
Include License header
2020-01-19 19:50:44 +01:00
Alvaro Neira Ayuso
445497fe01
Avoid a broken pipe error on opengnsys
2020-01-19 19:50:44 +01:00
Alvaro Neira Ayuso
7548870a92
Port program to Python 3
...
Python 2.7 will be deprecated in January of 2020. So, we need to have the program
with a supported api.
2020-01-19 19:50:44 +01:00
Alvaro Neira Ayuso
9eabc7f9a8
Execute socket loop on run socket function
...
Ported code from main function to a client function for clearing the main loop.
2020-01-19 19:50:44 +01:00
Alvaro Neira Ayuso
076e15bb29
Modify Client state to use enum
...
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.
2020-01-19 19:50:44 +01:00
Alvaro Neira Ayuso
29fe301ec8
Create new ogClient
...
This commit init the new ogClient. The new ogClient has support for configuring
and for connecting with the ogAdminServer.
2020-01-19 19:50:44 +01:00