Repository
OCA/website · module folder · Try on Runboat
Module version
1.0.1
Category
Uncategorized
Folder size
0.38 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/website
Last tracking update
2026-08-11 23:11:07
Authors
Odoo Community Association (OCA), Dixmit
Maintainers
Odoo Community Association (OCA), Dixmit
Committers
Enric Tobella, tarteo, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
altcha, geoip2
System dependencies
None
Required by
oca_all
Description
This module allows to use a Captcha System completly handled by Odoo.

It relies on Altcha (https://altcha.org), an OpenSource captcha alternative.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.cookiefirst res.config.settings form Inherits website.res_config_settings_view_form
HTTP endpoints (1)
Route(s)HandlerAuthTypeMethodsFlags
/altcha AltchaController.generate_altcha_challenge public http ALL sudo website
Models touched (4)

New fields (3)
  • expires_at Datetime
    required=True
  • key Char
    required=True
  • used Boolean
    default=False
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_frontend_session_info(self)
    @api.model

New fields (6)
  • altcha_algorithm Selection
    readonly=False related='website_id.altcha_algorithm'
  • altcha_cost Integer
    readonly=False related='website_id.altcha_cost'
  • altcha_enabled Boolean
    compute='_compute_altcha_enabled' help='Enable Altcha functionality on the website.' readonly=False string='Enable Altcha'
  • altcha_key Char
    readonly=False related='website_id.altcha_key'
  • altcha_private_key Char
    readonly=False related='website_id.altcha_private_key'
  • altcha_timeout Integer
    readonly=False related='website_id.altcha_timeout'
Public methods (0)

No public methods.

New fields (5)
  • altcha_algorithm Selection
    default='PBKDF2/SHA-512' selection=<expr>
  • altcha_cost Integer
    default=5000 help='Cost factor for the hashing algorithm.\n For PBKDF2, this is the number of iterations.\n Default is 5000 for PBKDF2/SHA-512.'
  • altcha_key Char
  • altcha_private_key Char
  • altcha_timeout Integer
    default=5 help='Time in minutes before a captcha expires. Default is 5 minutes.'
Public methods (0)

No public methods.

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
84 days ago
Last activity
82 days ago
Repository
OCA/website
Pull request
[16.0][MIG] website_altcha (#1190)
Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
77 days ago
Last activity
77 days ago
Repository
OCA/website
Pull request
[17.0][MIG] website_altcha (#1192)