From 829b76547e5cd24815104ee11758439661f040e6 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 1 Nov 2023 13:54:42 +0000 Subject: [PATCH 1/7] Auto-update README --- README.md | 20 ++++++++++---------- README_fr.md | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index d21e4ea..3133417 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,15 @@ N.B.: This README was automatically generated by https://github.com/YunoHost/app It shall NOT be edited by hand. --> -# Rustdesk server for YunoHost +# RustDesk for YunoHost -[![Integration level](https://dash.yunohost.org/integration/rustdesk-server.svg)](https://dash.yunohost.org/appci/app/rustdesk-server) ![Working status](https://ci-apps.yunohost.org/ci/badges/rustdesk-server.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/rustdesk-server.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/rustdesk.svg)](https://dash.yunohost.org/appci/app/rustdesk) ![Working status](https://ci-apps.yunohost.org/ci/badges/rustdesk.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/rustdesk.maintain.svg) -[![Install Rustdesk server with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=rustdesk-server) +[![Install RustDesk with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=rustdesk) *[Lire ce readme en français.](./README_fr.md)* -> *This package allows you to install Rustdesk server quickly and simply on a YunoHost server. +> *This package allows you to install RustDesk quickly and simply on a YunoHost server. If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* ## Overview @@ -22,26 +22,26 @@ RustDesk is a full-featured open source remote control alternative for self-host ## Screenshots -![Screenshot of Rustdesk server](./doc/screenshots/screenshot.png) +![Screenshot of RustDesk](./doc/screenshots/screenshot.png) ## Documentation and resources * Official app website: * Official admin documentation: * Upstream app code repository: -* YunoHost Store: -* Report a bug: +* YunoHost Store: +* Report a bug: ## Developer info -Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing). +Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing). To try the testing branch, please proceed like that. ``` bash -sudo yunohost app install https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing --debug +sudo yunohost app install https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing --debug or -sudo yunohost app upgrade rustdesk-server -u https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing --debug +sudo yunohost app upgrade rustdesk -u https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing --debug ``` **More info regarding app packaging:** diff --git a/README_fr.md b/README_fr.md index 434505e..828b84f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -3,15 +3,15 @@ N.B.: This README was automatically generated by https://github.com/YunoHost/app It shall NOT be edited by hand. --> -# Rustdesk server pour YunoHost +# RustDesk pour YunoHost -[![Niveau d’intégration](https://dash.yunohost.org/integration/rustdesk-server.svg)](https://dash.yunohost.org/appci/app/rustdesk-server) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/rustdesk-server.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/rustdesk-server.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/rustdesk.svg)](https://dash.yunohost.org/appci/app/rustdesk) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/rustdesk.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/rustdesk.maintain.svg) -[![Installer Rustdesk server avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=rustdesk-server) +[![Installer RustDesk avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=rustdesk) *[Read this readme in english.](./README.md)* -> *Ce package vous permet d’installer Rustdesk server rapidement et simplement sur un serveur YunoHost. +> *Ce package vous permet d’installer RustDesk rapidement et simplement sur un serveur YunoHost. Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* ## Vue d’ensemble @@ -22,26 +22,26 @@ RustDesk est une alternative de contrôle à distance open source complète pour ## Captures d’écran -![Capture d’écran de Rustdesk server](./doc/screenshots/screenshot.png) +![Capture d’écran de RustDesk](./doc/screenshots/screenshot.png) ## Documentations et ressources * Site officiel de l’app : * Documentation officielle de l’admin : * Dépôt de code officiel de l’app : -* YunoHost Store: -* Signaler un bug : +* YunoHost Store: +* Signaler un bug : ## Informations pour les développeurs -Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing). +Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing). Pour essayer la branche testing, procédez comme suit. ``` bash -sudo yunohost app install https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing --debug +sudo yunohost app install https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing --debug ou -sudo yunohost app upgrade rustdesk-server -u https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing --debug +sudo yunohost app upgrade rustdesk -u https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing --debug ``` **Plus d’infos sur le packaging d’applications :** \ No newline at end of file From 072bee06422bf0daf73aa927ebff5d56d7b045a2 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 15:49:23 +0100 Subject: [PATCH 2/7] Update tests.toml --- tests.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.toml b/tests.toml index 1ce712b..e880982 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"] From 7c081b0ab6921bbd33084763819991de48327322 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:01:50 +0100 Subject: [PATCH 3/7] Update manifest.toml --- manifest.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/manifest.toml b/manifest.toml index d6a6916..ad81222 100644 --- a/manifest.toml +++ b/manifest.toml @@ -59,6 +59,7 @@ ram.runtime = "50M" main.url = "/" [resources.ports] + api.default = 21114 hbbs.default = 21115 hbbs.exposed = "TCP" hbbsbis.default = 21116 From ac62fee27e0aa6d5ee58fc64d9aab28df71633cd 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:02:27 +0100 Subject: [PATCH 4/7] Update manifest.toml --- manifest.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index ad81222..5e03a0b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -2,8 +2,8 @@ packaging_format = 2 -id = "rustdesk" -name = "RustDesk" +id = "rustdesk-server" +name = "RustDesk Server" description.en = "Remote control alternative for self-hosting" description.fr = "Alternative de contrôle à distance pour l'auto-hébergement" From 4480bed24230eae1cafe3dee506ad530c0057869 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 1 Nov 2023 15:02:32 +0000 Subject: [PATCH 5/7] Auto-update README --- README.md | 20 ++++++++++---------- README_fr.md | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 3133417..467848e 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,15 @@ N.B.: This README was automatically generated by https://github.com/YunoHost/app It shall NOT be edited by hand. --> -# RustDesk for YunoHost +# RustDesk Server for YunoHost -[![Integration level](https://dash.yunohost.org/integration/rustdesk.svg)](https://dash.yunohost.org/appci/app/rustdesk) ![Working status](https://ci-apps.yunohost.org/ci/badges/rustdesk.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/rustdesk.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/rustdesk-server.svg)](https://dash.yunohost.org/appci/app/rustdesk-server) ![Working status](https://ci-apps.yunohost.org/ci/badges/rustdesk-server.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/rustdesk-server.maintain.svg) -[![Install RustDesk with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=rustdesk) +[![Install RustDesk Server with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=rustdesk-server) *[Lire ce readme en français.](./README_fr.md)* -> *This package allows you to install RustDesk quickly and simply on a YunoHost server. +> *This package allows you to install RustDesk Server quickly and simply on a YunoHost server. If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* ## Overview @@ -22,26 +22,26 @@ RustDesk is a full-featured open source remote control alternative for self-host ## Screenshots -![Screenshot of RustDesk](./doc/screenshots/screenshot.png) +![Screenshot of RustDesk Server](./doc/screenshots/screenshot.png) ## Documentation and resources * Official app website: * Official admin documentation: * Upstream app code repository: -* YunoHost Store: -* Report a bug: +* YunoHost Store: +* Report a bug: ## Developer info -Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing). +Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing). To try the testing branch, please proceed like that. ``` bash -sudo yunohost app install https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing --debug +sudo yunohost app install https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing --debug or -sudo yunohost app upgrade rustdesk -u https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing --debug +sudo yunohost app upgrade rustdesk-server -u https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing --debug ``` **More info regarding app packaging:** diff --git a/README_fr.md b/README_fr.md index 828b84f..99381c1 100644 --- a/README_fr.md +++ b/README_fr.md @@ -3,15 +3,15 @@ N.B.: This README was automatically generated by https://github.com/YunoHost/app It shall NOT be edited by hand. --> -# RustDesk pour YunoHost +# RustDesk Server pour YunoHost -[![Niveau d’intégration](https://dash.yunohost.org/integration/rustdesk.svg)](https://dash.yunohost.org/appci/app/rustdesk) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/rustdesk.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/rustdesk.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/rustdesk-server.svg)](https://dash.yunohost.org/appci/app/rustdesk-server) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/rustdesk-server.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/rustdesk-server.maintain.svg) -[![Installer RustDesk avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=rustdesk) +[![Installer RustDesk Server avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=rustdesk-server) *[Read this readme in english.](./README.md)* -> *Ce package vous permet d’installer RustDesk rapidement et simplement sur un serveur YunoHost. +> *Ce package vous permet d’installer RustDesk Server rapidement et simplement sur un serveur YunoHost. Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* ## Vue d’ensemble @@ -22,26 +22,26 @@ RustDesk est une alternative de contrôle à distance open source complète pour ## Captures d’écran -![Capture d’écran de RustDesk](./doc/screenshots/screenshot.png) +![Capture d’écran de RustDesk Server](./doc/screenshots/screenshot.png) ## Documentations et ressources * Site officiel de l’app : * Documentation officielle de l’admin : * Dépôt de code officiel de l’app : -* YunoHost Store: -* Signaler un bug : +* YunoHost Store: +* Signaler un bug : ## Informations pour les développeurs -Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing). +Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing). Pour essayer la branche testing, procédez comme suit. ``` bash -sudo yunohost app install https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing --debug +sudo yunohost app install https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing --debug ou -sudo yunohost app upgrade rustdesk -u https://github.com/YunoHost-Apps/rustdesk_ynh/tree/testing --debug +sudo yunohost app upgrade rustdesk-server -u https://github.com/YunoHost-Apps/rustdesk-server_ynh/tree/testing --debug ``` **Plus d’infos sur le packaging d’applications :** \ No newline at end of file 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 6/7] 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 7/7] 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