diff --git a/README.md b/README.md index e38ba27..4642bfe 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* ## Overview -Terminal in browser over http/https. (Ajaxterm/Anyterm alternative, but much better) +Terminal in browser over HTTP/HTTPS. (Ajaxterm/Anyterm alternative, but much better) **Shipped version:** 2.0.2 @@ -20,8 +20,8 @@ Terminal in browser over http/https. (Ajaxterm/Anyterm alternative, but much bet ## Configuration There is few configuration in Wetty: -* Startup config (listen port, URL path, ssh host) is contained in the SystemD service file -* User interface configuration is done through the web gui itself. +* Startup config (listen port, URL path, SSH host) is contained in the systemd service file +* User interface configuration is done through the web GUI itself. ## Documentation diff --git a/README_fr.md b/README_fr.md index ee0ec4b..d42ce37 100644 --- a/README_fr.md +++ b/README_fr.md @@ -9,7 +9,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.* ## Vue d'ensemble -Terminal dans un navigateur par http/https. (Alternative à Ajaxterm/Anyterm, mais bien meilleure) +Terminal dans un navigateur par HTTP/HTTPS. (Alternative à Ajaxterm/Anyterm, mais bien meilleure) **Version incluse :** 2.0.2 @@ -20,7 +20,7 @@ Terminal dans un navigateur par http/https. (Alternative à Ajaxterm/Anyterm, ma ## Configuration Il y a peu de configuration dans Wetty : -* La configuration de démarrage (port d'écoute, chemin d'url, hôte ssh) est contenue dans le fichier de service SystemD +* La configuration de démarrage (port d'écoute, chemin d'URL, hôte SSH) est contenue dans le fichier de service systemd * La configuration de l'interface utilisateur se fait via l'interface graphique Web elle-même. ## Documentation @@ -32,10 +32,8 @@ Il y a peu de configuration dans Wetty : #### Support multi-utilisateur -* L'authentification LDAP et HTTP est-elle prise en charge ? -* L'application peut-elle être utilisée par plusieurs utilisateurs ? - -La notion de multi-utilisateur ne s'applique pas. Vous pouvez vous connecter en tant que n'importe quel utilisateur *système* qui autorise la connexion SSH locale. +* L'authentification LDAP et HTTP est-elle prise en charge ? **Non** +* L'application peut-elle être utilisée par plusieurs utilisateurs ? La notion de multi-utilisateur ne s'applique pas. Vous pouvez vous connecter en tant que n'importe quel utilisateur *système* qui autorise la connexion SSH locale. Vous pouvez spécifier lors de l'installation si les utilisateurs doivent d'abord se connecter à YunoHost pour pouvoir accéder à Wetty, ou si les visiteurs peuvent également y accéder. diff --git a/manifest.json b/manifest.json index d041913..53b7097 100644 --- a/manifest.json +++ b/manifest.json @@ -3,12 +3,12 @@ "id": "wetty", "packaging_format": 1, "description": { - "en": "Terminal in browser over http/https. (Ajaxterm/Anyterm alternative, but much better)", - "fr": "Un terminal dans le navigateur sur http/https. (Alternative à Ajaxterm/Anyterm, mais bien meilleur)" + "en": "Terminal in browser over HTTP/HTTPS.", + "fr": "Un terminal dans le navigateur sur HTTP/HTTPS." }, "version": "2.0.2~ynh1", "url": "https://github.com/butlerx/wetty/", - "license": "free", + "license": "MIT", "maintainer": { "name": "Salamandar", "email": "salamandar@salamandar.fr" diff --git a/scripts/backup b/scripts/backup index 16e5992..a89b570 100755 --- a/scripts/backup +++ b/scripts/backup @@ -6,7 +6,6 @@ # IMPORT GENERIC HELPERS #================================================= -#Keep this path for calling _common.sh inside the execution's context of backup and restore scripts source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers @@ -65,4 +64,4 @@ ynh_backup --src_path="/etc/systemd/system/$app.service" # END OF SCRIPT #================================================= -ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." +ynh_print_info --message="Backup script completed for Wetty. (YunoHost will then actually copy those files to the archive)." diff --git a/scripts/change_url b/scripts/change_url index 06c15a8..15aae72 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -35,7 +35,7 @@ port=$(ynh_app_setting_get --app="$app" --key=port) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up the app before changing its URL (may take a while)..." --weight=1 +ynh_script_progression --message="Backing up Wetty before changing its URL (may take a while)..." --weight=1 # Backup the current version of the app ynh_backup_before_upgrade @@ -75,22 +75,22 @@ ynh_systemd_action --service_name="$app" --action="stop" --log_path="/var/log/$a #================================================= # MODIFY URL IN NGINX CONF #================================================= -ynh_script_progression --message="Updating nginx web server configuration..." --weight=1 +ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1 nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf -# Change the path in the nginx config file +# Change the path in the NGINX config file if [ $change_path -eq 1 ]; then - # Make a backup of the original nginx config file if modified + # Make a backup of the original NGINX config file if modified ynh_backup_if_checksum_is_different --file="$nginx_conf_path" - # Set global variables for nginx helper + # Set global variables for NGINX helper domain="$old_domain" path_url="$new_path" - # Create a dedicated nginx config + # Create a dedicated NGINX config ynh_add_nginx_config fi -# Change the domain for nginx +# Change the domain for NGINX if [ $change_domain -eq 1 ]; then # Delete file checksum for the old conf file location ynh_delete_file_checksum --file="$nginx_conf_path" @@ -104,7 +104,7 @@ fi #================================================= # BUILD YARN DEPENDENCIES #================================================= -ynh_script_progression --message="Rebuilding yarn dependencies..." --weight=2 +ynh_script_progression --message="Rebuilding Yarn dependencies..." --weight=2 chown -R "$app":"$app" "$final_path" @@ -150,7 +150,7 @@ ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$ #================================================= # RELOAD NGINX #================================================= -ynh_script_progression --message="Reloading nginx web server..." --weight=1 +ynh_script_progression --message="Reloading NGINX web server..." --weight=1 ynh_systemd_action --service_name=nginx --action=reload @@ -158,4 +158,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Change of URL completed for $app" --last +ynh_script_progression --message="Change of URL completed for Wetty" --last diff --git a/scripts/install b/scripts/install index 4ce5731..4aa1374 100755 --- a/scripts/install +++ b/scripts/install @@ -85,9 +85,9 @@ ynh_setup_source --dest_dir="$final_path" #================================================= # NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Configuring nginx web server..." --weight=1 +ynh_script_progression --message="Configuring NGINX web server..." --weight=1 -# Create a dedicated nginx config +# Create a dedicated NGINX config ynh_add_nginx_config #================================================= @@ -103,7 +103,7 @@ ynh_system_user_create --username="$app" --home_dir="$final_path" #================================================= # BUILD YARN DEPENDENCIES #================================================= -ynh_script_progression --message="Building yarn dependencies... This may take several minutes for a first install." --weight=6 +ynh_script_progression --message="Building Yarn dependencies... This may take several minutes for a first install." --weight=6 chown -R "$app":"$app" "$final_path" @@ -174,7 +174,7 @@ fi #================================================= # RELOAD NGINX #================================================= -ynh_script_progression --message="Reloading nginx web server..." --weight=1 +ynh_script_progression --message="Reloading NGINX web server..." --weight=1 ynh_systemd_action --service_name=nginx --action=reload @@ -182,4 +182,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of $app completed" --last +ynh_script_progression --message="Installation of Wetty completed" --last diff --git a/scripts/remove b/scripts/remove index 7ab9df9..91bbf2b 100755 --- a/scripts/remove +++ b/scripts/remove @@ -23,7 +23,7 @@ final_path=$(ynh_app_setting_get --app="$app" --key=final_path) #================================================= # REMOVE SERVICE INTEGRATION IN YUNOHOST #================================================= -ynh_script_progression --message="Removing $app service integration..." --weight=1 +ynh_script_progression --message="Removing Wetty service integration..." --weight=1 # Remove the service from the list of services known by Yunohost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status "$app" >/dev/null; then @@ -49,7 +49,7 @@ ynh_remove_app_dependencies #================================================= # REMOVE APP MAIN DIR #================================================= -ynh_script_progression --message="Removing app main directory..." --weight=1 +ynh_script_progression --message="Removing Wetty main directory..." --weight=1 # Remove the app directory securely ynh_secure_remove --file="$final_path" @@ -57,9 +57,9 @@ ynh_secure_remove --file="$final_path" #================================================= # REMOVE NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Removing nginx web server configuration..." --weight=1 +ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1 -# Remove the dedicated nginx config +# Remove the dedicated NGINX config ynh_remove_nginx_config #================================================= @@ -107,4 +107,4 @@ ynh_system_user_delete --username="$app" # END OF SCRIPT #================================================= -ynh_script_progression --message="Removal of $app completed" --last +ynh_script_progression --message="Removal of Wetty completed" --last diff --git a/scripts/restore b/scripts/restore index e0b734a..ef1ac52 100755 --- a/scripts/restore +++ b/scripts/restore @@ -6,7 +6,6 @@ # IMPORT GENERIC HELPERS #================================================= -#Keep this path for calling _common.sh inside the execution's context of backup and restore scripts source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers @@ -52,7 +51,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # RESTORE THE APP MAIN DIR #================================================= -ynh_script_progression --message="Restoring the app main directory..." --weight=1 +ynh_script_progression --message="Restoring Wetty main directory..." --weight=1 ynh_restore_file --origin_path="$final_path" @@ -118,7 +117,7 @@ ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$ #================================================= # RELOAD NGINX #================================================= -ynh_script_progression --message="Reloading nginx web server..." --weight=1 +ynh_script_progression --message="Reloading NGINX web server..." --weight=1 ynh_systemd_action --service_name=nginx --action=reload @@ -126,4 +125,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app" --last +ynh_script_progression --message="Restoration completed for Wetty" --last diff --git a/scripts/upgrade b/scripts/upgrade index d48b2da..35f554d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,7 +51,7 @@ fi #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=3 +ynh_script_progression --message="Backing up Wetty before upgrading (may take a while)..." --weight=3 # Backup the current version of the app ynh_backup_before_upgrade @@ -96,9 +96,9 @@ fi #================================================= # NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Upgrading nginx web server configuration..." --weight=1 +ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1 -# Create a dedicated nginx config +# Create a dedicated NGIN config ynh_add_nginx_config #================================================= @@ -114,7 +114,7 @@ ynh_system_user_create --username="$app" --home_dir="$final_path" #================================================= # BUILD YARN DEPENDENCIES #================================================= -ynh_script_progression --message="Rebuilding yarn dependencies..." --weight=2 +ynh_script_progression --message="Rebuilding Yarn dependencies..." --weight=2 chown -R "$app":"$app" "$final_path" @@ -187,7 +187,7 @@ fi #================================================= # RELOAD NGINX #================================================= -ynh_script_progression --message="Reloading nginx web server..." --weight=1 +ynh_script_progression --message="Reloading NGINX web server..." --weight=1 ynh_systemd_action --service_name=nginx --action=reload @@ -195,4 +195,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Upgrade of $app completed" --last +ynh_script_progression --message="Upgrade of Wetty completed" --last