1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00
Commit graph

243 commits

Author SHA1 Message Date
Maniack Crudelis
be5bdc2f2f Force usage of Django version lower than 3
Django versions after 3 drop the support for python_2_unicode_compatible
2020-05-03 01:44:16 +02:00
Jean-Baptiste Holcroft
da23f49102 remove useless content
follow package linter requests
2020-05-01 22:59:23 +02:00
Jean-Baptiste
324d990064
Merge pull request #27 from YunoHost-Apps/fix-hub
Fix hub on restore/upgrade
2020-05-01 22:33:14 +02:00
Jean-Baptiste Holcroft
15c2d22385 use variable for python path for buster
weblate uses Django, which requires to edit a configuration file in the filepath
replace the string value by a varible
2020-05-01 22:09:37 +02:00
Kay0u
d1719a2a2f
Fix hub on restore/upgrade 2020-04-15 16:10:47 +02:00
Jean-Baptiste Holcroft
7817df46ce add ruamel.yaml with pip 2019-08-28 18:23:05 +02:00
Jean-Baptiste Holcroft
c1b8cef3fe remove obsolete upgrade steps 2019-08-28 08:31:15 +02:00
Jean-Baptiste Holcroft
dbd07e4d65 create log folder at restoration 2019-08-28 08:30:14 +02:00
Jean-Baptiste Holcroft
f05f984efe improve log files management 2019-08-28 00:09:23 +02:00
Jean-Baptiste Holcroft
6872223e5a add logrotate 2019-08-23 08:32:02 +02:00
Jean-Baptiste Holcroft
5df42eb737 add dep for subtitle translation support 2019-08-22 22:34:59 +02:00
Jean-Baptiste Holcroft
5b6ffa4bc2 update to 3.8 2019-08-22 22:29:05 +02:00
Jean-Baptiste Holcroft
5e3076f85f upgrade to 3.7 2019-06-24 22:25:12 +02:00
Jean-Baptiste Holcroft
45ff697d9f Apply new packaging advices 2019-05-30 20:51:22 +02:00
Jean-Baptiste Holcroft
f953043a27 3.6.1 2019-05-12 17:29:20 +02:00
Jean-Baptiste Holcroft
e89c8d88e9 move backup 2019-05-12 17:18:42 +02:00
Jean-Baptiste Holcroft
2df47eb2f7 add service to secure upgrade 2019-03-10 23:37:32 +01:00
Jean-Baptiste Holcroft
ee5910276b upgrade to 3.5.1 2019-03-10 22:37:03 +01:00
Jean-Baptiste Holcroft
b223178dd7 upgrade to 3.5 2019-03-10 21:57:52 +01:00
Jean-Baptiste Holcroft
df244810fb fix linter suggestion 2019-03-10 08:20:59 +01:00
Jean-Baptiste Holcroft
3adff29848 upgrade to 3.4 (and remove systemd template) 2019-02-25 23:09:47 +01:00
Jean-Baptiste Holcroft
e61cb6e29a Prepare update to 3.3 2018-12-07 11:31:52 +01:00
Jean-Baptiste Holcroft
cc02b38690 Fix upgrade 2018-10-26 22:48:09 +02:00
Jean-Baptiste Holcroft
d78dc9b918 Fix upgrade for celery 2018-10-25 08:01:56 +02:00
Jean-Baptiste Holcroft
1d182631b2 Fix backup and restore for celery 2018-10-25 08:01:46 +02:00
Jean-Baptiste Holcroft
08bd696434 Fix celery behavior 2018-10-24 22:08:30 +02:00
Jean-Baptiste Holcroft
9cf6fd0e89 migrate to python3, add celery and redis 2018-10-19 23:28:40 +02:00
Jean-Baptiste Holcroft
c38e8df3f4 upgrade to 2.20 2018-10-16 22:37:09 +02:00
Jean-Baptiste Holcroft
d9f1725f5f Merge branch 'master' into testing 2018-10-15 22:49:49 +02:00
Jean-Baptiste Holcroft
3ed8265e35 Make sure the service is stoped for removing 2018-10-15 22:44:02 +02:00
Jean-Baptiste Holcroft
a49d61e52e fix ImportError: No module named backports 2018-10-15 22:35:03 +02:00
Jean-Baptiste Holcroft
69b0e9ddd2 ynh_string_random can't go further 24... 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
27cc87b09c Fix upgrade for locally modified settings files 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
ea006f8e36 fix warning security.W009 (secret key length should be >=50) 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
ff2fda78db Add 3.1.1 upgrade with two steps upgrade 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
84c2ceb7a8 Upgrade to 3.1.1 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
ba3cc65b61 remove pgsql helpers (included in core) 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
5e78b6e62e Improve cron file 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
d942065f6a Upgrade to 3.0.1 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
3fd38cdae6 Upgrade to 3.0 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
516d927974 Impove mail helper and check_process 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
f4907c50cb Fix uwsgi folder for reboots 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
ee27947a0b Improve uwsgi, fix root install, upgrade postgresql 2018-10-15 22:30:49 +02:00
Jean-Baptiste Holcroft
1decda965f temp 2018-10-15 21:51:26 +02:00
Jean-Baptiste Holcroft
6647a93af3 Weblate 3.2 initialization 2018-10-06 20:50:23 +02:00
Jean-Baptiste Holcroft
c696886804 ynh_string_random can't go further 24... 2018-09-02 14:18:13 +02:00
Jean-Baptiste Holcroft
2a88486fa9 Fix upgrade for locally modified settings files 2018-09-01 22:46:07 +02:00
Jean-Baptiste Holcroft
63f95130ac fix warning security.W009 (secret key length should be >=50) 2018-09-01 22:46:07 +02:00
Jean-Baptiste Holcroft
29d5c5f071 Add 3.1.1 upgrade with two steps upgrade 2018-09-01 22:46:03 +02:00
Jean-Baptiste Holcroft
a7deb5c849 Upgrade to 3.1.1 2018-08-27 22:36:09 +02:00
Jean-Baptiste Holcroft
2df102fae1 remove pgsql helpers (included in core) 2018-08-27 22:27:38 +02:00
Jean-Baptiste Holcroft
5b9befd66a Improve cron file 2018-06-13 23:49:24 +02:00
Jean-Baptiste Holcroft
bba3828886 Upgrade to 3.0.1 2018-06-13 22:27:46 +02:00
Jean-Baptiste Holcroft
6ed77fd7c0 Upgrade to 3.0 2018-06-06 00:23:36 +02:00
Jean-Baptiste Holcroft
a2aa1564ce Impove mail helper and check_process 2018-06-03 15:07:35 +02:00
Jean-Baptiste Holcroft
4dee1b6395 Improve uwsgi, fix root install, upgrade postgresql 2018-05-20 14:43:15 +02:00
Jean-Baptiste Holcroft
e3e5a87400 Improve pgsql helper 2018-04-28 10:43:53 +02:00
Jean-Baptiste Holcroft
b5d14c18ca Add mailutils for ARM 2018-04-15 15:06:43 +02:00
Jean-Baptiste Holcroft
d58a1a9490 Merge branch 'testing' of https://github.com/YunoHost-Apps/weblate_ynh into testing 2018-04-08 20:10:09 +02:00
Jean-Baptiste Holcroft
d3f6f73b91 Remove psycopg2 warning 2018-04-08 11:03:50 +02:00
Jean-Baptiste
a0d527a79f
Merge branch 'master' into testing 2018-04-08 10:37:43 +02:00
Jean-Baptiste Holcroft
0c26641287 VADE RETRO PYTHON3! Welcome Weblate 2.20! 2018-04-08 10:27:26 +02:00
Jean-Baptiste Holcroft
995275545b First step to upgrade to 2.20 2018-04-07 10:13:07 +02:00
Jean-Baptiste Holcroft
dc037965b0 replace i386 by 386 fix #7 2018-04-02 21:58:27 +02:00
Jean-Baptiste Holcroft
f7560ca254 Fix module import error of phply 2018-04-02 20:42:42 +02:00
Jean-Baptiste Holcroft
4601aef1e0 Fix module import error of phply 2018-04-02 20:40:26 +02:00
Jean-Baptiste Holcroft
851eed2914 Use ynh_send_readme_to_admin helper 2018-04-01 12:50:02 +02:00
Jean-Baptiste Holcroft
3664dc8cd2 Move hub to /usr/bin so nginx & uwsgi can see it 2017-12-29 08:43:56 +01:00
Jean-Baptiste Holcroft
0d0a384078 Add migration from 2.16 2017-12-28 17:16:07 +01:00
Jean-Baptiste Holcroft
74f93c22e5 Fix Installation 2017-12-28 09:39:44 +01:00
Jean-Baptiste Holcroft
fe71170644 Improve upgrade 2017-12-28 08:04:17 +01:00
Jean-Baptiste Holcroft
0c36004d03 Improve uwsgi helper (path, mount, mask) and fix installation 2017-12-17 17:19:48 +01:00
Jean-Baptiste Holcroft
3af0b44f7e Upgrade weblate to 1.18, remove settings.py and upgrade to python3 because of django 2.0 2017-12-16 01:06:49 +01:00
Jean-Baptiste Holcroft
5d0b16f4cd Add upgrade support for uwsgi service 2017-11-23 15:17:04 +01:00
Jean-Baptiste Holcroft
c0db10fa59 Add postgres 9.6 support for stretch 2017-11-23 14:02:56 +01:00
Jean-Baptiste Holcroft
ccf036ff23 Fix restoration and add some cleanup 2017-11-21 15:31:11 +01:00
Jean-Baptiste Holcroft
fce38ffb8d fully use socket activation 2017-11-21 13:09:12 +01:00
Jean-Baptiste Holcroft
db4ffdf5f4 Use uwsgi templates 2017-11-20 15:58:51 +01:00
Jean-Baptiste Holcroft
96f8747e0f Upgrade - save the diff instead of sending it 2017-10-27 12:47:10 +02:00
Jean-Baptiste Holcroft
9b93349d90 Final fixes - restart service and echo instead of return 2017-10-23 15:39:50 +02:00
Jean-Baptiste Holcroft
8b51355bce add new helper ynh_check_if_checksum_is_different 2017-10-19 11:01:39 +02:00
Jean-Baptiste Holcroft
5743eb663a Add upgrade support to 2.17.1 2017-10-18 23:10:32 +02:00
Jean-Baptiste Holcroft
8872c5d4fb Correct wsgi->uwsgi 2017-10-17 15:57:51 +02:00
Jean-Baptiste Holcroft
2ad658b921 Improve root installation 2017-10-17 15:46:35 +02:00
Jean-Baptiste Holcroft
c80bb97eff Fix ynh_abort_if_errors and _common.sh 2017-10-07 14:01:04 +02:00
Jean-Baptiste Holcroft
9da1fa4979 Correct typo in common, add armhf for raspberry, and comply with YEP-1.3 & YEP-2.4 2017-10-06 10:37:19 +02:00
Jean-Baptiste Holcroft
639f95aa63 Code cleanup 2017-10-04 15:22:54 +02:00
Jean-Baptiste Holcroft
ba26794dd0 Hub finalization 2017-10-04 13:42:18 +02:00
Jean-Baptiste Holcroft
98d3086b33 Add hub's support for github PR 2017-10-04 10:46:26 +02:00
Jean-Baptiste Holcroft
bf399e8193 add cache, remove debug, improve restore, use su instead of sudo 2017-09-28 23:00:23 +02:00
Jean-Baptiste Holcroft
f88c29ddf9 Remove SMTP and use sendmail 2017-09-28 16:42:10 +02:00
Jean-Baptiste Holcroft
0f4277e660 Impove change url, not finished yet 2017-09-28 10:58:49 +02:00
Jean-Baptiste Holcroft
ca3582ac02 Fix restoration 2017-09-27 16:35:53 +02:00
Jean-Baptiste Holcroft
946da28c3b Create admin at installation 2017-09-27 00:27:06 +02:00
jb
ea571250f1 Fix restore and upgrade scripts 2017-09-26 17:01:57 +02:00
Jean-Baptiste Holcroft
d7aeffd9dd Remove home directory from ynh_system_user_create_smtp 2017-09-25 17:14:06 +02:00
Jean-Baptiste Holcroft
68822866b2 Remove destition from backup, the helper already does it 2017-09-25 17:09:44 +02:00
Jean-Baptiste Holcroft
bf9dbbb01b Add SMTP configuration 2017-09-25 10:32:11 +02:00
Jean-Baptiste Holcroft
27b5edf718 Restore rework 2017-09-22 09:05:28 +02:00
Jean-Baptiste Holcroft
b36ebe8fd0 Improve removal script 2017-09-21 14:48:29 +02:00
Jean-Baptiste Holcroft
19fadfe080 add changesite name and change_url 2017-09-21 10:22:34 +02:00
Jean-Baptiste Holcroft
34738652a6 Remove apps-enabled folder and useless removal 2017-09-21 09:59:10 +02:00
Jean-Baptiste Holcroft
c539006eed uwsgi additions 2017-09-20 21:43:09 +02:00
Jean-Baptiste Holcroft
601d704d6d don't modify accesses 2017-09-20 17:09:08 +02:00
Jean-Baptiste Holcroft
f2e03b9892 global fixes for uwsgi and django 2017-09-20 15:14:35 +02:00
jean-baptiste
0c17af017f finish postgresql integration 2017-09-20 03:26:27 +02:00
jean-baptiste
64fa488a6b postgressql finition 2017-09-19 19:00:11 +02:00
Jean-Baptiste Holcroft
c3b5cc6061 switch from mysql to pgsql 2017-09-19 10:53:37 +02:00
Jean-Baptiste Holcroft
0a54b3e2b4 review pgsql helpers 2017-09-19 10:53:16 +02:00
Jean-Baptiste Holcroft
d3b14342bd _common.sh tiny rewrite 2017-09-18 21:53:33 +02:00
Jean-Baptiste Holcroft
c9b88d65be Add postgres helpers from coin_ynh 2017-09-18 21:40:05 +02:00
Jean-Baptiste Holcroft
4b531bc16f uwsgi rewrite 2017-09-18 15:08:21 +02:00
Jean-Baptiste Holcroft
932f08b904 Add dirinclude for conf.d if not existing in mysql/my.cfg 2017-09-18 12:18:21 +02:00
Jean-Baptiste Holcroft
da39602afe Edit global mysql configuration 2017-09-18 11:11:02 +02:00
Jean-Baptiste Holcroft
8f10130e92 add innodb_large_prefix 2017-09-18 09:53:19 +02:00
Jean-Baptiste Holcroft
5bc192cc1f correct checksum and use virtualenv in upgrade 2017-09-15 20:59:21 +02:00
Jean-Baptiste Holcroft
2877935fd6 add libmysqlclient-dev dependency 2017-09-15 20:11:30 +02:00
Jean-Baptiste Holcroft
81e5e699b5 mysqlclient instead of pymsql 2017-09-15 19:38:10 +02:00
Jean-Baptiste Holcroft
bf636b0cd0 Add pymysql dependency 2017-09-15 19:14:30 +02:00
Jean-Baptiste Holcroft
aa7c41f141 remove parameter from ynh_string_random 2017-09-15 18:45:11 +02:00
Jean-Baptiste Holcroft
d0c01fc3d8 make sure wsgi use the virtualenv file 2017-09-15 17:37:12 +02:00
Jean-Baptiste Holcroft
f3590b0d7c Remove install from source and copy settings at the right place 2017-09-15 17:37:12 +02:00
Jean-Baptiste Holcroft
7603dd6c38 Go to the right directory 2017-09-15 17:37:12 +02:00
Jean-Baptiste Holcroft
706576bafd added pathurl in settings, and corrected DATA_DIR in nginx 2017-09-15 17:37:12 +02:00
Jean-Baptiste Holcroft
2e32edc3b9 add DJANGO_SETTINGS_MODULE 2017-09-15 17:37:12 +02:00
Jean-Baptiste Holcroft
5440b85bbb Correct service removal 2017-09-15 17:37:12 +02:00
Jean-Baptiste Holcroft
eb7bce723c run source in subshell and move pip installation after defining settings 2017-09-15 17:37:12 +02:00
Jean-Baptiste Holcroft
4ee0fd1dff remove sets 2017-09-14 17:19:18 +02:00
Jean-Baptiste Holcroft
2ad20699fa Add nounset & fullpath to venv/binpip 2017-09-14 16:32:52 +02:00
Jean-Baptiste Holcroft
fc932257b2 using weblate instead of migrate, and add settings 2017-09-14 16:13:48 +02:00
Jean-Baptiste Holcroft
83dcebe850 corrected service name and added debug echo 2017-09-14 15:41:27 +02:00
Jean-Baptiste Holcroft
48fe8b8fac Remove all sudo 2017-09-14 14:35:53 +02:00
Jean-Baptiste Holcroft
f206526487 move pip code after user creation and make sure we want to install Weblate 2.16 2017-09-14 14:24:06 +02:00
Jean-Baptiste Holcroft
82b354400d using PIP because django package is too old 2017-09-14 14:11:48 +02:00
Jean-Baptiste Holcroft
87de11d74c add uwsgi.service 2017-09-14 13:25:11 +02:00
Jean-Baptiste Holcroft
6c1da284ae add uwsgi add a dependency 2017-09-14 10:50:13 +02:00
Jean-Baptiste Holcroft
c07739d17d fix typo 2017-09-14 10:40:26 +02:00
Jean-Baptiste Holcroft
1ce33422cf Removed location hierarchy, and use __NAME__ instead of __APP__ so ynh nginx help works as expected 2017-09-14 09:33:06 +02:00
Jean-Baptiste Holcroft
dd11623620 Add admin parameter, remove language 2017-09-13 20:55:29 +02:00
Jean-Baptiste Holcroft
82cddfa8f3 Add static file genration, and two maintenance tasks 2017-09-13 17:16:14 +02:00
Jean-Baptiste Holcroft
f664045c5c Enable CI and 1st upgrade configuration 2017-09-13 16:55:01 +02:00
Jean-Baptiste Holcroft
fec8e4a491 Thank you package_linter, details 2017-09-13 15:16:02 +02:00
Jean-Baptiste Holcroft
25065a7bca First version, all tests are to be done 2017-09-13 14:49:10 +02:00