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

[16.0][MIG] auth_session_timeout #507

Merged
merged 29 commits into from
Sep 23, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
15580fe
inactive_session_timeout > auth_session_timeout
pedrobaeza Aug 29, 2016
7d965de
auth_session_timeout: References to old name
pedrobaeza Aug 29, 2016
a768a75
Make modules uninstallable
pedrobaeza Oct 6, 2016
bdf9834
Rename manifest files
pedrobaeza Oct 6, 2016
e697531
auth_session_timeout: Migrate to v10 * Bump versions * Installable to…
lasley Oct 21, 2016
568c4c7
Module auth_session_timeout: Pluggability (#887)
jmorgannz Sep 6, 2017
7fd4b87
auth_session_timeout: Deprecate backwards compat + improve * Deprecat…
lasley Nov 6, 2017
9f13ba8
corrects AttributeError: 'HttpRequest' object has no attribute 'http'…
beenhere4hours Nov 29, 2017
5230010
auth_session_timeout: Migration to 11.0
nadiaafa Feb 18, 2018
bef0818
[MIG] auth_session_timeout: Migration to version 11.0
zaoral Jul 12, 2018
534e4ba
[12.0][MIG] auth_session_timeout
Jun 6, 2019
505e90c
Translated using Weblate (Portuguese (Brazil))
Sep 3, 2019
8deeb89
[MIG] auth_session_timeout: Migration to 13.0
rruebner Oct 1, 2019
9bb2408
[REF] pre-commit lint
dreispt Apr 1, 2020
d3c4a12
Update translation files
oca-transbot May 13, 2020
b2dcca8
Update translation files
oca-transbot Aug 16, 2020
e9f755c
[MIG] auth_session_timeout: Migration to 14.0
Chandresh-SerpentCS Feb 10, 2021
f7959b1
[FIX] auth_session_timeout: session timeout applies only to user
pierre-halleux Mar 18, 2021
dc57d93
auth_session_timeout 14.0.1.0.1
OCA-git-bot May 5, 2021
8a7c5bc
Translated using Weblate (Portuguese (Brazil))
Feb 1, 2022
3457021
[IMP] auth_session_timeout: black, isort
flachica Mar 1, 2022
916f690
[MIG] auth_session_timeout: Migration to 15.0
flachica Mar 1, 2022
1ac9a50
Translated using Weblate (Catalan)
Noel000 Apr 13, 2022
d9c4379
Translated using Weblate (Italian)
mymage Dec 28, 2022
38342e5
Translated using Weblate (Italian)
francesco-ooops Mar 7, 2023
7475b35
[IMP] auth_session_timeout: pre-commit execution
bosd Apr 20, 2023
51bd8c2
[MIG] auth_session_timeout: Migration to 16.0
bosd Apr 20, 2023
e306bf2
[13.0][IMP] timeout check triggered on session uid
gfcapalbo Jan 27, 2022
56e3d2d
[FIX] auth_session_timeout: problem whereby page is refreshed with F5…
thomaspaulb Jul 2, 2023
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
[13.0][IMP] timeout check triggered on session uid
  • Loading branch information
gfcapalbo authored and bosd committed Aug 12, 2023
commit e306bf2361d37f9db6ddd80df0fc7196ed9c0c2c
2 changes: 1 addition & 1 deletion auth_session_timeout/models/ir_http.py
Original file line number Diff line number Diff line change
@@ -11,6 +11,6 @@ class IrHttp(models.AbstractModel):
def _authenticate(cls, endpoint):
res = super(IrHttp, cls)._authenticate(endpoint=endpoint)
auth_method = endpoint.routing["auth"]
if auth_method == "user" and request and request.env and request.env.user:
if auth_method == "user" and request and request.session and request.session.uid:
request.env.user._auth_timeout_check()
return res