Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bookworm + portal rework #342

Merged
merged 31 commits into from
Oct 31, 2024
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e8f10ce
Update changelog for 12.0.0
alexAubin May 4, 2023
34a2a66
Fix boring login API expecting a weird form/multiparam thing instead …
alexAubin Jul 14, 2023
0f056d6
Moulinette logging is an unecessarily complex mess, episode 57682
alexAubin Jul 17, 2023
3ad7335
Merge branch 'dev' into bookworm
Tagadda Jul 20, 2023
4104704
allow json requests
Axolotle Jul 28, 2023
328107c
api: Add a proper mechanism to allow specific, configurable CORS origins
alexAubin Jul 29, 2023
a6c7e55
api: fix authentication failure not deleting expired cookies
alexAubin Jul 29, 2023
e24d56d
/yunohost/sso/log{in,out} 303 to referer when GET/POST param referer_…
selfhoster1312 Aug 14, 2023
7daa504
Bypass CSRF protection for the /yunohost/portalapi/login route
selfhoster1312 Aug 14, 2023
8016725
Merge pull request #337 from YunoHost/logging-is-a-mess
alexAubin Sep 27, 2023
75f522b
Merge pull request #341 from YunoHost/portal-api
alexAubin Sep 27, 2023
2696e81
quality: make linter gods happy
alexAubin Sep 27, 2023
7210b66
quality: update tox.ini, bookworm has python 3.11
alexAubin Sep 27, 2023
37331cb
quality: fix test/conftest.py, there's no ActionFilter anymore
alexAubin Sep 27, 2023
fc1eef2
quality: we're in python 3.11 bruh
alexAubin Sep 27, 2023
8c28a57
quality: we're in python 3.11 bruh²
alexAubin Sep 27, 2023
bd9736e
quality: we're in python 3.11 bruh³
alexAubin Sep 27, 2023
f562a9b
fix old logger mechanism remants
alexAubin Sep 27, 2023
20d3b82
fix test ... apparently the API now returns 405 when no action is spe…
alexAubin Sep 27, 2023
924fd78
cors: fix some http response error not being catched by cors decorator
Axolotle Nov 8, 2023
d53dfc2
debug: print stacktrace to stderr upon 500 errors, because otherwise …
alexAubin Nov 13, 2023
976aac0
Do not log about loading auth module, it creates tricky issue when ma…
alexAubin Nov 27, 2023
cfb840c
perf: in call_async_output: only wait for 0.1 sec, should speed up th…
alexAubin Nov 27, 2023
bb0a9bd
Merge remote-tracking branch 'origin/dev' into bookworm
alexAubin Jul 17, 2024
9cc786e
Update changelog for 12.0.1 testing
alexAubin Jul 26, 2024
0d7a143
Merge pull request #340 from selfhoster1312/bypass-csrf-login
alexAubin Aug 20, 2024
6f09185
Merge pull request #339 from selfhoster1312/redirect-referer
alexAubin Aug 20, 2024
709585b
Update changelog for 12.0.2
alexAubin Aug 31, 2024
efeaecb
Merge branch 'dev' into bookworm
tituspijean Oct 30, 2024
4ea830e
Update changelog for 12.0.3
tituspijean Oct 30, 2024
9d78118
Merge branch 'dev' into bookworm
alexAubin Oct 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test ... apparently the API now returns 405 when no action is spe…
…cified, I guess that's okay
  • Loading branch information
alexAubin committed Sep 27, 2023
commit 20d3b82340ee4f1705f87a2cd5a68a6b38b26add
2 changes: 1 addition & 1 deletion test/test_auth.py
Original file line number Diff line number Diff line change
@@ -180,7 +180,7 @@ def test_request_arg_with_type(self, moulinette_webapi, caplog, mocker):

def test_request_arg_without_action(self, moulinette_webapi, caplog, mocker):
self.login(moulinette_webapi)
moulinette_webapi.get("/test-auth", status=404)
moulinette_webapi.get("/test-auth", status=405)


class TestAuthCLI: