Joffrey JAFFEUX
74f0631acd
FIX: allows authentication data to be present in bootstrap ( #13885 )
2021-07-29 15:01:11 +02:00
Alan Guo Xiang Tan
44aa46ca05
Code review comments.
2021-06-21 11:06:58 +08:00
Neil Lalonde
a5df693697
FIX: can't bootstrap with ember-cli when login_required is enabled ( #13350 )
2021-06-10 09:36:41 -04:00
Alan Guo Xiang Tan
9625208f40
DEV: Clean up state leak in BootstrapController spec.
...
The state leak was causing `ExtraLocalesController.client_overrides_exist?` specs to fail randomly.
Follow-up to 1976306539
2021-06-04 10:10:11 +08:00
Robin Ward
c0624d45db
FIX: Add appropriate classes to html
element including lang
( #12245 )
...
This was not working in the Ember CLI version of the application.
2021-03-01 14:04:02 -05:00
Robin Ward
1bbf324415
FIX: When using Ember CLI theme Javascript/HTML was not being inserted ( #12227 )
...
This also supports plugins with custom HTML.
2021-02-26 13:00:31 -05:00
Robin Ward
1976306539
Add extra locales to bootstrap.json
...
This allows an app (such as Ember CLI) to get the full list of locales
for a user, including admin and overrides.
2020-09-23 14:48:52 -04:00
Robin Ward
0f9a58e06f
FEATURE: Add stylesheets to bootstrap.json endpoint
...
This allows API consumers (such as Ember CLI) to dynamically get a list
of styles to embed.
2020-09-04 14:12:49 -04:00
Robin Ward
22789e0201
New bootstrap.json
endpoint for starting up Discourse
...
Discourse needs a bunch of data preloaded before it can start up.
Normally we throw blobs of this into the HTML document that is requested
but in some cases that's awkward to retrieve.
For example with Ember CLI you have a separate javascript application
that needs to make its own HTML.
This API endpoint returns a JSON object with all the data Discourse needs to
bootstrap and start up.
2020-06-03 14:45:23 -04:00