activitypub-academy/config
ThibG 7fa4144d48 Fix building assets in test environment (#8691)
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:18:47 +02:00
..
environments Add support for separate Redis for cache (#7272) 2018-04-27 01:37:59 +02:00
initializers feat(cookies): Use the same-site attribute to lax (#8626) 2018-09-08 23:54:28 +02:00
locales Group reports by target account (#8674) 2018-09-13 03:44:08 +02:00
webpack Fix building assets in test environment (#8691) 2018-09-13 15:18:47 +02:00
application.rb Add Czech language option and locale data (#8594) 2018-09-05 08:50:06 +09:00
boot.rb Upgrade Rails to version 5.2.0 (#5898) 2018-04-12 14:45:17 +02:00
brakeman.ignore Add animate custom emoji param to embed pages (#8507) 2018-08-30 23:14:01 +02:00
database.yml use-DB_NAME-in-development (#5430) 2017-10-17 11:45:37 +02:00
deploy.rb Update dependencies for Ruby (2018-04-23) (#7237) 2018-04-23 11:29:17 +02:00
environment.rb Make PreviewCard records reuseable between statuses (#4642) 2017-09-01 16:20:16 +02:00
i18n-tasks.yml Revert #6479, hide sensitive text/images from OpenGraph previews (#6818) 2018-03-18 20:33:07 +01:00
navigation.rb Add admin dashboard (#8029) 2018-07-16 01:11:53 +02:00
puma.rb Revert "Default puma to running on localhost only." (#8444) 2018-08-26 00:13:22 +02:00
routes.rb Redirect from old authorize_follow path (#8584) 2018-09-03 00:10:28 +02:00
secrets.yml Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
settings.yml Add preference for report notification e-mails, skip for duplicates (#8559) 2018-09-02 00:11:58 +02:00
sidekiq.yml Update docker config and move some workers to different queues (#8345) 2018-09-02 16:13:06 +02:00
themes.yml More polished light theme (#7620) 2018-05-25 18:36:26 +02:00
webpacker.yml Fix building assets in test environment (#8691) 2018-09-13 15:18:47 +02:00