1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00
This commit is contained in:
ericgaspar 2021-03-24 22:00:41 +01:00
parent ccc6ee080c
commit ad1a9d835c
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 10 additions and 12 deletions

View file

@ -14,7 +14,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
## Overview ## 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. 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 ## Screenshots
@ -32,8 +32,8 @@ You can access Etherpad's admin panel at `domain.tld/admin`. The configuration f
## Documentation ## Documentation
* Official documentation: http://etherpad.org/doc/v1.8.10 * Official documentation: http://etherpad.org/doc/v1.8.13
* YunoHost documentation: https://yunohost.org/#/app_etherpad * YunoHost documentation: https://yunohost.org/en/app_etherpad
## YunoHost specific features ## YunoHost specific features

View file

@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, merci de regarder [ici](https://yunohost.org/#/inst
## Résumé ## 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. 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 ## Captures d'écran
@ -32,8 +32,8 @@ Vous pouvez accéder au panneau d'administration d'Etherpad à l'adresse `domain
## Documentation ## Documentation
* Documentation officielle : http://etherpad.org/doc/v1.8.10 * Documentation officielle : http://etherpad.org/doc/v1.8.13
* Documentation YunoHost : https://yunohost.org/#/app_etherpad * Documentation YunoHost : https://yunohost.org/fr/app_etherpad
## Fonctionnalités spécifiques à YunoHost ## Fonctionnalités spécifiques à YunoHost

View file

@ -23,7 +23,6 @@
upgrade=1 upgrade=1
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=0
change_url=1 change_url=1
;;; Options ;;; Options
Email= Email=

View file

@ -138,7 +138,7 @@ ynh_script_progression --message="Configuring Etherpad..." --weight=6
cp ../conf/settings.json $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" ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/settings.json"
if [ "$export" = "abiword" ] if [ "$export" = "abiword" ]
then then
@ -156,7 +156,6 @@ fi
ynh_store_file_checksum --file="$final_path/settings.json" ynh_store_file_checksum --file="$final_path/settings.json"
ynh_add_config --template="../conf/credentials.json" --destination="$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 # GENERIC FINALIZATION
@ -166,6 +165,7 @@ ynh_store_file_checksum --file="$final_path/credentials.json"
# Set permissions to app files # Set permissions to app files
chown -R $app: $final_path chown -R $app: $final_path
chmod o-rwx $final_path
chmod 600 $final_path/credentials.json chmod 600 $final_path/credentials.json
#================================================= #=================================================

View file

@ -158,7 +158,7 @@ ynh_backup_if_checksum_is_different --file="$final_path/settings.json"
cp ../conf/settings.json $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" ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/settings.json"
if [ "$export" = "abiword" ] if [ "$export" = "abiword" ]
then then
@ -175,9 +175,7 @@ then
fi fi
ynh_store_file_checksum --file="$final_path/settings.json" 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_add_config --template="../conf/credentials.json" --destination="$final_path/credentials.json"
ynh_store_file_checksum --file="$final_path/credentials.json"
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
@ -187,6 +185,7 @@ ynh_store_file_checksum --file="$final_path/credentials.json"
# Set permissions on app files # Set permissions on app files
chown -R $app: $final_path chown -R $app: $final_path
chmod o-rwx $final_path
chmod 600 $final_path/credentials.json chmod 600 $final_path/credentials.json
#================================================= #=================================================