Commit graph

1981 commits

Author SHA1 Message Date
Alexandre Aubin
e364e03fb9 Update changelog for 4.2.1 2021-04-17 04:59:37 +02:00
Alexandre Aubin
135fae95a8 For some reason yunohost-api don't want to start due to recent changes in actionamp, apply this trick for subcategories just like we do for categories 2021-04-16 00:06:42 +02:00
Alexandre Aubin
ebb2bda235
Update changelog for 4.2 (#272)
* Update changelog for 4.2

* changelog: Improving error semantic
2021-03-25 01:09:19 +01:00
Alexandre Aubin
a91cd096c5
Merge pull request #267 from yunohost-bot/weblate-yunohost-moulinette
Translations update from Weblate
2021-03-23 04:00:08 +01:00
Krzysztof Nowakowski
facf3fc3e5 Translated using Weblate (Polish)
Currently translated at 100.0% (56 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/pl/
2021-03-22 23:33:52 +00:00
Radek S
aee0224572 Translated using Weblate (Czech)
Currently translated at 100.0% (56 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/cs/
2021-03-22 23:33:52 +00:00
Achal Agrawal
a6547b0a03 Translated using Weblate (Hindi)
Currently translated at 60.7% (34 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/hi/
2021-03-22 23:33:52 +00:00
Miloš Kroulík
d2d008c1fb Translated using Weblate (Czech)
Currently translated at 3.5% (2 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/cs/
2021-03-22 23:33:52 +00:00
Alexandre Aubin
6b0737c63e
Merge pull request #271 from YunoHost/improve-error-semantic
Improve error semantic
2021-03-23 00:33:47 +01:00
Alexandre Aubin
e22aac9af0 Black 2021-03-23 00:24:33 +01:00
Alexandre Aubin
b17a6fa627 Attempt to fix test: handle argparse errors as validation errors 2021-03-23 00:12:15 +01:00
Alexandre Aubin
bc1bdbb247 Introduce validation errors, authentication errors, corresponding http codes 2021-03-12 03:55:52 +01:00
Alexandre Aubin
d6f82c91b8 These doc generators havent been updated in 6 years and most likely ain't used / relevant anymore ... 2021-03-12 03:18:36 +01:00
Alexandre Aubin
f790bde101 We don't need these wrapper classes, just call HTTPResponse directly 2021-03-12 03:14:34 +01:00
Alexandre Aubin
af0957c028 Rework and externalize the authenticator system 2021-03-09 05:43:09 +01:00
Kay0u
f7199f7a64
fix tests, I mean, really fixed this time 2021-03-01 10:52:24 +01:00
Kay0u
affb54f84d
fix tests 2021-03-01 10:45:50 +01:00
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