Commit Graph
14682 Commits
Author SHA1 Message Date
evangelostsak 00f493457d docs(web-app-odoo): fix URL format to avoid external link check
Change access URL format from 'https://odoo.erp.<your-domain>/'
to 'odoo.erp.{DOMAIN}' to prevent CI external link checker from
parsing 'odoo.erp' as a real domain to validate.
2026-04-20 20:26:48 +02:00
evangelostsak 2efdacdc5e feat(web-app-odoo): add OIDC UID field to main.yml for user identification 2026-04-20 20:26:48 +02:00
evangelostsak 81753750c9 feat(web-app-odoo): add OIDC UID field to environment variables in compose template 2026-04-20 20:26:48 +02:00
evangelostsak 956119d8a6 feat(web-app-odoo): implement configurable OIDC UID field for OAuth authentication 2026-04-20 20:26:48 +02:00
evangelostsak 4dc1368f3a feat(web-app-odoo): update module name and summary to reflect configurable OIDC UID field 2026-04-20 20:26:47 +02:00
evangelostsak 394952afcd refactor(web-app-odoo): update TODO list with project links and remove low priority tasks 2026-04-20 20:26:47 +02:00
evangelostsak 453ce89343 fix(web-app-odoo): update Keycloak DB query to use administrator username instead of ID 2026-04-20 20:26:47 +02:00
evangelostsak 411c2ce864 feat(web-app-odoo): implement preferred_username support in OAuth authentication 2026-04-20 20:26:47 +02:00
evangelostsak 19ba134294 feat(web-app-odoo): add __init__.py to auth_oauth_https models for res_users import 2026-04-20 20:26:47 +02:00
evangelostsak ece5d6fd21 feat(web-app-odoo): update module name and description to include preferred_username support 2026-04-20 20:26:47 +02:00
evangelostsak bd2b2bd9f3 fix(web-app-odoo): import models in auth_oauth_https module 2026-04-20 20:26:47 +02:00
evangelostsak 74f3260d25 fix(web-app-odoo): clean up TODO list by removing completed high and medium priority tasks 2026-04-20 20:26:47 +02:00
evangelostsak d49cf65579 fix(web-app-odoo): remove unused protocol mappers from default.json.j2 2026-04-20 20:26:47 +02:00
evangelostsak 733b5453f4 feat(web-app-odoo): auto-create OAuth users with Internal User group
Addresses review feedback: biber and other LDAP users are now
auto-created on first SSO login via Keycloak OAuth signup rather
than hardcoded in Ansible.

OAuth template user mechanism:
- Sets website.auth_signup_uninvited=b2c to allow OAuth signup
- Creates _oauth_template user with Internal User group
- Sets base.template_portal_user_id (key param Odoo actually uses)
- Fallback grants Internal User to existing OAuth users

