discourse/app
David Taylor 01107e418e
DEV: Update to Sprockets 4.0 (#16467)
The main difference is that Sprockets 4.0 no longer tries to compile everything by default. This is good for us, because we can remove all our custom 'exclusion' logic which was working around the old sprockets 3.0 behavior.

The other big change is that lambdas can no longer be added to the `config.assets.precompile` array. Instead, we can do the necessary globs ourselves, and add the desired files manually.

A small patch is required to make ember-rails compatible. Since we plan to remove this dependency in the near future, I do not intend to upstream this change.

I have compared the `bin/rake assets:precompile` output before and after this change, and verified that all files are present.
2022-04-13 15:03:50 +01:00
..
assets DEV: Update to Sprockets 4.0 (#16467) 2022-04-13 15:03:50 +01:00
controllers FEATURE: Add 2FA support to the Discourse Connect Provider protocol (#16386) 2022-04-13 15:04:09 +03:00
helpers FIX: update dark mode emails styles (#16461) 2022-04-12 13:13:34 -05:00
jobs FEATURE: Let sites add a sitemap.xml file. (#16357) 2022-04-12 10:33:59 -03:00
mailers FEATURE: Allow sending group SMTP emails with from alias (#15687) 2022-02-07 13:52:01 +10:00
models FEATURE: Add 2FA support to the Discourse Connect Provider protocol (#16386) 2022-04-13 15:04:09 +03:00
serializers SECURITY: Category group permissions leaked to normal users. 2022-04-08 13:46:20 +08:00
services DEV: Remove scoped order warning in PostDestroyer. 2022-04-13 09:34:36 +08:00
views FEATURE: Let sites add a sitemap.xml file. (#16357) 2022-04-12 10:33:59 -03:00