Commit graph

241 commits

Author SHA1 Message Date
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
Jérôme Lebleu
770de28f75 [enh] Check the slapd config file at first in conf_regen 2016-01-27 19:45:56 +01:00
Jérôme Lebleu
e5095d0185 [fix] Remove old dbconfig settings from slapd.conf 2016-01-27 18:57:21 +01:00
Jérôme Lebleu
a5568311db [fix] Save LDAP database when switching to MDB (bugfix #169)
As Wheezy is not supported anymore by next YunoHost releases, the slapd.conf
now comes with MDB as backend.
The LDAP database is also saved before switching to MDB backend and imported
after the configuration re-generation to prevent data loss.
2016-01-27 18:05:04 +01:00
Laurent Peuch
4d1e43a7b1 [mod] typo 2016-01-26 15:50:05 +00:00
Laurent Peuch
d93a1746d7 [mod] dns_conf only need authentication for the api 2016-01-26 15:49:45 +00:00
Laurent Peuch
2b74311526 [mod] rename function like suggested 2016-01-24 15:56:05 +00:00
Laurent Peuch
d5ec3c99c9 [mod] modify uri for dns config 2016-01-24 01:43:07 +00:00
Jérôme Lebleu
141d704a04 [fix] Review LDAP backup and restore hooks
The configuration is now saved using slapcat instead of trying to generate
it from slapd.conf - which generally fail at restoration.
Also, a backup of configuration and database is made before the restoration,
which allows to return to a "working" state if it fails.
2016-01-23 19:15:13 +01:00
Laurent Peuch
e140ed652c [enh] new command to generate DNS configuration for a given domain name 2016-01-22 21:28:35 +00:00
Jérôme Lebleu
dbe58e9625 [enh] Update rmilter hook and dependencies for 1.7 release 2016-01-19 22:55:57 +01:00
Jérôme Lebleu
e16b560626 [fix] Correct condition syntax in metronome conf_regen hook 2016-01-19 18:52:29 +01:00
Jérôme Lebleu
ea05562c79 [enh] Add a ynh_app_setting_delete helper 2016-01-19 18:50:00 +01:00
Jérôme Lebleu
07bfae73a4 [enh] Add ynh_package_update helper and call it in install_from_equivs 2016-01-17 02:52:24 +01:00
Jérôme Lebleu
9427006d01 [fix] Remove useless SPF setting in Postfix configuration (fixbug #150) 2016-01-08 21:51:20 +01:00
Jérôme Lebleu
2ce7c4b8df [enh] Provide bash helpers for packages manipulation (wip #97) 2016-01-03 17:31:18 +01:00
Jérôme Lebleu
bd64a0c661 [enh] Add a helper to check if a user exists on the system 2016-01-03 17:20:32 +01:00
Jérôme Lebleu
a1ab3d5811 Merge pull request #118 from sbadia/unstable-grepv
hooks: Use a more elegant grep command for mysql process check
2015-12-31 18:54:26 +01:00
Jérôme Lebleu
4b4d91c6d3 [fix] Use rmilter as a socket-activated service 2015-12-31 13:00:35 +01:00
Sebastien Badia
aba6170054 hooks: Use a more elegant grep command for mysql process check 2015-12-29 00:19:05 +01:00