-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
[18.0][MIG] auth_session_timeout #715
base: 18.0
Are you sure you want to change the base?
Commits on Oct 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9e92175 - Browse repository at this point
Copy the full SHA 9e92175View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e91070 - Browse repository at this point
Copy the full SHA 9e91070View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8936f29 - Browse repository at this point
Copy the full SHA 8936f29View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2ff9df - Browse repository at this point
Copy the full SHA b2ff9dfView commit details -
auth_session_timeout: Migrate to v10 * Bump versions * Installable to…
… True * Add Usage section to ReadMe w/ Runbot link * `_crypt_context` now directly exposes the `CryptContext` * Change all instances of openerp to odoo * Add test coverage to IrConfigParameter * Add test coverage for res.users * Remove db from `get_session_parameters` method call * Remove deprecated skiparg for ormcache * Fix tests & lint * Switch cache to use self.cr.dbname * Fix ormcache
Configuration menu - View commit details
-
Copy full SHA for 2bf3c2d - Browse repository at this point
Copy the full SHA 2bf3c2dView commit details -
Module auth_session_timeout: Pluggability (#887)
* Module auth_session_timeout: --------------------------- * Refactor to allow other modules to inherit and augment or override the following: ** Session expiry time (deadline) calculation ** Ignored URLs ** Final session expiry (with possibility to late-abort) * Re-ordered functionality to remove unnecessary work, as this code is called very often. * Do not expire a session if delay gets set to zero (or unset / false) * WIP * Fixed flake8 lint errors * Fixed flake8 lint errors * WIP * WIP * WIP * WIP * WIP * WIP * Module: auth-session-timeout: Refactor ResUser tests to use `unittest.mock` patching * Module: auth_session_timeout: Fixed flake8 lint errors * Module: auth_session_timeout: Fixed flake8 lint errors
Configuration menu - View commit details
-
Copy full SHA for 987bee7 - Browse repository at this point
Copy the full SHA 987bee7View commit details -
auth_session_timeout: Deprecate backwards compat + improve * Deprecat…
…e backwards compatibility methods that were retained during v9 rework * Upgrade API and rename a few things for PEP-8 * Switch to HttpCase for tests * Switch to isolated build
Configuration menu - View commit details
-
Copy full SHA for acace63 - Browse repository at this point
Copy the full SHA acace63View commit details -
corrects AttributeError: 'HttpRequest' object has no attribute 'http'…
… (#1070) * corrects AttributeError: 'HttpRequest' object has no attribute 'http' * updates the module version number for pull request #1070
Configuration menu - View commit details
-
Copy full SHA for eee74ba - Browse repository at this point
Copy the full SHA eee74baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 667faa2 - Browse repository at this point
Copy the full SHA 667faa2View commit details -
[MIG] auth_session_timeout: Migration to version 11.0
New changes for move module, clean module, apply new oca guideline and make compatible with 11.0: * Move module from oca/server-tools:10.0 to oca/server-auth:11.0 * Remove .DS_Store files, addd by mistake in early changes and not needed. * Fix error when make RPC request. Applied thanks to comment added by @christophlsa. For more information go to OCA/server-tools#1163 (review) * Update version to the first one in 11.0 * Update README to match new guideline * Remove she bang coding * Use _authenticate method instead of deprecated method check. For more information go to https://github.com/odoo/odoo/blob/11.0/odoo/http.py#L1049 * Improve auth_session_timeout method return raise SessionExpiredException exception instead of False. This will show a "session expired please reload page" message to the user. * Fix update unitet test. make then turn green and the update then to make them match with new changes - There was not getmtime() result definied in this test case, For that reason was returning a MagicMock() object, For this case their are trying to test that the session is valid, this is the same that the path of the file with session is not expired. To simulate that I just updated for the test case the getmtime() result to a value that will be greater than the delay expected: I used the current time This way when evaluationg if the sessions is expire will return False instead of TypeError: unorderable types: MagicMock() < float() The unit test still works the same and the result is without errors. * Fix plylint errors: - E302 expected 2 blank lines, - Not used variable and not valid var name. Remove e varaible since is not valid name and this one is not been used.
Configuration menu - View commit details
-
Copy full SHA for 3228331 - Browse repository at this point
Copy the full SHA 3228331View commit details -
Configuration menu - View commit details
-
Copy full SHA for 988608e - Browse repository at this point
Copy the full SHA 988608eView commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3 of 3 strings) Translation: server-auth-12.0/server-auth-12.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-12-0/server-auth-12-0-auth_session_timeout/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for c1ffb94 - Browse repository at this point
Copy the full SHA c1ffb94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 562440f - Browse repository at this point
Copy the full SHA 562440fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9fe58 - Browse repository at this point
Copy the full SHA ac9fe58View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-auth-13.0/server-auth-13.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-13-0/server-auth-13-0-auth_session_timeout/
Configuration menu - View commit details
-
Copy full SHA for 0627886 - Browse repository at this point
Copy the full SHA 0627886View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-auth-13.0/server-auth-13.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-13-0/server-auth-13-0-auth_session_timeout/
Configuration menu - View commit details
-
Copy full SHA for fe1b8ff - Browse repository at this point
Copy the full SHA fe1b8ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2ef556 - Browse repository at this point
Copy the full SHA f2ef556View commit details -
[FIX] auth_session_timeout: session timeout applies only to user
Make it so session timeout doe not apply to requests to a route with auth_method="public". Forward port of OCA#258
Configuration menu - View commit details
-
Copy full SHA for af70f8c - Browse repository at this point
Copy the full SHA af70f8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e277555 - Browse repository at this point
Copy the full SHA e277555View commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3 of 3 strings) Translation: server-auth-14.0/server-auth-14.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-14-0/server-auth-14-0-auth_session_timeout/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for 097bde1 - Browse repository at this point
Copy the full SHA 097bde1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1d72c5 - Browse repository at this point
Copy the full SHA d1d72c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d571f - Browse repository at this point
Copy the full SHA 71d571fView commit details -
Translated using Weblate (Catalan)
Currently translated at 100.0% (3 of 3 strings) Translation: server-auth-15.0/server-auth-15.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-auth_session_timeout/ca/
Configuration menu - View commit details
-
Copy full SHA for b9640b2 - Browse repository at this point
Copy the full SHA b9640b2View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings) Translation: server-auth-15.0/server-auth-15.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-auth_session_timeout/it/
Configuration menu - View commit details
-
Copy full SHA for 4e44784 - Browse repository at this point
Copy the full SHA 4e44784View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings) Translation: server-auth-15.0/server-auth-15.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-auth_session_timeout/it/
Configuration menu - View commit details
-
Copy full SHA for 1d5ba6c - Browse repository at this point
Copy the full SHA 1d5ba6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a7e90b - Browse repository at this point
Copy the full SHA 7a7e90bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd5b1f4 - Browse repository at this point
Copy the full SHA bd5b1f4View commit details -
[FIX] auth_session_timeout: problem whereby page is refreshed with F5…
…, but /web is a public route, so it does not trigger the session check but it does trigger session save, so the file mtime is updated before the second HTTP call makes the check takes place, and session is not expired
Configuration menu - View commit details
-
Copy full SHA for 3a3dfb4 - Browse repository at this point
Copy the full SHA 3a3dfb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9642a30 - Browse repository at this point
Copy the full SHA 9642a30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 100e75b - Browse repository at this point
Copy the full SHA 100e75bView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-auth-16.0/server-auth-16.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_session_timeout/
Configuration menu - View commit details
-
Copy full SHA for f241135 - Browse repository at this point
Copy the full SHA f241135View commit details -
Translated using Weblate (Spanish)
Currently translated at 100.0% (3 of 3 strings) Translation: server-auth-16.0/server-auth-16.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_session_timeout/es/
Configuration menu - View commit details
-
Copy full SHA for a514330 - Browse repository at this point
Copy the full SHA a514330View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-auth-16.0/server-auth-16.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_session_timeout/
Configuration menu - View commit details
-
Copy full SHA for 2cfcf1d - Browse repository at this point
Copy the full SHA 2cfcf1dView commit details -
Translated using Weblate (Spanish)
Currently translated at 100.0% (3 of 3 strings) Translation: server-auth-16.0/server-auth-16.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_session_timeout/es/
Configuration menu - View commit details
-
Copy full SHA for 6183ca0 - Browse repository at this point
Copy the full SHA 6183ca0View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings) Translation: server-auth-16.0/server-auth-16.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_session_timeout/it/
Configuration menu - View commit details
-
Copy full SHA for 1bdb7a7 - Browse repository at this point
Copy the full SHA 1bdb7a7View commit details -
Translated using Weblate (Catalan)
Currently translated at 100.0% (3 of 3 strings) Translation: server-auth-16.0/server-auth-16.0-auth_session_timeout Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_session_timeout/ca/
Configuration menu - View commit details
-
Copy full SHA for ed3ed9c - Browse repository at this point
Copy the full SHA ed3ed9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39b5175 - Browse repository at this point
Copy the full SHA 39b5175View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c9306b - Browse repository at this point
Copy the full SHA 5c9306bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce08148 - Browse repository at this point
Copy the full SHA ce08148View commit details -
[ADD] auth_session_timeout:Added pre-migration script for inactive_se…
…ssion_time_out_ignored_url.
Configuration menu - View commit details
-
Copy full SHA for b138111 - Browse repository at this point
Copy the full SHA b138111View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ccd7ee - Browse repository at this point
Copy the full SHA 4ccd7eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8b0df4 - Browse repository at this point
Copy the full SHA d8b0df4View commit details