1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00
Commit graph

433 commits

Author SHA1 Message Date
Jocelyn Delalande
45f3a39979 Add missing dependency 2018-11-25 17:12:44 +01:00
Jocelyn Delalande
4f279503d1 Switch to non-deprecated helper: checkurl → ynh_webpath_register
Iso-functionnal commit. Simply removes a warning.
2018-11-25 17:11:09 +01:00
Jocelyn Delalande
98cad80c80 Use systemctl instead of service
Fix #10
2018-07-08 01:31:57 +02:00
Jocelyn Delalande
7a6ddcf2cb Fix install when supervisor is already installed 2018-07-08 01:30:18 +02:00
Jocelyn Delalande
04a8485709 Adapt to PyMysql>=0.9 new requirements
Sadly, this will increase the install time.

Ref https://github.com/spiral-project/ihatemoney/pull/357
Ref https://github.com/PyMySQL/PyMySQL/issues/697
2018-07-08 01:28:26 +02:00
Jocelyn Delalande
992967e5c8 Fail install if the socket is not responding at the end of install 2018-07-08 01:27:18 +02:00
Jocelyn Delalande
2b4743acb3 Add missing dependency
withrdawn by error on py3 switch.
btw use the propper helper to install apt packages

Fix #23
2018-06-24 02:23:01 +02:00
Jocelyn Delalande
0aa5276d98 Be more acurate in comment 2018-06-24 02:22:25 +02:00
Jocelyn Delalande
ca79fcdbdd Upgrade to 2.x upstream
Huge change in package, mainly because we switch from a tarball-based install to a
pip-based install (which is the default install method).

It require quite some refactor to common.sh and a more consistent and clear
migration handing in upgrade script.

Fix #19 #16
2018-06-24 02:22:25 +02:00
Jocelyn Delalande
09458611d1 Document supported YunoHost version 2018-06-24 01:09:57 +02:00
Jocelyn Delalande
0182b3dd08 Remove no longer needed apt dependencies
Since we switched to PyMySQL which is pure-python and do not require C dev
libs.
2018-06-17 01:06:42 +02:00
JocelynDelalande
c51545d015
Fix CI badge URL
GH markdown parser seems to get confused by spaces and/or parenthesis.
2018-04-03 09:31:52 +02:00
JocelynDelalande
009b455db3 Add YNH CI badge 2018-04-03 09:28:20 +02:00
Jocelyn Delalande
6f8b6b7e57 Fix SECRET_KEY regeneration on upgrade
It was failing in case when the random key contained "/" char.
2018-04-03 00:32:08 +02:00
Jocelyn Delalande
efc35dd01d Switch from Python-MySQL → PySQL
Even if Python-MySQL is the default lib for `mysql://` scheme with SQLAlchemy, it
got no release since 2014, and does not support Py3. PySQL seems to be the
current standard.
2018-04-03 00:21:10 +02:00
Jocelyn Delalande
05807e6a47 Add rollback function to upgrade 2018-04-03 00:21:10 +02:00
Jocelyn Delalande
d738df4875 Switchs to python3
rebuilds the venv from scratch on upgrade.
2018-04-03 00:21:10 +02:00
JocelynDelalande
d2bd054afc
Merge pull request #17 from YunoHost-Apps/opi-patch-1
Force redirection to https
2018-02-16 23:37:44 +01:00
opi
feafe46c18 Force redirection to https 2017-08-02 14:13:41 +02:00
Jocelyn Delalande
8c87bbf809 [fix] typos
Thanks @opi for spotting them
2017-06-24 13:57:20 +02:00
JocelynDelalande
745c7554d2 Merge pull request #14 from Jojo144/master
Add Update command to Readme.md
2017-06-24 13:51:58 +02:00
Jojo144
cd52a41672 Add Update command to Readme.md 2017-06-21 21:52:25 +02:00
Jocelyn Delalande
e04ee9c0f2 [fix] fix static path for nginx conf
Was broken since 00243d4
2017-06-21 17:10:26 +02:00
Jocelyn Delalande
bb40c91db7 [fix] Adapt to new ihatemoney settings behaviour
Since v1.0 ihatemoney reads its settings from /etc/ihatemoney/ihatemoney.cfg

