Alexandre Aubin
195c675c59
More exception handling, this time for previous acme challenge conf already existing in nginx
2016-11-23 21:36:34 -05:00
Alexandre Aubin
e66a708520
Misc tweaks on exceptions
2016-11-23 11:46:52 -05:00
Alexandre Aubin
a6353703bd
Catching exceptions from acme-tiny
2016-11-22 22:24:54 -05:00
Alexandre Aubin
be061522e6
Moving full letsencrypt app conflict warning to locales/en.json
2016-11-22 20:32:33 -05:00
Alexandre Aubin
5de006f18d
Follow up of @julienmalik comments - misc typo/cosmetic fixes
2016-11-21 10:58:57 -05:00
Alexandre Aubin
109cbf7641
Backuping existing certificate (if any) also for self-signed generation
2016-11-08 22:22:13 -05:00
Alexandre Aubin
6bfe1c8083
Check that the DNS A record matches the global IP now using dnspython and FDN's DNS
2016-11-08 20:59:55 -05:00
Alexandre Aubin
4ddc3aac36
Display a warning message when letsencrypt is installed, suggesting commands to migrate
2016-11-08 12:09:02 -05:00
Laurent Peuch
917c230735
[mod] more pythonic and explicit tests with more verbose errors
2016-10-30 04:55:56 +01:00
Laurent Peuch
aff4dc4086
[mod] more verbose error
2016-10-30 04:46:35 +01:00
Alexandre Aubin
35fa386ce3
First draft of certificate management integration (e.g. Let's Encrypt certificate install)
2016-10-28 13:59:42 -04:00
Bugsbane
b103cd532e
[i18n] Translated using Weblate (English)
...
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Jérôme Lebleu
687b36fc5e
[i18n] Translated using Weblate (English)
...
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Jérôme Lebleu
c1a8ce19e6
[i18n] Translated using Weblate (English)
...
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Bugsbane
546eb6a8d4
[i18n] Translated using Weblate (English)
...
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Jérôme Lebleu
4e46d6eb28
[i18n] Translated using Weblate (English)
...
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Bugsbane
12a208fced
[i18n] Translated using Weblate (English)
...
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Jérôme Lebleu
3b74e5a0ad
[i18n] Translated using Weblate (English)
...
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Bugsbane
502ae75773
[i18n] Fixed minor English grammar errors
...
Fixed a number of minor English spelling and grammar errors in the messages (for example the word "list" implies plural, so no need to double pluralize by saying "apps list").
2016-05-30 12:14:20 +02:00
Jérôme Lebleu
4c9b79f5fc
[i18n] Rename backup_complete and backup_failed strings
2016-05-06 12:41:57 +02:00
opi
286ce86993
[fix] Catch IOError on tar creation (backup).
2016-05-06 12:00:33 +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
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
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
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
94f81cc655
[i18n] Use named variables in app category translations
2016-02-05 11:39:23 +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
d041a5f264
[enh] Replace msignals.display by logging in backup category
2016-01-19 18:49:06 +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
4a06cbdc31
[i18n] Review translations and keys related to app arguments
2015-12-28 20:10:55 +01:00