Skip to content
Health
60/100
fair
  • Security10/25
    1 grave, 0 minor
  • Activity25/25
    Last human commit 2 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
2
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.39 MB
Module directory on disk
Code analysis 1 migration note 4 models 2 views 1 HTTP endpoint

Description

This module allows to use a Captcha System completly handled by Odoo.

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

Dependencies

Odoo dependencies
Python dependencies
altcha, geoip2
System dependencies
None
Required by
oca_all, website_event_altcha

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
demo_page_view demo_page_view ir.ui.view qweb New
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.

Loading…