Commit graph

1200 commits

Author SHA1 Message Date
Laurent Peuch
c1252120a1 [mod] typo 2016-10-30 05:36:02 +01:00
Laurent Peuch
65e9a4b6d8 [mod] uses logger string concatenation api 2016-10-30 05:34:30 +01:00
Laurent Peuch
8ca5d59a96 [mod] remove useless () 2016-10-30 05:33:59 +01:00
Laurent Peuch
5615e3f4fe [mod] uses logger string concatenation api 2016-10-30 05:33:21 +01:00
Laurent Peuch
e8e07d464a [mod] remove useless variable 2016-10-30 05:31:36 +01:00
Laurent Peuch
55d007f130 [mod] avoid useless indentation 2016-10-30 05:30:54 +01:00
Laurent Peuch
34f9890517 [mod] more pythonic string concatenation 2016-10-30 05:30:26 +01:00
Laurent Peuch
dd893b0838 [mod] remove useless () 2016-10-30 05:26:52 +01:00
Laurent Peuch
a7b9226667 [mod] lisibility 2016-10-30 05:23:32 +01:00
Laurent Peuch
cd21edb267 [mod] pep8 2016-10-30 05:22:43 +01:00
Laurent Peuch
ac901528c3 [mod] uses + for strings 2016-10-30 05:22:30 +01:00
Laurent Peuch
ac9f61c7b1 [mod] more pythonic code 2016-10-30 05:21:27 +01:00
Laurent Peuch
9a4dbd5d31 [fix] uses https 2016-10-30 05:20:40 +01:00
Laurent Peuch
ea179b1683 [mod] simplier condition 2016-10-30 05:20:13 +01:00
Laurent Peuch
7dbbd7fdc2 [fix] correctly handle all cases 2016-10-30 05:19:43 +01:00
Laurent Peuch
39aaa17639 [mod] remove useless () 2016-10-30 05:08:44 +01:00
Laurent Peuch
29f5f2d753 [mod] more pythonic code 2016-10-30 04:56:06 +01: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
Laurent Peuch
ef62877952 [mod] pep8 2016-10-30 04:29:24 +01:00
Laurent Peuch
6a1727da89 [mod] remove useless imports 2016-10-30 04:27:41 +01:00
Laurent Peuch
02fc92d210 [mod] pep8 2016-10-30 04:27:12 +01:00
Laurent Peuch
32bf742367 [mod] trailing spaces 2016-10-30 04:25:23 +01:00
Laurent Peuch
bec8f63479 [mod] autopep8 2016-10-30 04:24:54 +01:00
Laurent Peuch
d47f5919d6 [mod] remove unused imports 2016-10-30 04:22:56 +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
JimboJoe
7579eef600 Update backup.py
if /home/yunohost.backup/archives is on a different device (for instance, a NAS), backups fail with the message:
...
 File "/usr/lib/moulinette/yunohost/backup.py", line 303, in backup_create
    '{:s}/{:s}.info.json'.format(archives_path, name))
OSError: [Errno 18] Invalid cross-device link

A simple solution is to use shutil.move because, as stated in the documentation, "If the destination is on the current filesystem, then os.rename() is used. Otherwise, src is copied (using shutil.copy2()) to dst and then removed.", which is the needed behavior.
This PR has been successfully tested.
2016-10-14 18:03:58 +02:00
Moul
76a294b284 [fix] typo: install filed –> failed. 2016-10-12 09:39:05 +02:00
Laurent Peuch
81c19cd1d6 [enh] no cli option to avoid removing an application on installation failure 2016-10-09 21:34:03 +02:00
opi
81e464ce1f [enh] Display full exception error message. 2016-08-28 23:36:45 +02:00
opi
6149e6c6de [fix] Write SSOwat configuration file only if needed. 2016-08-28 15:42:47 +02:00
opi
d95052a9e9 [enh] Catch SSOwat persistent configuration write error. 2016-08-28 15:39:45 +02:00
Laurent Peuch
2c0c53d06f [fix] need to be stable 2016-08-14 19:03:58 +02:00
Laurent Peuch
5a1ea37ca5 Update changelog for 2.4.2 release 2016-08-14 18:55:57 +02:00
Laurent Peuch
0be7f13965 Merge pull request #173 from YunoHost/app_list_raw_bool_only_for_multi_instance
[fix] ensure that multi_instance key value is always a boolean
2016-08-14 18:54:37 +02:00
Laurent Peuch
78a8a302d9 [fix] ensure that multi_instance key value is always a boolean 2016-08-12 14:14:04 +02:00
opi
21376eb956 [fix] Documentation typo 2016-07-30 12:19:21 +02:00
Laurent Peuch
d3bc527293 [enh] add empty file for hindie to enable it in weblate 2016-07-28 21:40:43 +02:00
opi
937f26bdaa [fix] Raise error on malformed SSOwat persistent conf. 2016-07-21 11:43:02 +02:00
Jérôme Lebleu
431e6ffb78 Update changelog for 2.4.1 release 2016-07-14 12:07:48 +02:00
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
Jean-Baptiste
9f02b8b8af [i18n] Translated using Weblate (French)
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Jean-Baptiste
d017ded9bb [i18n] Translated using Weblate (French)
Currently translated at 99.1% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Jérôme Lebleu
e3b6ee2d54 [i18n] Translated using Weblate (French)
Currently translated at 99.1% (237 of 239 strings)
2016-07-11 21:01:53 +02:00
Juanu
42d411e81a [i18n] Translated using Weblate (Spanish)
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02: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
Juanu
d0951715a6 [i18n] Translated using Weblate (Spanish)
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