Search 1.9 billion lines of Odoo code on GitHub

website_form_recaptcha

Author: LasLabs, Tecnativa, Odoo Community Association (OCA)
License: AGPL-3
Branch: 13.0
Repository: 001101/website
Dependencies: website, and website_form
Languages: HTML (440, 7.4%), JavaScript (116, 1.9%), PO File (4963, 82.9%), Python (232, 3.9%), XML (78, 1.3%), and reStructuredText (156, 2.6%)
Other branches: 10.0, 11.0, 12.0, 8.0, and 9.0
Other repositories: 020cui/website, ADVALAKI/website-1, AEK-BKF/website, AITIC/website, AMhadhbi/website, AdvaitT17/website-1, Alex-Woo/website, Anon234/website, App-247/website, BenjaHe/website, BitStab/website, BoxInABox/website, CB-Gran-Canaria/website, Callino/website, Change2improve/website, ClearCorp/oca-website, Colorlessgold/website, CompassionCH/website, Comunitea/website, Confidere/website, CybroOdoo/website, Daemo00/website, DavidNitro/website, Djaitai/website, Dobtor-OCA/website, ELMARDI0107/website, Fitranugraha/website, ForgeFlow/website, Frank278/website, FreshSoftGit/website, Fuchur777/website, GabbasovDinar/website-1, Gabinete-Digital/website, Georgepanpan/website, Gofekra/website, GrupoAlvamex/website, HaTry/website, HammerSport-Marketing/website, Idealisconsulting/website, ImgBotApp/website-5, Ingeos/website, Jaquedeveloper/website, Jarsa/website, JayVora-SerpentCS/website, JazziMc/website, Jeisonpernia/website, Jokevil/website, JonathanOsAlc/website, KEVINYZY/website-1, KIKOU2016/website, Kazebayashi/website, Khwarizmiat/website, KolushovAlexandr/website, LaMachinerieDigitale/odoo_website_oca, LasLabs/odoo-website, LasLabs/website, LevelPrime/website, Logicasoft/FORK_website_OCA, MTantin/website, MadsackMediaStore/website, MathBenTech/website, MediaJockey/website, MisterTobi/website, Moh-has/ODEX, NL66278/website, NaSol/website, NeatNerdPrime/website, NextERP-Romania/website, Nikul-Chaudhary/website, Nitrokey/odoo-website, Nowheresly/website, Numigi/odoo-website, OCA-MUK/website, OCA/website, ORETEK/website, OctoComputer/website, OdooBulgaria/odoo-website-2, OpenPymeMx/website, OpusVL/website, OsoTranquilo/website, PCatinean/website, Palpid/website, PismennyiIgor/website, QANSEE/website, Rad0van/website, RealSolutionsLux/website, RedNeboa/website, Ricardlol/website, SalahAdDin/website, SanteLibre/website, Saran440/website, SequarSrl/website, SeuMarco/website, Shiraj-Nisus/website, SicurSam/website, Spearhead-Odoo/website, StefanRijnhart/website, StephanRozendaal/website, Studio73/website, SuzanaBhandari/website, Syci-Consulting/website, TRESCLOUD/website, TechspawnSolutions/website, Tecnativa/website, VasiliyKorobatov/website, Vauxoo/website, VbossEkat/website-1, VisiionSolucionesTecnologicas/website, Xara77/website, XtremXpert/website, YevhenPechurin/website, YogeshMahera-SerpentCS/website, aakzubaidi/ODEX, abakus-it/website, accnops/website, acsone/website, adr9/website, agenterp/website, agrista/odoo-website, ahilali/website, akhdaniel/website, akretion/website, amendoncabh/website, anandkansagra/website, angelmoya/website, anhchuyen/website, anhvu-sg/website, ansinaesmejor/website, antcto/website, antilhue/website, antonio-trey/website, apachesep/website, apetbiz/website, archetipo/website, aryajimbaran/website, aurestic/website, be-cloud-be/website, benwillig/website, bishalgit/website, bishwasubedi/odoo-website, bizople/website, bizzappdev/website, bjornbillen/website, bmya/odoo-website, brain-tec/website, bvkl/website, c-meier/website, camptocamp/website, chakhi/website, colmeirin/website, coopiteasy/website, corsisa/website, cristinamartinrod/website, crnd-inc/website, cubells/website, danztensai/website, daramousk/website, ddico/website, ddufresne/website, devRabbiz/website, devnsys/website, diagramsoftware/website, diegobgl/website, diggy128/website, dipendra-karki/website, don-systems/website, druidoo-dev/website, eLBati/website, edsnet/website, eezee-it/website, ehabqino/website, eil00l/website, emyu01/website, ericbbs/website, ernestotejeda/website, eslAmer/website, esosaja/website, eversatis/website, exosoftware/oca-website, expsa/ODEX, ezdoo/website, fagist/website, faisalnoufal/website, fbpatel/website, firefly1994/website, flotho/website, focusate/website-oca, francoisdelarbre/website, gaanto/website, garrettcadams/website, gastonfeng/website, gbaumgartner-callino/website, gbrian/website-1, genral73/ODEX, gfcapalbo/website, grant-thornton/website, gtg305/website, harked/website, haroldtamo/website, hawkeg/ODEX, hbrunn/website, hgsoft/website, hilarak/website, hinfo506/website, hippe-67/website, hurrinico/website, iRichGit/website, iamyeonhan/website, iledarn/website, initOS/website, invitu/website, isoscl/website, ispan55/website, it-projects-llc/website, jacky82669513/website, jaleelpoovan/website, jansumanpan/website, jason156/website, jcarlosmontoya/website, jcchoquet/website, jhoengels/website, jop-odoo/website, josepmy/website, josugm/website, joyshmitz/website, jromeroarg/website-1, jsrhtc/website, jsviterig/website, jupiterzhuo/website, kaerdsar/website, karan-dreambits/website, kardec-web/website-1, kenneth-vkd/website, keylor2906/website, khaeusler/website, khaks01/website, kmee/website, kryskool/website, l0wskilled/website, leangjia/website, leemannd/website, levin222/odoo-website, lfreeke/website, lideritjnma/website, lincersolucoes/oca-website, lpetkov-sw/website, mamaf/website, manaTec-GmbH/website, manawi/website, mettadipa/website, miguel-trey/website, mikevhe18/website, minhhq09/website, mmotahar/website, mobilizer/website, monksoftware/website, mpanarin/website, mrierav/website, nabiforks/website, nadiaafa/website, navri/website, necrodevz/website, nicolas-petit/website, nikul-serpentcs/website, nisheednair/website-1, njeudy/website, noorealam96/website, novacode-nl/website, ntsystemwork/oca-website, nuobit/website, odoo-etech/website, odoobgorg/LL-odoo-website, odoobgorg/OCA-website, odoogap/website, odoosoft/website, old-boy/website-1, onaconsulting/website, one2pret/website, onurugur/website, open-synergy/website, open2bizz/website, osfp-Pakistan/website, osiell/website, ossamagharib/website, ougc27/website, oxidos/website, parminder-chrishan/website, pedrocasi/website, pedroporras/website, petypi/website, popcomputadores-desenv/website, popsolutions/website, pratimedia/website, presenceverte/website, pscloud/website, pstisoluciones/website, py-web/website, pythoner-3k/website, raihansazal/website, raintao/website, ralnakar/website, ravishekharco/website, raycollazo/website, redblow/website, redcor/website, reinka/website, robertrottermann/website, rohitramnani1994/website, romugb/website, rosenvladimirov/website, rossparks/website, royalline1/website-1, rruebner/website, rsullivan2704/website, saas-addons/website, sadeqamin/website, safecoms/website, sailguest/website, sanube/website, satriani-vai/website, savoirfairelinux/website, sc4you/odoo-website-1, searro/website, serdareren/website, shiram/website, simahawk/website, simplifysolutions/website, smurf-U/website, sodexis/website, steingabelgaard/website, subteno-it/website, syci/website-odoo, syentys/website, tafaRU/website, takobi-online/website, tarteo/website, tbaden/website, techorg/website, thijshuijbers/website, thinkopensolutions/oca-website, thomas-willdooit/website, tirma-sa/website, torans/website, treytux/website, unitek-solusi/OCA-website, usmcgwg/website, valmarnet/website, vcloud9ray/website, vdedyukhin/website, vdewulf/website, versada/website, vidtsin/website, vijay-huang/website, vrajesh266/website, wahello/website, windev20/website, xumingzhi/website, y2gsmith/website, yaojiaqing/website, yaoxingqi/website-1, yassine-teoshore/website, yelizariev/website, yfjelley/website, youifki/website, yusniermatos/website, yveshoyos/website, zakoo20122/website, zeroincombenze/website, zhaohuaw/website, zino974/website, and zrelli/website

