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

Syncing from upstream OCA/server-auth (17.0) #552

Merged
merged 3 commits into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ addon | version | maintainers | summary
[auth_oauth_multi_token](auth_oauth_multi_token/) | 17.0.1.0.0 | | Allow multiple connection with the same OAuth account
[auth_oidc](auth_oidc/) | 17.0.1.1.0 | [![sbidoul](https://github.com/sbidoul.png?size=30px)](https://github.com/sbidoul) | Allow users to login through OpenID Connect Provider
[auth_saml](auth_saml/) | 17.0.1.0.1 | [![vincent-hatakeyama](https://github.com/vincent-hatakeyama.png?size=30px)](https://github.com/vincent-hatakeyama) | SAML2 Authentication
[auth_session_timeout](auth_session_timeout/) | 17.0.1.0.0 | | This module disable all inactive sessions since a given delay
[auth_session_timeout](auth_session_timeout/) | 17.0.1.0.1 | | This module disable all inactive sessions since a given delay
[auth_signup_verify_email](auth_signup_verify_email/) | 17.0.1.0.0 | | Force uninvited users to use a good email for signup
[auth_user_case_insensitive](auth_user_case_insensitive/) | 17.0.1.0.0 | | Makes the user login field case insensitive
[impersonate_login](impersonate_login/) | 17.0.1.0.2 | [![Kev-Roche](https://github.com/Kev-Roche.png?size=30px)](https://github.com/Kev-Roche) | tools
Expand Down
26 changes: 13 additions & 13 deletions auth_session_timeout/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Inactive Sessions Timeout
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6f3e687067d94eeb9487d1abe5aba562854a6f47100fb3475fe038f51ea86d7d
!! source digest: sha256:4bf08a0095aa7e9cb8c59593811fd93a4a8e111755155f59b14f48fff523d9e3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
Expand Down Expand Up @@ -43,10 +43,10 @@ Configuration

Two system parameters are available:

- ``inactive_session_time_out_delay``: validity of a session in seconds
(default = 2 Hours)
- ``inactive_session_time_out_ignored_url``: technical urls where the
check does not occur
- ``inactive_session_time_out_delay``: validity of a session in seconds
(default = 2 Hours)
- ``inactive_session_time_out_ignored_url``: technical urls where the
check does not occur

Usage
=====
Expand Down Expand Up @@ -77,15 +77,15 @@ Authors
Contributors
------------

- Cédric Pigeon <[email protected]>
- Dhinesh D <[email protected]>
- Jesse Morgan <[email protected]>
- Dave Lasley <[email protected]>
- Nadia Afakrouch <[email protected]>
- Chandresh Thakkar <[email protected]>
- `Greenice <https://www.greenice.com>`__:
- Cédric Pigeon <[email protected]>
- Dhinesh D <[email protected]>
- Jesse Morgan <[email protected]>
- Dave Lasley <[email protected]>
- Nadia Afakrouch <[email protected]>
- Chandresh Thakkar <[email protected]>
- `Greenice <https://www.greenice.com>`__:

- Fernando La Chica <[email protected]>
- Fernando La Chica <[email protected]>

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion auth_session_timeout/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"website": "https://github.com/OCA/server-auth",
"category": "Tools",
"development_status": "Production/Stable",
"version": "17.0.1.0.0",
"version": "17.0.1.0.1",
"license": "AGPL-3",
"data": ["data/ir_config_parameter_data.xml"],
"installable": True,
Expand Down
4 changes: 2 additions & 2 deletions auth_session_timeout/migrations/17.0.1.0.0/pre-migration.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
def migrate(env, version):
def migrate(cr, version):
"""
Updates the 'inactive_session_time_out_ignored_url' parameter
in the 'ir_config_parameter' table during migration.
"""
env.cr.execute(
cr.execute(
"""
UPDATE ir_config_parameter
SET value = '/calendar/notify,/websocket'
Expand Down
2 changes: 1 addition & 1 deletion auth_session_timeout/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Inactive Sessions Timeout</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6f3e687067d94eeb9487d1abe5aba562854a6f47100fb3475fe038f51ea86d7d
!! source digest: sha256:4bf08a0095aa7e9cb8c59593811fd93a4a8e111755155f59b14f48fff523d9e3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-auth/tree/17.0/auth_session_timeout"><img alt="OCA/server-auth" src="https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-auth_session_timeout"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-auth&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module was written to be able to kill(logout) all inactive sessions
Expand Down