- Add spam protection and CAPTCHA support to a new area
- Spam-related model and API fields
- Related topics
This guide provides an overview of how to add spam protection and CAPTCHA support to new areas of the GitLab application.
To add this support, you must implement the following areas as applicable:
- Model and Services: The basic prerequisite changes to the backend code which are required to add spam or CAPTCHA API and UI support for a feature which does not yet have support.
- REST API: The changes needed to add spam or CAPTCHA support to Grape REST API endpoints. Refer to the related REST API documentation.
- GraphQL API: The changes needed to add spam or CAPTCHA support to GraphQL mutations. Refer to the related GraphQL API documentation.
You should also perform manual exploratory testing of the new feature. Refer to Exploratory testing for more information.
Multiple levels of spam flagging determine how spam is handled. These levels are referenced in
and used various places in the application, such as
The possible values include: