Commit graph

318 commits

Author SHA1 Message Date
Alexandre Aubin
ed16cd7f5a Adding an option to use the staging Let's Encrypt CA, sort of a dry-run 2016-11-22 23:44:23 -05:00
Alexandre Aubin
5de006f18d Follow up of @julienmalik comments - misc typo/cosmetic fixes 2016-11-21 10:58:57 -05:00
Alexandre Aubin
bba92e4d41 Small tweaks for the web interface 2016-11-20 20:36:58 -05:00
Laurent Peuch
02b5ea62fe [mod] pep8 2016-10-30 05:42:16 +01:00
Alexandre Aubin
35fa386ce3 First draft of certificate management integration (e.g. Let's Encrypt certificate install) 2016-10-28 13:59:42 -04:00
opi
21376eb956 [fix] Documentation typo 2016-07-30 12:19:21 +02:00
Jérôme Lebleu
8351b8e23d [fix] Set /var/mail folder owners and permissions 2016-06-12 13:23:23 +02:00
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
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
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
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
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
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
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
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
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
fa89291504 [enh] Do not bind mounting if no backup archive is created (wip #298) 2016-04-30 17:19:12 +02:00
Jérôme Lebleu
3339cd029a [enh] Remove client certificate verification from Dovecot and Postfix 2016-04-27 14:31:37 +02:00
Jérôme Lebleu
abe22d74d6 [fix] Remove legacy slapd file after directory creation at regen-conf 2016-04-27 11:13:50 +02:00
Jérôme Lebleu
da5aa1d4aa [fix] Do not set default value to mailbox-quota at user_update 2016-04-26 20:30:43 +02:00
Jérôme Lebleu
564e2c6503 [fix] Use SSL certificate of main domain in Dovecot and Postfix conf 2016-04-25 23:01:46 +02:00
Jérôme Lebleu
1430fa133a [doc] Be more verbose when reset the MySQL root password 2016-04-25 15:26:11 +02:00
Jérôme Lebleu
a3b6a73709 [fix] Correct rmilter.socket installation path in conf_regen hook 2016-04-22 15:22:43 +02:00
Jérôme Lebleu
31c8aabe86 [fix] Set proper mode when using install in conf_regen hooks 2016-04-22 15:17:56 +02:00
Jérôme Lebleu
689b390342 [fix] Restore current_host and use only one backup path for it 2016-04-22 14:54:41 +02:00
Jérôme Lebleu
5af988052d [fix] Restore MySQL password for root user (bugfix #194) 2016-04-22 14:36:21 +02:00
Jérôme Lebleu
0065a7512d [enh] Force new MySQL password set if it's unknown at regen-conf 2016-04-22 12:21:19 +02:00
Jérôme Lebleu
13ed77a6ca [fix] Set default values for force and dry_run in conf_regen hooks 2016-04-22 12:18:25 +02:00
Moul
3ecd22c372 [fix] use '-p' option of mkdir command to check '/etc/dkim' folder exist at its creation. 2016-04-22 00:04:26 +02:00
Jérôme Lebleu
4912a2afae [fix] Init LDAP with package installation to fix ynh post-install 2016-04-21 22:59:36 +02:00
Jérôme Lebleu
0c609f5709 [fix] Create /etc/dkim if not exists in rmilter conf_regen hook 2016-04-21 22:57:29 +02:00
Jérôme Lebleu
cdf3c13bf5 [enh] Add a dry-run option for service_regen_conf 2016-04-19 20:52:45 +02:00
Jérôme Lebleu
f96b2afca9 [fix] Remove useless email_legacy conf_regen hook
The file `/etc/yunohost/ervices.yml` is now updated thanks to 0bacf65,
allowing to add new services and remove old ones.
Moreover, while migrating to new YunoHost version, the user should execute
`apt-get autoremove` to remove old packages such as spamassassin, amavis and
postgrey. This sounds more reliable and allows to get rid of this useless hook
which would be executed for ever, trying to stop already removed services.
2016-04-17 17:03:10 +02:00
Jérôme Lebleu
dcdf852602 [enh] Update services.yml in yunohost conf_regen and update its content 2016-04-17 16:59:49 +02:00
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
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