mastodon/app/models/form
Claire 1b493c9fee Add optional hCaptcha support
Fixes #1649

This requires setting `HCAPTCHA_SECRET_KEY` and `HCAPTCHA_SITE_KEY`, then
enabling the admin setting at
`/admin/settings/edit#form_admin_settings_captcha_enabled`

Subsequently, a hCaptcha widget will be displayed on `/about` and
`/auth/sign_up` unless:
- the user is already signed-up already
- the user has used an invite link
- the user has already solved the captcha (and registration failed for another
  reason)

The Content-Security-Policy headers are altered automatically to allow the
third-party hCaptcha scripts on `/about` and `/auth/sign_up` following the same
rules as above.
2022-01-24 21:22:13 +01:00
..
account_batch.rb Add batch suspend for accounts in admin UI (#17009) 2021-12-05 21:48:39 +01:00
admin_settings.rb Add optional hCaptcha support 2022-01-24 21:22:13 +01:00
challenge.rb Add password challenge to 2FA settings, e-mail notifications (#11878) 2019-09-18 16:37:27 +02:00
custom_emoji_batch.rb Cache result of SQL (#14534) 2020-08-09 15:23:42 +02:00
delete_confirmation.rb Fix 2FA challenge and password challenge for non-database users (#11831) 2019-09-15 21:08:39 +02:00
ip_block_batch.rb Add IP-based rules (#14963) 2020-10-12 16:33:49 +02:00
preview_card_batch.rb Add trending links (#16917) 2021-11-25 13:07:38 +01:00
preview_card_provider_batch.rb Add trending links (#16917) 2021-11-25 13:07:38 +01:00
redirect.rb Remove dependency on goldfinger gem (#14919) 2020-10-08 00:34:57 +02:00
tag_batch.rb Add trending links (#16917) 2021-11-25 13:07:38 +01:00
two_factor_confirmation.rb Fix TOTP codes not being filtered from logs during enabling/disabling (#11877) 2019-09-18 02:48:40 +02:00