YunoHost Bot
62fa977582
Update from Weblate. ( #149 )
...
* Added translation using Weblate (Russian)
* [i18n] Translated using Weblate (French)
Currently translated at 100.0% (51 of 51 strings)
2017-08-07 18:46:01 +02:00
Alexandre Aubin
7b0ad0901a
[enh] Show description of command in --help ( #148 )
2017-08-07 15:28:23 +02:00
Laurent Peuch
09f49e4a8a
[mod] pep8
2017-08-05 12:03:33 +02:00
Laurent Peuch
5bf2f46f47
Merge pull request #143 from YunoHost/support-subcategories
...
[enh] Support subcategories
2017-08-05 11:48:22 +02:00
Laurent Peuch
1efa5c8b6e
Merge pull request #145 from YunoHost/refactoring2
...
Remove globals variables magic and add explicit import now
2017-08-05 11:48:06 +02:00
Laurent Peuch
02157f108a
Merge pull request #146 from YunoHost/remove_pkg_global
...
Remove pkg global
2017-08-05 11:47:56 +02:00
Laurent Peuch
88b503446f
Merge pull request #147 from YunoHost/clean_m18n
...
Clean m18n
2017-08-05 11:47:35 +02:00
Laurent Peuch
bb3f685c90
[fix] too many %s in string formatting
2017-08-03 15:28:12 +02:00
Alexandre Aubin
0bbd47c090
Merge branch 'unstable' into support-subcategories
...
Conflicts:
moulinette/actionsmap.py
2017-07-29 12:38:18 -04:00
Laurent Peuch
e9bc14845a
[enh] Make ActionsMap._construct_parser code more readable ( #144 )
...
* [mod] autopep8
* [mod] remove useless try/except
* [mod] renaming + comment
* [mod] remove debug print
* [mod] more renaming
* [doc] explicit comment
* [mod] more renaming
* [mod] more renaming and comments
* [mod] more renaming
* [doc] usefull comment
* [mod] more renaming
* [mod] this is always true
* [mod] remove conditions that are always True
* [mod] more renaming
* [doc] add a comment from the docstring
* [mod] remove useless exception
* [mod] remove useless ()
* [mod] style
* [mod] it's better to fail than to silencly ignore a typo
* [mod] more renaming
* [doc] add a comment to avoid looking at yet-another-file
* [mod] renaming, make method name match reality and had a method for code readability
* [mod] remove one indirection level
* [mod] we always have actions
* [doc] add more comments
* [mod] simplify code again
* [mod] case never happen
* [mod] delegate responsability to class to make code more readable
* [mod] finish moving _add_arguments down to parsers
* [mod] invert conditions to make things more readable
* [mod] style
* [mod] remove useless exception
* [mod] simplify code
2017-07-29 17:45:36 +02:00
Alexandre Aubin
8960b1a610
[fix] Correctly handle error 500 ( #142 )
...
* [fix] Correctly handle error 500
* [fix] Remove unwanted change in error_to_response
2017-07-27 16:29:55 +02:00
Laurent Peuch
7266e7de15
[mod] rename variable
2017-07-26 05:31:38 +02:00
Laurent Peuch
e2ff1dca39
[mod] simplify code again
2017-07-26 05:28:56 +02:00
Laurent Peuch
b8b3c8db9f
[mod] simplify, called code should never raised
2017-07-26 05:27:11 +02:00
Laurent Peuch
c326ae2c2b
[mod] clean code of try/cache mess
2017-07-26 05:25:09 +02:00
Laurent Peuch
ffdb535918
[mod] simplifu code, remove global pkg object
2017-07-26 05:14:36 +02:00
Laurent Peuch
a5f7322e4d
[mod] remove useless import
2017-07-26 03:40:42 +02:00
Laurent Peuch
ea0a49a817
[doc] add some raw doc for m18n
2017-07-26 00:58:35 +02:00
Laurent Peuch
6bc658c2ed
[fix] default sphinx theme has changed of name
2017-07-26 00:58:16 +02:00
Laurent Peuch
b4d36b2d3e
[mod] more eleguant way of removing globals: from moulinette import m18n, pkg works
2017-07-25 21:19:51 +02:00
Laurent Peuch
863c3dd050
[mod] proposition to remove globals magic
2017-07-25 16:18:09 +02:00
Laurent Peuch
e6cffbc3e2
[mod] remove one global
2017-07-25 16:11:44 +02:00
Laurent Peuch
e0a50487ec
[fix] microdecision, obviously bad method declaration
2017-07-25 16:09:30 +02:00
Alexandre Aubin
51ea069801
[microdecision] Remove unused imports + make pep8 happy
2017-07-24 14:35:58 -04:00
Alexandre Aubin
74281816b4
Add subcategory stuff for the API to work
2017-07-23 16:16:10 -04:00
Alexandre Aubin
6a6fb89fd0
Dirty hack to be able to display 'actions' and 'subcategories' in different section in --help
2017-07-23 15:47:20 -04:00
Alexandre Aubin
4b27bf6e83
Correctly call actions inside subcategories
2017-07-23 09:34:32 -04:00
Alexandre Aubin
30d6b30569
Removing debug prints
2017-07-23 09:25:33 -04:00
Alexandre Aubin
c01cef3147
Adding actions to subcategory
2017-07-23 09:17:27 -04:00
Alexandre Aubin
f595c37a4a
Adding basic subcategory loop
2017-07-23 09:13:53 -04:00
Laurent Peuch
66111c9b8c
[mod] case never happen
2017-07-23 05:34:01 +02:00
Laurent Peuch
8d94e1aa43
[mod] simplify code again
2017-07-23 05:19:47 +02:00
Laurent Peuch
5194eb75c4
[doc] add more comments
2017-07-23 05:19:38 +02:00
Laurent Peuch
e65e6f5990
[mod] we always have actions
2017-07-23 04:46:01 +02:00
Laurent Peuch
2c368596e9
[mod] remove one indirection level
2017-07-23 04:44:13 +02:00
Laurent Peuch
1caa172072
[mod] renaming, make method name match reality and had a method for code readability
2017-07-23 04:16:12 +02:00
Laurent Peuch
79bb5b427f
[doc] add a comment to avoid looking at yet-another-file
2017-07-23 03:54:56 +02:00
Laurent Peuch
5f34437704
[mod] more renaming
2017-07-23 03:51:18 +02:00
Laurent Peuch
7853dda9fc
[mod] it's better to fail than to silencly ignore a typo
2017-07-23 03:50:39 +02:00
Laurent Peuch
4fde7dd2a4
[mod] style
2017-07-23 03:48:16 +02:00
Laurent Peuch
0ded786883
[mod] remove useless ()
2017-07-23 03:48:01 +02:00
Laurent Peuch
eed5cde8d2
[mod] remove useless exception
2017-07-23 03:47:52 +02:00
Laurent Peuch
a1395bdec6
[doc] add a comment from the docstring
2017-07-23 03:46:56 +02:00
Laurent Peuch
477d3721d1
[mod] more renaming
2017-07-23 03:46:41 +02:00
Laurent Peuch
70fdbd0188
[mod] remove conditions that are always True
2017-07-23 03:41:45 +02:00
Laurent Peuch
390b1ec17a
[mod] this is always true
2017-07-23 03:40:37 +02:00
Laurent Peuch
681bba9ee1
[mod] more renaming
2017-07-23 03:35:57 +02:00
Laurent Peuch
61eaec0d53
[doc] usefull comment
2017-07-23 03:35:51 +02:00
Laurent Peuch
179958797a
[mod] more renaming
2017-07-23 03:28:25 +02:00
Laurent Peuch
e138c3e377
[mod] more renaming and comments
2017-07-23 03:19:13 +02:00