Commit graph

21 commits

Author SHA1 Message Date
Jérôme Lebleu
50ba2668f5 [fix] Handle empty app settings error when it's not correctly installed 2016-02-07 20:29:12 +01:00
Jérôme Lebleu
94f81cc655 [i18n] Use named variables in app category translations 2016-02-05 11:39:23 +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
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
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
opi
adcebb39f9 [fix] Use official.json app list. 2015-10-12 22:24:21 +02:00
Jérôme Lebleu
908d77f234 [ref] Rename lib folder to src 2015-10-08 15:47:24 +02:00
Renamed from lib/yunohost/app.py (Browse further)