-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from qrtl/15.0-add-website_recaptcha_v2_form
[4999][ADD] website_recaptcha_v2, website_recaptcha_v2_form
- Loading branch information
Showing
43 changed files
with
1,687 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../website_recaptcha_v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |
1 change: 1 addition & 0 deletions
1
setup/website_recaptcha_v2_form/odoo/addons/website_recaptcha_v2_form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../website_recaptcha_v2_form |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
==================== | ||
Website reCAPTCHA v2 | ||
==================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:55856dbbdf9c9efc1b9b1ebbb33638a0018eda0d91bd6c8c9e30805aa8f2e5b0 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github | ||
:target: https://github.com/OCA/website/tree/16.0/website_recaptcha_v2 | ||
:alt: OCA/website | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_recaptcha_v2 | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=16.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module allows to use reCAPTCHA v2 on website forms. | ||
|
||
It is a helper module that only provides the widget and the validation logic | ||
which can be used by other modules to actually display it on website forms and | ||
check whether the user entry is valid. | ||
|
||
This module originally comes from ``website_recaptcha_reloaded`` from Tech | ||
Receptives, which itself comes from ``website_recaptcha`` from Elico Corp. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
reCAPTCHA is configured in Settings > Website. It can be enabled or disabled | ||
using the checkbox, and the site and secret keys can be defined there when it | ||
is enabled. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/website/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/website/issues/new?body=module:%20website_recaptcha_v2%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Elico Corp | ||
* Tech Receptives | ||
* Coop IT Easy SC | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* `Elico Corp <https://elico-corp.com>`_: | ||
|
||
* Augustin Cisterne-Kaas | ||
* `Tech Receptives <https://techreceptives.com>`_: | ||
|
||
* Parthiv Patel | ||
* Hardik Kalariya | ||
|
||
* `Coop IT Easy SC <https://coopiteasy.be>`_: | ||
|
||
* Houssine Bakkali | ||
* Robin Keunen | ||
* Carmen Bianca Bakker | ||
* Victor Champonnois | ||
* hugues de keyzer | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
This module is part of the `OCA/website <https://github.com/OCA/website/tree/16.0/website_recaptcha_v2>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# SPDX-FileCopyrightText: 2010-2014 Elico Corp | ||
# SPDX-FileContributor: Augustin Cisterne-Kaas <[email protected]> | ||
# SPDX-FileCopyrightText: 2015 Tech-Receptives Solutions Pvt. Ltd. | ||
# | ||
# SPDX-License-Identifier: AGPL-3.0-or-later | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# SPDX-FileCopyrightText: 2010-2014 Elico Corp | ||
# SPDX-FileContributor: Augustin Cisterne-Kaas <[email protected]> | ||
# SPDX-FileCopyrightText: 2015 Tech-Receptives Solutions Pvt. Ltd. | ||
# SPDX-FileCopyrightText: 2019 Coop IT Easy SC | ||
# | ||
# SPDX-License-Identifier: AGPL-3.0-or-later | ||
|
||
{ | ||
"name": "Website reCAPTCHA v2", | ||
"version": "15.0.1.0.0", | ||
"category": "Website", | ||
"depends": ["website"], | ||
"author": ( | ||
"Elico Corp, Tech Receptives, Coop IT Easy SC, " | ||
"Odoo Community Association (OCA)" | ||
), | ||
"license": "AGPL-3", | ||
"website": "https://github.com/OCA/website", | ||
"summary": "Helper module to add reCAPTCHA v2 to website forms", | ||
"data": [ | ||
"views/res_config_settings_view.xml", | ||
"views/website_templates.xml", | ||
], | ||
"demo": [ | ||
"demo/demo.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- | ||
SPDX-FileCopyrightText: 2022 Coop IT Easy SC | ||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
--> | ||
<odoo> | ||
|
||
<record id="website.default_website" model="website"> | ||
<field name="recaptcha_v2_enabled">True</field> | ||
<!-- | ||
reCAPTCHA test keys from https://developers.google.com/recaptcha/docs/faq | ||
--> | ||
<field | ||
name="recaptcha_v2_site_key" | ||
>6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI</field> | ||
<field | ||
name="recaptcha_v2_secret_key" | ||
>6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe</field> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * website_recaptcha_v2 | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2024-12-04 12:06+0000\n" | ||
"Last-Translator: mymage <[email protected]>\n" | ||
"Language-Team: none\n" | ||
"Language: it\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 5.6.2\n" | ||
|
||
#. module: website_recaptcha_v2 | ||
#: model_terms:ir.ui.view,arch_db:website_recaptcha_v2.res_config_settings_view_form | ||
msgid "" | ||
"<i class=\"fa fa-arrow-right\"/>\n" | ||
" Get reCAPTCHA v2 keys" | ||
msgstr "" | ||
"<i class=\"fa fa-arrow-right\"/>\n" | ||
" Ottieni chiavi reCAPTCHA v2" | ||
|
||
#. module: website_recaptcha_v2 | ||
#: model_terms:ir.ui.view,arch_db:website_recaptcha_v2.res_config_settings_view_form | ||
msgid "" | ||
"<span class=\"fa fa-lg fa-globe\" title=\"Values set here are website-" | ||
"specific.\" groups=\"website.group_multi_website\"/>" | ||
msgstr "" | ||
"<span class=\"fa fa-lg fa-globe\" title=\"I valori impostati qui sono " | ||
"specifici per sito web.\" groups=\"website.group_multi_website\"/>" | ||
|
||
#. module: website_recaptcha_v2 | ||
#: model:ir.model,name:website_recaptcha_v2.model_res_config_settings | ||
msgid "Config Settings" | ||
msgstr "Impostazioni configurazione" | ||
|
||
#. module: website_recaptcha_v2 | ||
#: model:ir.model.fields,field_description:website_recaptcha_v2.field_res_config_settings__recaptcha_v2_enabled | ||
#: model:ir.model.fields,field_description:website_recaptcha_v2.field_website__recaptcha_v2_enabled | ||
msgid "Enable reCAPTCHA v2" | ||
msgstr "Abilita reCAPTCHA v2" | ||
|
||
#. module: website_recaptcha_v2 | ||
#. odoo-python | ||
#: code:addons/website_recaptcha_v2/models/website.py:0 | ||
#, python-format | ||
msgid "No response given." | ||
msgstr "Nessuna risposta data." | ||
|
||
#. module: website_recaptcha_v2 | ||
#: model_terms:ir.ui.view,arch_db:website_recaptcha_v2.res_config_settings_view_form | ||
msgid "Protect your forms using reCAPTCHA v2" | ||
msgstr "Proteggere i propri moduli usando reCAPTCHA v2" | ||
|
||
#. module: website_recaptcha_v2 | ||
#: model:ir.model.fields,field_description:website_recaptcha_v2.field_res_config_settings__recaptcha_v2_secret_key | ||
#: model:ir.model.fields,field_description:website_recaptcha_v2.field_website__recaptcha_v2_secret_key | ||
msgid "Secret Key (v2)" | ||
msgstr "Chiave segreta (v2)" | ||
|
||
#. module: website_recaptcha_v2 | ||
#: model:ir.model.fields,field_description:website_recaptcha_v2.field_res_config_settings__recaptcha_v2_site_key | ||
#: model:ir.model.fields,field_description:website_recaptcha_v2.field_website__recaptcha_v2_site_key | ||
msgid "Site Key (v2)" | ||
msgstr "Chiave sito (v2)" | ||
|
||
#. module: website_recaptcha_v2 | ||
#. odoo-python | ||
#: code:addons/website_recaptcha_v2/models/website.py:0 | ||
#, python-format | ||
msgid "The challenge was not successfully completed." | ||
msgstr "La verifica non è stata completata con successo." | ||
|
||
#. module: website_recaptcha_v2 | ||
#. odoo-python | ||
#: code:addons/website_recaptcha_v2/models/website.py:0 | ||
#, python-format | ||
msgid "The request is invalid or malformed." | ||
msgstr "La richiesta non è valida o malformato." | ||
|
||
#. module: website_recaptcha_v2 | ||
#. odoo-python | ||
#: code:addons/website_recaptcha_v2/models/website.py:0 | ||
#, python-format | ||
msgid "" | ||
"The response is no longer valid: either is too old or has been used " | ||
"previously." | ||
msgstr "" | ||
"La risposta non è più valida: è troppo vecchia o è già stata utilizzata." | ||
|
||
#. module: website_recaptcha_v2 | ||
#. odoo-python | ||
#: code:addons/website_recaptcha_v2/models/website.py:0 | ||
#, python-format | ||
msgid "The response parameter is invalid or malformed." | ||
msgstr "Il parametro della risposta non è valido o malformato." | ||
|
||
#. module: website_recaptcha_v2 | ||
#. odoo-python | ||
#: code:addons/website_recaptcha_v2/models/website.py:0 | ||
#, python-format | ||
msgid "The response parameter is missing." | ||
msgstr "Manca il parametro della risposta." | ||
|
||
#. module: website_recaptcha_v2 | ||
#. odoo-python | ||
#: code:addons/website_recaptcha_v2/models/website.py:0 | ||
#, python-format | ||
msgid "The secret parameter is invalid or malformed." | ||
msgstr "Il parametro segreto non è valido o malformato." | ||
|
||
#. module: website_recaptcha_v2 | ||
#. odoo-python | ||
#: code:addons/website_recaptcha_v2/models/website.py:0 | ||
#, python-format | ||
msgid "The secret parameter is missing." | ||
msgstr "Manca il parametro segreto." | ||
|
||
#. module: website_recaptcha_v2 | ||
#. odoo-python | ||
#: code:addons/website_recaptcha_v2/models/website.py:0 | ||
#, python-format | ||
msgid "Unknown reCAPTCHA error (error code: {errorcode})." | ||
msgstr "Errore reCAPTCHA sconosciuto (codice errore: {errorcode})." | ||
|
||
#. module: website_recaptcha_v2 | ||
#: model:ir.model,name:website_recaptcha_v2.model_website | ||
msgid "Website" | ||
msgstr "Sito web" | ||
|
||
#. module: website_recaptcha_v2 | ||
#: model_terms:ir.ui.view,arch_db:website_recaptcha_v2.res_config_settings_view_form | ||
msgid "reCAPTCHA icon" | ||
msgstr "Icona reCAPTCHA" | ||
|
||
#. module: website_recaptcha_v2 | ||
#: model_terms:ir.ui.view,arch_db:website_recaptcha_v2.res_config_settings_view_form | ||
msgid "reCAPTCHA v2" | ||
msgstr "reCAPTCHA v2" |
Oops, something went wrong.