Commit graph

1138 commits

Author SHA1 Message Date
Jérôme Lebleu
0bacf65d9c Merge branch 'unstable' into regen-conf-enh 2016-04-17 15:47:49 +02:00
Jérôme Lebleu
c1115fc736 [fix] Rename 'deprecated' option to 'deprecated_alias' in actionsmap 2016-04-16 21:33:48 +02:00
Jérôme Lebleu
2f1bf014e8 [cli] Deprecate app_initdb action in flavour of helpers 2016-04-16 21:31:27 +02:00
Jérôme Lebleu
43f0fd5dbf [deb] Do not output regen-conf result at postinst 2016-04-16 20:06:45 +02:00
Jérôme Lebleu
d24cd494f3 [fix] Update package first install and call some conf_regen hooks with init 2016-04-16 19:32:18 +02:00
Jérôme Lebleu
e8502f06c4 [fix] Remove old service_safecopy/saferemove from the actionsmap 2016-04-16 18:48:50 +02:00
Jérôme Lebleu
6c3de740aa [enh] Restart services as needed only in conf_regen hooks 2016-04-16 18:36:20 +02:00
Jérôme Lebleu
b4e50f8af6 [enh] Ensure that mysql is running and restart as needed in conf_regen hook 2016-04-16 18:24:41 +02:00
Jérôme Lebleu
b3bb2c512d [enh] Compile sieve script as needed and fix permissions in rspamd conf_regen 2016-04-16 18:20:51 +02:00
Jérôme Lebleu
6c7e202321 [enh] Compile sieve script as needed and fix permissions in dovecot conf_regen 2016-04-16 18:05:41 +02:00
Jérôme Lebleu
0d30ef6277 [fix] Compare current with new LDAP backend and process as needed in conf_regen 2016-04-16 17:52:45 +02:00
Jérôme Lebleu
13a649b6ef [enh] Append coma-separated successful conf changes to post conf_regen 2016-04-16 17:35:16 +02:00
Jérôme Lebleu
bade8c5649 [fix] Be less restrictive on domain name in metronome conf_regen hook 2016-04-16 16:46:22 +02:00
Jérôme Lebleu
d851237dc2 [enh] Update nginx conf_regen hook and simplify plain conf files copy 2016-04-16 16:43:13 +02:00
Jérôme Lebleu
f019188a90 [enh] Update mysql conf_regen hook and use helpers for password generation 2016-04-16 16:07:24 +02:00
Jérôme Lebleu
cdd36570f8 [fix] Rename metronome template conf files 2016-04-16 15:20:05 +02:00
Jérôme Lebleu
41f9b2c76c [enh] Update dnsmasq conf_regen hook and use loopback address by default 2016-04-16 15:17:22 +02:00
Jérôme Lebleu
8269788172 [fix] Typo and variable name fixes in conf_regen hooks 2016-04-16 14:41:54 +02:00
Jérôme Lebleu
047015ef61 [enh] Update rmilter and rspamd conf_regen hooks 2016-04-16 14:37:20 +02:00
Jérôme Lebleu
df9094b896 [enh] Update dovecot conf_regen hook 2016-04-16 11:39:43 +02:00
Jérôme Lebleu
3eacbef144 [enh] Update fail2ban conf_regen hook and drop wheezy support 2016-04-13 22:35:40 +02:00
Jérôme Lebleu
93fa6b07da [fix] Simplify directory creation in metronome conf_regen hook 2016-04-13 22:34:11 +02:00
Jérôme Lebleu
c8255fbc0c [enh] Update avahi-daemon, glances and nsswitch conf_regen hooks 2016-04-13 22:27:43 +02:00
Jérôme Lebleu
c09abeaec1 [enh] Update postfix conf_regen hook and simplify plain conf files copy 2016-04-12 21:41:52 +02:00
Jérôme Lebleu
2d28006c83 [enh] Update metronome conf_regen hook 2016-04-12 21:20:17 +02:00
Jérôme Lebleu
99002b9f42 [enh] Update nslcd conf_regen hook and do not edit the file by hand 2016-04-11 22:04:56 +02:00
Jérôme Lebleu
0f9e777fc6 [enh] Update slapd conf_regen hook 2016-04-11 22:03:50 +02:00
Jérôme Lebleu
9585e37340 Merge branch 'unstable' into regen-conf-enh 2016-04-11 21:37:05 +02:00
Jérôme Lebleu
50d4eded18 [deb] Add etckeeper package in Recommends (wip #280) 2016-04-11 21:34:46 +02:00
Jérôme Lebleu
386f25b3bf [enh] Mark conf_regen hooks as executable interpreted scripts 2016-04-11 21:31:40 +02:00
Jérôme Lebleu
4090630bd9 [enh] Update yunohost, ssl and ssh conf_regen hooks 2016-04-11 21:26:13 +02:00
Jérôme Lebleu
9229210538 [enh] Also show diff as needed with --list-pending in service_regen_conf 2016-04-11 20:42:21 +02:00
Jérôme Lebleu
a06a753fb6 [enh] Allow to list pending conf only in service_regen_conf 2016-04-11 19:03:48 +02:00
Jérôme Lebleu
de04028309 [fix] Keep only pending conf in conf regen 2016-04-11 19:01:12 +02:00
Jérôme Lebleu
eecf03ffbc [enh] Allow to show the diff between conf in service_regen_conf 2016-04-11 18:50:45 +02:00
Jérôme Lebleu
96d4eb3396 [clean] Move conf_regen hooks to prevent issue while updating them 2016-04-11 17:30:57 +02:00
Jérôme Lebleu
2309405e98 [enh] Refactor the conf regen for better conflicts handle
It rewrites some parts of the conf regen but try to keep as much as possible
the same logic - to prevent a too big refactoring. The main change is that
configuration file regen is now handle by service_regen_conf directly.

Hooks are now called twice with the following arguments respectively:
 * `"pre" $force $pending_dir`: it's time for the script to generate and put
   each configuration file to update/remove into `$pending_dir` with the
   right directory tree. To remove one, just touch an empty file.
 * `"post" $force`: this second time, the script may restart services, fix
   permissions, clean, ...

Between this two executions, the service_regen_conf will look for any files
under the `$pending_dir` and safely process them - either create, update or
remove the proper system configuration.
2016-04-11 17:11:41 +02:00
Jérôme Lebleu
3ed502894c [fix] Skip hidden and temp files in hook_list 2016-04-10 19:20:40 +02:00
Jérôme Lebleu
b053ba6ac1 Merge branch 'unstable' into regen-conf-enh 2016-04-10 17:01:33 +02:00
Jérôme Lebleu
c09e322d24 [fix] Use new service_regen_conf method name 2016-04-10 16:57:09 +02:00
Jérôme Lebleu
a26d921c0c [fix] Formatting 'args' in hook_callback is useless 2016-04-10 16:50:39 +02:00
Jérôme Lebleu
cf077a50aa [enh] Add pre/post script execution callbacks to hook_callback 2016-04-10 16:48:46 +02:00
Jérôme Lebleu
a7657c1a39 [ref] Deprecate and rename regenconf action to regen-conf 2016-04-10 10:42:30 +02:00
Jérôme Lebleu
91856cb770 [fix] Import moulinette after dev env check in bin/yunohost{-api,} 2016-04-09 19:35:53 +02:00
Jérôme Lebleu
3b70601254 [deb] Enable yunohost-firewall on service restart at postinst 2016-04-09 17:35:27 +02:00
Jérôme Lebleu
85d9acdfd0 Update changelog for 2.3.12.1 release 2016-04-09 17:23:34 +02:00
Jérôme Lebleu
2c4253a99f [deb] Add Install section to yunohost-firewall.service 2016-04-09 17:04:49 +02:00
Jérôme Lebleu
3b3680c2d2 [deb] Rely on dh_installinit to restart yunohost-firewall after upgrade 2016-04-09 17:02:48 +02:00
Jérôme Lebleu
cc60c2a08d Update changelog for 2.3.12 release 2016-04-09 12:18:20 +02:00
Jérôme Lebleu
ee64e22766 Translated using Weblate (Portuguese)
Currently translated at 60.5% (138 of 228 strings)
2016-04-08 23:14:07 +02:00