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

Add Altcha captcha to notifications submissions #661

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

crutch
Copy link
Collaborator

@crutch crutch commented Apr 27, 2024

refs #643

@crutch
Copy link
Collaborator Author

crutch commented Apr 27, 2024

PoC, num_range 50_000..300_000

Screen.Recording.2024-04-27.at.13.02.41.mov

@crutch
Copy link
Collaborator Author

crutch commented Nov 16, 2024

newsletter subscriptions done via backend as well. Protected by captcha/altcha.

image

Otherwise, the next submit was causing turbolinks to mess up everything by revisiting the form page.
- protect them using altcha captcha
@@ -21,6 +21,7 @@
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
<script defer data-domain="navody.digital" src="https://plausible.io/js/plausible.js"></script>
<script async defer src="https://cdn.jsdelivr.net/gh/altcha-org/altcha@main/dist/altcha.min.js" type="module"></script>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Are you OK with including an externally hosted script here?

Copy link
Member

Choose a reason for hiding this comment

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

pls @jsuchal daj tu vedieť. Podľa mňa áno.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants