Commit graph

4436 commits

Author SHA1 Message Date
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
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
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
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
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
5cd3a86099 [fix] Check app min_version with yunohost package (fixbug #113) 2015-12-21 12:40:50 +01:00
opi
51009cf064 [enh] Get app label for installed app in app list. 2015-11-23 11:22:54 +01:00
Jérôme Lebleu
4d439217f1 [fix] Log real exception string error in hook_callback 2015-11-15 18:33:02 +01:00
Jérôme Lebleu
eaef922d4e [enh] Make use of call_async_output in hook_exec to get output in real time 2015-11-15 15:22:34 +01:00
Jérôme Lebleu
3f42d12e95 [fix] Do not modify handlers with root_handlers in bin/yunohost 2015-11-15 14:58:35 +01:00
kload
68f2dfca81 [fix] Delayed upgrade of the package 'yunohost' 2015-11-15 12:30:47 +01:00
Jérôme Lebleu
40145648f0 [fix] Do not restrict warning to tty in service_saferemove 2015-11-14 23:40:16 +01:00
Jérôme Lebleu
b7fcf9ffdb [enh] Quickly implement logging in service.py and use it to show the diff 2015-11-14 23:38:44 +01:00
Jérôme Lebleu
ea84f99461 Merge branch 'unstable' into logging 2015-11-14 23:16:12 +01:00
Jérôme Lebleu
e14674af88 [enh] Split stdout/stderr wrapping in hook_exec and add a no_trace option 2015-11-14 23:13:51 +01:00
kload
b72c8563c3 [fix] Translate regenconf messages in English and French
+ use the new {variable:s} format
2015-11-14 18:48:04 +01:00
Jérôme Lebleu
b7d0e977b9 [enh] Update hook.py to use logging instead of msignals.display 2015-11-14 18:21:36 +01:00
Jérôme Lebleu
4978e48c9d [enh] Make use of new logging facilities with the cli in the firewall 2015-11-12 22:39:09 +01:00
Laurent Peuch
2d88ab9a24 [fix] unreferenced exceptions 2015-11-01 13:00:15 +01:00
Laurent Peuch
21b67ee7d0 [mod] remove useless imports 2015-11-01 13:00:06 +01:00
kload
c3d379be5b Revert 95cbff27a9 2015-10-31 21:43:25 +01:00
Jérôme Lebleu
4e72595aaa [fix] Open port 1900 when enabling UPnP (fixes #30) 2015-10-31 21:11:45 +01:00
kload
95cbff27a9 [fix] Allow yunohost firewall service to be run even if YunoHost is unconfigured 2015-10-31 13:58:02 +01:00
opi
adcebb39f9 [fix] Use official.json app list. 2015-10-12 22:24:21 +02:00
Jérôme Lebleu
3e1d9fc33b [enh] Add hooks for post domain add/remove (fix #108) 2015-10-12 21:43:31 +02:00
Jérôme Lebleu
1beadf3051 [fix] Clean systemd services install and really fix firewall 2015-10-09 14:26:04 +02:00
Jérôme Lebleu
4e790e2626 [fix] Do not enable yunohost-firewall service at install 2015-10-09 12:48:45 +02:00
Jérôme Lebleu
908d77f234 [ref] Rename lib folder to src 2015-10-08 15:47:24 +02:00