mirror of
https://github.com/YunoHost-Apps/kresus_ynh.git
synced 2024-09-03 19:36:10 +02:00
Merge branch 'master' into testing
This commit is contained in:
commit
1844ff274f
8 changed files with 13 additions and 13 deletions
|
@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
Kresus is an open-source libre self-hosted personal finance manager. It allows you to safely track your banking history, check your overall balance and know exactly how you are spending money using categories!
|
Kresus is an open-source libre self-hosted personal finance manager. It allows you to safely track your banking history, check your overall balance and know exactly how you are spending money using categories!
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 0.18.1~ynh8
|
**Shipped version:** 0.19.4~ynh3
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
||||||
|
|
||||||
Kresus est un gestionnaire de finances personnelles gratuit et libre qui tourne sur votre serveur. Il récupère automatiquement et quotidiennement toutes vos nouvelles transactions bancaires et vous permet de les catégoriser, étudier via des graphiques, et établir un budget.
|
Kresus est un gestionnaire de finances personnelles gratuit et libre qui tourne sur votre serveur. Il récupère automatiquement et quotidiennement toutes vos nouvelles transactions bancaires et vous permet de les catégoriser, étudier via des graphiques, et établir un budget.
|
||||||
|
|
||||||
**Version incluse :** 0.18.1~ynh8
|
**Version incluse :** 0.19.4~ynh3
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://framagit.org/kresusapp/kresus/-/archive/0.18.1/kresus-0.18.1.tar.bz2
|
SOURCE_URL=https://framagit.org/kresusapp/kresus/-/archive/0.19.4/kresus-0.19.4.tar.bz2
|
||||||
SOURCE_SUM=3a32a3c78a3b724fd186ad212e743894872a0a7aee6efa8f02c454a76973e1ed
|
SOURCE_SUM=c168beaa37194f9e89c5f89bb163ea77dec8d7ce13fd1517e5c8d2b00a6234a9
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.bz2
|
SOURCE_FORMAT=tar.bz2
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
alias __FINALPATH__/build/client/;
|
alias __FINALPATH__/build/client/;
|
||||||
try_files $uri $uri/index.html @kresus;
|
try_files $uri $uri/index.html @__NAME__;
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
|
@ -11,10 +11,10 @@ location __PATH__/ {
|
||||||
location ~ __PATH__/\.(css|js|png|jpe?g|svg|eot|woff2?)$ {
|
location ~ __PATH__/\.(css|js|png|jpe?g|svg|eot|woff2?)$ {
|
||||||
more_set_headers 'Cache-Control: max-age=2592000, must-revalidate, public';
|
more_set_headers 'Cache-Control: max-age=2592000, must-revalidate, public';
|
||||||
gzip_types text/plain text/css application/javascript text/javascript;
|
gzip_types text/plain text/css application/javascript text/javascript;
|
||||||
try_files $uri $uri/index.html @kresus;
|
try_files $uri $uri/index.html @__NAME__;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @kresus {
|
location @__NAME__ {
|
||||||
client_max_body_size 8M;
|
client_max_body_size 8M;
|
||||||
send_timeout 600;
|
send_timeout 600;
|
||||||
proxy_connect_timeout 600;
|
proxy_connect_timeout 600;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Personal finance manager",
|
"en": "Personal finance manager",
|
||||||
"fr": "Outil personnel de gestion de finances"
|
"fr": "Outil personnel de gestion de finances"
|
||||||
},
|
},
|
||||||
"version": "0.18.1~ynh8",
|
"version": "0.19.4~ynh3",
|
||||||
"url": "https://framagit.org/kresusapp/kresus",
|
"url": "https://framagit.org/kresusapp/kresus",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# dependencies used by the app (must be on a single line)
|
# dependencies used by the app (must be on a single line)
|
||||||
pkg_dependencies="locales git python3 python3-dev python3-pip python3-selenium libffi-dev libxml2-dev libxslt-dev libyaml-dev libtiff-dev libjpeg-dev libopenjp2-7-dev zlib1g-dev libfreetype6-dev libwebp-dev build-essential gcc g++ wget unzip mupdf-tools libnss3-tools python3-nss virtualenv postgresql"
|
pkg_dependencies="locales git python3 python3-dev python3-pip python3-selenium python3-josepy libffi-dev libxml2-dev libxslt-dev libyaml-dev libtiff-dev libjpeg-dev libopenjp2-7-dev zlib1g-dev libfreetype6-dev libwebp-dev build-essential gcc g++ wget unzip mupdf-tools libnss3-tools python3-nss virtualenv postgresql"
|
||||||
|
|
||||||
nodejs_version=16
|
nodejs_version=16
|
||||||
|
|
||||||
|
|
|
@ -134,7 +134,7 @@ ynh_exec_as $app virtualenv --python=python3 --system-site-packages "${final_pat
|
||||||
source "${final_path}/venv/bin/activate"
|
source "${final_path}/venv/bin/activate"
|
||||||
set -o nounset
|
set -o nounset
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_exec_as $app RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -q -y'
|
ynh_exec_warn_less ynh_exec_as $app RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -q -y --default-toolchain=stable --profile=minimal'
|
||||||
export PATH="$final_path/.cargo/bin:$PATH"
|
export PATH="$final_path/.cargo/bin:$PATH"
|
||||||
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade pip
|
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade pip
|
||||||
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade setuptools
|
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade setuptools
|
||||||
|
@ -153,7 +153,7 @@ ynh_script_progression --message="Installing app..." --weight=1
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
(
|
(
|
||||||
cd "$final_path"
|
cd "$final_path"
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean --all
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean --all
|
||||||
ynh_secure_remove --file="$final_path/.cache"
|
ynh_secure_remove --file="$final_path/.cache"
|
||||||
ynh_secure_remove --file="$final_path/.yarn"
|
ynh_secure_remove --file="$final_path/.yarn"
|
||||||
|
|
|
@ -165,7 +165,7 @@ ynh_exec_as $app virtualenv --python=python3 --system-site-packages "${final_pat
|
||||||
source "${final_path}/venv/bin/activate"
|
source "${final_path}/venv/bin/activate"
|
||||||
set -o nounset
|
set -o nounset
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_exec_as $app RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -q -y'
|
ynh_exec_warn_less ynh_exec_as $app RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -q -y --default-toolchain=stable --profile=minimal'
|
||||||
export PATH="$final_path/.cargo/bin:$PATH"
|
export PATH="$final_path/.cargo/bin:$PATH"
|
||||||
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade pip
|
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade pip
|
||||||
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade setuptools
|
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade setuptools
|
||||||
|
@ -189,7 +189,7 @@ ynh_use_nodejs
|
||||||
# linked to modules compiled for the previous version.
|
# linked to modules compiled for the previous version.
|
||||||
ynh_secure_remove --file="$final_path/node_modules"
|
ynh_secure_remove --file="$final_path/node_modules"
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean --all
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean --all
|
||||||
ynh_secure_remove --file="$final_path/.cache"
|
ynh_secure_remove --file="$final_path/.cache"
|
||||||
ynh_secure_remove --file="$final_path/.yarn"
|
ynh_secure_remove --file="$final_path/.yarn"
|
||||||
|
|
Loading…
Reference in a new issue