open-consul/ui-v2/app
John Cowen 310d35e69c
ui: Lazily detect HTTP protocol (#7644)
This commit includes 2 things:

1. Sometimes (seemingly due to client caching), performance entries
aren't available, even for the currently executing script. This waits
until the first retrieval of 'CONSUL_HTTP_PROTOCOL' before using the
performance entries to decide this. This means that the entries aren't
inspected until ember has initialized, which means that the entries are
always available.

2. getCurrentResource/getResourceFor could potentially return undefined
if the correct entry could not be found. This adds a default {} return
value if the resource cannot be found. This means that if for whatever
reason the correct resource cannot be found at least we don't fail with
an error and just drop back to HTTP/1 functionality.
2020-04-15 14:42:55 +01:00
..
adapters ui: Fix token duplication bug (#7552) 2020-04-01 09:55:20 +01:00
components
computed
controllers
forms
helpers ui: Enable recovery from an unreachable datacenter (500 error) (#7404) 2020-03-09 09:10:47 +00:00
initializers
instance-initializers
mixins
models
routes ui: Enable recovery from an unreachable datacenter (500 error) (#7404) 2020-03-09 09:10:47 +00:00
routing
search/filters
serializers
services ui: Ensure blocking query configuration is passed through to findInstanceBySlug (#7543) 2020-03-30 15:23:06 +01:00
styles
templates ui: Use the `each key=""` parameter to force ember to reuse DOM (#7550) 2020-03-31 14:58:59 +01:00
utils ui: Lazily detect HTTP protocol (#7644) 2020-04-15 14:42:55 +01:00
validations
app.js
env.js
index.html
resolver.js
router.js