-
Notifications
You must be signed in to change notification settings - Fork 0
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) #515
Commits on May 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 105309a - Browse repository at this point
Copy the full SHA 105309aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b67b4d0 - Browse repository at this point
Copy the full SHA b67b4d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd23d07 - Browse repository at this point
Copy the full SHA bd23d07View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbb793c - Browse repository at this point
Copy the full SHA bbb793cView 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 04d76b7 - Browse repository at this point
Copy the full SHA 04d76b7View 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 01094a7 - Browse repository at this point
Copy the full SHA 01094a7View 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 35465eb - Browse repository at this point
Copy the full SHA 35465ebView 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 9bed7d3 - Browse repository at this point
Copy the full SHA 9bed7d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b3e923 - Browse repository at this point
Copy the full SHA 4b3e923View 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 cf8041d - Browse repository at this point
Copy the full SHA cf8041dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cf72ec - Browse repository at this point
Copy the full SHA 5cf72ecView 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 b9bbc41 - Browse repository at this point
Copy the full SHA b9bbc41View commit details -
Configuration menu - View commit details
-
Copy full SHA for a963a14 - Browse repository at this point
Copy the full SHA a963a14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53ed9f8 - Browse repository at this point
Copy the full SHA 53ed9f8View 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 9970dce - Browse repository at this point
Copy the full SHA 9970dceView 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 efa246b - Browse repository at this point
Copy the full SHA efa246bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3081588 - Browse repository at this point
Copy the full SHA 3081588View 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 #258
Configuration menu - View commit details
-
Copy full SHA for 83b1477 - Browse repository at this point
Copy the full SHA 83b1477View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86a0c7a - Browse repository at this point
Copy the full SHA 86a0c7aView 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 dfadf06 - Browse repository at this point
Copy the full SHA dfadf06View commit details -
Configuration menu - View commit details
-
Copy full SHA for cba782d - Browse repository at this point
Copy the full SHA cba782dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a075d9 - Browse repository at this point
Copy the full SHA 1a075d9View 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 52aacb6 - Browse repository at this point
Copy the full SHA 52aacb6View 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 768fdb3 - Browse repository at this point
Copy the full SHA 768fdb3View 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 017acec - Browse repository at this point
Copy the full SHA 017acecView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7d71da - Browse repository at this point
Copy the full SHA b7d71daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c6270d - Browse repository at this point
Copy the full SHA 4c6270dView 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 540390f - Browse repository at this point
Copy the full SHA 540390fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb540d5 - Browse repository at this point
Copy the full SHA fb540d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5173855 - Browse repository at this point
Copy the full SHA 5173855View 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 37c820e - Browse repository at this point
Copy the full SHA 37c820eView 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 da5e663 - Browse repository at this point
Copy the full SHA da5e663View 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 232cd50 - Browse repository at this point
Copy the full SHA 232cd50View 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 a297521 - Browse repository at this point
Copy the full SHA a297521View 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 938bb09 - Browse repository at this point
Copy the full SHA 938bb09View 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 64bcac2 - Browse repository at this point
Copy the full SHA 64bcac2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bb2d4b - Browse repository at this point
Copy the full SHA 2bb2d4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 495241a - Browse repository at this point
Copy the full SHA 495241aView commit details
Commits on May 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5e04c9c - Browse repository at this point
Copy the full SHA 5e04c9cView commit details
Commits on Oct 3, 2024
-
[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 cb373c8 - Browse repository at this point
Copy the full SHA cb373c8View commit details
Commits on Oct 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e58c141 - Browse repository at this point
Copy the full SHA e58c141View commit details -
[UPD] Update auth_session_timeout.pot
oca-ci committedOct 31, 2024 Configuration menu - View commit details
-
Copy full SHA for e9d0014 - Browse repository at this point
Copy the full SHA e9d0014View commit details -
Configuration menu - View commit details
-
Copy full SHA for def9106 - Browse repository at this point
Copy the full SHA def9106View commit details