<h1 class="title">Website Form - ReCaptcha</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/website/tree/13.0/website_form_recaptcha"><img alt="OCA/website" src="https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/website-13-0/website-13-0-website_form_recaptcha"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/186/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>Adds a ReCaptcha field widget for website forms (extends the <cite>website_form</cite> module).</p> <p><strong>Translations</strong></p> <p>This module will try to use the language of your website. If it can't find it for any reason, it will default to google API and use the language of the browser or your location.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id4">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id5">Usage</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id6">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#changelog" id="id7">Changelog</a><ul> <li><a class="reference internal" href="#unreleased" id="id8">11.0.1.2.1 (Unreleased)</a></li> <li><a class="reference internal" href="#id1" id="id9">11.0.1.2.0 (2019-01-10)</a></li> <li><a class="reference internal" href="#id2" id="id10">11.0.1.1.0 (2019-01-10)</a></li> <li><a class="reference internal" href="#id3" id="id11">11.0.1.0.0 (2017-10-30)</a></li> </ul> </li> <li><a class="reference internal" href="#bug-tracker" id="id12">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id13">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id14">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id15">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id16">Maintainers</a></li> </ul> </li> </ul> </div> <a name="configuration"></a> <h2><a class="toc-backref" href="#id4">Configuration</a></h2> <p>First of all you must obtain a ReCaptcha key from <a class="reference external" href="http://www.google.com/recaptcha/admin">Google</a></p> <p><strong>Multi website setup</strong></p> <ul class="simple"> <li>Go to website settings</li> <li>Select the website you want to add / edit the recaptcha key</li> <li>Set site key and secret key</li> </ul> <a name="usage"></a> <h2><a class="toc-backref" href="#id5">Usage</a></h2> <p>To use this module, you need to:</p> <ul class="simple"> <li>Already have a form-enabled model (refer to <cite>website_form</cite> docs)</li> <li>Set <cite>website_form_recaptcha</cite> to <cite>True</cite> on that model (similar to enabling forms)</li> <li>Add an element with the <cite>o_website_form_recaptcha</cite> class anywhere in the form</li> </ul> <p>Look at <cite>website_crm_recaptcha</cite> module for example implementation.</p> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id6">Known issues / Roadmap</a></h2> <ul class="simple"> <li>Add domain validation</li> <li>Split recaptcha APIs from <cite>website_form</cite> dependency (ie: new module <cite>website_recaptcha_base</cite>)</li> </ul> <a name="changelog"></a> <h2><a class="toc-backref" href="#id7">Changelog</a></h2> <a name="unreleased"></a> <h3><a class="toc-backref" href="#id8">11.0.1.2.1 (Unreleased)</a></h3> <ul> <li><p class="first">Fix handling of request attribute</p> </li> <li><p class="first">Add backward compatibility for recent API refactoring</p> <p>[simahawk]</p> </li> </ul> <a name="id1"></a> <h3><a class="toc-backref" href="#id9">11.0.1.2.0 (2019-01-10)</a></h3> <ul> <li><p class="first">Refactor APIs and allow per-website config</p> <ul class="simple"> <li>API keys can now be configured via website settings which in turn allow to customize the values per website in a multi-website instance;</li> <li>move all internal APIs to the model <cite>website.form.recaptcha</cite> so that we do not depend anymore on the controller if we need to integrate it into other pieces of code.</li> <li>Use readme fragments</li> </ul> <p>[simahawk]</p> </li> </ul> <a name="id2"></a> <h3><a class="toc-backref" href="#id10">11.0.1.1.0 (2019-01-10)</a></h3> <ul> <li><p class="first">Improve JS and enforce translations</p> <p>Make JS modular and pass language parameter according to website lang.</p> <p>[mpanarin]</p> </li> <li><p class="first">Fix duplicated calls</p> <p>When website_crm_phone_validation is installed, the captcha validation is called twice so the form always fail as with a 'timeout-or-duplicate' error.</p> </li> <li><p class="first">Fix JS LINT errors</p> </li> <li><p class="first">Improve error handling to show all error messages at the same time</p> <p>[chienandalu]</p> </li> </ul> <a name="id3"></a> <h3><a class="toc-backref" href="#id11">11.0.1.0.0 (2017-10-30)</a></h3> <ul> <li><p class="first">Migrate to v11</p> <p>[dbo-odoo]</p> </li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id12">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/website/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/website/issues/new?body=module:%20website_form_recaptcha%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id13">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id14">Authors</a></h3> <ul class="simple"> <li>LasLabs</li> <li>Tecnativa</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id15">Contributors</a></h3> <ul class="simple"> <li>Dave Lasley &lt;<a class="reference external" href="mailto:dave&#64;laslabs.com">dave&#64;laslabs.com</a>&gt;</li> <li>Mykhailo Panarin &lt;<a class="reference external" href="mailto:m.panarin&#64;mobilunity.com">m.panarin&#64;mobilunity.com</a>&gt;</li> <li>Simone Orsi &lt;<a class="reference external" href="mailto:simone.orsi&#64;camptocamp.com">simone.orsi&#64;camptocamp.com</a>&gt;</li> <li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul> <li>Cristina Martin R.</li> <li>Jairo Llopis</li> <li>Alexandre Díaz</li> </ul> </li> <li>Bjorn Billen &lt;<a class="reference external" href="mailto:bjorn.billen&#64;dynapps.be">bjorn.billen&#64;dynapps.be</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id16">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/website/tree/13.0/website_form_recaptcha">OCA/website</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>