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
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
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
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
a06a753fb6
[enh] Allow to list pending conf only in service_regen_conf
2016-04-11 19:03:48 +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
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
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
8a44179d00
[fix] Regenerate SSOwat conf after apps restoration
2016-03-28 22:07:59 +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
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
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
0d9b8d9b3d
[fix] Use dyndns.yunohost.org instead of dynhost.yunohost.org
2016-03-26 14:15:49 +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
8f7d75f5ff
[fix] Don't fail dnsmasq regen if IPv4/6 cannot be retrieved
2016-03-23 13:22:53 +01:00
opi
4833b6b2b2
[enh] Use dedicated app list domain.
2016-03-23 08:53:44 +01:00
opi
b1921358a7
[fix] Documentation according to last commit (dynhost->dyndns).
2016-03-23 08:37:17 +01:00
Moul
1dd1ae483f
[fix] use 'path' variable for '-a' option use explanation for 'ynh app install' cmd.
2016-03-21 14:09:51 +01:00
Moul
44fa9d9324
[enh] Add '-a' argument's usage example for app_install
2016-03-19 14:52:56 +01:00
Jérôme Lebleu
b69eff6f28
[fix] Update API route for hook_callback action
2016-03-19 10:36:39 +01:00
Jérôme Lebleu
95de4801a0
[fix] Remove useless API routes for some actions
2016-03-19 10:35:13 +01:00