Commit graph

593 commits

Author SHA1 Message Date
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
6a64386127 [fix] Some improvements and fixes to actions related to app access 2016-01-27 22:45:29 +01:00
Jérôme Lebleu
da2b3691c7 [enh] Use a common function to retrieve app settings 2016-01-27 22:31:04 +01:00
Jérôme Lebleu
ed49a8f577 [fix] Validate arguments and app settings in app_map (bugfix #168) 2016-01-27 21:43:54 +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
d289bbe8e8 [fix] remove .tld 2016-01-24 11:44:39 +00:00
Laurent Peuch
b3665ede0f [mod] add CNAME for xmpp 2016-01-24 01:44:19 +00:00
Laurent Peuch
34ef4c7092 [mod] uniformise TTL declarations 2016-01-24 01:44:01 +00:00
Laurent Peuch
4817be9491 [fix] bad IPV6 declaration 2016-01-24 01:43:45 +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
d6b0c35725 [fix] Replace udisks-glue by udisks2 and only suggest it 2016-01-22 18:34:02 +01: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
d041a5f264 [enh] Replace msignals.display by logging in backup category 2016-01-19 18:49:06 +01:00
Jérôme Lebleu
ebdf17791a [fix] Allow false and 0 as non-empty values for an app argument 2016-01-17 22:30:40 +01:00
Jérôme Lebleu
41627e56d7 Update changelog for 2.3.6 release 2016-01-17 03:03:21 +01:00
Jérôme Lebleu
a975091981 Update changelog for 2.3.6 release 2016-01-17 02:58:08 +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
c8b4813440 [fix] Add procmail to packages dependencies 2016-01-08 22:11:00 +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
77d901346e [fix] Set default value of boolean argument type to false if unset 2016-01-04 17:29:45 +01:00
Jérôme Lebleu
4447e02b3e [enh] Implement 'boolean' argument type support in app manifest 2016-01-03 20:41:57 +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
3246dc44dd [fix] Correct debug message when no arguments found in the manifest 2016-01-02 13:33:25 +01:00
Jérôme Lebleu
9285976acc [enh] Integrate 'optional' key of arguments in app manifest 2016-01-02 13:11:10 +01:00
Jérôme Lebleu
58145509e2 [fix] Split service_configuration_conflict translation key (fixbug #136) 2016-01-02 11:46:17 +01:00
Jérôme Lebleu
13da1e797c [fix] Use INFO logging level if app setting is not found 2015-12-31 19:10:32 +01:00
Jérôme Lebleu
6a836ae0bf [fix] Parse app arguments before creating app folder and settings 2015-12-31 19:03:58 +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
Jérôme Lebleu
d2c393ea5a [enh] Add ping util as recommended package 2015-12-31 11:49:32 +01:00
Jérôme Lebleu
6865456234 [fix] Log rotation is already handled by WatchedFileHandler (fixbug #137) 2015-12-29 21:01:17 +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
96f9ca9961 [fix] Validate app argument choice for input value too 2015-12-28 20:16:19 +01:00
Jérôme Lebleu
4a06cbdc31 [i18n] Review translations and keys related to app arguments 2015-12-28 20:10:55 +01:00
Jérôme Lebleu
096c4d0246 [enh] Add support for app argument 'type' defined in the manifest 2015-12-28 19:58:21 +01:00
Jérôme Lebleu
5fd2cf6667 [enh] Rely only on app_id argument for multi-instances apps
The original app_id hard-coded replacement in scripts and hooks is replaced by
the use in app scripts directly of the given app_id argument (wip #126).
It's now the app maintainer responsability to make use of it in a way to
prevent colisions with other instances.
2015-12-28 19:44:34 +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