Commit graph

1067 commits

Author SHA1 Message Date
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
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
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
Jeroen Keerl
04b93a996d [i18n] Translated using Weblate (Dutch)
Currently translated at 100.0% (38 of 38 strings)
2017-04-07 22:50:50 +02:00
Alexandre Aubin
3a667479c3 Adding link to bugtracker 2017-04-03 01:37:11 +02:00
Alexandre Aubin
e10a40657d [fix] Show positional arguments first in --help / usage (#138)
* Show positional arguments first in --help / usage
* Updating reference link
* Adding annotations about diff/tweak with respect to original code
2017-04-02 23:11:57 +02:00
Alexandre Aubin
39891485c5 Use ordered dict for the actionmap cache (#136) 2017-03-18 02:54:15 +01:00
opi
0223d3010a Merge pull request #135 from yunohost-bot/weblate-yunohost-moulinette
Update from Weblate.
2017-02-23 23:23:15 +01:00
Fabian Gruber
8e360f8f13 [i18n] Translated using Weblate (German)
Currently translated at 100.0% (38 of 38 strings)
2017-02-20 16:42:17 +01:00
frju
d19cebb23d [i18n] Translated using Weblate (Portuguese)
Currently translated at 100.0% (38 of 38 strings)
2017-02-20 16:42:16 +01:00
Fabian Gruber
7a2225326b [i18n] Translated using Weblate (German)
Currently translated at 100.0% (38 of 38 strings)
2017-02-20 16:42:16 +01:00
Trollken
5ad97681fd [i18n] Translated using Weblate (Portuguese)
Currently translated at 100.0% (38 of 38 strings)
2017-02-20 16:42:16 +01:00
Trollken
46830168e9 [i18n] Translated using Weblate (Portuguese)
Currently translated at 100.0% (38 of 38 strings)
2017-02-20 16:42:15 +01:00
opi
f2cc73d2b5 Update changelog for 2.5.3 release 2017-02-20 16:41:34 +01:00
Laurent Peuch
4506054238 Merge pull request #134 from YunoHost/fix-774-filesystem-chmod-recursive-mode
[fix] Recursive chmod was broken
2017-02-14 22:27:58 +01:00
ljf
ca7c6e4eaf [fix] Pep8 2017-02-08 16:06:52 +01:00
ljf
9bcee881eb [fix] Recursive chmod was broken 2017-02-08 15:54:59 +01:00
opi
d057a1aa53 Update changelog for 2.5.2 release 2017-02-02 11:06:53 +01:00
opi
7b0bf76f77 Merge branch 'testing' into unstable 2017-02-02 10:46:38 +01:00
Laurent Peuch
7f5e2e1b2d [fix] hotfix another bug related to the logging/log conflict 2017-01-30 05:19:50 +01:00
Moul
4b143b0575 [enh] readme: add translation badge status. 2017-01-28 06:25:45 +01:00
Laurent Peuch
6c200ad9c9 [fix] hotfix for very obvious bug 2017-01-15 09:04:09 +01:00
ljf
8f28d152d1 [fix] Unused import in process is reference and used by yunohost script 2017-01-02 16:30:40 +01:00
Laurent Peuch
93961e9aae [fix] log module was redifining constants thus breaking import 2017-01-02 03:53:15 +01:00