Commit graph

1088 commits

Author SHA1 Message Date
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
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
Laurent Peuch
0f7d5d341d [mod] more renaming 2017-07-23 03:17:01 +02:00
Laurent Peuch
be9b9c9b43 [doc] explicit comment 2017-07-23 03:16:57 +02:00
Laurent Peuch
1c8f387bae [mod] more renaming 2017-07-23 03:15:12 +02:00
Laurent Peuch
e851c76d6e [mod] remove debug print 2017-07-23 03:08:38 +02:00
Laurent Peuch
4fd3b962aa [mod] renaming + comment 2017-07-23 03:08:24 +02:00
Laurent Peuch
173fa202ad [mod] remove useless try/except 2017-07-23 02:54:52 +02:00
Laurent Peuch
4764dfbef3 [mod] autopep8 2017-07-22 12:02:52 +02:00
Laurent Peuch
7e1712037f [doc] add missing files 2017-07-22 12:01:36 +02:00
Laurent Peuch
8cfba2770d [mod] use rtfd theme 2017-07-22 10:35:26 +02:00
Laurent Peuch
997b2053be [doc] use autodoc to generate doc based on docstring 2017-07-22 10:25:23 +02:00
Laurent Peuch
5cc36bb717 [doc] start a prototype of documentation 2017-07-22 10:01:44 +02:00
Alexandre Aubin
c9967372f1 [enh] More helpers for common IO operations (#141) 2017-07-21 21:05:46 -04:00
ljf
92e970af98 Update changelog for 2.6.1 release 2017-06-21 18:03:32 -04:00
ljf (zamentur)
b021784dd2 Merge pull request #140 from YunoHost/fix-906-recursive-mkdir
[fix] Recursive mkdir was broken
2017-04-27 17:40:59 +02:00
ljf
82cc617bec [fix] Recursive mkdir was broken 2017-04-27 17:26:32 +02:00
Alexandre Aubin
7a891c0ee5 Update changelog for 2.6.0 release 2017-04-24 12:52:30 -04:00
opi
4751591b7f Merge pull request #139 from yunohost-bot/weblate-yunohost-moulinette
Update from Weblate.
2017-04-24 17:35:20 +02:00
Jeroen Keerl
f18acd9d75 [i18n] Translated using Weblate (Dutch)
Currently translated at 100.0% (38 of 38 strings)
2017-04-24 17:29:54 +02:00