open-consul/ui/packages/consul-ui/app
John Cowen 62a9dffcae
ui: CSP Improvements (#9847)
* Configure ember-auto-import so we can use a stricter CSP

* Create a fake filesystem using JSON to avoid inline scripts in index

We used to have inline scripts in index.html in order to support embers
filepath fingerprinting and our configurable rootURL.

Instead of using inline scripts we use application/json plus a JSON blob
to create a fake filesystem JSON blob/hash/map to hold all of the
rootURL'ed fingerprinted file paths which we can then retrive later in
non-inline scripts.

We move our inlined polyfills script into the init.js external script,
and we move the CodeMirror syntax highlighting configuration inline
script into the main app itself - into the already existing CodeMirror
initializer (this has been moved so we can lookup a service located
document using ember's DI container)

* Set a strict-ish CSP policy during development
2021-03-17 10:46:21 +00:00
..
abilities ui: Implement ACLs access based on ACLs (#9835) 2021-03-11 09:29:11 +00:00
adapters ui: DataSource Decorator (#9746) 2021-02-23 08:56:42 +00:00
components ui: Implement ACLs access based on ACLs (#9835) 2021-03-11 09:29:11 +00:00
controllers ui: Misc changes for Catalog area (#9414) 2020-12-17 16:35:01 +00:00
decorators ui: DataSource Decorator (#9746) 2021-02-23 08:56:42 +00:00
filter/predicates ui: Auth Methods List view (#9617) 2021-02-17 13:56:56 -05:00
forms ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
helpers ui: Add Route component / routlet service (#9813) 2021-03-08 12:15:54 +00:00
initializers ui: CSP Improvements (#9847) 2021-03-17 10:46:21 +00:00
instance-initializers ui: CSP Improvements (#9847) 2021-03-17 10:46:21 +00:00
mixins ui: DataSource Decorator (#9746) 2021-02-23 08:56:42 +00:00
models ui: Restrict the viewing/editing of certain UI elements based on the users ACLs (#9687) 2021-02-19 16:42:16 +00:00
modifiers ui: Restrict the viewing/editing of certain UI elements based on the users ACLs (#9687) 2021-02-19 16:42:16 +00:00
routes ui: Implement ACLs access based on ACLs (#9835) 2021-03-11 09:29:11 +00:00
routing ui: Implement ACLs access based on ACLs (#9835) 2021-03-11 09:29:11 +00:00
search/predicates ui: Auth Methods List view (#9617) 2021-02-17 13:56:56 -05:00
serializers ui: Restrict the viewing/editing of certain UI elements based on the users ACLs (#9687) 2021-02-19 16:42:16 +00:00
services ui: Implement ACLs access based on ACLs (#9835) 2021-03-11 09:29:11 +00:00
sort/comparators ui: Auth Methods List view (#9617) 2021-02-17 13:56:56 -05:00
styles ui: Implement ACLs access based on ACLs (#9835) 2021-03-11 09:29:11 +00:00
templates ui: Implement ACLs access based on ACLs (#9835) 2021-03-11 09:29:11 +00:00
utils ui: [BUGFIX] Replace all replaceAll with split.join for older browsers without replaceAll (#9715) 2021-02-11 09:49:39 +00:00
validations ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
app.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
env.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
formats.js ui: Install ember-intl (#9399) 2020-12-15 18:29:32 +00:00
index.html ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
router.js ui: Implement ACLs access based on ACLs (#9835) 2021-03-11 09:29:11 +00:00