1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kresus_ynh.git synced 2024-09-03 19:36:10 +02:00

Merge pull request #30 from nicofrand Upgrade Kresus to 0.14.0

Upgrade Kresus to 0.14.0
This commit is contained in:
Jean-Baptiste 2019-02-27 22:50:21 +01:00 committed by GitHub
commit cc9a879a1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 7 deletions

View file

@ -1,11 +1,11 @@
# Kresus for YunoHost
[![Integration level](https://dash.yunohost.org/integration/kresus.svg)](https://dash.yunohost.org/appci/app/kresus)
[![Integration level](https://dash.yunohost.org/integration/kresus.svg)](https://dash.yunohost.org/appci/app/kresus)
[![Install Kresus with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=kresus)
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 on what you are spending money with the use of tags!
**Shipped version:** 0.13.2
**Shipped version:** 0.14.0
# State of this package
@ -20,6 +20,7 @@ Kresus is an open-source libre self-hosted personal finance manager. It allows y
* [ ] Email support
* [ ] Improve log file and add logrotate
* [ ] Add user who will access the app (by default every one has access to the installed app)
* [ ] Generate a salt for the config file
## Links

View file

@ -14,7 +14,7 @@
setup_nourl=0
setup_private=1
setup_public=0
upgrade=1
upgrade=1 from_commit=c455d5def074eb4012e9c1d07e8e2abba38a3aa9
backup_restore=1
multi_instance=1
incorrect_path=1
@ -35,4 +35,8 @@
Level 10=0
;;; Options
Email=jean-baptiste@holcroft.fr
Notification=all
Notification=all
;;; Upgrade options
; commit=c455d5def074eb4012e9c1d07e8e2abba38a3aa9
name=Upgrade from 0.13
manifest_arg=domain=DOMAIN&path=/

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://framagit.org/kresusapp/kresus/-/archive/0.13.3/kresus-0.13.3.tar.bz2
SOURCE_SUM=b1c4af2cab68dc0c02dcc625be416c1fa59105b1cbd3ec3cd93244296e047f68
SOURCE_URL=https://framagit.org/kresusapp/kresus/-/archive/0.14.0/kresus-0.14.0.tar.bz2
SOURCE_SUM=741a996db2b121e360c0dcf72633d56d010fca22dbf230a99a8be91be3a642bc
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.bz2
SOURCE_IN_SUBDIR=true

View file

@ -41,6 +41,14 @@ url_prefix=__PATH__
; python_exec=python3
python_exec=__FINALPATH__/venv/bin/python
; A salt value used in encryption algorithms (used for instance to
; encrypt/decrypt exports). It should be a random string value with
; at least 16 characters if you decide to provide it.
; Overriden by the KRESUS_SALT environment variable, if it's set.
; Example:
; salt=gj4J89fkjf4h29aDi0f{}fu4389sejk`9osk`
salt=
[weboob]
; The directory in which Weboob core is stored.
; Can be removed; defaults to "", indicating that weboob is already in the

View file

@ -171,7 +171,12 @@ chmod -R 750 "$final_path/data/"
# Set permissions to config files
chown "$app" "$final_path/config.ini"
chmod 600 "$final_path/config.ini" "$final_path/data/weboob-data/backends"
chmod 600 "$final_path/config.ini"
if [ -f "$final_path/data/weboob-data/backends" ]
then
chmod 600 "$final_path/data/weboob-data/backends"
fi
#=================================================
# RELOAD NGINX