-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #324 from davidhozic/develop
Release 2.8 Prep
- Loading branch information
Showing
75 changed files
with
2,137 additions
and
1,824 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,5 @@ docs/common/reference | |
daf_web_data | ||
test.py | ||
|
||
venv/* | ||
.venv/* | ||
venv* | ||
.venv* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
====================== | ||
Remote control (GUI) | ||
====================== | ||
.. versionadded:: 2.8 | ||
|
||
|
||
.. seealso:: | ||
|
||
This section describes how to set up the GUI to connect to a server. | ||
To find information about setting up the actual server see :ref:`Remote control (core)`. | ||
|
||
|
||
DAF can run either locally or it can connect to a remote server that is running the | ||
DAF core. Users can choose between these two options by changing the connection client as | ||
shown in picture: | ||
|
||
.. image:: ./images/connection-select.png | ||
:width: 1000px | ||
|
||
Using ``LocalConnectionCLIENT`` will start DAF locally and anything the users do will be done locally. | ||
Using :class:`~daf_gui.connector.RemoteConnectionCLIENT` will connect to a remote server and anything the users do including adding / removing | ||
accounts, retrieving logs, etc. will be done through a HTTP API which can also be HTTPS (recommended) if desired. | ||
|
||
|
||
If the *Edit* button is clicked (in the top right corner) and :class:`~daf_gui.connector.RemoteConnectionCLIENT` | ||
is selected, a new window will be opened, which allows customization of connection parameters. | ||
|
||
|
||
.. image:: ./images/edit-remoteconnectionclient.png | ||
|
||
.. autoclass:: daf_gui.connector.RemoteConnectionCLIENT | ||
|
||
.. seealso:: | ||
|
||
When :ref:`generating the DAF core script <Shilling script generation>`, | ||
remote access will also be configured if the :class:`~daf_gui.connector.RemoteConnectionCLIENT` is selected. | ||
|
||
Clicking on *Edit* when ``LocalConnectionCLIENT`` is selected will show an error. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
====================== | ||
Remote control (core) | ||
====================== | ||
|
||
.. versionadded:: 2.8 | ||
|
||
While DAF can run completely standalone locally, it also allows to be run as a server that will accept connections from | ||
a graphical interface (:ref:`Remote control (GUI)`). | ||
|
||
The remote module spins up a HTTP server which can also be given a certificate and a private key allowing HTTPS connections. | ||
|
||
To set up the core as a remote server, pass the :func:`~daf.core.run` function with the ``remote_client`` parameter. | ||
It accepts an object of type :class:`daf.remote.RemoteAccessCLIENT`. | ||
|
||
After the script is ran, DAF will listen and accept connections based on the configured options. While the server is running, | ||
DAF can be used the same way as if there was no server at all. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.