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
Alexandre Aubin
9fe7c43aef
Merge branch 'dev' into 4.1
2020-08-31 19:30:53 +02:00
Alexandre Aubin
bc7344b636
Use proper templating for dnsmasq conf
2020-08-31 16:41:31 +02:00
Alexandre Aubin
a23233ab0f
Add apt regenconf hook to manage sury pinning policy on all
2020-08-28 22:30:20 +02:00
Alexandre Aubin
f5acbffb5c
Add a diagnosis of processes rencently killed by oom_reaper
2020-08-28 17:12:07 +02:00
Alexandre Aubin
8454f2ec12
Recursively enforce ownership for rspamd
2020-08-21 20:40:55 +02:00
Josué Tille
f22f64103a
Backup/restore also slapd.ldif
...
We need this because the regen-conf need to get the state of the slapd config database if it is customized or not and if some update are need.
2020-07-27 19:26:18 +02:00
Josué Tille
8af56c82ef
slapd.conf is no more used, but ldap.conf need to be saved/restored
2020-07-27 19:26:18 +02:00
Alexandre Aubin
e28c618e67
Those single quotes were probably meant to be double quotes?
2020-07-27 19:26:18 +02:00
Alexandre Aubin
2bbff1d264
Factorize the actual slapd regeneration
2020-07-27 19:26:18 +02:00
Alexandre Aubin
a179e9107a
Misc comment improvements?
2020-07-27 19:26:18 +02:00
Josue-T
c0d3a361e3
Update data/hooks/conf_regen/06-slapd
...
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-07-27 19:26:18 +02:00
Josué Tille
e6a52f09bd
[fix] Clean old files
2020-07-27 19:26:18 +02:00
Josué Tille
9bb8c0437d
Rewrite slapd regen-conf for new config file
2020-07-27 19:26:18 +02:00
Alexandre Aubin
ca20eda9ca
[firewall] Let's not disable nftables that makes the script crash if it's not installed and we don't really need to disable it anyway since it's already configured to conflict
2020-07-27 19:26:18 +02:00
Alexandre Aubin
5914740957
[firewall] nftables is the new iptables-persistent and it should conflict with yunohost-firewall
2020-07-27 19:26:18 +02:00
Alexandre Aubin
fa59ad35a9
[conf] Automatically disable/stop systemd-resolved that conflicts with dnsmasq on fresh setups ...
2020-07-27 19:23:07 +02:00
Alexandre Aubin
bc19bef59e
Workaround for custom backup/restore hook issue
2020-07-27 19:20:36 +02:00
Alexandre Aubin
6b72fc5fc5
It just make no sense to backup/restore the mysql password...
2020-07-27 19:20:36 +02:00
Alexandre Aubin
d435889776
Make sure to validate/upgrade that we don't have any active weak certificate used by nginx at the beginning of the buster migration, otherwise nginx will later miserably fail to start
2020-06-29 22:04:04 +02:00
Alexandre Aubin
ac9182d69f
Move redirect to /yunohost/admin to a separate nginx conf file to allow customizing it more easily
2020-06-25 21:42:46 +02:00
Alexandre Aubin
8f8be838b6
Enforce permissions on rspamd log directory
2020-06-21 19:57:51 +02:00
Alexandre Aubin
9d0c092481
Disable/skip ntp when inside a container
2020-06-05 02:50:51 +02:00
Alexandre Aubin
2d42480f7e
Make sure to propagate change in slapd systemd conf during initial install
2020-06-04 19:24:50 +02:00
Alexandre Aubin
ca89607d9d
Make sure to stop the old mysql and that mariadb is started
2020-06-03 23:38:59 +02:00
Alexandre Aubin
e24191ce64
Make sure mysql is an alias to mariadb
2020-06-02 17:00:52 +02:00