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 basic captcha support for registration submissions #5400

Merged
merged 24 commits into from
Aug 9, 2022

Conversation

tomasr8
Copy link
Member

@tomasr8 tomasr8 commented Jun 29, 2022

Adds captcha for regform submission, though the code is generic enough to be used
in any form. The built-in captcha can also be overridden with plugins.

  • Basic captcha working
  • Enable/disable in regform settings
  • Fix weird bug with incorrect audio length
  • Make it plugin friendly

image

@ThiefMaster
Copy link
Member

For the audio part: Could we use some button/icon similar to the reload one (maybe smaller in general - the reload one is quite huge...) to play it instead of showing the ugly audio widget from the browser?

@tomasr8 tomasr8 force-pushed the captcha branch 4 times, most recently from da903bb to d978749 Compare July 8, 2022 12:13
@tomasr8 tomasr8 marked this pull request as ready for review July 8, 2022 12:13
indico/modules/core/captcha.py Outdated Show resolved Hide resolved
indico/modules/core/captcha.py Outdated Show resolved Hide resolved
indico/modules/core/captcha.py Outdated Show resolved Hide resolved
indico/modules/core/captcha.py Outdated Show resolved Hide resolved
indico/modules/core/controllers.py Outdated Show resolved Hide resolved
indico/modules/events/registration/plugins.py Outdated Show resolved Hide resolved
indico/modules/events/registration/plugins.py Outdated Show resolved Hide resolved
@ThiefMaster ThiefMaster linked an issue Aug 9, 2022 that may be closed by this pull request
@ThiefMaster ThiefMaster added this to the v3.2 milestone Aug 9, 2022
@ThiefMaster ThiefMaster merged commit c521dad into indico:master Aug 9, 2022
@ThiefMaster ThiefMaster deleted the captcha branch August 9, 2022 13:32
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.

Verification mechanism on registrations
2 participants