mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Upgrade to 5.2.0~ynh1
This commit is contained in:
parent
17bde85b09
commit
71b9f4c960
8 changed files with 31 additions and 25 deletions
|
@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
I hate money is a web application made to ease shared budget management. It keeps track of who bought what, when, and for whom; and helps to settle the bills.
|
||||
|
||||
|
||||
**Shipped version:** 4.1.5~ynh3
|
||||
**Shipped version:** 5.2.0~ynh1
|
||||
|
||||
**Demo:** https://ihatemoney.org/demo/
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
I hate money is a web application made to ease shared budget management. It keeps track of who bought what, when, and for whom; and helps to settle the bills.
|
||||
|
||||
|
||||
**Version incluse :** 4.1.5~ynh3
|
||||
**Version incluse :** 5.2.0~ynh1
|
||||
|
||||
**Démo :** https://ihatemoney.org/demo/
|
||||
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
setup_public=1
|
||||
upgrade=1
|
||||
upgrade=1 from_commit=0f904d99367cfec27ec5fe303941fbf1124a7571
|
||||
# 4.1.5~ynh3
|
||||
upgrade=1 from_commit=17bde85b095eddeeb279ef96f5697f92a59380db
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
port_already_use=0
|
||||
|
|
|
@ -1,9 +1,17 @@
|
|||
DEBUG = True
|
||||
DEBUG = False
|
||||
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__'
|
||||
SQLACHEMY_ECHO = DEBUG
|
||||
SQLACHEMY_ECHO = False
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||
SECRET_KEY = "__SECRET_KEY__"
|
||||
|
||||
MAIL_DEFAULT_SENDER = ("Budget manager", "__MAILS_SENDER__")
|
||||
MAIL_DEFAULT_SENDER = "Budget manager <__MAILS_SENDER__>"
|
||||
SHOW_ADMIN_EMAIL = False
|
||||
ACTIVATE_DEMO_PROJECT = False
|
||||
ADMIN_PASSWORD = "RaidW00d"
|
||||
ALLOW_PUBLIC_PROJECT_CREATION = True
|
||||
ACTIVATE_ADMIN_DASHBOARD = True
|
||||
SESSION_COOKIE_SECURE = True
|
||||
ENABLE_CAPTCHA = False
|
||||
LEGAL_LINK = ""
|
||||
__SUB_PATH_ONLY__APPLICATION_ROOT='__PATH__'
|
||||
|
||||
try:
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Simple app to manage your collective expenses",
|
||||
"fr": "Gérez simplement vos dépenses collectives"
|
||||
},
|
||||
"version": "4.1.5~ynh3",
|
||||
"version": "5.2.0~ynh1",
|
||||
"url": "http://ihatemoney.org/",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
|
@ -26,12 +26,12 @@
|
|||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
"nginx",
|
||||
"postfix",
|
||||
"mysql"
|
||||
"nginx",
|
||||
"postfix",
|
||||
"mysql"
|
||||
],
|
||||
"arguments": {
|
||||
"install" : [
|
||||
"install": [
|
||||
{
|
||||
"name": "domain",
|
||||
"type": "domain"
|
||||
|
|
|
@ -13,12 +13,9 @@ pkg_dependencies=(
|
|||
)
|
||||
|
||||
pip_dependencies=(
|
||||
'setuptools>=18.5'
|
||||
'gunicorn>=19.3.0'
|
||||
'PyMySQL>=0.9,<0.10'
|
||||
'SQLAlchemy<1.4'
|
||||
'ihatemoney==4.1.5'
|
||||
'markupsafe==2.0.1'
|
||||
'ihatemoney==5.2.0'
|
||||
'gunicorn>=20.0'
|
||||
'PyMySQL>=0.9,<1.1'
|
||||
)
|
||||
|
||||
### Constants
|
||||
|
|
|
@ -80,7 +80,6 @@ ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name
|
|||
#=================================================
|
||||
# Init venv
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Configuring the app's installation..." --weight=6
|
||||
|
||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
|
|
|
@ -43,13 +43,6 @@ test ! -d $final_path \
|
|||
|
||||
#=================================================
|
||||
# STANDARD RESTORATION STEPS
|
||||
#=================================================
|
||||
# RESTORE THE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the NGINX web server configuration..." --weight=1
|
||||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# RECREATE THE DEDICATED USER
|
||||
#=================================================
|
||||
|
@ -79,6 +72,13 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=4
|
|||
# Define and install dependencies
|
||||
ynh_install_app_dependencies "${pkg_dependencies[@]}"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the NGINX web server configuration..." --weight=1
|
||||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE MYSQL DATABASE
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue