Your self-hosted, globally interconnected microblogging community
Go to file
Thibaut Girka 2df72d0697 Fix building assets in test environment
Webpacker (Ruby wrapper to webpack) uses RAILS_ENV-based environments while
the javascript configuration for webpack re-reads this configuration file using
the NODE_ENV environment variable. This means that when RAILS_ENV=test, running
“assets:precompile” compiled the production packs in “public/packs” while
webpacker expects them in “public/packs-test”. This causes Ruby to recompile
them on-the-fly, possibly leading to race conditions in parallel_tests.

This changes:
- Disables on-the-fly compilation in test environment
- Changes the javascript part to read the correct environment
2018-09-13 15:32:02 +02:00
.circleci Merge branch 'master' into glitch-soc/merge-upstream 2018-08-18 18:04:49 +02:00
.github Adapt github issue template to glitch-soc 2018-08-19 16:56:42 +02:00
app Fix composer actions modal 2018-09-11 22:04:06 +02:00
bin config/boot is required first (#8619) 2018-09-07 05:42:54 +02:00
config Fix building assets in test environment 2018-09-13 15:32:02 +02:00
db Merge branch 'master' into glitch-soc/merge-upstream 2018-08-22 20:56:32 +02:00
docs
lib Merge branch 'master' into glitch-soc/merge-upstream 2018-09-11 16:51:26 +02:00
log
nanobox
public
spec Merge branch 'master' into glitch-soc/merge-upstream 2018-09-11 16:51:26 +02:00
streaming Add health endpoint to streaming API (#8441) 2018-08-26 11:54:25 +02:00
vendor/assets
.babelrc
.buildpacks Add ffmpeg buildpack for scalingo (#8500) 2018-08-29 01:21:23 +02:00
.codeclimate.yml
.dockerignore
.editorconfig
.env.nanobox Rename S3_CLOUDFRONT_HOST to S3_ALIAS_HOST. (#8423) 2018-08-25 13:27:08 +02:00
.env.production.sample Merge branch 'master' into glitch-soc/merge-upstream 2018-08-26 14:23:24 +02:00
.env.test
.env.vagrant
.eslintignore
.eslintrc.yml
.foreman
.gitattributes
.gitignore
.gitmodules
.haml-lint.yml
.nanoignore
.nvmrc
.postcssrc.yml
.profile
.rspec
.rubocop.yml Fix low-hanging rubocop gripes (#8458) 2018-08-26 19:22:46 +02:00
.ruby-version
.scss-lint.yml
.slugignore
.yarnclean
app.json
Aptfile Adjust Aptfile for Heroku-18 stack (#8588) 2018-09-09 02:10:58 +02:00
AUTHORS.md using mailto scheme in AUTHORS.md (#8663) 2018-09-10 02:01:03 +02:00
boxfile.yml
Capfile
CODE_OF_CONDUCT.md
config.ru
CONTRIBUTING.md
docker-compose.yml Update docker config and move some workers to different queues (#8345) 2018-09-02 16:13:06 +02:00
Dockerfile
Gemfile Merge branch 'master' into glitch-soc/merge-upstream 2018-08-27 18:09:28 +02:00
Gemfile.lock Merge branch 'master' into glitch-soc/merge-upstream 2018-08-27 18:09:28 +02:00
jest.config.js
LICENSE
package.json Add notification badge to favicon 2018-09-07 20:37:17 +02:00
priv-config
Procfile
Procfile.dev
Rakefile
README.md Fix CI badge, as we have switched from Travis to CircleCI 2018-09-03 17:41:28 +02:00
scalingo.json Add ffmpeg buildpack for scalingo (#8500) 2018-08-29 01:21:23 +02:00
stack-fix.c
Vagrantfile Merge branch 'master' into glitch-soc/merge-upstream 2018-08-01 22:20:25 +02:00
yarn.lock Add notification badge to favicon 2018-09-07 20:37:17 +02:00

Mastodon Glitch Edition

Now with automated deploys!

Build Status

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?