Commit graph

224 commits

Author SHA1 Message Date
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
opi
d07d8e835a [enh] Add --installed and --with-backup to app_list action (wip #227) 2016-03-16 20:18:27 +01:00
opi
f3768217d1 [enh] Redirect most of 404 to maindomain.tld/yunohost/sso 2016-03-15 00:07:36 +01:00
Julien Malik
749ff71590 [enh] Remove unused checkupdate and upgrade scripts 2016-03-14 08:58:06 +01:00
opi
b6ee72e412 [enh] Add diagnosis function. #39 2016-03-12 23:33:30 +01:00
Julien Malik
1300f4c0ca [fix] fix lintian script-not-executable 2016-03-12 00:20:52 +01:00
Julien Malik
02346776f2 [fix] follow up directory move /usr/share/yunohost/helpers 2016-03-12 00:15:15 +01:00
Julien Malik
5b7e16384e [enh] move /usr/share/yunohost/apps/helpers to /usr/share/yunohost/helpers since it became of more general use 2016-03-12 00:12:59 +01:00
Julien Malik
83f4c6a65f [fix] Validate IP addresses returned by ipX.yunohost.org 2016-03-11 11:34:03 +01:00
Julien Malik
dfd8780a10 [enh] Add helper for IP address validation 2016-03-11 11:31:43 +01:00
opi
7729d91e78 [fix] Cleaner Nginx redirection rules. Use permanent only when paths match. 2016-03-09 22:05:45 +01:00
opi
204e3ed3ff [fix] Use plain text 502 error page. 2016-03-09 21:51:00 +01:00
Julien Malik
5d5976d31e [fix] Workaround for the bad people who are not using IPv6 yet 2016-03-09 08:42:17 +01:00
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