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

ReCatcha does not work on unstable #4323

Open
SidharthBansal opened this issue Dec 16, 2018 · 36 comments
Open

ReCatcha does not work on unstable #4323

SidharthBansal opened this issue Dec 16, 2018 · 36 comments
Assignees
Labels
brainstorm Issues that need discussion and requirements need to be elucidated testing issues are usually for adding unit tests, integration tests or any other tests for a feature

Comments

@SidharthBansal
Copy link
Member

ReCatcha fails on the unstable branch. We need to set it up properly on it.
@jywarren even the test ReCatcha is not working at unstable. Spam Away is working fine.

@jywarren
Copy link
Member

@gauravano @SidharthBansal @kevinzluo -- would you mind collecting together information about this? Are we confident that it works in https://stable.publiclab.org now that it's been merged, and will work on production when published?

I'd check it now but stable is rebuilding as there was recently a merge to master branch. Thank you!!!

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Dec 18, 2018 via email

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Dec 18, 2018 via email

@SidharthBansal
Copy link
Member Author

Similarly on the stable.publiclab.org
image
So, I think we can't check the reCatcha on anything apart from production. On production branch, the reCatcha is currently working properly. ReCatcha code has not been altered so I guess the ReCatcha will still work after pushing changes merged from the master to the production branch.

@SidharthBansal
Copy link
Member Author

for both modal and signup page
image

@grvsachdeva grvsachdeva added testing issues are usually for adding unit tests, integration tests or any other tests for a feature brainstorm Issues that need discussion and requirements need to be elucidated labels Dec 25, 2018
@SidharthBansal
Copy link
Member Author

Hi @jywarren from the unstable build please see the last two lines in the screenshot below
image

@jywarren can you please set the Keys to values present at production branch. I think then the problem will be solved. Thanks.

@kevinzluo
Copy link
Collaborator

@SidharthBansal I believe we tried adding the keys before. It made the reCAPTCHA box appear, but it didn't validate properly:
#3984 (comment)

@jywarren
Copy link
Member

jywarren commented Jan 3, 2019 via email

@jywarren
Copy link
Member

jywarren commented Jan 4, 2019 via email

@SidharthBansal
Copy link
Member Author

image
Checking this one right now.

@SidharthBansal
Copy link
Member Author

<% if Rails.env == "production" && !params[:spamaway] %>
<%= recaptcha_tags %>
<p>If you cannot use the ReCaptcha to verify you are not a bot, <a href="/signup?spamaway=true">use this alternative verification</a>.</p>

These lines suggest that the reCatcha is not rendered although it should on the unstable.

@SidharthBansal
Copy link
Member Author

@jywarren reCatcha is not displayed on my laptop. I checked on both mozilla and chrome on both normal and incognito mode. Still there is problem with reCatcha.

@SidharthBansal
Copy link
Member Author

image
This says that the unstable keys are not set. @jywarren can you please check these.
thanks

@jywarren
Copy link
Member

Oh goodness, i'm sorry - i misformatted them in the environment.sh file. Fixed and should work now... can you test?

@SidharthBansal
Copy link
Member Author

Right now
image

@SidharthBansal
Copy link
Member Author

Do we need to push changes to unstable or do you need to rebuild it?

@jywarren
Copy link
Member

jywarren commented Jan 14, 2019 via email

@SidharthBansal
Copy link
Member Author

Build has not started yet. Is it normal build like I do on the unstable or different?

@SidharthBansal
Copy link
Member Author

I may be mistaken

@grvsachdeva
Copy link
Member

grvsachdeva commented Jan 14, 2019 via email

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Jan 14, 2019 via email

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Jan 14, 2019

Oh gitter shows it today with some delay. Sorry for the trouble.

@SidharthBansal
Copy link
Member Author

Still
image
recaptcha does not work. I think we should have same ReCatcha as we use on the main production branch. This test reCatcha was giving error previously also.

@grvsachdeva
Copy link
Member

Actually Sidharth those messages at Gitter channel are posted when the build is completed. As the unstable takes time to build, I think that's why Jeff has synced it with chat to notify the contributor of the status.

Am I right @jywarren?

@jywarren
Copy link
Member

jywarren commented Jan 14, 2019 via email

@SidharthBansal
Copy link
Member Author

#4323 (comment)

@SidharthBansal
Copy link
Member Author

Jeff can we have same key and secret for unstable as it is for the main branch. I hope that will work. Right now it is testing one.
There may be some problem with the testing reCaptcha I think.

@jywarren
Copy link
Member

jywarren commented Jan 16, 2019 via email

@SidharthBansal
Copy link
Member Author

You can see the screenshots
image
image
So, it is not working. Yeah I know testing one is supposed to work always. But there is 1% chance that testing one has a bug now. We can check with the production keys once if you want.

@grvsachdeva
Copy link
Member

grvsachdeva commented Jan 16, 2019 via email

@jywarren
Copy link
Member

jywarren commented Jan 16, 2019 via email

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Jan 17, 2019 via email

@SidharthBansal
Copy link
Member Author

@jywarren what we need to do in this? This is the second last issue in Login/Signup Milestone. I am willing to complete the milestone this GCI.

@jywarren
Copy link
Member

jywarren commented Jan 16, 2020 via email

@stale
Copy link

stale bot commented Oct 7, 2020

Hi 😄, this issue has been automatically marked as stale because it has not had recent activity. Don't worry you can continue to work on this and ask @publiclab/reviewers to add "work in progress" label 🎉 . Otherwise, it will be closed if no further activity occurs in 5 days -- but you can always re-open it if you like! 💯 Thank you for your contributions 🙌 🎈.

@stale stale bot added the stale label Oct 7, 2020
@jywarren jywarren removed the stale label Oct 8, 2020
@jywarren
Copy link
Member

jywarren commented Oct 8, 2020

Sorry about the stalebot message here, it was a mistake! 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brainstorm Issues that need discussion and requirements need to be elucidated testing issues are usually for adding unit tests, integration tests or any other tests for a feature
Projects
None yet
Development

No branches or pull requests

4 participants