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

33 commits

Author SHA1 Message Date
e9c418afcb Deduplicate code to wait for server to start 2023-09-06 14:39:23 +02:00
a4b83bcf21 Fix manifestv2 migration 2023-09-06 14:39:23 +02:00
4bc0aea7e7 Automatic migration 2023-09-06 14:39:23 +02:00
yalh76
71b9f4c960 Upgrade to 5.2.0~ynh1 2022-06-11 05:03:46 +02:00
yalh76
7787fa2035 Fix upgrade error
ImportError: cannot import name 'soft_unicode' from 'markupsafe'
2022-03-13 16:02:38 +01:00
yalh76
12a4e9d4f6 Apply last example_ynh 2022-03-13 16:02:11 +01:00
ce58c792c7 Full revamp of ihatemoney_ynh:
* Use example_ynh as a template
* Implement change_url
* Use the new yunohost permissions system
* Use a python3 venv
* Use a systemd service + gunicorn
* Allow multiple instances (stop installing in /opt/yunohost/ihatemoney)
2021-11-10 11:45:14 +01:00
Jocelyn Delalande
0f904d9936 Fix current installation of package
(current installation leads to 502 error with
sqlalchemy.cimmutabledict.immutabledict' object has no attribute 'setdefault'
exception).

Workaround SQLA 4.x backward incompatible change
2021-05-04 11:20:33 +02:00
JocelynDelalande
e0b3522c91
Merge branch 'master' into ihm_4.1.4 2020-07-26 18:23:46 +02:00
Alexandre Aubin
4f64985c8c Fix backup 2020-07-26 18:20:17 +02:00
Alexandre Aubin
d66fcad5ff Misc fixes to make the linter happier 2020-07-26 18:20:17 +02:00
Baptiste Jonglez
07df88fb2a Update to upstream 4.1.4
The werkzeug workaround is no longer needed.
2020-07-21 16:15:53 +02:00
Jocelyn Delalande
1833ec4480 Fix syntax error 2020-04-02 16:52:45 +02:00
Jocelyn Delalande
698195724a Workaround https://github.com/spiral-project/ihatemoney/issues/540 2020-04-02 16:50:27 +02:00
Jocelyn Delalande
cec3ac7b58 Upgrade to upstream 4.x 2019-03-19 12:05:43 +01:00
Jocelyn Delalande
19bede5ab0 Factorize pip stuff
between install and upgrade
2018-12-20 08:07:30 +01:00
Jocelyn Delalande
7dc17c2090 Remove no longer needed helper backport
Introduced in ynh 2.6.1

Ref https://github.com/YunoHost/yunohost/pull/234
2018-12-20 07:32:05 +01:00
Jocelyn Delalande
6fde558788 Upgrade upstream to 3.x
Should fix the failing level2 of yunohost-apps CI also (infinite redirection
bug fixed upstream).

Fix #30
Ref https://github.com/YunoHost/apps/pull/553#issuecomment-448883502
2018-12-20 07:30:28 +01:00
Jocelyn Delalande
533f8824be Work around pip>10 bug with ihm<3.x
See https://github.com/spiral-project/ihatemoney/pull/341

Inspired by #28 thanks @klorydryk :-).
2018-12-18 19:23:09 +01:00
Jocelyn Delalande
87df116166 Handle Python version change on upgrade
Whispers: Actually that is to handle Jessie → Strech upgrade, that switches
from Py 3.4 to 3.5.
2018-12-18 18:28:00 +01:00
Jocelyn Delalande
45f3a39979 Add missing dependency 2018-11-25 17:12:44 +01: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
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
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
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
Jocelyn Delalande
d738df4875 Switchs to python3
rebuilds the venv from scratch on upgrade.
2018-04-03 00:21:10 +02:00
Jocelyn Delalande
8c87bbf809 [fix] typos
Thanks @opi for spotting them
2017-06-24 13:57:20 +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
a949dc1872 [ehn] Factorize code between install and restore
Fix #13
2017-06-19 09:35:17 +02:00
Jocelyn Delalande
00243d4a5c Normalize path 2017-06-18 17:11:10 +02:00
Jocelyn Delalande
b14bea4865 Add backup/restore scripts 2017-06-17 17:28:57 +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