[PATCH 3/3] Build a translation facility for FastAPI

2020-07-20 Thread Frédéric Mangano-Tarumi
--- aurweb/l10n.py| 22 ++ aurweb/routers/sso.py | 20 +++- 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/aurweb/l10n.py b/aurweb/l10n.py index 51b56abb..a476ecd8 100644 --- a/aurweb/l10n.py +++ b/aurweb/l10n.py @@ -16,3 +16,25 @@

[PATCH 2/3] SSO: Port account suspension

2020-07-20 Thread Frédéric Mangano-Tarumi
--- aurweb/routers/sso.py | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/aurweb/routers/sso.py b/aurweb/routers/sso.py index efd4462c..3e3b743d 100644 --- a/aurweb/routers/sso.py +++ b/aurweb/routers/sso.py @@ -41,11 +41,20 @@ async def login(request: Request):

[PATCH 1/3] SSO: Port IP ban checking

2020-07-20 Thread Frédéric Mangano-Tarumi
--- aurweb/routers/sso.py | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/aurweb/routers/sso.py b/aurweb/routers/sso.py index 04ecdca6..efd4462c 100644 --- a/aurweb/routers/sso.py +++ b/aurweb/routers/sso.py @@ -14,7 +14,7 @@ from starlette.requests import