diff --git a/README.md b/README.md index 850b01b..98f171a 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in EtherCalc is a collaborative spreadsheet that can be edited in real time. Each spreadsheet has its own URL. It has the basic functionalities: formatting, mathematical functions, graphics, adding comments, version history, export in HTML or in CSV. EtherCalc is a decentralized software: different instances allow the use of the service, they are made available by several organizations (for example the eponymous site or the FramaCalc service). This makes it possible to avoid concentrating all the data in the hands of the same actor. Instances can be personalized (limitation of the duration of hosting of the spreadsheet, modification of the design, etc.). -**Shipped version:** 20201228~ynh9 +**Shipped version:** 20240101~ynh1 **Demo:** https://ethercalc.net/ diff --git a/README_fr.md b/README_fr.md index ba51a6b..b728306 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po EtherCalc est un tableur collaboratif éditable en temps réel. Chaque tableur possède sa propre URL. Il dispose des fonctionnalités de base : mise en forme, fonctions mathématiques, graphiques, ajout de commentaires, historique des versions, export en HTML ou en CSV. EtherCalc est un logiciel décentralisé : différentes instances permettent d'utiliser le service, elles sont mises à disposition par plusieurs organisations (par exemple le site éponyme ou le service FramaCalc). Cela permet d'éviter de concentrer toutes les données entre les mains d'un même acteur. Les instances peuvent être personnalisées (limitation de la durée d'hébergement du tableur, modification du design, etc.). -**Version incluse :** 20201228~ynh9 +**Version incluse :** 20240101~ynh1 **Démo :** https://ethercalc.net/ diff --git a/manifest.toml b/manifest.toml index a3ba62b..12b42f1 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "EtherCalc" description.en = "Real-time collaborative spreadsheet editor" description.fr = "Feuille de calcul collaborative en ligne" -version = "20201228~ynh9" +version = "20240101~ynh1" maintainers = ["ljf"] @@ -16,19 +16,21 @@ demo = "https://ethercalc.net/" code = "https://github.com/audreyt/ethercalc" [integration] -yunohost = ">= 11.1.19" +yunohost = ">= 11.2" architectures = "all" multi_instance = true + ldap = false + sso = false + disk = "50M" -ram.build = "50M" +ram.build = "500M" ram.runtime = "50M" [install] [install.domain] type = "domain" - full_domain = true [install.init_main_permission] type = "group" diff --git a/scripts/install b/scripts/install index c2acfad..55e99f0 100644 --- a/scripts/install +++ b/scripts/install @@ -14,7 +14,6 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Installing dependencies..." --weight=20 -# Install Nodejs ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version #================================================= @@ -22,7 +21,6 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version #================================================= ynh_script_progression --message="Setting up source files..." --weight=2 -# Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir=$install_dir chmod -R o-rwx "$install_dir" @@ -34,7 +32,6 @@ chmod +x $install_dir/bin/runSafe.sh #================================================= ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 -# Create a dedicated NGINX config ynh_add_nginx_config env_path="$PATH" @@ -49,6 +46,7 @@ ynh_script_progression --message="Building EtherCalc... (this will take some tim pushd "$install_dir" ynh_use_nodejs + ynh_secure_remove --file="$install_dir/package-lock.json" ynh_exec_warn_less npm i -g ethercalc ynh_exec_warn_less npm i zappajs popd diff --git a/scripts/remove b/scripts/remove index ee3f6f6..25e1853 100644 --- a/scripts/remove +++ b/scripts/remove @@ -16,20 +16,16 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Removing system configurations related to $app..." --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 ynh_script_progression --message="Removing $app service integration..." --weight=2 yunohost service remove $app fi -# Remove the dedicated systemd config ynh_remove_systemd_config -# Remove metapackage and its dependencies ynh_remove_nodejs -# Remove the dedicated NGINX config ynh_remove_nginx_config #================================================= diff --git a/scripts/restore b/scripts/restore index 2208cab..0b031df 100644 --- a/scripts/restore +++ b/scripts/restore @@ -27,7 +27,6 @@ chmod +x $install_dir/bin/runSafe.sh #================================================= ynh_script_progression --message="Reinstalling dependencies..." --weight=1 -# Install Nodejs ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index fe29ad4..cf93efb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -47,10 +47,8 @@ chmod +x $install_dir/bin/runSafe.sh #================================================= ynh_script_progression --message="Updating a configuration file..." --weight=1 -# Install Nodejs ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version -# Create a dedicated nginx config ynh_add_nginx_config env_path="$PATH" @@ -66,6 +64,7 @@ ynh_script_progression --message="Building EtherCalc... (this will take some tim pushd "$install_dir" ynh_use_nodejs + ynh_secure_remove --file="$install_dir/package-lock.json" ynh_exec_warn_less npm install -g ethercalc ynh_exec_warn_less npm i zappajs popd