Update translation entries in `revpicommander_de.ts` and regenerate the
`.qm` file. Includes additions for handling new error states and
messaging, such as SSH authentication failures and RevPiPyLoad
activation issues.
Signed-off-by: Sven Sager <akira@narux.de>
Improve logic to handle scenarios where sudo requires a password for
activating RevPiPyLoad, including user notification and error handling.
Signed-off-by: Sven Sager <akira@narux.de>
Extend the `send_cmd` function to support passing input to stdin when
executing remote shell commands via SSH.
Signed-off-by: Sven Sager <akira@narux.de>
Extend `send_cmd` to return `exit_status` along with `stdout` and
`stderr`. Adjust handling to ensure proper decoding of byte outputs to
strings.
Signed-off-by: Sven Sager <akira@narux.de>
RevPi Commander can activate the `revpipyload` service with an SSH
connection on the remote host and starts a new connection. If the
activation of the service failed, the user was in an endless loop and
had to end the process via the operating system.
Signed-off-by: Sven Sager <akira@narux.de>
Introduces a checkbox to toggle the use of the default local Unix socket
for XML-RPC connections. Updates UI layout and enables dynamic state
handling for related fields, such as address and port, based on socket
usage. Ensures proper state synchronization and settings persistence.
Signed-off-by: Sven Sager <akira@narux.de>
Support forwarding Unix sockets in SSH tunnels by extending
`SSHLocalTunnel`. Update logic to detect and handle remote Unix socket
configurations.
Signed-off-by: Sven Sager <akira@narux.de>
Switches the SSH implementation from `paramiko` to `asyncssh` for
improved capabilities and performance. Updates logic in SSH tunnel
handling, authentication, and dependencies.
Signed-off-by: Sven Sager <akira@narux.de>
From `zeroconf` version 0.128.5 `zeroconf._utils` has been changed. The
PyInstaller does not collect all submodules automatically, this is now
forced via `--collect-submodules`.
Calling programs is written with a single backslash. When passing
parameters to a program, double backslashes should be used, otherwise a
single one could be interpreted as an escape character.
Adds functions to the context menu entries to reset the counters of a DI
module and read the switching cycles of a RO module. In addition, the
labels were also equipped with the context menu, which was otherwise
only on the value fields.
Creating the stable branch after the RC will allow us to merge changes
to the Debian files from the debian_rc to the stable without
overwriting the values of the gbp.conf.
In the 'PLC developer', a Python file can now be selected as a start
project on the Revolution Pi. This is transferred to the Revolution
Pi via the new XML-RPC function 'set_plcprogram'. This version is
available from 'revpipyload' 0.11.0.
Some functions are only available from certain 'revpipyload' versions.
The interface shows this as ToolTips, which now also contain the
version information.
The signal 'connection_recovered' was only sent when reconnecting SSH
connections. Now it is also sent after error if the connection is
via the native XML RPC.
This behavior is now similar to common file browsers, in which
further elements are selected by holding a button, but a new
selection begins with a simple click.
It could be selected between Python 2 and Python 3. Since Python 2 has
not been in support since 31.12.2019, it is now time to set the version
firmly to Python 3.
If the application is built with the Target app*, all license
information of the packages used is collected. These can now be
viewed in the GUI in the help menu.
If a PyInstaller target is called from the Makefile, all libraries
installed in the virtual environment are captured with version and
license. The file 'bundled-libraries.md' contains a list of libraries
with version and license. The file 'open-source-licenses.txt'
includes the name, version, author, project URL, description and
complete license for each installed library. The files are included
in the output of the PyInstaller.
By renaming the entry point, which had the same name as the module,
both can now be installed in the same directory. The entry point can
then be created in /usr/bin as a link with the original name
'revpicommander'.
Signed-off-by: Sven Sager <akira@narux.de>
Change entry point name to differ from the module name. In the package,
the module and its scripts are installed in the same directory. This is
done via PYBUILD_INSTALL_ARGS and --install-lib, --install-scripts.
Module name and script name must not be the same.
This will update the alternative shell script as well. It will now just
pass the modules directory to python interpreter to execute the __main__
module.
Signed-off-by: Sven Sager <akira@narux.de>