TaoLearning / developerdojo

MIT License
0 stars 3 forks source link

Contact Form Optimization #1

Open seantechco opened 4 years ago

seantechco commented 4 years ago

Let's analyze the Contact Forms across all the repos on our sites and fix them so they do not allow spam. https://github.com/TaoFruit

The above link has all our Repos. You can find any form in here such as https://github.com/TaoFruit/focushive/blob/gh-pages/support.html

You can tell when it's the appropriate form because it will have the "action" address appear like this: action="https://prod-01.eastus.logic.azure.com:......"

This means it is going over to our Azure Back-End Logic App

vaibhavAP commented 4 years ago

Hi @kinshark , we need Site_key for the configuration of reCaptcha which is "confidential" for the website.

I tested it using my localhost Site_key and its working fine now we need the site key of the website.

we can generate the Site_key (https://www.google.com/recaptcha/admin/create)

seantechco commented 4 years ago

Site_Key: 6LcHIYcUAAAAAPnqH0iBwnDeFma0mWAMJKJHAoEO

vaibhavAP commented 4 years ago

Hi @kinshark, is it valid site_key id? as I see an error on it image

seantechco commented 4 years ago

It is valid, but we only have it listed for certain domains. Let us know which domain you want to add to the key & we can update it. Perhaps that is the only issue.

vaibhavAP commented 4 years ago

Hi @kinshark, I believe we are working on the focusehive "https://thefocushive.com/"

seantechco commented 4 years ago

That site is already added into the list of approved sites. Just double-checked this key. It's definitely the correct key, too.

seantechco commented 4 years ago

Try it now - we just updated some settings over there

vaibhavAP commented 4 years ago

Not working, maybe I am running on over local server that's this problem is coming

vaibhavAP commented 4 years ago

I am creating the PR now just check on your side over the server

bjornmage commented 4 years ago

Send your PR on the appropriate Github Repo. Let's stay on this platform for now.

vaibhavAP commented 4 years ago

https://dev.azure.com/DeveloperDojo/Development/_git/focushive/pullrequest/8

seantechco commented 4 years ago

We are not working on Azure DevOps for this. Put your pull request inside the Repo on Github directly.

seantechco commented 4 years ago

https://github.com/TaoFruit/focushive - this is probably the Repo you're working on. But as the instructions mention, you can choose any of a number of repos we have in this organization that all need their forms updated.

vaibhavAP commented 4 years ago

I get denied for the pushing my branch For the PR

image

seantechco commented 4 years ago

You need to first Fork the Repo. After forked, your repo will stay synced with the original more easily than a cloned Repo. Then, you can submit Pull Requests back to the main.

vaibhavAP commented 4 years ago

Thanks, @kinshark thanks for guiding me. this is the PR link please check it https://github.com/TaoFruit/focushive/pull/2 thanks!

vaibhavAP commented 4 years ago

https://github.com/TaoFruit/focushive/pull/3

vaibhavAP commented 4 years ago

https://github.com/TaoFruit/focushive/pull/4