Commit graph

508 commits

Author SHA1 Message Date
Alexandre Aubin
29b511f5e3 Fix multimedia hook if not media directory yet 2021-02-22 23:42:52 +01:00
Alexandre Aubin
1adff77e3a Add multimedia helpers and hooks 2021-02-22 21:01:23 +01:00
Alexandre Aubin
c7c1eaca4e Mysql is a fucking joke (... trying to fix the mysql issue on RPi ...) 2021-02-21 05:04:06 +01:00
Kay0u
bfd7257a8c
fix linter, remove allow_failure for corresponding tests 2021-02-02 16:16:07 +01:00
Kayou
ce1045a26a
fix the postinstall with double quotes 2021-02-02 11:10:52 +01:00
Alexandre Aubin
6500ac01ae Make sure that dir exists :/ 2021-02-02 05:55:19 +01:00
yunohost-bot
c4439110e1 [CI] Format code 2021-02-02 03:37:40 +00:00
Alexandre Aubin
071d8c4cbe Misc fixes for cert / local CA management 2021-01-31 18:15:51 +01:00
Alexandre Aubin
29a3ad0484
Merge branch 'dev' into move-ldap-init-before-postinstall 2021-01-31 16:21:23 +01:00
Alexandre Aubin
3c0649f1e3
Merge branch 'dev' into folder-init-in-regenconf 2021-01-31 16:19:03 +01:00
Alexandre Aubin
68e24c986a
Merge pull request #1062 from YunoHost/move-local-ca-mangement-to-regenconf
Refactor local CA management for more consistency and simpler postinstall
2021-01-31 16:17:20 +01:00
Alexandre Aubin
2758c1636b
Merge branch 'dev' into report_low_total_space_for_rootfs 2021-01-31 14:38:34 +01:00
Alexandre Aubin
46138e9e73 We need that file for the first domain_add during postinstall 2021-01-23 01:27:14 +01:00
Alexandre Aubin
ed35915e7f Move ldap initialization before the postinstall 2021-01-23 00:03:25 +01:00
Alexandre Aubin
f755259790 Initialize folders during .deb install instead of regen conf 2021-01-23 00:01:26 +01:00
Alexandre Aubin
25f2bdf83a Refactor local CA management for more consistency and simpler postinstall 2021-01-22 23:58:12 +01:00
Alexandre Aubin
148bfdac0d Also ban bind9 2021-01-21 23:59:22 +01:00
Alexandre Aubin
3e290d5c37 Prevent the installation of apache2 ... 2021-01-21 23:55:37 +01:00
Alexandre Aubin
8b3ec8a137 Diagnosis: report low total space for rootfs 2021-01-21 20:34:43 +01:00
Alexandre Aubin
21a0c65ed6 diagnosis: Ignore /dev/loop devices in systemresources 2021-01-21 20:03:59 +01:00
Alexandre Aubin
c8a23f26bb Handle case where DKIM record is split into several pieces 2021-01-21 16:25:58 +01:00
Alexandre Aubin
b98dd8585b
Merge pull request #1116 from YunoHost/enh-python3
Python2 -> Python3
2021-01-19 23:06:57 +01:00
Kayou
7f1938df6f
ynh_exec_warn_less dyndns backup 2021-01-14 15:47:10 +01:00
Alexandre Aubin
c43a51ba30
Merge branch 'dev' into enh-python3 2021-01-10 18:31:19 +01:00
Alexandre Aubin
a665c702d0 Annnd of course we have references to python2 in bash stuff and other misc scripts 2021-01-10 02:07:24 +01:00
Alexandre Aubin
b25cde0b67
[fix] Make sure relay_user var exists in all cases (otherwise in the jinja template later, relay_user != "" is True if the var doesn't exists...) 2021-01-08 15:57:41 +01:00
Alexandre Aubin
57c302cb63 Merge branch 'dev' into report-backport-in-source-list 2021-01-03 21:20:07 +01:00
Alexandre Aubin
cce020daac Uniformize check_output calls to use moulinette helpers which shall now automatically decode() automatically + also strip() etc 2021-01-01 05:03:55 +01:00
Alexandre Aubin
b685a27481 [yolo] Detect moar hardware name 2020-12-28 22:57:52 +01:00
Alexandre Aubin
8790d51b8c
Merge pull request #1101 from YunoHost/fix-dyndns-key-nobackup
[fix] Add Dyndns domains keys to backup
2020-12-10 14:11:09 +01:00
ljf
60d838843e [fix] Missing mkdir 2020-12-09 02:36:39 +01:00
ljf
9a87d8a52d [fix] Missing dir 2020-12-09 01:59:06 +01:00
ljf
ef9cc98d5e [enh] Use ynh_backup helpers 2020-12-09 01:35:40 +01:00
ljf
8b53d6562e [fix] Add Dyndns domains keys to backup 2020-12-09 01:31:17 +01:00
ljf
2c9a668afe [fix] Unix permission on dkim 2020-12-08 23:45:44 +01:00
ljf
2be911d369 [fix] Missing backup conf 2020-12-08 12:17:59 +01:00
Alexandre Aubin
a5b282e5c6 Diagnosis: report usage of backports repository in apt's sources.list 2020-10-31 19:14:33 +01:00
Alexandre Aubin
7aa3ff5255 Added a .strip() to moulinette's check_output because was tired of adding it all over the places 2020-10-31 18:58:19 +01:00
Alexandre Aubin
ba884d5b6d Get rid of yunohost.local in main domain nginx conf ... because this interfer with using yunohost.local for postinstall. Just let it be handled by the default vhost 2020-10-03 16:32:31 +02:00
Quentin Duchemin
6940ea1946
Fix redis hook (bash does not allow empty function
Add a dummy instruction equivalent to true
2020-10-03 11:24:47 +02:00
Alexandre Aubin
a1c1057ab4 Add redis hook to enforce permissions on /var/log/redis 2020-09-29 15:10:03 +02:00
Alexandre Aubin
a60cd4f559
Diagnose ssl libs installed from sury (#1053)
* Small fix / syntax improvement in apt conf regen hook

* Diagnose, report and add a tip if some ssl libs are installed from Sury (shouldnt happen with the new pinning strategy, but some user still encounter issues because of this because of legacy installs)
2020-09-16 16:18:10 +02:00
Alexandre Aubin
6a618b0f33 Use php7.3 by default in CLI 2020-09-16 15:24:28 +02:00
Alexandre Aubin
9156b1e56a Fix warnings and weird stuff >_> 2020-09-14 17:54:20 +02:00
Alexandre Aubin
0ad014ad1f
Merge branch 'dev' into enh-relay-smtp 2020-09-10 17:50:10 +02:00
Alexandre Aubin
50f68e2886 Properly handle case where no match from grep 2020-09-08 17:25:11 +02:00
Alexandre Aubin
4c75620ee9
Merge branch 'dev' into code-cleanup 2020-09-06 22:16:06 +02:00
Alexandre Aubin
9640b22a23 Do not miserably fail if no oom_reaper line found... 2020-09-05 19:15:34 +02:00
Alexandre Aubin
ecbd63636b autopep8 --in-place -a -a -a -a -a -r data/ doc/ tests/ src/yunohost/tests/ src/yunohost/utils/ src/yunohost/data_migrations/ 2020-09-03 17:36:59 +02:00
Alexandre Aubin
fa19c9480c Cleanup unused imports / misc 'fatal' flake8 errors 2020-09-03 17:01:24 +02:00