Laurent Peuch
78a8a302d9
[fix] ensure that multi_instance key value is always a boolean
2016-08-12 14:14:04 +02:00
opi
937f26bdaa
[fix] Raise error on malformed SSOwat persistent conf.
2016-07-21 11:43:02 +02:00
Laurent Peuch
2e5b8fa393
[fix] Use a local variable for extracted app dir (bugfix #326 )
2016-07-14 11:58:16 +02:00
Jérôme Lebleu
f7add32acb
[fix] Set empty app argument value only when it's None
2016-07-11 21:04:47 +02:00
Jérôme Lebleu
6ad0083f04
[fix] Allow - in app id when parsing app instance name
2016-05-30 19:06:40 +02:00
Jérôme Lebleu
765a06bd14
[fix] Catch not implemented prompt signal in app arguments parsing
2016-05-22 21:38:59 +02:00
Jérôme Lebleu
a4663764e9
[fix] Update argument with empty value adding for OrderedDict usage
2016-05-14 17:19:45 +02:00
opi
923d72814b
[fix] Can install app on domain root even if another app is installed in a sub folder.
2016-05-07 02:03:26 +02:00
Jérôme Lebleu
5d91f48903
[enh] Handle password argument type at prompt from app manifest
2016-05-07 01:56:58 +02:00
Jérôme Lebleu
edf96bc778
[enh] Also add app hooks after successful upgrade
2016-05-06 23:37:41 +02:00
Jérôme Lebleu
ff93770529
[enh] Add app hooks after the install to allow modifications
2016-05-06 23:35:09 +02:00
opi
5027ec0468
[fix] Pass app instance environment variables to remove script.
2016-05-03 16:42:04 +02:00
Julien Malik
c5d1ef981b
[enh] Set env var for each app script and rename app variables
2016-04-28 21:03:17 +02:00
Jérôme Lebleu
31bedc5fa4
[enh] Catch boolean in is_true method of app.py
2016-04-26 15:56:06 +02:00
Jérôme Lebleu
fab1ddf7bb
[fix] multi_instance manifest key is generally a string
2016-04-26 15:55:19 +02:00
Jérôme Lebleu
aca251e981
[enh] Prevent non-updated multi-instances apps installation ( close #126 )
2016-04-25 13:58:17 +02:00
Jérôme Lebleu
a948be035a
[i18n] Rename app_requirements_failed err named variable
2016-04-08 22:44:31 +02:00
opi
394f0498a5
[enh] Use named arguments for user_unknown string.
2016-03-27 16:41:54 +02:00
Jérôme Lebleu
8114de167b
[enh] Call app remove script if installation fails
2016-03-25 17:46:38 +01:00
opi
4833b6b2b2
[enh] Use dedicated app list domain.
2016-03-23 08:53:44 +01:00
opi
d07d8e835a
[enh] Add --installed and --with-backup to app_list action (wip #227 )
2016-03-16 20:18:27 +01:00
Jérôme Lebleu
fba14e55df
[enh] Introduce new 'requirements' manifest key ( close #113 )
...
The 'requirements' key allows to specify the Debian packages which must
be installed and their required version. It must be an array of the
package name as the key and its version specifier - for its format, see
yunohost.utils.packages.Specifier - as value. For example:
"requirements": {
"yunohost": ">= 2.4, << 2.5"
}
2016-03-08 22:58:47 +01:00
Jérôme Lebleu
cc4dc54ed3
[enh] Implement package version specifier and use it for min_version
2016-03-08 21:52:45 +01:00
Jérôme Lebleu
5afd0c1272
[enh] Rely on APT python library to retrieve packages version
...
It introduces a new `yunohost.utils` package which will contain common
utils used by YunoHost actions. It comes with a work in progress `packages`
module with simple methods to retrieve installed version of packages for now.
2016-03-08 16:10:14 +01:00
opi
d8f4d3c0ad
[fix] Wrong command name.
2016-03-07 22:21:50 +01:00
opi
a37fa9ed5d
[fix] Multiple exceptions syntax.
2016-03-07 22:20:54 +01:00
Jérôme Lebleu
f860c5dfd2
[enh] Add the repository from where the app is defined in app_list
...
The *repository* term is quite new and will replace *app list* in a near
future. It is - for the moment - only shown and used in the Web admin.
This also removes the unused app['manifest']['orphan'] key since it
duplicates the repository absence.
2016-03-01 16:10:06 +01:00
Jérôme Lebleu
fcc1fe57dc
[i18n] Use named arguments for remaining translations in app.py
2016-03-01 11:18:23 +01:00
Jérôme Lebleu
62050963de
[enh] Replace msignals.display by logging in app.py
2016-03-01 11:18:23 +01:00
Jérôme Lebleu
565bc616d8
[fix] Do not raise if one app upgrade fails and regen SSOwat conf
2016-02-26 20:18:22 +01:00
Jérôme Lebleu
fdc7d2e8c5
[fix] Set 'app status file not found' log level to debug
2016-02-26 20:04:19 +01:00
Jérôme Lebleu
b27aa33192
[fix] Review how app settings are initialized and set
2016-02-21 21:51:57 +01:00
Jérôme Lebleu
db7fb0c3f9
[enh] Get completely rid of os.system calls in _fetch_app_from_git
2016-02-21 17:39:35 +01:00
Jérôme Lebleu
ca9abffbe8
[fix] Improve and fix app fetching other than from github
2016-02-21 17:24:05 +01:00
Jérôme Lebleu
bd7308187c
[enh] Allow to install a given git reference of an app
...
This quickly adds support for git URL with /tree/ inside in app installation.
It is intended to ease tests of apps which use new manifest format and helpers
for the 2.4 release. An example usage:
$ yunohost app install https://github.com/jeromelebleu/roundcube_ynh/tree/dev
As it will certainly change with the app category refactoring, it is not
documented and should be used with care.
2016-02-19 13:56:55 +01:00
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