discourse/lib/freedom_patches
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
..
active_record_attribute_methods.rb DEV: Clean up freedom patches 2022-04-06 10:07:14 +02:00
active_record_postgresql_adapter.rb PERF: Switch ActiveRecord PG connection active check to use empty query. (#13323) 2021-06-08 13:15:07 +10:00
ams_include_without_root.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
better_handlebars_errors.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
copy_file.rb DEV: Work around a Docker issue (#13368) 2021-06-14 17:38:36 +02:00
cose_rsapkcs1.rb FEATURE: RS512, RS384 and RS256 COSE algorithms (#15804) 2022-02-08 14:07:47 +02:00
ember_handlebars.rb DEV: Move select kit to an addon (#9797) 2020-05-15 16:07:35 -04:00
ember_sprockets_4.rb DEV: Update to Sprockets 4.0 (#16467) 2022-04-13 15:03:50 +01:00
fast_pluck.rb DEV: Clean up freedom patches 2022-04-06 10:07:14 +02:00
inflector_backport.rb DEV: correct some Ruby 2.7 deprecations 2020-07-16 17:43:20 +10:00
ip_addr.rb DEV: Follow Discourse's convention when monkey patching. 2022-01-11 09:48:27 +08:00
pluck_first.rb DEV: pluck_first 2019-10-21 12:08:20 +01:00
rails4.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
rails_multisite.rb DEV: Allow multisite apps to boot with readonly db. 2020-06-23 16:34:25 +08:00
raw_handlebars.rb DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
safe_buffer.rb DEV: Clean up freedom patches 2022-04-06 10:07:14 +02:00
safe_migrations.rb Revert "We have had errors reported due to migrations breaking and are reverting" 2020-04-14 11:31:07 +10:00
schema_migration_details.rb DEV: Clean up freedom patches 2022-04-06 10:07:14 +02:00
seed_fu.rb FIX: Ensure id sequences are not reset during db:migrate (#14184) 2021-08-30 12:31:22 +01:00
sprockets_patches.rb DEV: Clean up freedom patches 2022-04-06 10:07:14 +02:00
translate_accelerator.rb FIX: "Customize Text" showed compiled MessageFormat string for overridden `_MF` translations 2021-12-17 14:03:35 +01:00