mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-23 07:14:10 +00:00
017fc81caf
The specs for Settings::DeletesController include an example that sets Settings.open_deletion to false and expects the "if deletion is not available, redirect to root" logic to run. However, this spec does not set up a user, which means that the spec (intentionally or otherwise) expects this redirection to work with unauthenticated access. We should preserve that behavior. To do so, we prepend the deletion check to the action chain set up by Settings::BaseController, so that said check occurs before the authenticate_user! check. |
||
---|---|---|
app | ||
bin | ||
config | ||
db | ||
docs | ||
lib | ||
log | ||
nanobox | ||
public | ||
spec | ||
streaming | ||
vendor/assets | ||
.babelrc | ||
.buildpacks | ||
.codeclimate.yml | ||
.dockerignore | ||
.editorconfig | ||
.env.nanobox | ||
.env.production.sample | ||
.env.test | ||
.env.vagrant | ||
.eslintignore | ||
.eslintrc.yml | ||
.foreman | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.haml-lint.yml | ||
.nanoignore | ||
.nvmrc | ||
.postcssrc.yml | ||
.profile | ||
.rspec | ||
.rubocop.yml | ||
.ruby-version | ||
.scss-lint.yml | ||
.slugignore | ||
.travis.yml | ||
.yarnclean | ||
app.json | ||
Aptfile | ||
boxfile.yml | ||
Capfile | ||
CODE_OF_CONDUCT.md | ||
CODEOWNERS | ||
config.ru | ||
CONTRIBUTING.md | ||
docker-compose.yml | ||
docker_entrypoint.sh | ||
Dockerfile | ||
Gemfile | ||
Gemfile.lock | ||
ISSUE_TEMPLATE.md | ||
jest.config.js | ||
LICENSE | ||
package.json | ||
Procfile | ||
Procfile.dev | ||
Rakefile | ||
README.md | ||
scalingo.json | ||
Vagrantfile | ||
yarn.lock |
Mastodon Glitch Edition
Now with automated deploys!
So here's the deal: we all work on this code, and then it runs on dev.glitch.social and anyone who uses that does so absolutely at their own risk. can you dig it?
- You can view documentation for this project at glitch-soc.github.io/docs/.
- And contributing guidelines are available here and here.