mirror of
https://github.com/YunoHost-Apps/grist_ynh.git
synced 2024-09-03 20:36:18 +02:00
commit
481cef5122
10 changed files with 29 additions and 12 deletions
|
@ -27,8 +27,12 @@ Grist is a hybrid database/spreadsheet, meaning that:
|
||||||
|
|
||||||
More about the features can be found here: <https://github.com/gristlabs/grist-core/#features>
|
More about the features can be found here: <https://github.com/gristlabs/grist-core/#features>
|
||||||
|
|
||||||
|
### 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
|
**Demo:** https://docs.getgrist.com
|
||||||
|
|
||||||
|
|
|
@ -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 : <https://github.com/gristlabs/grist-core/#features>
|
Plus d'information sur les fonctionnalités sont disponibles ici : <https://github.com/gristlabs/grist-core/#features>
|
||||||
|
|
||||||
|
### 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
|
**Démo :** https://docs.getgrist.com
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@ TYPEORM_DATABASE=__DATA_DIR__/home.db
|
||||||
PORT=__PORT__
|
PORT=__PORT__
|
||||||
|
|
||||||
# Authentication
|
# Authentication
|
||||||
GRIST_FORWARD_AUTH_HEADER=remote-user
|
GRIST_FORWARD_AUTH_HEADER=Email
|
||||||
GRIST_IGNORE_SESSION=0
|
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
|
GRIST_WIDGET_LIST_URL=https://github.com/gristlabs/grist-widget/releases/download/latest/manifest.json
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__PORT__;
|
proxy_pass http://localhost:__PORT__;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
|
@ -11,6 +11,7 @@ ExecStart=__INSTALL_DIR__/sandbox/run.sh
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
StandardError=journal
|
StandardError=journal
|
||||||
EnvironmentFile=__INSTALL_DIR__/default.env
|
EnvironmentFile=__INSTALL_DIR__/default.env
|
||||||
|
Environment="__YNH_NODE_LOAD_PATH__"
|
||||||
|
|
||||||
# Sandboxing options to harden security
|
# Sandboxing options to harden security
|
||||||
# Depending on specificities of your service/app, you may need to tweak these
|
# Depending on specificities of your service/app, you may need to tweak these
|
||||||
|
|
|
@ -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.
|
- Columns can be filled by formula, spreadsheet-style, with automatic updates when referenced cells change.
|
||||||
|
|
||||||
More about the features can be found here: <https://github.com/gristlabs/grist-core/#features>
|
More about the features can be found here: <https://github.com/gristlabs/grist-core/#features>
|
||||||
|
|
||||||
|
### Limitations
|
||||||
|
|
||||||
|
- You cannot log out from Grist, you have to log out from Yunohost to do that;
|
||||||
|
|
|
@ -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.
|
- 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 : <https://github.com/gristlabs/grist-core/#features>
|
Plus d'information sur les fonctionnalités sont disponibles ici : <https://github.com/gristlabs/grist-core/#features>
|
||||||
|
|
||||||
|
### Limitations
|
||||||
|
|
||||||
|
- Vous ne pouvez pas vous déconnecter depuis Grist, pour ce faire, vous devez vous déconnecter de Yunohost ;
|
||||||
|
|
|
@ -7,7 +7,7 @@ name = "Grist"
|
||||||
description.en = "Modern relational spreadsheet"
|
description.en = "Modern relational spreadsheet"
|
||||||
description.fr = "Feuille de calcul relationnelle moderne"
|
description.fr = "Feuille de calcul relationnelle moderne"
|
||||||
|
|
||||||
version = "1.1.7~ynh1"
|
version = "1.1.8~ynh1"
|
||||||
|
|
||||||
maintainers = ["fflorent"]
|
maintainers = ["fflorent"]
|
||||||
|
|
||||||
|
@ -56,8 +56,8 @@ ram.runtime = "150M"
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
|
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/gristlabs/grist-core/archive/refs/tags/v1.1.7.tar.gz"
|
url = "https://github.com/gristlabs/grist-core/archive/refs/tags/v1.1.8.tar.gz"
|
||||||
sha256 = "9a88ee33ed50786379eb85fdf30d6be1761a7ce402eb4756e4fa0474c862709c"
|
sha256 = "b5ffff86808de1d3b30ab800150032d10e67adfde6f007a7c0a0942e73c4a56e"
|
||||||
|
|
||||||
autoupdate.strategy = "latest_github_tag"
|
autoupdate.strategy = "latest_github_tag"
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# 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
|
# Download, check integrity, uncompress and patch the source from manifest.toml
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
@ -38,7 +38,7 @@ pushd "$install_dir"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd "$install_dir/sandbox/pyodide"
|
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
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -39,7 +39,7 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
|
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
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
|
# Download, check integrity, uncompress and patch the source from manifest.toml
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
@ -58,7 +58,7 @@ then
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd "$install_dir/sandbox/pyodide"
|
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
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue