Commit graph

1914 commits

Author SHA1 Message Date
Alexandre Aubin
cafe68f30e Move LogPipe directly into process.py, we don't need to split that stuff on different files 2021-02-28 21:20:42 +01:00
Alexandre Aubin
e85b9f71d5 Handle the actual logging from the parent process, otherwise we run into a shitload of complex issues to interact with the websocket 2021-02-28 21:18:25 +01:00
Alexandre Aubin
cb5b8c74ec
Merge pull request #263 from YunoHost/unify-loggers
[fix] Logging
2021-02-28 17:33:24 +01:00
Alexandre Aubin
9670357f98 No need to display this message 2021-02-28 16:58:50 +01:00
Alexandre Aubin
16c43a67f7 Only report missing/failed translation as a warning, no need to report as exception... 2021-02-28 16:54:54 +01:00
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