A glitchy but lovable microblogging server
Go to file
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
.circleci Ruby 3.0.2 Upgrade (#16982) 2021-11-18 21:59:57 +01:00
.github Revert "Change workflow to push to Docker Hub (#16980)" 2021-12-18 12:47:57 +01:00
app Add optional hCaptcha support 2022-01-24 21:22:13 +01:00
bin Update Mastodon to Rails 6.1 (#15910) 2021-03-24 10:44:31 +01:00
chart helm: upgrade elasticsearch to 7.x (#17262) 2022-01-09 03:21:19 +01:00
config Add optional hCaptcha support 2022-01-24 21:22:13 +01:00
db Merge branch 'main' into glitch-soc/merge-upstream 2022-01-23 18:24:01 +01:00
dist Add ReadWritePaths directive to service files (#17178) 2021-12-22 04:34:12 +01:00
lib Merge branch 'main' into glitch-soc/merge-upstream 2022-01-23 18:24:01 +01:00
log
nanobox
public Merge branch 'main' into glitch-soc/merge-upstream 2021-06-03 20:47:02 +02:00
spec Merge branch 'main' into glitch-soc/merge-upstream 2022-01-23 18:24:01 +01:00
streaming Merge branch 'main' into glitch-soc/merge-upstream 2022-01-07 19:51:47 +01:00
vendor
.buildpacks
.codeclimate.yml Exclude locale files from Code Climate (#16863) 2021-10-18 12:04:42 +02:00
.deepsource.toml Update .deepsource.toml (#15753) 2021-02-19 09:53:25 +01:00
.dockerignore Update .dockerignore/.gitignore for #16947 etc (#17099) 2021-12-06 18:04:04 +01:00
.editorconfig
.env.nanobox Remove support for OAUTH_REDIRECT_AT_SIGN_IN (#17287) 2022-01-23 15:50:41 +01:00
.env.production.sample Add optional hCaptcha support 2022-01-24 21:22:13 +01:00
.env.test
.env.vagrant
.eslintignore
.eslintrc.js
.foreman
.gitattributes
.gitignore Update .dockerignore/.gitignore for #16947 etc (#17099) 2021-12-06 18:04:04 +01:00
.gitmodules
.haml-lint.yml
.nanoignore
.nvmrc NodeJS 14 support - circleci/docker/.nvmrc (#16163) 2021-08-10 22:56:13 +02:00
.profile
.rspec
.rubocop.yml Fix rubocop config and warnings (#15503) 2021-01-07 09:40:55 +01:00
.ruby-version Upgrade Ruby to 3.0.3 (#17038) 2021-11-24 20:29:05 +01:00
.sass-lint.yml
.slugignore
.yarnclean
app.json Change references to tootsuite/mastodon to mastodon/mastodon (#16491) 2021-07-13 15:46:20 +02:00
Aptfile Use libvpx >= 5 (#15591) 2021-01-22 10:09:40 +01:00
AUTHORS.md Change references to tootsuite/mastodon to mastodon/mastodon (#16491) 2021-07-13 15:46:20 +02:00
babel.config.js Remove dependency for @babel/plugin-proposal-class-properties (#16155) 2021-05-04 23:13:04 +02:00
boxfile.yml Fix to isolate the sidekiq process that runs the scheduler job (#15314) 2020-12-15 03:04:03 +01:00
Capfile
CHANGELOG.md Forward port version bumps to 3.4.2 and 3.4.3 (#16945) 2021-11-06 05:32:14 +01:00
CODE_OF_CONDUCT.md
config.ru
CONTRIBUTING.md Merge branch 'main' into glitch-soc/merge-upstream 2021-07-13 17:57:15 +02:00
crowdin.yml Prevent translations from accidentally becoming completely different from source strings on Crowdin without translators noticing. (#17085) 2021-12-01 19:03:35 +01:00
docker-compose.yml [Docker-Compose] [Breaking] Postgres 9.6 is EOL (11th Nov 2021) - Migrate to 14 Stable (#16947) 2021-11-18 22:00:27 +01:00
Dockerfile Save bundle config as local (#17188) 2021-12-25 22:52:24 +01:00
FEDERATION.md Add FEDERATION.md (#17029) 2021-11-23 00:15:31 +01:00
Gemfile Add optional hCaptcha support 2022-01-24 21:22:13 +01:00
Gemfile.lock Add optional hCaptcha support 2022-01-24 21:22:13 +01:00
ide-helper.js
LICENSE
package.json Merge branch 'main' into glitch-soc/merge-upstream 2022-01-19 12:32:44 +01:00
postcss.config.js
priv-config
Procfile
Procfile.dev Set RAILS_ENV in Procfile.dev (#15502) 2021-01-07 09:30:12 +01:00
Rakefile
README.md Add line about using vagrant-hostsupdater in the Vagrant short guide (#17243) 2022-01-16 16:55:41 +01:00
scalingo.json Change references to tootsuite/mastodon to mastodon/mastodon (#16491) 2021-07-13 15:46:20 +02:00
SECURITY.md Fix security policy (#16248) 2021-05-16 23:50:16 +02:00
Vagrantfile Merge branch 'main' into glitch-soc/merge-upstream 2021-10-14 22:14:26 +02:00
yarn.lock Merge branch 'main' into glitch-soc/merge-upstream 2022-01-19 12:32:44 +01: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?