Commit graph

210 commits

Author SHA1 Message Date
Julien Malik
f1d5c1fe92 [fix] use ip6.yunohost.org, more reliable than ipv6.yunohost.org 2016-03-08 18:47:48 +01:00
Julien Malik
7241869985 [fix] use ipX.yunohost.org service to retrieve public IP 2016-03-08 16:57:43 +01:00
Jérôme Lebleu
5afd0c1272 [enh] Rely on APT python library to retrieve packages version
It introduces a new `yunohost.utils` package which will contain common
utils used by YunoHost actions. It comes with a work in progress `packages`
module with simple methods to retrieve installed version of packages for now.
2016-03-08 16:10:14 +01:00
Julien Malik
735053ad14 [fix] ip.yunohost.org is https now 2016-03-08 15:38:06 +01:00
Julien Malik
81fde7482d [enh] first stop rspamd.service, then start rspamd.socket 2016-03-08 15:31:18 +01:00
Julien Malik
a072d4109e [enh] slaptest outputs on stderr, so generates a WARNING. make it quiet 2016-03-08 15:22:44 +01:00
Julien Malik
16ba0b9831 [enh] use lowercase to be consistent with the service name 2016-03-08 14:40:28 +01:00
Julien Malik
051293e288 [fix] if we reached end of script, exit with success, instead of the last command result 2016-03-08 14:32:05 +01:00
Julien Malik
18c1a7d506 [enh] rm -f ignore non existent files 2016-03-08 14:29:15 +01:00
Julien Malik
0eb2a9b624 [enh] remove useless '|| true'. set -e does not exit for complex commands 2016-03-08 14:28:53 +01:00
Julien Malik
83c881f5b4 [enh] remove failure in the script 2016-03-08 14:16:46 +01:00
Julien Malik
64949cea38 [enh] do not fail in this section of the script 2016-03-08 14:15:35 +01:00
Julien Malik
4f8fcd3251 [enh] beautify script 2016-03-08 14:14:15 +01:00
Julien Malik
c4d5f664d1 [fix] do not output warnings when services are already uninstalled/disabled (fix #215) 2016-03-08 14:12:41 +01:00
Julien Malik
479a0d0abf [enh] no need for && here 2016-03-08 14:12:41 +01:00
Julien Malik
0899ca055e [fix] rspamd/rmilter now uses redis-server instead of memcached 2016-03-08 14:12:41 +01:00
Julien Malik
0d49e8a24f [fix] remove useless whitespace 2016-03-08 14:12:41 +01:00
Jérôme Lebleu
8aa64a0641 [enh] Use a common method to retrieve public IP address 2016-03-08 11:10:28 +01:00
opi
f36e4e2a83 [fix] Remove Dovecot autocreate deprecated plugin. Fix #103 2016-03-07 22:56:29 +01:00
Jérôme Lebleu
4ee8d91f5e [fix] Add an example for ynh_get_plain_key helper usage 2016-02-29 12:18:40 +01:00
julienmalik
9d6f9d4c07 Merge pull request #121 from infertux/nginx_server_tokens
[fix] Don't emit Nginx version
2016-02-29 12:11:20 +01:00
Cédric Félizard
fe26478e03 Don't emit Nginx version
http://nginx.org/en/docs/http/ngx_http_core_module.html#server_tokens
2016-02-29 10:39:13 +00:00
Jérôme Lebleu
a557956a47 [fix] Remove useless raw argument in domain_list 2016-02-28 21:13:33 +01:00
Jérôme Lebleu
95b7dd5f93 Merge pull request #126 from taziden/patch-1
[enh] hardening postfix tls configuration
2016-02-28 15:53:55 +01:00
taziden
66ad33c285 [enh] also set smtp cipher to high 2016-02-26 20:28:27 +01:00
taziden
261cddbf8e hardening postfix tls configuration 2016-02-26 20:25:12 +01:00
opi
5a0fdbd826 [enh] More descriptive names for XMPP services 2016-02-26 16:36:53 +01:00
opi
fe0a8e4cd9 Merge pull request #124 from M5oul/unstable
Add '-ttl' parameter to 'domain dns conf' command.
2016-02-26 12:34:47 +01:00
julienmalik
b20bd7311d [fix] misssing sudo when removing files in /etc/nginx 2016-02-25 12:18:40 +01:00
julienmalik
8196717e96 [fix] missing brackets for testing saferemove output 2016-02-25 12:18:01 +01:00
julienmalik
e93b036830 [fix] access to /var/lib/metronome/ needs sudo permissions
During a domain removal, I hit this error :

2016-02-25 11:52:31,702 INFO     yunohost.hook <lambda> - [4615.1] + rm -rf /var/lib/metronome/{{domain}}
2016-02-25 11:52:31,705 WARNING  yunohost.hook <lambda> - [4615.1] rm: cannot remove ‘/var/lib/metronome/{{domain}}’: Permission denied
2016-02-25 11:52:31,803 ERROR    yunohost.hook hook_callback - [4615.1] Script execution failed
2016-02-25 12:03:54 +01:00
Moul
abd9cfc44b [enh] ttl: change pattern name. 2016-02-24 12:01:22 +01:00
Moul
be71b0f1d0 [fix] ttl: fixes. 2016-02-24 11:59:47 +01:00
Moul
3d779cfdf8 [enh] ttl: Handle error message for non positive numbers. 2016-02-23 23:18:02 +01:00
Moul
fbf09e42b0 [fix] ortho. 2016-02-23 21:48:17 +01:00
Moul
3f1bd53c47 [mod] Fixes on 'ttl' option. 2016-02-23 13:13:36 +01:00
Moul
5016482bda [enh] add '-ttl' parameter to 'domain dns conf' command. 2016-02-23 00:53:02 +01:00
Jérôme Lebleu
ec590bdef8 [fix] Restart the service if reloading fails in conf_regen (bugfix #195) 2016-02-21 18:11:27 +01:00
Jérôme Lebleu
3eea7bcb48 [fix] Start socket and stop rspamd/rmilter services in conf_regen (bugfix #196) 2016-02-21 17:58:08 +01:00
Cédric Félizard
0d69e15ede Clean up whitespaces and group sections semantically
No functional changes
2016-02-09 18:21:18 +00:00
zamentur
ea5ffb8498 Merge remote-tracking branch 'upstream/unstable' into unstable
Conflicts:
	data/hooks/restore/05-conf_ldap
2016-02-08 22:52:28 +01:00
zamentur
b2a2a05598 [fix] Slapd.d directory was empty after restore 2016-02-08 22:41:55 +01:00
zamentur
b70cff29f7 [fix] Backup/restore without postinstall failed 2016-02-08 22:39:17 +01:00
opi
65721b41f3 [fix] head opening tag may have attributes. 2016-02-08 12:33:34 +01:00
Jérôme Lebleu
c226c5b311 [fix] Add yunohost-firewall to services.yml 2016-02-07 20:10:09 +01:00
Jérôme Lebleu
86ee1a9027 [fix] Correct log file of yunohost-api in services.yml 2016-02-05 13:28:10 +01:00
Jérôme Lebleu
28f5df2eeb Merge pull request #119 from Psycojoker/unstable
Add action to generate DNS configuration for a given domain
2016-02-05 10:29:33 +01:00
Jérôme Lebleu
ab942600f6 [fix] Remove old services and add rmilter/rspamd 2016-01-27 23:53:56 +01:00
Jérôme Lebleu
82185b86d5 [fix] Remove udisks-glue from conf_regen and services
udisks-glue has been removed from recommended packages by d6b0c357 since
it's no longer maintained - and also out-dated; the conf_regen hook refers
to an unavailable service.
Note that even it's not really used in YunoHost yet, it has been replaced
by udisks2 as suggested package.
2016-01-27 23:40:38 +01:00
Jérôme Lebleu
234549d879 [enh] Set minimum uid and ignore local users in nslcd.conf 2016-01-27 21:18:56 +01:00