1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grist_ynh.git synced 2024-09-03 20:36:18 +02:00

Merge pull request #5 from YunoHost-Apps/testing

Testing
This commit is contained in:
Florent 2023-11-23 22:10:08 +01:00 committed by GitHub
commit 481cef5122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 29 additions and 12 deletions

View file

@ -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>
### 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

View file

@ -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>
### 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

View file

@ -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

View file

@ -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;

View file

@ -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

View file

@ -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: <https://github.com/gristlabs/grist-core/#features>
### Limitations
- You cannot log out from Grist, you have to log out from Yunohost to do that;

View file

@ -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 : <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;

View file

@ -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"

View file

@ -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
#=================================================

View file

@ -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