86fabff238
Update upstream to 6.1
2023-10-03 16:21:01 +02:00
942bd045dc
Fix install directory permissions
2023-09-08 23:06:32 +02:00
Félix Piédallu
68eed5b920
Cleanup: double quotes, remove chown/chmod duplicates.
2023-09-06 14:39:23 +02:00
Félix Piédallu
bb1505e55c
Indent with spaces
2023-09-06 14:39:23 +02:00
Félix Piédallu
4093b18e9b
Implement a _hash_password helper that only requires standard python lib.
2023-09-06 14:39:23 +02:00
6cdfab52e3
Handle password send via POST_UPGRADE.d
2023-09-06 14:39:23 +02:00
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
Félix Piédallu
b35e273f4b
Forgot one ynh_systemd_action --log_path...
2023-09-05 16:40:45 +02:00
Félix Piédallu
3d7d325fd4
Fix ynh_systemd_action: log_path is now /var/log/$app/$app.log, the default.
2023-09-05 14:08:00 +02:00
cde4364797
Configure logging to /var/log/ihatemoney
2023-09-05 14:08:00 +02:00
yalh76
7cc5132693
Fix hashed password
2022-06-16 14:31:56 +02:00
yalh76
557ca10a2f
Better upgrade
2022-06-14 00:48:24 +02:00
yalh76
b56654d4c1
Manage ADMIN_PASSWORD
2022-06-14 00:13:19 +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
ericgaspar
e3ed92d645
Remove time
2021-12-18 13:50:27 +01:00
Salamandar
22274b3895
Update scripts/upgrade log_type -> log
...
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2021-12-16 19:41:42 +01:00
Salamandar
5344aec40e
Update scripts/restore log_type -> log
...
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2021-12-16 19:41:34 +01:00
Salamandar
c187a39fe1
Update scripts/install log_type -> log
...
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2021-12-16 19:41:08 +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
bb8c70fff6
Dropping requirement on python2
...
Nitpicking…
2020-07-26 18:54:02 +02:00
JocelynDelalande
e0b3522c91
Merge branch 'master' into ihm_4.1.4
2020-07-26 18:23:46 +02:00
Alexandre Aubin
c4e0df7eeb
Wait for app to start at the end of the restore to avoid 502 error
2020-07-26 18:20:17 +02:00
Alexandre Aubin
41765a8f48
Misc fixes in upgrade
2020-07-26 18:20:17 +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
e66190934f
Cleanup outdated comment
2018-12-20 08:07:48 +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
e96d348493
Simplify restore script
...
Using `ynh_restore` helper, introduced in ynh 2.6.3
2018-12-18 20:05:05 +01:00
Jocelyn Delalande
1bf80cf0f5
Fix restore script, removing webpath registration
...
It seems that ynh takes care itself of registering the app on restore.
So re-registering it is useless and triggers a duplicate error. Let's not do
that :-).
2018-12-18 20:01:54 +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
daa8266d13
Add space char to avoid confusing package_linter
...
The code was working but crashing package_linter
2018-12-18 18:30:44 +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
321d6cb2d9
Use ynh helpers for error handling
...
Instead of doing it by hand.
Also we now rely on the fact ynh automatically runs uninstall script if the
install fails. So no more need for manual cleanup.
2018-12-18 18:28:00 +01:00
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