See https://github.com/spiral-project/ihatemoney/pull/193
2017-06-21 17:10:26 +02:00
Jocelyn Delalande
daeb45bc40 Upgrade upstream to 1.0 2017-06-20 23:17:07 +02:00
Jocelyn Delalande
633ea90504 Add config file for the CI 2017-06-20 19:07:16 +02:00
Jocelyn Delalande
c3b9424bcc [fix] sync README with reality 2017-06-20 16:40:01 +02:00
Jocelyn Delalande
161ee92fb5 [fix] stop service before removing all the files
Let's be less rude to this poor supervisord :-)
2017-06-20 16:27:48 +02:00
Jocelyn Delalande
c35bff5ded [ehn] reload nginx at the end of install 2017-06-20 16:25:41 +02:00
Jocelyn Delalande
7a68ba1c3e Revert "[ehn] Remove useless lines"
This reverts commit 2c7cb29974.

This commit made package checker failling.
2017-06-19 14:48:19 +02:00
Jocelyn Delalande
a949dc1872 [ehn] Factorize code between install and restore
Fix #13
2017-06-19 09:35:17 +02:00
Jocelyn Delalande
546581d642 [ehn] Use MySQL drop helpers 2017-06-19 02:01:33 +02:00
Jocelyn Delalande
2c7cb29974 [ehn] Remove useless lines 2017-06-19 01:53:45 +02:00
Jocelyn Delalande
7d38d249f4 Fix installation on domain root
`APPLICATION_ROOT='/'` is not working, if we are on root, ihatemoney requires
that the `APPLICATION_ROOT` setting is absent.
2017-06-19 01:20:59 +02:00
Jocelyn Delalande
87fac52549 Fix several mis-ordered and missing instructions 2017-06-18 17:14:35 +02:00
Jocelyn Delalande
1ef89e5ba2 Fix 502 errors right after installation 2017-06-18 17:13:39 +02:00
Jocelyn Delalande
00243d4a5c Normalize path 2017-06-18 17:11:10 +02:00
Jocelyn Delalande
cd65e10413 Fix upgrade script
(common inclusion was failing)
2017-06-17 18:27:41 +02:00
Jocelyn Delalande
b14bea4865 Add backup/restore scripts 2017-06-17 17:28:57 +02:00
Jocelyn Delalande
231bb6e47b Fix http path
Thanks to Maniack C.
2017-06-17 12:59:40 +02:00
Jocelyn Delalande
9b7d0e7ac2 Fix typo 2017-06-17 11:31:38 +02:00
Jocelyn Delalande
14cdb2f5c9 Create /opt/yunohost in install script 2017-06-17 11:11:23 +02:00
Jocelyn Delalande
f65c46a410 Remove now useless source files 2017-06-17 00:44:49 +02:00
Jocelyn Delalande
c114aa6ac8 Use releases tarballs rather than git master.
- upgrade to ihatemoney 0.9
- refactor some code into a `_common.sh`
2017-06-17 00:22:16 +02:00
Jocelyn Delalande
b0ae7b8c77 Use recommended helpers in scripts
Thanks to ynh-package-linter :-)
2017-03-31 15:49:56 +02:00
Jocelyn Delalande
cd55bf42e2 Use the recommended set in scripts 2017-03-18 19:13:10 +01:00
Jocelyn Delalande
939ff61545 Add LICENSE file 2017-03-18 19:10:42 +01:00
Jocelyn Delalande
2b3b63ef27 Merge branch 'upstream'
Conflicts:
	sources/budget/static/css/datepicker.css
	sources/budget/static/js/jquery-1.7.2.min.js
2017-03-18 17:58:12 +01:00
Alexis Metaireau
42854bd064 Merge pull request #176 from 0livd/master
Add export feature
2017-03-11 01:27:41 +01:00
0livd
e35480d6b7 Add export feature
Bills and transactions can now be exported to json or csv

ref #28
2017-03-09 23:24:18 +01:00