Adds biber Playwright test to verify OAuth auto-creation works.
2026-04-20 20:26:47 +02:00
evangelostsak 35cfcb834d fix(web-app-odoo): run admin setup before OIDC user linking
OIDC user linking failed because it ran before admin user was
renamed from 'admin' to configured username. Reorder tasks so
05_admin.yml runs before 03_oidc.yml.
2026-04-20 20:26:47 +02:00
evangelostsak 3a6202778f fix(main.yml): add container port definitions for Odoo service 2026-04-20 20:26:47 +02:00
evangelostsak 4dccf36e56 fix(playwright.env.j2): remove biber username and password variables 2026-04-20 20:26:47 +02:00
evangelostsak ae7920ecb2 fix(odoo.conf.j2): replace hardcoded ports with template variables for HTTP and longpolling 2026-04-20 20:26:47 +02:00
evangelostsak f6616bb40e fix(compose.yml.j2): update port mappings and volume definitions for Odoo service 2026-04-20 20:26:47 +02:00
evangelostsak c328cdca48 fix(main.yml): update task name and simplify Odoo addons directory creation 2026-04-20 20:26:47 +02:00
evangelostsak ce46ca21ab fix(oidc): remove biber user linking logic from Keycloak integration 2026-04-20 20:26:47 +02:00
evangelostsak 5f87759ab0 fix(meta): update author information in main.yml 2026-04-20 20:26:47 +02:00
evangelostsak efcb1a17d9 fix(playwright): remove unused Biber credentials from environment variable decoding 2026-04-20 20:26:47 +02:00
evangelostsak 36edf6a2b4 fix(config): update domain references to use 'odoo' prefix and enable Redis service 2026-04-20 20:26:47 +02:00
evangelostsak 90088defc7 docs(readme): update module configuration and authentication details in README 2026-04-20 20:26:47 +02:00
evangelostsak 3df98f9cc3 fix(todos): remove duplicate LDAP authentication test and reorder tasks in TODO list 2026-04-20 20:26:47 +02:00
evangelostsak ae00034976 fix(todos): adjust priority of custom addon development workflow in TODO list 2026-04-20 20:26:47 +02:00
evangelostsak 4bb5f5fce4 refactor(odoo): remove inline LDAP configuration variables from task file 2026-04-20 20:26:47 +02:00
evangelostsak 80324adc1b feat(odoo): add LDAP configuration for res_company_ldap table 2026-04-20 20:26:47 +02:00
evangelostsak c456c4da17 fix(odoo): revert X-Forwarded-Proto header to use $scheme variable once more 2026-04-20 20:26:47 +02:00
evangelostsak 3951b81f49 fix(odoo): revert X-Forwarded-Proto header to use $scheme variable once more 2026-04-20 20:26:47 +02:00
evangelostsak a1d3aeb5e9 fix(odoo): update X-Forwarded-Proto header to use $scheme variable once more 2026-04-20 20:26:47 +02:00
evangelostsak 4a2b31085d fix(odoo): address Copilot review comments
- Remove unused BIBER env assertions from playwright.spec.js
- Pin pip package versions in Dockerfile for reproducible builds
- Use parameterized SQL queries in 04_ldap.yml to prevent injection
2026-04-20 20:26:47 +02:00
evangelostsak 2cd120b5ae feat(odoo): add Playwright environment configuration template 2026-04-20 20:26:47 +02:00
evangelostsak 6380b666f9 feat(odoo): enable OAuth signup and link existing users to Keycloak in Odoo 2026-04-20 20:26:47 +02:00
evangelostsak b595737fe8 feat(odoo): add auth_signup module installation for OAuth user auto-creation 2026-04-20 20:26:47 +02:00
evangelostsak e47f73ddb0 feat(odoo): mark Playwright end-to-end tests as completed in TODO 2026-04-20 20:26:47 +02:00
evangelostsak 169d3108e3 feat(odoo): add Playwright test suite for Odoo SSO login and logout flow 2026-04-20 20:26:46 +02:00
evangelostsak db9d11d2ff feat(keycloak): add user_id protocol mapper to client configuration 2026-04-20 20:26:46 +02:00
evangelostsak 33fdea7cf5 feat(odoo): add main configuration variables for Odoo setup including database, email, and LDAP settings 2026-04-20 20:26:46 +02:00
evangelostsak 95ad467988 feat(odoo): add user configuration for administrator and contact accounts 2026-04-20 20:26:46 +02:00
evangelostsak 823ecea17a feat(odoo): add Odoo configuration template for database, server, and SMTP settings 2026-04-20 20:26:46 +02:00
evangelostsak 25847aa3a5 feat(odoo): add Docker Compose configuration for Odoo service and Redis integration 2026-04-20 20:26:46 +02:00
evangelostsak 7c23c68874 feat(odoo): add main tasks for Odoo deployment including directory creation, configuration, and module installation 2026-04-20 20:26:46 +02:00
evangelostsak 98d439678f feat(odoo): add tasks to create or update Odoo administrator user and partner details 2026-04-20 20:26:46 +02:00
evangelostsak 18fa1a2c05 feat(odoo): add LDAP configuration tasks for Odoo authentication 2026-04-20 20:26:46 +02:00
evangelostsak 886eaae75a feat(odoo): add OIDC configuration for Keycloak provider in Odoo 2026-04-20 20:26:46 +02:00
evangelostsak f2c78526ef feat(odoo): add task to install Odoo modules including auth_oauth, auth_oauth_https, and auth_ldap 2026-04-20 20:26:46 +02:00
evangelostsak 7a47c8ed95 feat(odoo): add task to initialize Odoo database and install core modules 2026-04-20 20:26:46 +02:00
evangelostsak f42469fb36 feat(odoo): add main.yml for Odoo credentials schema 2026-04-20 20:26:46 +02:00