discourse/app/views
David Taylor 33a2624f09
DEV: Introduce flag for compiling Plugin JS with Ember CLI (#17965)
When `EMBER_CLI_PLUGIN_ASSETS=1`, plugin application JS will be compiled via Ember CLI. In this mode, the existing `register_asset` API will cause any registered JS files to be made available in `/plugins/{plugin-name}_extra.js`. These 'extra' files will be loaded immediately after the plugin app JS file, so this should not affect functionality.

Plugin compilation in Ember CLI is implemented as an addon, similar to the existing 'admin' addon. We bypass the normal Ember CLI compilation process (which would add the JS to the main app bundle), and reroute the addon Broccoli tree into a separate JS file per-plugin. Previously, Sprockets would add compiled templates directly to `Ember.TEMPLATES`. Under Ember CLI, they are compiled into es6 modules. Some new logic in `discourse-boot.js` takes care of remapping the new module names into the old-style `Ember.TEMPLATES`.

This change has been designed to be a like-for-like replacement of the old plugin compilation system, so we do not expect any breakage. Even so, the environment variable flag will allow us to test this in a range of environments before enabling it by default.

A manual silence implementation is added for the build-time `ember-glimmer.link-to.positional-arguments` deprecation while we work on a better story for plugins.
2022-08-22 09:56:39 +01:00
..
about FEATURE: Add plugin API to register About stat group (#17442) 2022-07-15 13:16:00 +10:00
admin/backups FEATURE: further restrict downloading of backups 2017-03-01 08:28:34 -07:00
application FIX: Offer site_logo_dark_url as an option for dark mode themes (#14361) 2021-09-16 17:47:51 -04:00
badges FIX: in case of orphan user records skip badge 2019-08-30 17:21:34 +10:00
categories FIX: Resolve Schema.org validation issues 2020-05-05 16:57:16 +03:00
common UX: Prevent color flicker on dark themes (#17620) 2022-07-25 18:02:21 +08:00
default FIX: Add a `title` to the groups pages 2016-07-25 14:24:43 -04:00
email FEATURE: Custom unsubscribe options (#17090) 2022-06-21 15:49:47 -03:00
embed FIX: Ensure embedded replies/reply-to links open in _blank (#14597) 2021-10-13 21:34:30 +01:00
exceptions FEATURE: Add page title to 404 pages (#16846) 2022-05-17 18:37:43 +03:00
finish_installation UX: update register admin wizard page styles (#17785) 2022-08-03 21:49:21 -04:00
groups FEATURE: add title tag for group detail page (#13702) 2021-07-12 20:05:57 +05:30
invites UX: updated "accept invite" error page (#15490) 2022-01-09 10:21:42 +05:30
layouts FEATURE: revamped wizard (#17477) 2022-07-27 06:53:01 +05:30
list FEATURE: add nofollow to RSS alternate link in topics and categories (#16013) 2022-03-09 16:34:02 +11:00
metadata DEV: Add support for Rails 6 2019-05-02 16:23:25 +10:00
offline UX: Remove Helvetica from our font stack (#11876) 2021-02-05 17:01:21 -05:00
posts FEATURE: use canonical links in posts.rss feed (#16190) 2022-03-15 20:17:06 +11:00
published_pages FIX: use normal logo in published pages if small not available. 2020-09-21 09:20:39 +05:30
qunit DEV: Introduce flag for compiling Plugin JS with Ember CLI (#17965) 2022-08-22 09:56:39 +01:00
robots_txt FEATURE: Let sites add a sitemap.xml file. (#16357) 2022-04-12 10:33:59 -03:00
safe_mode UX: Improve safe-mode usability (#17929) 2022-08-15 15:15:15 +01:00
search UX: better title on search page 2017-10-27 09:13:04 +05:30
session FEATURE: Rename 'Discourse SSO' to DiscourseConnect (#11978) 2021-02-08 10:04:33 +00:00
sitemap FEATURE: Let sites add a sitemap.xml file. (#16357) 2022-04-12 10:33:59 -03:00
static FEATURE: Allow to modify topic-backed static pages (#15324) 2021-12-16 04:24:11 +01:00
tags FIX: Use new tag routes (#8683) 2020-01-21 19:23:08 +02:00
topics PERF: remove server plugin outlet for post (#17105) 2022-06-16 17:21:24 +10:00
user_api_keys FEATURE: Delegated authentication via user api keys (#7272) 2019-04-01 13:18:53 -04:00
user_notifications FIX: Email styles for Gmail app dark mode (#16482) 2022-04-14 15:03:06 -04:00
users FEATURE: Add safe-mode toggle to `/u/admin-login` (#17930) 2022-08-15 15:30:07 +01:00
users_email FIX: Remove leftover uses of ember_jquery (#17178) 2022-06-21 14:26:52 +01:00