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
cdf3c13bf5
[enh] Add a dry-run option for service_regen_conf
2016-04-19 20:52:45 +02:00
Jérôme Lebleu
2309405e98
[enh] Refactor the conf regen for better conflicts handle
...
It rewrites some parts of the conf regen but try to keep as much as possible
the same logic - to prevent a too big refactoring. The main change is that
configuration file regen is now handle by service_regen_conf directly.
Hooks are now called twice with the following arguments respectively:
* `"pre" $force $pending_dir`: it's time for the script to generate and put
each configuration file to update/remove into `$pending_dir` with the
right directory tree. To remove one, just touch an empty file.
* `"post" $force`: this second time, the script may restart services, fix
permissions, clean, ...
Between this two executions, the service_regen_conf will look for any files
under the `$pending_dir` and safely process them - either create, update or
remove the proper system configuration.
2016-04-11 17:11:41 +02:00
Jérôme Lebleu
ee64e22766
Translated using Weblate (Portuguese)
...
Currently translated at 60.5% (138 of 228 strings)
2016-04-08 23:14:07 +02:00
Jérôme Lebleu
1e8236c1f7
Translated using Weblate (Italian)
...
Currently translated at 12.2% (28 of 228 strings)
2016-04-08 23:14:07 +02:00
Jérôme Lebleu
b5222c6fcb
Translated using Weblate (German)
...
Currently translated at 87.7% (200 of 228 strings)
2016-04-08 23:14:07 +02:00
Jérôme Lebleu
4a1a30970f
Translated using Weblate (Dutch)
...
Currently translated at 45.1% (103 of 228 strings)
2016-04-08 23:14:06 +02:00
Jérôme Lebleu
84dba5bff2
Translated using Weblate (Spanish)
...
Currently translated at 71.9% (164 of 228 strings)
2016-04-08 23:13:30 +02:00
Jérôme Lebleu
5ea8488e44
Translated using Weblate (French)
...
Currently translated at 100.0% (228 of 228 strings)
2016-04-08 22:48:36 +02:00
Jérôme Lebleu
82df046e9d
Translated using Weblate (French)
...
Currently translated at 98.2% (224 of 228 strings)
2016-04-08 22:44:45 +02:00
Jérôme Lebleu
a948be035a
[i18n] Rename app_requirements_failed err named variable
2016-04-08 22:44:31 +02:00
Jérôme Lebleu
d11dd38e42
Merge branch 'testing' into unstable
...
This fixes DynDNS update.
2016-03-27 16:54:13 +02:00
Jérôme Lebleu
c99d56f2d5
Merge branch 'stable' into testing
...
This fixes DynDNS update.
2016-03-27 16:52:41 +02:00
opi
394f0498a5
[enh] Use named arguments for user_unknown string.
2016-03-27 16:41:54 +02:00
opi
4cabb2f7f9
[enh] Use named arguments with m18n.
2016-03-27 15:56:41 +02:00
opi
468199c78f
[enh] Use named arguments when calling m18n in service.py
2016-03-27 12:48:48 +02:00
opi
7999293438
[enh] Display hook path on error message.
2016-03-27 11:26:41 +02:00
opi
f176c3061e
[enh] Better message during service regenconf.
2016-03-27 11:26:41 +02:00
Jérôme Lebleu
d66a46a8de
[fix] Update first registered domain with DynDNS instead of current_host
2016-03-26 00:27:25 +01:00
Jérôme Lebleu
8114de167b
[enh] Call app remove script if installation fails
2016-03-25 17:46:38 +01:00
opi
edf3f4901f
[enh] More explicit backup forbidden directory error message.
2016-03-19 10:48:54 +01:00
opi
b6ee72e412
[enh] Add diagnosis function. #39
2016-03-12 23:33:30 +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
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
Jérôme Lebleu
02195718cb
Translated using Weblate (French)
...
Currently translated at 100.0% (213 of 213 strings)
2016-03-01 14:40:58 +01:00
Jean-Baptiste
f370c65f6e
Translated using Weblate (French)
...
Currently translated at 100.0% (212 of 212 strings)
2016-03-01 11:18:34 +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
565bc616d8
[fix] Do not raise if one app upgrade fails and regen SSOwat conf
2016-02-26 20:18:22 +01:00
Moul
abd9cfc44b
[enh] ttl: change pattern name.
2016-02-24 12:01:22 +01:00
Moul
3d779cfdf8
[enh] ttl: Handle error message for non positive numbers.
2016-02-23 23:18:02 +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
4e48aeb388
[enh] Store backup size and check free space before restoring (bugfix #189 )
2016-02-18 16:20:36 +01:00
Jérôme Lebleu
5678b48ce6
Translated using Weblate (French)
...
Currently translated at 100.0% (210 of 210 strings)
2016-02-05 11:41:17 +01:00
Weblate
1709e29c91
Merge remote-tracking branch 'origin/unstable' into unstable
2016-02-05 11:39:44 +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
bc9e64ce9b
Translated using Weblate (French)
...
Currently translated at 100.0% (210 of 210 strings)
2016-02-05 11:26:47 +01:00
Jérôme Lebleu
7d7203a7f7
Translated using Weblate (French)
...
Currently translated at 100.0% (210 of 210 strings)
2016-02-05 10:59:21 +01:00
Jérôme Lebleu
ce63806556
Translated using Weblate (French)
...
Currently translated at 99.5% (209 of 210 strings)
2016-02-05 10:54:26 +01:00
retmarut
357dc2c539
Translated using Weblate (Dutch)
...
Currently translated at 50.9% (107 of 210 strings)
2016-02-05 10:29:40 +01:00
Weblate
f5b578488d
Merge remote-tracking branch 'origin/unstable' into unstable
2016-01-27 22:31:13 +01:00
Jérôme Lebleu
da2b3691c7
[enh] Use a common function to retrieve app settings
2016-01-27 22:31:04 +01:00
Felix Bartels
b18f3e6b60
Translated using Weblate (German)
...
Currently translated at 100.0% (209 of 209 strings)
2016-01-24 17:24:18 +01:00
Felix Bartels
86306d19a0
Translated using Weblate (German)
...
Currently translated at 49.7% (104 of 209 strings)
2016-01-23 19:24:35 +01:00
davidba123
0949bcda80
Translated using Weblate (German)
...
Currently translated at 35.8% (75 of 209 strings)
2016-01-22 18:34:14 +01:00
Jérôme Lebleu
1cb2703a6a
Translated using Weblate (French)
...
Currently translated at 100.0% (209 of 209 strings)
2016-01-22 18:34:14 +01:00
Jean-Baptiste
8ad06841ef
Translated using Weblate (French)
...
Currently translated at 100.0% (209 of 209 strings)
2016-01-19 22:56:49 +01:00
Jean-Baptiste
e8ad99aa45
Translated using Weblate (French)
...
Currently translated at 100.0% (209 of 209 strings)
2016-01-19 21:23:50 +01:00
Weblate
2a3bcf8ca6
Merge remote-tracking branch 'origin/unstable' into unstable
2016-01-19 18:52:42 +01:00
Jérôme Lebleu
d041a5f264
[enh] Replace msignals.display by logging in backup category
2016-01-19 18:49:06 +01:00
Thomas Bille
882e92b21d
Translated using Weblate (Italian)
...
Currently translated at 13.8% (29 of 209 strings)
2016-01-17 02:53:02 +01:00