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
2021-11-18 21:59:57 +01:00
2022-01-24 21:22:13 +01:00
2021-03-24 10:44:31 +01:00
2022-01-24 21:22:13 +01:00
2021-11-24 20:29:05 +01:00
2021-01-22 10:09:40 +01:00
2021-11-23 00:15:31 +01:00
2022-01-24 21:22:13 +01:00
2022-01-24 21:22:13 +01:00
2021-05-16 23:50:16 +02:00

Mastodon Glitch Edition

Now with automated deploys!

Build Status Code Climate

So here's the deal: we all work on this code, and anyone who uses that does so absolutely at their own risk. can you dig it?

Description
A glitchy but lovable microblogging server
Readme AGPL-3.0 420 MiB
Languages
Ruby 49%
TypeScript 23.8%
JavaScript 17.2%
SCSS 6.5%
Haml 3.2%
Other 0.3%