- 19 Oct, 2015 23 commits
-
-
Stavros Sachtouris authored
The class is renamed to "SessionHelper" and moved to "agkyra.protocol". It uses the session database to get information about the status of the protocol server. The session database is used to store the address and ui_id of the protocol server as well as a time stamp. The helper uses this information to resolve if the protocol server is active. If the server is active, the helper assumes there is a session running and allows the client to use the session credentials to connect to it. Otherwise, it generates new session credentials and offers the ability to start a protocol server. The GUI class is also modified to raise an assertion error if another GUI is already running. This is resolved by comparing the session information stored in the session file with the one provided by the helper. If they match, a GUI is running, otherwise a new GUI is launched.
-
Stavros Sachtouris authored
The address of the HelperServer is now calculated when the class is initialized.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Stavros Sachtouris authored
If some settings are added though the GUI, the client will save them on exit.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
The mechanism is based on syncing message consumption, which works only while the client is syncing (therefore, not in paused mode). When GUI consumes a "SyncMessage", an "unsynced" counter is increased, while a "AckSyncMessage" causes a "synced" counter to increase. The two counters are pushed to GUI regularly enough.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
This patch refers to the settings update on closing the settings window.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Settings are loaded and updated in protocol.py If the client is not ready yet, some GUI options are not gray and unclickable until the client is ready.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
The config system is an extension of the kamaki config system, tailored to support configuration files with multiple clouds and multiple syncs. A sync contains all the attributes needed to sync a local directory with a remote container, included a reference to a cloud. The CLI is interactive and can be used to start, pause and control the syncing process.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Also, create an application token, unique for each run
-
Stavros Sachtouris authored
-