mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Updated to version 5.4.6
This commit is contained in:
parent
c858534e79
commit
36019b9484
6 changed files with 41 additions and 25 deletions
|
@ -9,7 +9,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
## Overview
|
||||
"Firefly III" is a (self-hosted) manager for your personal finances. It can help you keep track of your expenses and income, so you can spend less and save more. Firefly III supports the use of budgets, categories and tags. It can import data from external sources and it has many neat financial reports available. You can [read all about it in the main repository](https://github.com/firefly-iii/firefly-iii) and in the [official documentation](https://firefly-iii.readthedocs.io/en/latest/).
|
||||
|
||||
**Shipped version:** 5.4.5
|
||||
**Shipped version:** 5.4.6
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
|
|
@ -29,13 +29,11 @@ DEFAULT_LOCALE=equal
|
|||
# For a list of supported time zones, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||
TZ=Europe/Amsterdam
|
||||
|
||||
|
||||
# TRUSTED_PROXIES is a useful variable when using Docker and/or a reverse proxy.
|
||||
# Set it to ** and reverse proxies work just fine.
|
||||
TRUSTED_PROXIES=
|
||||
|
||||
# The log channel defines where your log entries go to.
|
||||
# 'daily' is the default logging mode giving you 5 daily rotated log files in /storage/logs/.
|
||||
# Several other options exist. You can use 'single' for one big fat error log (not recommended).
|
||||
# Also available are 'syslog', 'errorlog' and 'stdout' which will log to the system itself.
|
||||
# A rotating log option is 'daily', creates 5 files that (surprise) rotate.
|
||||
|
@ -181,6 +179,9 @@ AUTHENTICATION_GUARD=web
|
|||
# Some systems use X-Auth headers. In that case, use HTTP_X_AUTH_USERNAME or HTTP_X_AUTH_EMAIL
|
||||
# Depending on your system, REMOTE_USER may need to be changed to HTTP_REMOTE_USER
|
||||
#
|
||||
# If this header is 'unexpectedly empty', check out the documentation.
|
||||
# https://docs.firefly-iii.org/advanced-installation/authentication
|
||||
#
|
||||
AUTHENTICATION_GUARD_HEADER=REMOTE_USER
|
||||
|
||||
#
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
SOURCE_URL=https://github.com/firefly-iii/firefly-iii/archive/5.4.5.tar.gz
|
||||
SOURCE_SUM=3a301dd71e37fde6326e56efe975e55cdc4b81816373a7e3fa22075441c5c253
|
||||
SOURCE_URL=https://github.com/firefly-iii/firefly-iii/archive/5.4.6.tar.gz
|
||||
SOURCE_SUM=a5d26a20e1be112d6dfc63217c0ca8d135e49bdeb3ae1f2aafa869f0bcc3104b
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=firefly-iii-5.4.5.tar.gz
|
||||
SOURCE_FILENAME=
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "A self-hosted financial manager.",
|
||||
"fr": "Un gestionnaire de finances personnelles."
|
||||
},
|
||||
"version": "5.4.5~ynh1",
|
||||
"version": "5.4.6~ynh1",
|
||||
"url": "https://firefly-iii.org/",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"maintainer": {
|
||||
|
|
|
@ -119,7 +119,7 @@ ynh_exec_warn_less ynh_install_composer --phpversion="$phpversion" --workdir="$f
|
|||
ynh_script_progression --message="Modifying a config file..."
|
||||
|
||||
config="$final_path/.env"
|
||||
cp -f "$final_path/.env.example" "$config"
|
||||
cp -f cp ../conf/.env "$config"
|
||||
|
||||
ynh_replace_string --match_string="SomeRandomStringOf32CharsExactly" --replace_string="$random_key" --target_file="$config"
|
||||
ynh_replace_string --match_string="fireflyiiidb" --replace_string="127.0.0.1" --target_file="$config"
|
||||
|
@ -131,12 +131,14 @@ ynh_replace_string --match_string="MAIL_HOST=null" --replace_string="MAIL_HOST=1
|
|||
ynh_replace_string --match_string="MAIL_PORT=2525" --replace_string="MAIL_PORT=25" --target_file="$config"
|
||||
ynh_replace_string --match_string="mail@example.com" --replace_string="$email" --target_file="$config"
|
||||
ynh_replace_string --match_string="changeme@example.com" --replace_string="$app@$domain" --target_file="$config"
|
||||
ynh_replace_string --match_string="ADLDAP_CONTROLLERS=" --replace_string="ADLDAP_CONTROLLERS=127.0.0.1" --target_file="$config"
|
||||
ynh_replace_string --match_string='ADLDAP_BASEDN=""' --replace_string='ADLDAP_BASEDN="dc=yunohost,dc=org"' --target_file="$config"
|
||||
ynh_replace_string --match_string="ADLDAP_ACCOUNT_PREFIX=" --replace_string='ADLDAP_ACCOUNT_PREFIX="uid="' --target_file="$config"
|
||||
ynh_replace_string --match_string="ADLDAP_ACCOUNT_SUFFIX=" --replace_string='ADLDAP_ACCOUNT_SUFFIX=",dc=yunohost,dc=org"' --target_file="$config"
|
||||
ynh_replace_string --match_string="distinguishedname" --replace_string="uid" --target_file="$config"
|
||||
ynh_replace_string --match_string="userprincipalname" --replace_string="uid" --target_file="$config"
|
||||
# These helpers are for reference to impliment remove them once app gets support for LDAP. Put them directly in .env
|
||||
|
||||
# ynh_replace_string --match_string="ADLDAP_CONTROLLERS=" --replace_string="ADLDAP_CONTROLLERS=127.0.0.1" --target_file="$config"
|
||||
# ynh_replace_string --match_string='ADLDAP_BASEDN=""' --replace_string='ADLDAP_BASEDN="dc=yunohost,dc=org"' --target_file="$config"
|
||||
# ynh_replace_string --match_string="ADLDAP_ACCOUNT_PREFIX=" --replace_string='ADLDAP_ACCOUNT_PREFIX="uid="' --target_file="$config"
|
||||
# ynh_replace_string --match_string="ADLDAP_ACCOUNT_SUFFIX=" --replace_string='ADLDAP_ACCOUNT_SUFFIX=",dc=yunohost,dc=org"' --target_file="$config"
|
||||
# ynh_replace_string --match_string="distinguishedname" --replace_string="uid" --target_file="$config"
|
||||
# ynh_replace_string --match_string="userprincipalname" --replace_string="uid" --target_file="$config"
|
||||
ynh_replace_string --match_string="localhost" --replace_string="$domain$path_url" --target_file="$config"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -164,20 +164,33 @@ ynh_exec_warn_less ynh_install_composer --phpversion="$phpversion" --workdir="$f
|
|||
#=================================================
|
||||
#ynh_script_progression --message="Modifying a config file..."
|
||||
|
||||
#config="$final_path/.env"
|
||||
#ynh_backup_if_checksum_is_different --file="$config"
|
||||
#cp ../conf/.env "$config"
|
||||
config="$final_path/.env"
|
||||
ynh_backup_if_checksum_is_different --file="$config"
|
||||
cp ../conf/.env "$config"
|
||||
|
||||
ynh_replace_string --match_string="SomeRandomStringOf32CharsExactly" --replace_string="$random_key" --target_file="$config"
|
||||
ynh_replace_string --match_string="fireflyiiidb" --replace_string="127.0.0.1" --target_file="$config"
|
||||
ynh_replace_string --match_string="DB_DATABASE=firefly" --replace_string="DB_DATABASE=$db_name" --target_file="$config"
|
||||
ynh_replace_string --match_string="DB_USERNAME=firefly" --replace_string="DB_USERNAME=$db_name" --target_file="$config"
|
||||
ynh_replace_string --match_string="secret_firefly_password" --replace_string="$db_pwd" --target_file="$config"
|
||||
ynh_replace_string --match_string="MAIL_MAILER=log" --replace_string="MAIL_MAILER=smtp" --target_file="$config"
|
||||
ynh_replace_string --match_string="MAIL_HOST=null" --replace_string="MAIL_HOST=127.0.0.1" --target_file="$config"
|
||||
ynh_replace_string --match_string="MAIL_PORT=2525" --replace_string="MAIL_PORT=25" --target_file="$config"
|
||||
ynh_replace_string --match_string="mail@example.com" --replace_string="$email" --target_file="$config"
|
||||
ynh_replace_string --match_string="changeme@example.com" --replace_string="$app@$domain" --target_file="$config"
|
||||
# These helpers are for reference to impliment remove them once app gets support for LDAP. Put them directly in .env
|
||||
|
||||
# ynh_replace_string --match_string="ADLDAP_CONTROLLERS=" --replace_string="ADLDAP_CONTROLLERS=127.0.0.1" --target_file="$config"
|
||||
# ynh_replace_string --match_string='ADLDAP_BASEDN=""' --replace_string='ADLDAP_BASEDN="dc=yunohost,dc=org"' --target_file="$config"
|
||||
# ynh_replace_string --match_string="ADLDAP_ACCOUNT_PREFIX=" --replace_string='ADLDAP_ACCOUNT_PREFIX="uid="' --target_file="$config"
|
||||
# ynh_replace_string --match_string="ADLDAP_ACCOUNT_SUFFIX=" --replace_string='ADLDAP_ACCOUNT_SUFFIX=",dc=yunohost,dc=org"' --target_file="$config"
|
||||
# ynh_replace_string --match_string="distinguishedname" --replace_string="uid" --target_file="$config"
|
||||
# ynh_replace_string --match_string="userprincipalname" --replace_string="uid" --target_file="$config"
|
||||
ynh_replace_string --match_string="localhost" --replace_string="$domain$path_url" --target_file="$config"
|
||||
|
||||
#ynh_replace_string --match_string="random_key" --replace_string="$random_key" --target_file="$config"
|
||||
#ynh_replace_string --match_string="yunouser" --replace_string="$db_name" --target_file="$config"
|
||||
#ynh_replace_string --match_string="yunopass" --replace_string="$db_pwd" --target_file="$config"
|
||||
#ynh_replace_string --match_string="yunobase" --replace_string="$db_name" --target_file="$config"
|
||||
#ynh_replace_string --match_string="yunomail" --replace_string="$email" --target_file="$config"
|
||||
#ynh_replace_string --match_string="yunodomain" --replace_string="$domain" --target_file="$config"
|
||||
#ynh_replace_string --match_string="yunoappurl" --replace_string="$domain$path_url" --target_file="$config"
|
||||
|
||||
# Recalculate and store the checksum of the file for the next upgrade.
|
||||
#ynh_store_file_checksum --file="$config"
|
||||
ynh_store_file_checksum --file="$config"
|
||||
|
||||
#=================================================
|
||||
# DEPLOYMENT
|
||||
|
|
Loading…
Reference in a new issue