Commit graph

1759 commits

Author SHA1 Message Date
Alexandre Aubin
cde45de0ba Add m18n helper to check that a key exist 2021-02-28 16:54:19 +01:00
Alexandre Aubin
bdd048197d Misc logging fixes 2021-01-31 16:14:06 +01:00
Alexandre Aubin
e7a01c68f5 Revert "[mod] unify all subloggers under moulinette.core"
This reverts commit c88f127b8c691c6121229402be4375fdc62ed6bf.
2021-01-31 16:14:06 +01:00
Laurent Peuch
9a35d77a08 [mod] better error message 2021-01-31 16:14:06 +01:00
Laurent Peuch
10576f7138 [mod] unify all subloggers under moulinette.core 2021-01-31 16:14:06 +01:00
Alexandre Aubin
cf98095303
Merge pull request #269 from YunoHost/fix-argparse
Fix argparse
2021-01-31 14:41:11 +01:00
Kayou
90f894b541
Do not encode strings for plain output 2021-01-30 11:13:53 +01:00
Kay0u
5cd0cb752b
Remove copy pasta 2021-01-26 21:38:09 +01:00
Kay0u
53cbca2c1e
Add test without action 2021-01-26 21:19:26 +01:00
Kay0u
1a95e6e779
Merge branch 'dev' into fix-argparse 2021-01-26 21:04:39 +01:00
Kayou
93977542b3
Merge pull request #268 from YunoHost/fixing-tests
Fixing tests
2021-01-26 18:05:32 +01:00
Kay0u
63ae3b677f
remove stdinfo 2021-01-26 16:38:36 +01:00
Kay0u
84d250c1c2
monkey patch _get_action_name 2021-01-26 12:05:25 +01:00
Kay0u
9077569c22
in python3 OrderedDict and array are not the same 2021-01-26 12:05:05 +01:00
Kay0u
6c61b9cceb
fix travis 2021-01-26 11:37:25 +01:00
Kay0u
d56f9ade4f
fix doc 2021-01-26 10:40:38 +01:00
Kay0u
c0e76df229
fix a warning during tests 2021-01-26 10:39:44 +01:00
Kayou
48d14f34d2
remove unused exception var 2021-01-25 23:24:24 +01:00
Kay0u
b1d576d615
fix process tests 2021-01-25 18:53:42 +01:00
Kay0u
ce3971093d
call_async_output: we can't use stdinfo in kwargs, close stdout, stderr and stdinfo if subprocess.Popen raise an exception 2021-01-25 18:53:33 +01:00
Kay0u
b0063c4293
fix ldap tests 2021-01-25 18:51:59 +01:00
Kay0u
dd6a419528
fix auth tests 2021-01-25 18:51:51 +01:00
Kay0u
53dd9fe973
fix actionsmap tests 2021-01-25 18:51:40 +01:00
Kay0u
771368a85c
remove old_slapdtest (only for python2) 2021-01-25 18:51:06 +01:00
Kay0u
c1c34c11e2
format code 2021-01-25 18:50:05 +01:00
Kay0u
4f5d957106
remove allow_failures for python3 2021-01-25 18:48:47 +01:00
Alexandre Aubin
ae4087d522
Merge pull request #257 from YunoHost/return-additional-error-data-to-api
Support more complex errors (be able to return additional data in a json structure)
2021-01-23 16:05:45 +01:00
Alexandre Aubin
3758b81137 Build doc with python3 ? 2021-01-20 06:07:47 +01:00
Alexandre Aubin
0de154678c Black again, with the right version this time.. 2021-01-20 05:59:24 +01:00
Alexandre Aubin
677efcf6d6 Black? 2021-01-20 05:46:05 +01:00
Alexandre Aubin
570e53234a Drop support for python2 2021-01-20 05:35:35 +01:00
Alexandre Aubin
19a40b6e9a Placeholder / bump version to 4.2 for unstable deb builds / CI stuff 2021-01-20 05:21:05 +01:00
Alexandre Aubin
8e70561f9c
Trash test in python 2.7, only keep 3.x 2021-01-20 00:31:51 +01:00
Alexandre Aubin
e4b70e3861
Merge pull request #228 from kay0u/enh-python3
Minimal change to support python3
2021-01-19 23:05:21 +01:00
Alexandre Aubin
8105718705
Merge branch 'dev' into enh-python3 2021-01-19 23:04:25 +01:00
Kay0u
1dac904e31
Update changelog for 4.1.4 2021-01-14 21:50:33 +01:00
Alexandre Aubin
755a475e5d We don't really care that there's 'nothing to update in ldap' 2021-01-13 02:30:39 +01:00
Alexandre Aubin
7333b6a342 Update changelog for 4.1.3 2021-01-08 03:15:32 +01:00
Alexandre Aubin
04890c4a61 Update changelog for 4.1.2 2021-01-07 00:29:00 +01:00
Alexandre Aubin
4dd1f4baf2
Merge pull request #260 from yunohost-bot/weblate-yunohost-moulinette
Translations update from Weblate
2021-01-06 18:29:47 +01:00
ppr
bc6287d330 Translated using Weblate (French)
Currently translated at 100.0% (56 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/fr/
2021-01-06 00:34:08 +00:00
Alexandre Aubin
4bd33a64d9
Merge pull request #266 from YunoHost/fix-argparse
Fix https://github.com/YunoHost/yunohost/pull/1075#discussion_r551045491
2021-01-06 01:33:44 +01:00
Kay0u
9236727561
Fix https://github.com/YunoHost/yunohost/pull/1075#discussion_r551045491 2021-01-06 01:29:33 +01:00
Alexandre Aubin
793eddd1e3 I have no idea what i'm doing² 2021-01-02 18:26:09 +01:00
Alexandre Aubin
faeda4908d I have no idea what i'm doing 2021-01-02 17:46:49 +01:00
Alexandre Aubin
201b033606
Merge pull request #264 from YunoHost/kill_error_see_log
[mod] trash this UX madness that is error_see_logs and improve error messages
2021-01-01 16:21:15 +01:00
Laurent Peuch
f9454da5e7 [mod] trash this UX madness that is error_see_logs and improve error messages 2021-01-01 15:24:49 +01:00
Alexandre Aubin
c1213760f1 debian: don't build --with python2, and turns out X-Python-Version is obsolete in control 2021-01-01 05:16:18 +01:00
Alexandre Aubin
84f17f7830 Rework / simplify the whole story of call_async_output that was a complete mess and broken by Python 3 for some reason. New code should be much more simple and fix the synchronization between debug, info, warnings, and probably also more performant overall ? 2021-01-01 04:00:57 +01:00
Alexandre Aubin
d0b43f0e4a Merge branch 'dev' into enh-python3 2020-12-31 23:46:05 +01:00