diff --git a/README.md b/README.md index 181ef46..ed69214 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to ## Overview Etherpad allows you to edit documents collaboratively in real-time, much like a live multi-player editor that runs in your browser. Write articles, press releases, to-do lists, etc. together with your friends, fellow students or colleagues, all working on the same document at the same time. -**Shipped version:** 1.8.12 +**Shipped version:** 1.8.13 ## Screenshots @@ -32,8 +32,8 @@ You can access Etherpad's admin panel at `domain.tld/admin`. The configuration f ## Documentation - * Official documentation: http://etherpad.org/doc/v1.8.10 - * YunoHost documentation: https://yunohost.org/#/app_etherpad + * Official documentation: http://etherpad.org/doc/v1.8.13 + * YunoHost documentation: https://yunohost.org/en/app_etherpad ## YunoHost specific features diff --git a/README_fr.md b/README_fr.md index f071e43..f583c69 100644 --- a/README_fr.md +++ b/README_fr.md @@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, merci de regarder [ici](https://yunohost.org/#/inst ## Résumé Etherpad vous permet d'éditer des documents de manière collaborative en temps réel, un peu comme un éditeur multi-joueurs en direct qui s'exécute dans votre navigateur. Rédigez des articles, des communiqués de presse, des listes de choses à faire, etc. avec vos amis, camarades ou collègues, tous travaillant sur le même document en même temps. -**Version embarquée :** 1.8.12 +**Version embarquée :** 1.8.13 ## Captures d'écran @@ -32,8 +32,8 @@ Vous pouvez accéder au panneau d'administration d'Etherpad à l'adresse `domain ## Documentation - * Documentation officielle : http://etherpad.org/doc/v1.8.10 - * Documentation YunoHost : https://yunohost.org/#/app_etherpad + * Documentation officielle : http://etherpad.org/doc/v1.8.13 + * Documentation YunoHost : https://yunohost.org/fr/app_etherpad ## Fonctionnalités spécifiques à YunoHost diff --git a/check_process b/check_process index 1f2b584..2cae47d 100644 --- a/check_process +++ b/check_process @@ -23,7 +23,6 @@ upgrade=1 backup_restore=1 multi_instance=1 - port_already_use=0 change_url=1 ;;; Options Email= diff --git a/scripts/install b/scripts/install index 75b4eed..385dbd8 100644 --- a/scripts/install +++ b/scripts/install @@ -138,7 +138,7 @@ ynh_script_progression --message="Configuring Etherpad..." --weight=6 cp ../conf/settings.json $final_path/settings.json -ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/settings.json" +ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/settings.json" ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/settings.json" if [ "$export" = "abiword" ] then @@ -156,7 +156,6 @@ fi ynh_store_file_checksum --file="$final_path/settings.json" ynh_add_config --template="../conf/credentials.json" --destination="$final_path/credentials.json" -ynh_store_file_checksum --file="$final_path/credentials.json" #================================================= # GENERIC FINALIZATION @@ -166,6 +165,7 @@ ynh_store_file_checksum --file="$final_path/credentials.json" # Set permissions to app files chown -R $app: $final_path +chmod o-rwx $final_path chmod 600 $final_path/credentials.json #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 51a3789..9465ab4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -158,7 +158,7 @@ ynh_backup_if_checksum_is_different --file="$final_path/settings.json" cp ../conf/settings.json $final_path/settings.json -ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/settings.json" +ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/settings.json" ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/settings.json" if [ "$export" = "abiword" ] then @@ -175,9 +175,7 @@ then fi ynh_store_file_checksum --file="$final_path/settings.json" -ynh_backup_if_checksum_is_different --file="$final_path/credentials.json" ynh_add_config --template="../conf/credentials.json" --destination="$final_path/credentials.json" -ynh_store_file_checksum --file="$final_path/credentials.json" #================================================= # GENERIC FINALIZATION @@ -187,6 +185,7 @@ ynh_store_file_checksum --file="$final_path/credentials.json" # Set permissions on app files chown -R $app: $final_path +chmod o-rwx $final_path chmod 600 $final_path/credentials.json #=================================================