Commit graph

576 commits

Author SHA1 Message Date
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
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
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
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
2efc0f4543 [fix] Update moulinette dependency minimum version 2015-12-24 11:05:14 +01:00
Jérôme Lebleu
c42ff4db67 Update changelog for 2.3.5 release 2015-12-24 10:57:29 +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
a9046a7200 [enh] Allow to pass the admin password as argument in the cli 2015-12-24 10:35:39 +01:00
Jérôme Lebleu
5cd3a86099 [fix] Check app min_version with yunohost package (fixbug #113) 2015-12-21 12:40:50 +01:00
Jérôme Lebleu
144d27e7df [fix] Recover French translation deleted as if by magic 2015-12-17 21:29:48 +01:00
Jérôme Lebleu
be43c79db8 [i18n] Use proper translation files from Transifex 2015-12-17 21:22:55 +01:00
Jérôme Lebleu
7f4b712016 [i18n] Sort json translation files by keys 2015-12-17 21:04:15 +01:00
Jérôme Lebleu
7acc353c9a [i18n] Initialize Italian translations 2015-12-17 20:24:24 +01:00
Jérôme Lebleu
a96c0d460f [i18n] Update translations from Transifex belatedly 2015-12-17 20:22:12 +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