discourse/app
David Taylor 1f1aa6a0d8
FEATURE: Catch decorateCooked errors from themes/plugins (#15450)
If a theme/plugin raises an error while decorating post content, the decorator will be skipped, and the error reported on the console. Additionally, administrators will be shown a red warning at the top of the screen.

This commit refactors and re-uses some of the logic from the theme-initializer-error-reporting logic. In future, new error reports can be added by doing something like:

```
document.dispatchEvent(
  new CustomEvent("discourse-error", {
    detail: { messageKey: "some.translation.key", error },
  })
);
```
2022-01-04 21:59:52 +00:00
..
assets FEATURE: Catch decorateCooked errors from themes/plugins (#15450) 2022-01-04 21:59:52 +00:00
controllers FEATURE: use raster image and autofill in 2FA input (#15429) 2022-01-04 15:31:46 +11:00
helpers SECURITY: Remove ember-cli specific response from application routes (#15155) 2021-12-01 16:10:40 +00:00
jobs FEATURE: Scheduled problem checks for admin dashboard (#15327) 2021-12-20 09:59:11 +10:00
mailers DEV: Hash tokens stored from email_tokens (#14493) 2021-11-25 09:34:39 +02:00
models DEV: Drop old bookmark columns (#15405) 2022-01-04 11:19:27 +10:00
serializers FEATURE: Experimental support for group membership via google auth (#14835) 2021-12-09 12:30:27 +00:00
services FEATURE: Before consolidation callbacks. (#15428) 2021-12-30 15:40:16 -03:00
views FEATURE: Allow to modify topic-backed static pages (#15324) 2021-12-16 04:24:11 +01:00