Commit graph

906 commits

Author SHA1 Message Date
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
opi
4cabb2f7f9 [enh] Use named arguments with m18n. 2016-03-27 15:56:41 +02:00
opi
468199c78f [enh] Use named arguments when calling m18n in service.py 2016-03-27 12:48:48 +02:00
opi
7999293438 [enh] Display hook path on error message. 2016-03-27 11:26:41 +02:00
opi
f176c3061e [enh] Better message during service regenconf. 2016-03-27 11:26:41 +02:00
Jérôme Lebleu
b0dc30edde [fix] Call yunohost commands with --quiet in setting helpers 2016-03-26 19:15:53 +01:00
Jérôme Lebleu
4401237a51 [fix] Check for tty in root_handlers before remove it in bin/yunohost 2016-03-26 19:14:15 +01:00
Jérôme Lebleu
0d9b8d9b3d [fix] Use dyndns.yunohost.org instead of dynhost.yunohost.org 2016-03-26 14:15:49 +01:00
Jérôme Lebleu
39f4eb2aad [fix] Set found private key and don't validate it in dyndns_update 2016-03-26 10:29:52 +01:00
Jérôme Lebleu
d66a46a8de [fix] Update first registered domain with DynDNS instead of current_host 2016-03-26 00:27:25 +01:00
Jérôme Lebleu
8114de167b [enh] Call app remove script if installation fails 2016-03-25 17:46:38 +01:00