-
Notifications
You must be signed in to change notification settings - Fork 26
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
base: master
Are you sure you want to change the base?
Conversation
PoC, num_range 50_000..300_000 Screen.Recording.2024-04-27.at.13.02.41.mov |
Otherwise, the next submit was causing turbolinks to mess up everything by revisiting the form page.
- protect them using altcha captcha
0167274
to
752d4af
Compare
@@ -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> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ide to do ameriky, cize nie.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To je iba CDN, potom to neposiela veci mimo. Ale teda volajú to self-hosted a GDPR-compliant, čiže asi vieme pridať priamo do projektu, ak nechceme ani CDN https://github.com/altcha-org/altcha
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vitaj vo svete GDPR. https://www.cookieyes.com/documentation/google-fonts-and-gdpr/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow, okay
refs #643