From fd3fafb25cab23270b969f645459d47d1dbde5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 1 Nov 2023 16:19:31 +0100 Subject: [PATCH 1/5] Update install --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index c7b2c06..a7811fb 100755 --- a/scripts/install +++ b/scripts/install @@ -56,6 +56,7 @@ ynh_systemd_action --service_name=rustdeskrelay --action="start" --log_path="sys ynh_systemd_action --service_name=rustdesksignal --action="start" --log_path="systemd" key=$(cat "$install_dir/id_ed25519.pub") +ynh_app_setting_set --app=$app --key=key --value=$key #================================================= # END OF SCRIPT From 9a24e82f6b0589cbfc48b90c7d647c7d609d2355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 1 Nov 2023 16:26:55 +0100 Subject: [PATCH 2/5] Update manifest.toml --- manifest.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5e03a0b..d433157 100644 --- a/manifest.toml +++ b/manifest.toml @@ -34,10 +34,6 @@ ram.runtime = "50M" [install.domain] type = "domain" - [install.init_main_permission] - type = "group" - default = "visitors" - [resources] [resources.sources] @@ -57,6 +53,8 @@ ram.runtime = "50M" [resources.permissions] main.url = "/" + main.show_tile = false + main.allowed = "visitors" [resources.ports] api.default = 21114 From cb4e2c305ce80e52f6f125ad2154a4564828d302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 1 Nov 2023 16:31:39 +0100 Subject: [PATCH 3/5] cleaning --- doc/DESCRIPTION.md | 2 +- doc/DESCRIPTION_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index 72faeb3..e467431 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -1 +1 @@ -RustDesk is a full-featured open source remote control alternative for self-hosting and security with minimal configuration. \ No newline at end of file +Self-host your own RustDesk server. RustDesk is a full-featured open source remote control alternative for self-hosting and security with minimal configuration. \ No newline at end of file diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md index ad74ba0..11d39fb 100644 --- a/doc/DESCRIPTION_fr.md +++ b/doc/DESCRIPTION_fr.md @@ -1 +1 @@ -RustDesk est une alternative de contrôle à distance open source complète pour l'auto-hébergement et la sécurité avec une configuration minimale. \ No newline at end of file +Auto-hébergez votre propre serveur RustDesk. RustDesk est une alternative de contrôle à distance open source complète pour l'auto-hébergement et la sécurité avec une configuration minimale. \ No newline at end of file From e0748b7ddfd6ac34b0f5e8ec4fee7607f1159727 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 1 Nov 2023 15:31:44 +0000 Subject: [PATCH 4/5] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 467848e..1abcaa6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview -RustDesk is a full-featured open source remote control alternative for self-hosting and security with minimal configuration. +Self-host your own RustDesk server. RustDesk is a full-featured open source remote control alternative for self-hosting and security with minimal configuration. **Shipped version:** 1.1.8-2~ynh1 diff --git a/README_fr.md b/README_fr.md index 99381c1..d18cdfa 100644 --- a/README_fr.md +++ b/README_fr.md @@ -16,7 +16,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po ## Vue d’ensemble -RustDesk est une alternative de contrôle à distance open source complète pour l'auto-hébergement et la sécurité avec une configuration minimale. +Auto-hébergez votre propre serveur RustDesk. RustDesk est une alternative de contrôle à distance open source complète pour l'auto-hébergement et la sécurité avec une configuration minimale. **Version incluse :** 1.1.8-2~ynh1 From efc2182b1e493d5efbc39470c3c1d6a85ed2a813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 1 Nov 2023 16:39:54 +0100 Subject: [PATCH 5/5] fix --- doc/POST_INSTALL.md | 6 ++++++ doc/POST_INSTALL_fr.md | 6 ++++++ scripts/change_url | 43 ------------------------------------------ tests.toml | 2 +- 4 files changed, 13 insertions(+), 44 deletions(-) create mode 100644 doc/POST_INSTALL.md create mode 100644 doc/POST_INSTALL_fr.md delete mode 100644 scripts/change_url diff --git a/doc/POST_INSTALL.md b/doc/POST_INSTALL.md new file mode 100644 index 0000000..749f21c --- /dev/null +++ b/doc/POST_INSTALL.md @@ -0,0 +1,6 @@ +Credentials to use in Settings -> Network + +ID Server: __DOMAIN__ +Relay Server: __DOMAIN__ +API Server: https://__DOMAIN__ +key: __KEY__ \ No newline at end of file diff --git a/doc/POST_INSTALL_fr.md b/doc/POST_INSTALL_fr.md new file mode 100644 index 0000000..e7f56d3 --- /dev/null +++ b/doc/POST_INSTALL_fr.md @@ -0,0 +1,6 @@ +Informations d'identification à utiliser dans Paramètres -> Réseau + +Serveur ID : __DOMAIN__ +Serveur relais : __DOMAIN__ +Serveur API : https://__DOMAIN__ +Key : __KEY__ \ No newline at end of file diff --git a/scripts/change_url b/scripts/change_url deleted file mode 100644 index a9e44dc..0000000 --- a/scripts/change_url +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -#================================================= -# GENERIC STARTING -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - -source _common.sh -source /usr/share/yunohost/helpers - -#================================================= -# STANDARD MODIFICATIONS -#================================================= -# STOP SYSTEMD SERVICE -#================================================= -ynh_script_progression --message="Stopping a systemd service..." --weight=1 - -ynh_systemd_action --service_name=rustdeskrelay --action="stop" --log_path="systemd" -ynh_systemd_action --service_name=rustdesksignal --action="stop" --log_path="systemd" - -#================================================= -# MODIFY URL IN NGINX CONF -#================================================= -ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1 - -#ynh_change_url_nginx_config - -#================================================= -# GENERIC FINALISATION -#================================================= -# START SYSTEMD SERVICE -#================================================= -ynh_script_progression --message="Starting a systemd service..." --weight=1 - -ynh_systemd_action --service_name=rustdeskrelay --action="start" --log_path="systemd" -ynh_systemd_action --service_name=rustdesksignal --action="start" --log_path="systemd" - -#================================================= -# END OF SCRIPT -#================================================= - -ynh_script_progression --message="Change of URL completed for $app" --last diff --git a/tests.toml b/tests.toml index e880982..c0b5a6c 100644 --- a/tests.toml +++ b/tests.toml @@ -8,5 +8,5 @@ test_format = 1.0 # Tests to run # ------------ - #exclude = ["change_url", "install.nourl"] + exclude = ["change_url"] #"install.nourl"