Laurent Peuch
2e5b8fa393
[fix] Use a local variable for extracted app dir (bugfix #326 )
2016-07-14 11:58:16 +02:00
jellium
53e19fa32d
[fix] Replace deprecated psutil.BOOT_TIME attribute
...
The `psutil.BOOT_TIME` attribute appears to be deprecated, and returns an `AttributeError` when called.
Even though the psutil documentation states that old attributes should be callable, one should use `psutil.boot_time()` function instead.
In some version of psutil (e.g. 2.1.1), both appear callable. In old versions (e.g. 1.2.1), `psutil.BOOT_TIME` is but `psutil.boot_time()` is not. In the newest version (4.3.0), only the latter can be called.
This bug would introduce an Internal Server Error (Error 500) when accessing the Monitor tool in the YunoHost admin panel.
2016-07-13 21:05:10 +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
vetetix
d96ce2e9b9
fix issue in dkim dns setting
...
Add a dot "." so that dkim dns entry is "mail._domainkey.domain.tld." instead of "mail._domainkey.domain.tld"
2016-06-25 18:12:55 +02:00
Laurent Peuch
365f7694a9
[enh] display file path on file_not_exist error
2016-06-23 18:36:21 +02:00
Jérôme Lebleu
0d210e2e54
[ref] Invert no-stats option to with-stats in monitor_enable
...
Since monitoring statistics was not finished - and by the way not usable,
it inverts the behavior of monitor_enable to disable it by default.
See #395 for more details.
2016-06-04 22:28:17 +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
b756f4d1eb
[fix] Escape arguments and env values in hook_exec (bugfix #377 )
2016-05-30 12:10:39 +02:00
Jérôme Lebleu
048ed3b0ea
[fix] Raise proper MoulinetteError exception in hook_exec
2016-05-29 23:38:35 +02:00
Jérôme Lebleu
bca32c881e
[enh] Call iptables/ip6tables with --wait option ( close #325 )
2016-05-28 22:01:01 +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
f09ab43eb8
[fix] Print string error of MoulinetteError in hook_callback
2016-05-21 21:21:20 +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
Jérôme Lebleu
420e5aed2c
[fix] Copy app remove script in a tmp file at restoration failure
2016-05-14 14:29:48 +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
Jérôme Lebleu
26aa1cba37
[fix] Remove the app if it restoration failed
2016-05-06 20:16:49 +02:00
Jérôme Lebleu
4c9b79f5fc
[i18n] Rename backup_complete and backup_failed strings
2016-05-06 12:41:57 +02:00
Jérôme Lebleu
cb515f2592
[enh] Check free space in output directory before backup archive creation
2016-05-06 12:36:10 +02:00
Jérôme Lebleu
97e699449d
[enh] Create backup archives path depending of output directory
2016-05-06 12:25:20 +02:00
opi
286ce86993
[fix] Catch IOError on tar creation (backup).
2016-05-06 12:00:33 +02:00
opi
5027ec0468
[fix] Pass app instance environment variables to remove script.
2016-05-03 16:42:04 +02:00
Jérôme Lebleu
3f0ad9139e
[enh] Remove empty pending conf directory at regen-conf
2016-05-01 13:46:27 +02:00
Jérôme Lebleu
f1866c6113
[enh] Do not clean whole pending conf dir when names are given at regen-conf
2016-05-01 13:41:54 +02:00
Jérôme Lebleu
fcfb6de16e
[fix] Handle when new conf is as current system conf in regen-conf
2016-05-01 12:49:48 +02:00
Jérôme Lebleu
fa89291504
[enh] Do not bind mounting if no backup archive is created (wip #298 )
2016-04-30 17:19:12 +02:00
Jérôme Lebleu
c3fd005027
[enh] Allow to set env var for executed hooks in hooks_callback
2016-04-30 17:15:17 +02:00
Jérôme Lebleu
aae59b1d6e
[enh] Small changes to env prepending in hook_exec
2016-04-28 21:03:22 +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
Julien Malik
7ce7d6fc15
[enh] Support passing env var to hook_exec
2016-04-28 20:43:22 +02:00
Jérôme Lebleu
a960c92b9f
[fix] Clean properly backup tmp directory if it already exists (wip #298 )
2016-04-27 11:07:28 +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
7a87fa7ebc
[enh] Implement the intersection of package version SpecifierSet class
2016-04-25 12:17:10 +02:00
Jérôme Lebleu
86e10064e0
[fix] Correct argument index in __repr__ of utils.packages classes
2016-04-25 11:55:49 +02:00
Jérôme Lebleu
d280a08cee
[enh] Implement the union of package version Specifier class
2016-04-25 11:18:08 +02:00
Jérôme Lebleu
3e1f9d223b
[doc] Add documentation to contains methods of Specifier/SpecifierSet
2016-04-25 11:13:01 +02:00
Jérôme Lebleu
afda4a9c90
[enh] Implement the intersection of package version Specifier class
2016-04-25 10:58:19 +02:00
Jérôme Lebleu
55debefd56
[fix] Call regen-conf only once passing a list in domain_add/remove
2016-04-24 22:15:29 +02:00
Moul
55f4ff8d69
[fix] domains creation: regen_conf() were called with an old name of variable.
2016-04-24 00:21:26 +02:00
Jérôme Lebleu
e0ea752f6b
[fix] Copy data without stat when processing regen conf file
2016-04-22 15:30:35 +02:00
Jérôme Lebleu
689b390342
[fix] Restore current_host and use only one backup path for it
2016-04-22 14:54:41 +02:00
Jérôme Lebleu
4912a2afae
[fix] Init LDAP with package installation to fix ynh post-install
2016-04-21 22:59:36 +02:00
Jérôme Lebleu
7d2e7cb5e2
[fix] Get pending conf for all services if no one is provided
2016-04-21 21:57:35 +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
26adf05042
[fix] Ensure that pending conf file is deleted after it's applied
2016-04-19 20:40:48 +02:00
Jérôme Lebleu
c81393425a
[fix] Define common hooks arguments once in service_regen_conf
2016-04-19 20:10:02 +02:00