Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.0][MIG] website_form_recaptcha #684

Closed

Conversation

bjornbillen
Copy link
Contributor

No description provided.

Copy link
Member

@tarteo tarteo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, looks good to me except one remark.


def _get_api_credentials(self, website=None):
# website override
website = website or http.request.website
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

System parameter recaptcha.key.site and recaptcha.key.secret do nothing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tarteo : Can you elaborate a little more on this? I can't see any config parameters being created by the module? There's something written in the module description that refers to the system parameters, which should probably be removed...

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tarteo ping

@bjornbillen bjornbillen force-pushed the 13.0-mig-website_form_recaptcha branch from 465f1f5 to 0bf75bb Compare February 3, 2020 15:29
@simahawk simahawk added this to the 13.0 milestone Feb 7, 2020
lasley and others added 21 commits February 7, 2020 10:34
* Update website_form_recaptcha to v10
[FIX] remove en.po that was erroneously created by transbot
- Remove groups on ir_config_paramater records (gone in 11.0)
- Move error mapping to private function to allow translation
The test was passing a list while the method is expecting a string
Files don't need to have the execute flag on
flake8 was complaining about E501 line too long
Currently translated at 100,0% (12 of 12 strings)

Translation: website-11.0/website-11.0-website_form_recaptcha
Translate-URL: https://translation.odoo-community.org/projects/website-11-0/website-11-0-website_form_recaptcha/pt_BR/
Currently translated at 100,0% (12 of 12 strings)

Translation: website-11.0/website-11.0-website_form_recaptcha
Translate-URL: https://translation.odoo-community.org/projects/website-11-0/website-11-0-website_form_recaptcha/de/
Currently translated at 100.0% (12 of 12 strings)

Translation: website-11.0/website-11.0-website_form_recaptcha
Translate-URL: https://translation.odoo-community.org/projects/website-11-0/website-11-0-website_form_recaptcha/de/
Currently translated at 100,0% (12 of 12 strings)

Translation: website-11.0/website-11.0-website_form_recaptcha
Translate-URL: https://translation.odoo-community.org/projects/website-11-0/website-11-0-website_form_recaptcha/es/
- When website_crm_phone_validation is installed, the captcha validation
is called twice so the form allways fail as with a
'timeout-or-duplicate' error.
* API keys can now be configured via website settings
  which in turn allow to customize the values per website
  in a multi-website instance;

* move all internal APIs to the model `website.form.recaptcha`
  so that we do not depend anymore on the controller
  if we need to integrate it into other pieces of code.
oca-transbot and others added 21 commits February 7, 2020 10:34
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
- Fix tests.
- Remove outdated tests.
- Remove unneeded data file.
- Add migration script.
This was rendering the config dialog useless.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: website-12.0/website-12.0-website_form_recaptcha
Translate-URL: https://translation.odoo-community.org/projects/website-12-0/website-12-0-website_form_recaptcha/
Added a dependency. Without it, you get:

    form_builder_send is undefined
Currently translated at 100.0% (23 of 23 strings)

Translation: website-12.0/website-12.0-website_form_recaptcha
Translate-URL: https://translation.odoo-community.org/projects/website-12-0/website-12-0-website_form_recaptcha/pt_BR/
@bjornbillen bjornbillen force-pushed the 13.0-mig-website_form_recaptcha branch from efd146f to cb64581 Compare February 7, 2020 09:37
@Tardo
Copy link
Member

Tardo commented Mar 30, 2020

ping @bjornbillen please resolve conflicts

@Tardo
Copy link
Member

Tardo commented Mar 30, 2020

Well, i saw that @bjornbillen is no longer active on github... so i will supersede this pr.

@bjornbillen
Copy link
Contributor Author

@Tardo Go ahead mate. IMO, it takes way too long to get changes done over here. Currently can't affort to waste such time anymore.

@Tardo
Copy link
Member

Tardo commented Mar 30, 2020

Oh! @bjornbillen sorry xD i have not seen any activity on your feed :P

@pedrobaeza
Copy link
Member

Superseded by #709

@pedrobaeza pedrobaeza closed this Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet