Commit graph

372 commits

Author SHA1 Message Date
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
Jérôme Lebleu
f0d0499257 [fix] Add GRANT OPTION in ynh_mysql_create_db helper 2015-12-28 18:53:15 +01:00
Jérôme Lebleu
94ce22f9d5 [enh] Pass app id to scripts and remove hook_check action
It passes the current app id to the app install/upgrade/remove scripts
as the last argument (wip #126).
The hook category has also been revisited to move some app specific parts
away from there. The action hook_check has been removed accordingly.
2015-12-27 22:56:04 +01:00
Jérôme Lebleu
6f0c6b8f50 [fix] Do not block while set main domain 2015-12-24 16:40:22 +01:00
Jérôme Lebleu
016c1ae459 [enh] Add main domain GET route 2015-12-24 10:54:02 +01:00
Jérôme Lebleu
1cabe959d0 Revert "[enh] Add main domain GET route."
This reverts commit 23354e92bc.
Action must be defined only once in the actions map.
2015-12-24 10:50:43 +01:00
Jérôme Lebleu
e5c467ad26 [enh] Add helpers to set and get an application setting 2015-12-24 10:38:10 +01:00
Jérôme Lebleu
6840d120c0 [enh] Add a helper to create a directory under /tmp 2015-12-24 10:37:11 +01:00
Jérôme Lebleu
36bacba93f [enh] Rename ynh_password bash helper to ynh_string_random 2015-11-30 21:23:55 +01:00
Jérôme Lebleu
3cf32aec26 [doc] Improve usage and add examples for user helpers 2015-11-30 19:03:11 +01:00
Jérôme Lebleu
d3c8a1bb2f [fix] Prevent error if unset variable is treated in utils helper 2015-11-30 19:02:12 +01:00
Jérôme Lebleu
13dd9b4f89 [fix] Use --output-as instead of deprecated options 2015-11-30 18:35:41 +01:00
Jérôme Lebleu
835000b262 [enh] Provide bash helpers for MySQL databases (wip #97) 2015-11-30 18:23:59 +01:00
opi
032f9c86ed [enh] Short cache on handlebars templates
Backported from https://github.com/YunoHost/yunohost-config-nginx/pull/5
2015-11-24 11:22:01 +01:00
opi
23354e92bc [enh] Add main domain GET route. 2015-11-24 08:34:14 +01:00
julienmalik
8362bf2ec0 [fix] Do not exit at first service which can't be stopped 2015-11-16 12:33:07 +01:00
julienmalik
eae6ecc9c0 [fix] Log for rmilter instead of rspamd 2015-11-16 11:57:16 +01:00
kload
62c7079783 [fix] Unexpected warnings comming from stderr 2015-11-15 11:07:27 +01:00
kload
e6cfab1f6a [fix] Do not remove the global_script directory 2015-11-15 00:55:00 +01:00
Jérôme Lebleu
ea84f99461 Merge branch 'unstable' into logging 2015-11-14 23:16:12 +01:00