Commit graph

916 commits

Author SHA1 Message Date
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
Jérôme Lebleu
1e8236c1f7 Translated using Weblate (Italian)
Currently translated at 12.2% (28 of 228 strings)
2016-04-08 23:14:07 +02:00
Jérôme Lebleu
b5222c6fcb Translated using Weblate (German)
Currently translated at 87.7% (200 of 228 strings)
2016-04-08 23:14:07 +02:00
Jérôme Lebleu
4a1a30970f Translated using Weblate (Dutch)
Currently translated at 45.1% (103 of 228 strings)
2016-04-08 23:14:06 +02:00
Jérôme Lebleu
84dba5bff2 Translated using Weblate (Spanish)
Currently translated at 71.9% (164 of 228 strings)
2016-04-08 23:13:30 +02:00
Jérôme Lebleu
5ea8488e44 Translated using Weblate (French)
Currently translated at 100.0% (228 of 228 strings)
2016-04-08 22:48:36 +02:00
Jérôme Lebleu
82df046e9d Translated using Weblate (French)
Currently translated at 98.2% (224 of 228 strings)
2016-04-08 22:44:45 +02:00
Jérôme Lebleu
a948be035a [i18n] Rename app_requirements_failed err named variable 2016-04-08 22:44:31 +02:00
Jérôme Lebleu
0339d8160d [fix] Remove ending comma in backup.py 2016-04-04 20:18:44 +02:00
Jérôme Lebleu
e4ec67d727 [fix] Improve control file management in equivs helper 2016-04-04 20:18:09 +02:00
Jérôme Lebleu
dc3e07c4bd [fix] Check if the package is actually installed in equivs helper 2016-04-03 11:28:53 +02:00
Jérôme Lebleu
dea0c16540 [enh] Add a ynh_user_list helper 2016-04-02 11:49:01 +02:00
Jérôme Lebleu
704151f5eb [fix] Move imports at the top in backup.py 2016-03-28 22:11:46 +02:00
Jérôme Lebleu
8a44179d00 [fix] Regenerate SSOwat conf after apps restoration 2016-03-28 22:07:59 +02:00
Jérôme Lebleu
bba6ec8cfb [fix] Execute backup/restore app scripts from the backup dir (bugfix #139) 2016-03-28 21:55:07 +02:00
Jérôme Lebleu
de08c14aa1 [enh] Allow to set script execution directory in hook_exec 2016-03-28 21:49:11 +02:00
Jérôme Lebleu
e7adbbf630 [fix] Use rspamd local.d folder to allow users to override the defaults 2016-03-28 19:21:43 +02:00
Jérôme Lebleu
ca54418441 [enh] Use new rspamd configuration system to override metrics 2016-03-28 19:11:50 +02:00
Jérôme Lebleu
ee7c4e84aa [fix] Move imports at the top in yunohost and yunohost-api 2016-03-28 18:47:58 +02:00
Jérôme Lebleu
d11dd38e42 Merge branch 'testing' into unstable
This fixes DynDNS update.
2016-03-27 16:54:13 +02:00
Jérôme Lebleu
c99d56f2d5 Merge branch 'stable' into testing
This fixes DynDNS update.
2016-03-27 16:52:41 +02:00
opi
394f0498a5 [enh] Use named arguments for user_unknown string. 2016-03-27 16:41:54 +02:00
Jérôme Lebleu
5d21b8deb7 Update changelog for 2.2.4 release 2016-03-27 16:34:14 +02:00