Commit graph

3935 commits

Author SHA1 Message Date
Jérôme Lebleu
0d210e2e54 [ref] Invert no-stats option to with-stats in monitor_enable
Since monitoring statistics was not finished - and by the way not usable,
it inverts the behavior of monitor_enable to disable it by default.
See #395 for more details.
2016-06-04 22:28:17 +02:00
Jérôme Lebleu
6ad0083f04 [fix] Allow - in app id when parsing app instance name 2016-05-30 19:06:40 +02:00
Jérôme Lebleu
853f5d65d9 Update changelog for 2.4.0.6 release 2016-05-30 12:16:21 +02:00
Bugsbane
502ae75773 [i18n] Fixed minor English grammar errors
Fixed a number of minor English spelling and grammar errors in the messages (for example the word "list" implies plural, so no need to double pluralize by saying "apps list").
2016-05-30 12:14:20 +02:00
Jérôme Lebleu
b756f4d1eb [fix] Escape arguments and env values in hook_exec (bugfix #377) 2016-05-30 12:10:39 +02:00
Jérôme Lebleu
542a7a3b82 [fix] Use the classic way to create read-only bind mount in ynh_backup 2016-05-30 12:05:12 +02:00
opi
751e221406 [enh] Use 'source' instead of dot notation, more explicit. 2016-05-30 10:49:50 +02:00
opi
75b9cbc7f3 [enh] Comments will save us. 2016-05-30 09:17:25 +02:00
Jérôme Lebleu
048ed3b0ea [fix] Raise proper MoulinetteError exception in hook_exec 2016-05-29 23:38:35 +02:00
Jérôme Lebleu
81c8ce1a54 [fix] Set default value for YNH_APP_BACKUP_DIR in ynh_backup helper 2016-05-29 23:34:08 +02:00
Jérôme Lebleu
185f29ba60 [fix] Harden backup hooks with set options and use ynh_backup 2016-05-29 23:33:28 +02:00
Jérôme Lebleu
6a96e072d3 Update changelog for 2.4.0.5 release 2016-05-28 22:02:40 +02:00
Jérôme Lebleu
bca32c881e [enh] Call iptables/ip6tables with --wait option (close #325) 2016-05-28 22:01:01 +02:00
Jérôme Lebleu
765a06bd14 [fix] Catch not implemented prompt signal in app arguments parsing 2016-05-22 21:38:59 +02:00
Jérôme Lebleu
6bf4307b44 Update changelog for 2.4.0.4 release 2016-05-22 16:48:45 +02:00
Jérôme Lebleu
0b5cc9d6b1 [fix] Rely on systemd is-active to check if mysql is running 2016-05-22 16:46:32 +02:00
Jérôme Lebleu
53573e50dc [fix] Hide cat error if tmp_backup_dir_file doesn't exist in conf_regen 2016-05-21 21:22:51 +02:00
Jérôme Lebleu
f09ab43eb8 [fix] Print string error of MoulinetteError in hook_callback 2016-05-21 21:21:20 +02:00
Jérôme Lebleu
e7786064fa Update changelog for 2.4.0.3 release 2016-05-21 18:01:22 +02:00
Jérôme Lebleu
598cb11a98 [fix] Rely on conf file for current backend and create slapd.d 2016-05-21 17:58:20 +02:00
Jérôme Lebleu
78ceefd06a [fix] Save LDAP base before any conf changes in conf_regen hook 2016-05-21 17:58:20 +02:00
Jérôme Lebleu
8a587c7e6d [enh] Add ynh_apt wrapper helper and make use of it 2016-05-21 11:20:25 +02:00
Laurent Peuch
8a6b31b690 [fix] exit if not run as root instead of raising an obscur exception 2016-05-19 08:05:59 +02:00
Jérôme Lebleu
c81f098cb2 Update changelog for 2.4.0.2 release 2016-05-18 11:13:35 +02:00
opi
8763712575 [fix] Restart Nginx breaks web admin. Reload instead and fixes #330. 2016-05-18 11:04:29 +02:00
Jérôme Lebleu
8cfa9c3a18 [fix] Ensure that index.txt CA database exists at SSL regen-conf 2016-05-18 10:52:07 +02:00
Jérôme Lebleu
a4663764e9 [fix] Update argument with empty value adding for OrderedDict usage 2016-05-14 17:19:45 +02:00
Jérôme Lebleu
254e592f5e Update changelog for 2.4.0.1 release 2016-05-14 14:31:32 +02:00
Jérôme Lebleu
420e5aed2c [fix] Copy app remove script in a tmp file at restoration failure 2016-05-14 14:29:48 +02:00
Jérôme Lebleu
3cc8f52bc8 [fix] Use ps to check if MySQL is running in conf_regen hook (fix #232) 2016-05-12 23:57:48 +02:00
Jérôme Lebleu
ec887626b5 Update changelog for 2.4.0 release 2016-05-08 00:49:29 +02:00
Jérôme Lebleu
f9f8673e76 [fix] Update data_home/mail backup hooks to use ynh_backup helper 2016-05-08 00:30:54 +02:00
Jérôme Lebleu
403b1d71a3 [fix] Prepend backup dir to relative path only and allow absolute in ynh_backup 2016-05-08 00:26:07 +02:00
Jérôme Lebleu
36a8a2d278 [enh] Try to remount directory as read-only in ynh_backup (wip #298) 2016-05-07 03:17:46 +02:00
opi
923d72814b [fix] Can install app on domain root even if another app is installed in a sub folder. 2016-05-07 02:03:26 +02:00
Jérôme Lebleu
5d91f48903 [enh] Handle password argument type at prompt from app manifest 2016-05-07 01:56:58 +02:00
Jérôme Lebleu
edf96bc778 [enh] Also add app hooks after successful upgrade 2016-05-06 23:37:41 +02:00
Jérôme Lebleu
ff93770529 [enh] Add app hooks after the install to allow modifications 2016-05-06 23:35:09 +02:00
Jérôme Lebleu
865e3ec8cb Update changelog for 2.3.15 release 2016-05-06 20:33:01 +02:00
Jérôme Lebleu
f065ac6baa [enh] Add ynh_die helper to print error message and exit 2016-05-06 20:30:37 +02:00
Jérôme Lebleu
be9d744f3c [enh] Create ynh_backup helper based on ynh_bind_or_cp 2016-05-06 20:26:14 +02:00
Jérôme Lebleu
26aa1cba37 [fix] Remove the app if it restoration failed 2016-05-06 20:16:49 +02:00
Jérôme Lebleu
4c9b79f5fc [i18n] Rename backup_complete and backup_failed strings 2016-05-06 12:41:57 +02:00
Jérôme Lebleu
cb515f2592 [enh] Check free space in output directory before backup archive creation 2016-05-06 12:36:10 +02:00
Jérôme Lebleu
97e699449d [enh] Create backup archives path depending of output directory 2016-05-06 12:25:20 +02:00
opi
286ce86993 [fix] Catch IOError on tar creation (backup). 2016-05-06 12:00:33 +02:00
opi
5027ec0468 [fix] Pass app instance environment variables to remove script. 2016-05-03 16:42:04 +02:00
Jérôme Lebleu
3f0ad9139e [enh] Remove empty pending conf directory at regen-conf 2016-05-01 13:46:27 +02:00
Jérôme Lebleu
f1866c6113 [enh] Do not clean whole pending conf dir when names are given at regen-conf 2016-05-01 13:41:54 +02:00
Jérôme Lebleu
fcfb6de16e [fix] Handle when new conf is as current system conf in regen-conf 2016-05-01 12:49:48 +02:00