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 (18.0) #504

Merged
merged 89 commits into from
Oct 13, 2024
Merged

Conversation

bt-admin
Copy link

bt_gitbot

grindtildeath and others added 30 commits October 9, 2024 11:58
Get rid of keychain dependency
Api key is now based on the new version of server env
Key belong to a specifiv database that can be requested based on the
domain name.

Just setup the db_filter with "%d^" to filter based on domain name
Add a migration script to create the auth.api.key records from keys defined into the cfg file
Provides a specific serction name builder to continue reading the key info from the same section as the one expected by the previous version
oca-ci and others added 27 commits October 9, 2024 17:00
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-auth-16.0/server-auth-16.0-auth_api_key
Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_api_key/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-auth-17.0/server-auth-17.0-auth_api_key
Translate-URL: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-auth_api_key/
Currently translated at 100.0% (17 of 17 strings)

Translation: server-auth-17.0/server-auth-17.0-auth_api_key
Translate-URL: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-auth_api_key/it/
Currently translated at 100.0% (17 of 17 strings)

Translation: server-auth-17.0/server-auth-17.0-auth_api_key
Translate-URL: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-auth_api_key/it/
An archived user should not have an active api key anymore.
But to stay backward compatible the migration script will
keep all key active.
Signed-off-by simahawk
Signed-off-by simahawk
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-auth-18.0/server-auth-18.0-auth_api_key
Translate-URL: https://translation.odoo-community.org/projects/server-auth-18-0/server-auth-18-0-auth_api_key/
@bt-admin bt-admin added the 18.0 label Oct 13, 2024
@bt-admin bt-admin merged commit 625d169 into brain-tec:18.0 Oct 13, 2024
4 checks passed
Copy link

codecov bot commented Oct 13, 2024

Codecov Report

Attention: Patch coverage is 91.22807% with 15 lines in your changes missing coverage. Please review.

Please upload report for BASE (18.0@09fb84b). Learn more about missing BASE report.

Files with missing lines Patch % Lines
auth_api_key/models/ir_http.py 40.90% 13 Missing ⚠️
auth_api_key/models/auth_api_key.py 95.65% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             18.0     #504   +/-   ##
=======================================
  Coverage        ?   91.22%           
=======================================
  Files           ?       15           
  Lines           ?      171           
  Branches        ?       17           
=======================================
  Hits            ?      156           
  Misses          ?       13           
  Partials        ?        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.