diff --git a/README.md b/README.md index f9337fe..acc39c6 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,12 @@ Grist is a hybrid database/spreadsheet, meaning that: More about the features can be found here: +### Limitations -**Shipped version:** 1.1.7~ynh1 +- You cannot log out from Grist, you have to log out from Yunohost to do that; + + +**Shipped version:** 1.1.8~ynh1 **Demo:** https://docs.getgrist.com diff --git a/README_fr.md b/README_fr.md index 7e7b6ab..e03ae5e 100644 --- a/README_fr.md +++ b/README_fr.md @@ -27,8 +27,12 @@ Grist est une solution hybridant la base de données et le tableur, ce qui signi Plus d'information sur les fonctionnalités sont disponibles ici : +### Limitations -**Version incluse :** 1.1.7~ynh1 +- Vous ne pouvez pas vous déconnecter depuis Grist, pour ce faire, vous devez vous déconnecter de Yunohost ; + + +**Version incluse :** 1.1.8~ynh1 **Démo :** https://docs.getgrist.com diff --git a/conf/default.env b/conf/default.env index a5cea7c..d7502f2 100644 --- a/conf/default.env +++ b/conf/default.env @@ -10,8 +10,8 @@ TYPEORM_DATABASE=__DATA_DIR__/home.db PORT=__PORT__ # Authentication -GRIST_FORWARD_AUTH_HEADER=remote-user -GRIST_IGNORE_SESSION=0 +GRIST_FORWARD_AUTH_HEADER=Email +GRIST_IGNORE_SESSION=0 # SSOWat Removes the authentication headers: https://github.com/YunoHost/SSOwat/blob/38a6f23f3805a098b4ab757ff002f3a5fb3c377a/helpers.lua#L422-L425 GRIST_WIDGET_LIST_URL=https://github.com/gristlabs/grist-widget/releases/download/latest/manifest.json diff --git a/conf/nginx.conf b/conf/nginx.conf index 5445910..27852a1 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,7 +1,7 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { - proxy_pass http://127.0.0.1:__PORT__; + proxy_pass http://localhost:__PORT__; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; diff --git a/conf/systemd.service b/conf/systemd.service index 7e268cf..1c55900 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -11,6 +11,7 @@ ExecStart=__INSTALL_DIR__/sandbox/run.sh StandardOutput=journal StandardError=journal EnvironmentFile=__INSTALL_DIR__/default.env +Environment="__YNH_NODE_LOAD_PATH__" # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index a150602..739111a 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -8,3 +8,7 @@ Grist is a hybrid database/spreadsheet, meaning that: - Columns can be filled by formula, spreadsheet-style, with automatic updates when referenced cells change. More about the features can be found here: + +### Limitations + +- You cannot log out from Grist, you have to log out from Yunohost to do that; diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md index 6e34c72..d959885 100644 --- a/doc/DESCRIPTION_fr.md +++ b/doc/DESCRIPTION_fr.md @@ -8,3 +8,7 @@ Grist est une solution hybridant la base de données et le tableur, ce qui signi - Que les colonnes peuvent être remplies à l'aide de formules, similaires à celles des tableurs, avec une mise à jour automatique quand les cellules référencées sont modifiées. Plus d'information sur les fonctionnalités sont disponibles ici : + +### Limitations + +- Vous ne pouvez pas vous déconnecter depuis Grist, pour ce faire, vous devez vous déconnecter de Yunohost ; diff --git a/manifest.toml b/manifest.toml index 71f455a..b57dd6d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Grist" description.en = "Modern relational spreadsheet" description.fr = "Feuille de calcul relationnelle moderne" -version = "1.1.7~ynh1" +version = "1.1.8~ynh1" maintainers = ["fflorent"] @@ -56,8 +56,8 @@ ram.runtime = "150M" [resources.sources] [resources.sources.main] - url = "https://github.com/gristlabs/grist-core/archive/refs/tags/v1.1.7.tar.gz" - sha256 = "9a88ee33ed50786379eb85fdf30d6be1761a7ce402eb4756e4fa0474c862709c" + url = "https://github.com/gristlabs/grist-core/archive/refs/tags/v1.1.8.tar.gz" + sha256 = "b5ffff86808de1d3b30ab800150032d10e67adfde6f007a7c0a0942e73c4a56e" autoupdate.strategy = "latest_github_tag" diff --git a/scripts/install b/scripts/install index d372ace..38b3f5a 100755 --- a/scripts/install +++ b/scripts/install @@ -22,7 +22,7 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_script_progression --message="Setting up source files..." --weight=1 +ynh_script_progression --message="Setting up source files..." --weight=20 # Download, check integrity, uncompress and patch the source from manifest.toml ynh_setup_source --dest_dir="$install_dir" @@ -38,7 +38,7 @@ pushd "$install_dir" popd pushd "$install_dir/sandbox/pyodide" - ynh_exec_warn_less ynh_exec_as $app make setup + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH make setup popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 2db493d..53f0f2a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -39,7 +39,7 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version if [ "$upgrade_type" == "UPGRADE_APP" ] then - ynh_script_progression --message="Upgrading source files..." --weight=1 + ynh_script_progression --message="Upgrading source files..." --weight=20 # Download, check integrity, uncompress and patch the source from manifest.toml ynh_setup_source --dest_dir="$install_dir" @@ -58,7 +58,7 @@ then popd pushd "$install_dir/sandbox/pyodide" - ynh_exec_warn_less ynh_exec_as $app make setup + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH make setup popd fi