Skip to content

feat: add captcha validation to career portal applications - #785

Merged
anonymoususer72041 merged 5 commits into
opencats:masterfrom
anonymoususer72041:feature/careers-portal-captcha
Jul 8, 2026
Merged

feat: add captcha validation to career portal applications#785
anonymoususer72041 merged 5 commits into
opencats:masterfrom
anonymoususer72041:feature/careers-portal-captcha

Conversation

@anonymoususer72041

Copy link
Copy Markdown
Contributor

Summary

This PR adds captcha support to the career portal application flow. It introduces the gregwar/captcha dependency, serves captcha images through the career portal module, renders captcha fields in career portal templates and validates submitted captcha phrases before accepting career portal applications.

The default career portal template is updated to include a required captcha field for new installations and updated templates. The rendering logic supports both <input-captcha> and <input-captcha req>, while the required variant is used to trigger server-side validation.

Motivation

Public career portal application forms can be targeted by automated spam submissions. Adding captcha validation provides a lightweight protection mechanism for the default application form without changing the existing workflow for reviewing submitted candidates.

The implementation keeps the feature template-driven, so installations can control whether captcha validation is required through the career portal template content. This keeps the change close to the existing OpenCATS customization model while improving the default protection for public application forms.

@anonymoususer72041
anonymoususer72041 force-pushed the feature/careers-portal-captcha branch from 235ec68 to 3e69c43 Compare May 14, 2026 09:55
@anonymoususer72041 anonymoususer72041 added this to the 0.11.0 milestone Jul 3, 2026
@anonymoususer72041
anonymoususer72041 force-pushed the feature/careers-portal-captcha branch from 3e69c43 to 9cf97f6 Compare July 8, 2026 14:07
@anonymoususer72041
anonymoususer72041 merged commit 20fcaf1 into opencats:master Jul 8, 2026
5 checks passed
@anonymoususer72041
anonymoususer72041 deleted the feature/careers-portal-captcha branch July 8, 2026 14:19
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.

1 participant