Commit graph

2137 commits

Author SHA1 Message Date
Alexandre Aubin
cfb840c5cc perf: in call_async_output: only wait for 0.1 sec, should speed up things significantly for stuff that calls a lot of hooks... 2023-11-27 15:56:52 +01:00
Alexandre Aubin
976aac0d05 Do not log about loading auth module, it creates tricky issue when manually launching yunohost APIs to debug them 2023-11-27 15:55:45 +01:00
Alexandre Aubin
d53dfc2997 debug: print stacktrace to stderr upon 500 errors, because otherwise APIs are hell to debug ~_~ 2023-11-13 15:36:29 +01:00
axolotle
924fd7825e cors: fix some http response error not being catched by cors decorator 2023-11-08 19:11:18 +01:00
Alexandre Aubin
20d3b82340 fix test ... apparently the API now returns 405 when no action is specified, I guess that's okay 2023-09-27 20:23:11 +02:00
Alexandre Aubin
f562a9b333 fix old logger mechanism remants 2023-09-27 20:15:57 +02:00
Alexandre Aubin
bd9736efc1 quality: we're in python 3.11 bruh³ 2023-09-27 20:11:16 +02:00
Alexandre Aubin
8c28a573e2 quality: we're in python 3.11 bruh² 2023-09-27 20:09:48 +02:00
Alexandre Aubin
fc1eef2d92 quality: we're in python 3.11 bruh 2023-09-27 20:08:38 +02:00
Alexandre Aubin
37331cb1d6 quality: fix test/conftest.py, there's no ActionFilter anymore 2023-09-27 20:06:34 +02:00
Alexandre Aubin
7210b66fba quality: update tox.ini, bookworm has python 3.11 2023-09-27 20:04:15 +02:00
Alexandre Aubin
2696e811ce quality: make linter gods happy 2023-09-27 20:02:41 +02:00
Alexandre Aubin
75f522be56
Merge pull request #341 from YunoHost/portal-api
Tweaks and fixes for new portal API / ssowat refactoring
2023-09-27 18:55:29 +02:00
Alexandre Aubin
8016725604
Merge pull request #337 from YunoHost/logging-is-a-mess
Moulinette logging is an unecessarily complex mess, episode 57682
2023-09-27 17:45:10 +02:00
Alexandre Aubin
a6c7e55d1d api: fix authentication failure not deleting expired cookies 2023-07-29 19:10:47 +02:00
Alexandre Aubin
328107c946 api: Add a proper mechanism to allow specific, configurable CORS origins 2023-07-29 19:09:52 +02:00
axolotle
4104704a87 allow json requests 2023-07-28 17:17:51 +02:00
Tagada
3ad73355da Merge branch 'dev' into bookworm 2023-07-20 16:10:46 +02:00
Alexandre Aubin
0f056d66d7 Moulinette logging is an unecessarily complex mess, episode 57682 2023-07-18 00:20:24 +02:00
Alexandre Aubin
b4e79bd278 Update changelog for 11.2 2023-07-17 16:33:14 +02:00
Alexandre Aubin
5ec28b19c0
Merge pull request #335 from yunohost-bot/weblate-yunohost-moulinette
Translations update from Weblate
2023-07-17 15:53:09 +02:00
Alexandre Aubin
34a2a66027 Fix boring login API expecting a weird form/multiparam thing instead of classic JSON for credentials ... 2023-07-14 19:09:00 +02:00
motcha
64a39cc595 Translated using Weblate (Japanese)
Currently translated at 100.0% (45 of 45 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/ja/
2023-07-12 01:35:12 +02:00
Alexandre Aubin
e5fa7ab734 Update changelog for 11.1.5 2023-07-10 21:34:12 +02:00
Alexandre Aubin
d66fd94f68
Merge pull request #334 from yunohost-bot/weblate-yunohost-moulinette
Translations update from Weblate
2023-07-10 21:32:02 +02:00
motcha
145fd9a91a Translated using Weblate (Japanese)
Currently translated at 4.4% (2 of 45 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/ja/
2023-07-10 21:29:06 +02:00
Weblate
0c71095db3 Added translation using Weblate (Japanese) 2023-07-10 21:29:06 +02:00
Alexandre Aubin
c06e1a91c9 auth: prevent stupid issue where outdated cookie usage would trigger error 500 intead of 401, resulting in a ~bug after Yunohost self-upgrade and the webadmin is confused about the API not being up again 2023-07-10 21:28:54 +02:00
Alexandre Aubin
d4769ec0a5
Merge pull request #332 from yunohost-bot/weblate-yunohost-moulinette
Translations update from Weblate
2023-05-08 15:47:02 +02:00
Alexandre Aubin
e8f10ce54e Update changelog for 12.0.0 2023-05-04 22:38:06 +02:00
Neko Nekowazarashi
9078c881ea Translated using Weblate (Indonesian)
Currently translated at 95.5% (43 of 45 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/id/
2023-04-25 12:11:42 +02:00
Neko Nekowazarashi
f6234577c4 Translated using Weblate (Indonesian)
Currently translated at 95.5% (43 of 45 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/id/
2023-03-27 03:04:42 +02:00
Neko Nekowazarashi
6ec06b4ce3 Translated using Weblate (Indonesian)
Currently translated at 88.8% (40 of 45 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/id/
2023-03-27 02:29:51 +02:00
liimee
d1e10e23d4 Translated using Weblate (Indonesian)
Currently translated at 88.8% (40 of 45 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/id/
2023-03-07 23:31:01 +01:00
Neko Nekowazarashi
c5aeb1acad Translated using Weblate (Indonesian)
Currently translated at 88.8% (40 of 45 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/id/
2023-02-27 19:14:59 +01:00
Alexandre Aubin
2373a7fa5e
setup.py: fix version specifier in python_requires, python tooling not happy with * i guess 2023-02-06 21:05:57 +01:00
Alexandre Aubin
d1827d1a41
Merge pull request #331 from yunohost-bot/weblate-yunohost-moulinette
Translations update from Weblate
2023-02-06 21:05:01 +01:00
Poesty Li
f1e7984fc9 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (45 of 45 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/zh_Hans/
2023-02-06 20:30:26 +01:00
Alexandre Aubin
1fb77feec3
Merge pull request #330 from YunoHost/actions/black
Format Python code with Black
2023-02-01 20:33:26 +01:00
alexAubin
52bbab7df1 🎨 Format Python code with Black 2023-02-01 19:30:09 +00:00
Alexandre Aubin
aaf7f764e3 Update changelog for 11.1.4 2023-02-01 20:29:27 +01:00
Alexandre Aubin
4d2694ef8d Update changelog for 11.1.2.1 2023-01-30 16:34:59 +01:00
Alexandre Aubin
2539ea9c70
Merge pull request #329 from yunohost-bot/weblate-yunohost-moulinette
Translations update from Weblate
2023-01-30 15:49:45 +01:00
Weblate
d7162b209a Added translation using Weblate (Lithuanian) 2023-01-14 15:42:32 +01:00
ButterflyOfFire
cabe9a728b Translated using Weblate (Arabic)
Currently translated at 100.0% (45 of 45 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/ar/
2023-01-11 20:17:03 +01:00
Alexandre Aubin
4c03e16de9 Handle calling 'yunohost' with no args more gracefully 2023-01-06 17:33:31 +01:00
Alexandre Aubin
9fc33eec1a Update changelog for 11.1.2 2023-01-06 00:38:59 +01:00
Alexandre Aubin
95695e94d7
Merge pull request #325 from yunohost-bot/weblate-yunohost-moulinette
Translations update from Weblate
2023-01-05 19:19:12 +01:00
xabirequejo
bc9b4a2ce2 Translated using Weblate (Basque)
Currently translated at 100.0% (45 of 45 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/eu/
2023-01-05 19:18:49 +01:00
André Koot
55a09c57ac Translated using Weblate (Dutch)
Currently translated at 100.0% (45 of 45 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/nl/
2023-01-05 19:18:49 +01:00