discourse/app/assets/javascripts
David Taylor d3751c70c9
FIX: Ensure error handlers render correctly without preload_json (#17696)
Some errors (e.g. InvalidAccess) are rendered with `include_ember: true`. Booting the ember app requires that the 'preload' data is rendered in the HTML.

If a particular route was configured to `skip_before_action :preload_json`, and then went on to raise an InvalidAccess error, then we'd attempt to render the Ember app without the preload json. This led to a blank screen and a client-side error.

This commit ensures that error pages will fallback to the no_ember view if there is no preload data. It also adds a sanity check in `discourse-bootstrap` so that it's easier for us to identify similar errors in future.
2022-07-27 22:29:13 +01:00
..
admin FIX: Make sure user list is complete and sorted (#17616) 2022-07-26 17:54:52 +03:00
confirm-new-email DEV: Update linting setup and fix issues (#17345) 2022-07-06 10:37:54 +02:00
discourse FIX: Ensure error handlers render correctly without preload_json (#17696) 2022-07-27 22:29:13 +01:00
discourse-common FIX: Ensure admin templates are not used for non-admin controllers (#17667) 2022-07-26 17:03:49 +01:00
discourse-ensure-deprecation-order DEV: Silence 3.x deprecations 2022-07-19 10:00:59 +01:00
discourse-hbr DEV: Update @embroider/test-setup (#17625) 2022-07-24 17:29:21 +02:00
discourse-widget-hbs DEV: Update @embroider/test-setup (#17625) 2022-07-24 17:29:21 +02:00
docs
ember-addons
locales FEATURE: Add Croatian language (#17130) 2022-06-18 00:18:22 +02:00
pretty-text DEV: Update @embroider/test-setup (#17625) 2022-07-24 17:29:21 +02:00
select-kit FIX: improves handling of filter with invalid tag chars (#17640) 2022-07-25 12:00:52 +02:00
truth-helpers DEV: Update @embroider/test-setup (#17625) 2022-07-24 17:29:21 +02:00
wizard FEATURE: revamped wizard (#17477) 2022-07-27 06:53:01 +05:30
.licensee.json DEV: Add Ember CLI workspace license checks (#16603) 2022-05-03 13:06:19 -04:00
.npmrc
admin-plugins.js.erb FIX: When using Ember CLI, plugin admin code was not being loaded in tests (#16239) 2022-03-21 15:46:41 -04:00
handlebars-shim.js
markdown-it-bundle.js
mini-loader.js DEV: Remove obsolete parts of our custom loader (#17157) 2022-06-20 18:40:25 +02:00
package.json DEV: Silence 3.x deprecations 2022-07-19 10:00:59 +01:00
polyfills.js DEV: Add polyfill for String.prototype.replaceAll (#16301) 2022-03-28 17:18:56 +01:00
pretty-text-bundle.js DEV: Update xss.js (#17216) 2022-06-24 10:28:05 +08:00
service-worker.js.erb FIX: Disable service worker proxying in chrome 97-97.0.4692 (#15638) 2022-01-18 19:41:25 +00:00
yarn.lock DEV: Update @embroider/test-setup (#17625) 2022-07-24 17:29:21 +02:00