From fcb68e2b5cfc86a670266e37b5fc6bef7999f6cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 15 Jan 2024 10:01:38 +0100 Subject: [PATCH] cleaning --- doc/DESCRIPTION.md | 4 +--- doc/DESCRIPTION_fr.md | 8 ++++++++ doc/POST_INSTALL.md | 2 +- doc/POST_INSTALL_fr.md | 1 + scripts/remove | 1 + scripts/upgrade | 10 +++------- 6 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 doc/DESCRIPTION_fr.md create mode 100644 doc/POST_INSTALL_fr.md diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index 560607c..9558be2 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -1,10 +1,8 @@ NocoDB is an open source NoCode platform that turns any database into a smart spreadsheet, alternative to Airtable. -* Connect to new/existing SQL database and turn them into spreadsheet. +* Connect to new/existing SQL database and turn them into spreadsheet * Create grid view, gallery view, kanban view and calendar view on top your data * Search, sort, filter columns and rows with ultra ease * Invite your team with fine grained Access Control * Share views publicly and also with password protection * Provides REST & GraphQL APIs with Swagger & GraphiQL GUI - -*(from NocoDB's website)* diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md new file mode 100644 index 0000000..d0dd241 --- /dev/null +++ b/doc/DESCRIPTION_fr.md @@ -0,0 +1,8 @@ +NocoDB est une plateforme NoCode open source qui transforme n'importe quelle base de données en une feuille de calcul intelligente, alternative à Airtable. + +* Connectez-vous à une base de données SQL nouvelle/existante et transformez-la en feuille de calcul +* Créez une vue grille, une vue galerie, une vue kanban et une vue calendrier au-dessus de vos données +* Rechercher, trier, filtrer les colonnes et les lignes en toute simplicité +* Invitez votre équipe avec un contrôle d'accès précis +* Partagez vos vues publiquement et également avec une protection par mot de passe +* Fournit des API REST et GraphQL avec l'interface graphique Swagger et GraphiQL \ No newline at end of file diff --git a/doc/POST_INSTALL.md b/doc/POST_INSTALL.md index 3cba203..6ec2b17 100644 --- a/doc/POST_INSTALL.md +++ b/doc/POST_INSTALL.md @@ -1 +1 @@ -You now need to [open __APP__](https://__DOMAIN____PATH__) and create the first admin user. +You now need to open [__APP__](https://__DOMAIN____PATH__) and create the first admin user. diff --git a/doc/POST_INSTALL_fr.md b/doc/POST_INSTALL_fr.md new file mode 100644 index 0000000..74d34c7 --- /dev/null +++ b/doc/POST_INSTALL_fr.md @@ -0,0 +1 @@ +Vous pouvez maintenant ouvrir [__APP__](https://__DOMAIN____PATH__) et créer le premier utilisateur administrateur. \ No newline at end of file diff --git a/scripts/remove b/scripts/remove index c04a74d..83c5e64 100755 --- a/scripts/remove +++ b/scripts/remove @@ -14,6 +14,7 @@ source /usr/share/yunohost/helpers #================================================= # REMOVE SERVICE INTEGRATION IN YUNOHOST #================================================= +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 diff --git a/scripts/upgrade b/scripts/upgrade index e034e45..dedf08b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -27,14 +27,10 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=1 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=1 - - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --keep=".env nc" --full_replace -fi +# Download, check integrity, uncompress and patch the source from app.src +ynh_setup_source --dest_dir="$install_dir" --keep=".env nc" --full_replace chmod -R o-rwx "$install_dir" chown -R $app:$app "$install_dir"