consul/agent/bindata_assetfs.go

1112 lines
5.3 MiB
Go
Raw Normal View History

2015-11-30 11:24:39 -08:00
// Code generated by go-bindata.
// sources:
// pkg/web_ui/assets/android-chrome-192x192-501b0811835ea92d42937aaf9edfbe08.png
// pkg/web_ui/assets/android-chrome-512x512-707625c5eb04f602ade1f89a8868a329.png
// pkg/web_ui/assets/apple-touch-icon-114x114-49e20f98710f64b0cae7545628a94496.png
// pkg/web_ui/assets/apple-touch-icon-120x120-c9cc4fc809a6cbff9b9c261c70309819.png
// pkg/web_ui/assets/apple-touch-icon-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png
// pkg/web_ui/assets/apple-touch-icon-152x152-08c9aa1c11a83650b824e3549b33a832.png
// pkg/web_ui/assets/apple-touch-icon-57x57-ae96d6d27e61e25514af459bc8b20960.png
// pkg/web_ui/assets/apple-touch-icon-60x60-522fca33a44f77c679561313def843b9.png
// pkg/web_ui/assets/apple-touch-icon-72x72-da5dd17cb4f094262b19223464fc9541.png
// pkg/web_ui/assets/apple-touch-icon-76x76-c5fff53d5f3e96dbd2fe49c5cc472022.png
// pkg/web_ui/assets/apple-touch-icon-d2b583b1104a1e6810fb3984f8f132ae.png
// pkg/web_ui/assets/auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.js
// pkg/web_ui/assets/codemirror/mode/javascript/javascript-a4c0d68244e6e74f9225801e5f9d724e.js
// pkg/web_ui/assets/codemirror/mode/ruby/ruby-61421add5f64c0fc261fe6049c3bd5d7.js
// pkg/web_ui/assets/codemirror/mode/yaml/yaml-48498cacbe2464bb47bdb3732d4e25cb.js
// pkg/web_ui/assets/consul-logo-707625c5eb04f602ade1f89a8868a329.png
2019-05-22 20:19:12 +00:00
// pkg/web_ui/assets/consul-ui-0cc7f4e2a5bcf306897a58923befa74c.js
// pkg/web_ui/assets/consul-ui-bfc60df255fe6a60a2b070dd0e3afa99.css
// pkg/web_ui/assets/encoding-5ed8e95353b97ff5dd41bf66212d118e.js
// pkg/web_ui/assets/encoding-indexes-75eea16b259716db4fd162ee283d2ae5.js
// pkg/web_ui/assets/favicon-128-08e1368e84f412f6ad30279d849b1df9.png
// pkg/web_ui/assets/favicon-16x16-672c31374646b24b235b9511857cdade.png
// pkg/web_ui/assets/favicon-196x196-57be5a82d3da06c261f9e4eb972a8a3a.png
// pkg/web_ui/assets/favicon-32x32-646753a205c6a6db7f93d0d1ba30bd93.png
// pkg/web_ui/assets/favicon-672c31374646b24b235b9511857cdade.png
// pkg/web_ui/assets/favicon-96x96-6f8f8393df02b51582417746da41b274.png
// pkg/web_ui/assets/favicon.ico
// pkg/web_ui/assets/loading-cylon-pink.svg
// pkg/web_ui/assets/mstile-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png
// pkg/web_ui/assets/mstile-150x150-6b13ab220a09a9e72328a3b05d5b9eec.png
// pkg/web_ui/assets/mstile-310x150-ccc673174b188a92f1e78bc25aa6f3f8.png
// pkg/web_ui/assets/mstile-310x310-49242d1935854126c10457d1cdb1762b.png
// pkg/web_ui/assets/mstile-70x70-08e1368e84f412f6ad30279d849b1df9.png
// pkg/web_ui/assets/safari-pinned-tab.svg
// pkg/web_ui/assets/vendor-9ea7d400c0cec7682e8871df14073823.css
2019-05-08 18:34:08 +00:00
// pkg/web_ui/assets/vendor-eb72c0b1a44ba20937ce35fd2ad2e8da.js
// pkg/web_ui/index.html
// pkg/web_ui/robots.txt
2015-11-30 11:24:39 -08:00
// DO NOT EDIT!
package agent
import (
"bytes"
"compress/gzip"
"fmt"
"github.com/elazarl/go-bindata-assetfs"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
"time"
)
func bindataRead(data []byte, name string) ([]byte, error) {
gz, err := gzip.NewReader(bytes.NewBuffer(data))
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
var buf bytes.Buffer
_, err = io.Copy(&buf, gz)
clErr := gz.Close()
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
if clErr != nil {
return nil, err
}
return buf.Bytes(), nil
}
type asset struct {
bytes []byte
info os.FileInfo
}
type bindataFileInfo struct {
name string
size int64
mode os.FileMode
modTime time.Time
}
func (fi bindataFileInfo) Name() string {
return fi.name
}
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
func (fi bindataFileInfo) IsDir() bool {
return false
}
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
var _web_uiAssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x9a\x55\x53\xdc\x0d\xb3\xc4\xff\xbb\xb8\xbb\x43\x70\x87\xa0\xc1\x65\x71\x0b\xee\xee\x12\x9c\xe0\xbe\x10\xdc\xdd\x9d\x20\xc1\x03\x09\x21\xb8\xbb\xbb\x6b\x70\x77\x87\x53\xcf\xf9\x00\x6f\x4d\xcd\x5c\xcc\x6d\x57\xf5\xaf\x2f\x3a\x52\x45\x49\x06\x0d\x99\x18\x19\x00\x00\x34\x39\x59\x49\x35\x00\x00\x3a\xff\x5b\x44\x78\x00\x00\xd4\x56\xed\x11\x00\x00\x80\xb5\x16\x53\x14\x03\x80\x9f\xf1\x28\x2f\xa6\x70\x00\x00\x50\x98\xcb\xaa\x29\x02\x80\x0f\x1d\x00\x40\x43\x00\xe0\x09\x00\x00\xe8\x01\x00\xb8\xb3\x03\xc0\x91\x09\x00\x08\x64\x00\x00\x81\x73\x4e\xb3\xaa\x10\x00\x00\xf0\x66\x0a\x32\x92\xc0\xfb\x7f\x53\xd0\x56\x96\x0c\x00\x00\x82\x9b\x9c\xa2\x14\xc2\x16\x0c\x39\xc0\x4c\x50\xf9\x9b\x9e\x1d\x00\xa4\x8e\xe5\x24\xc5\x34\xbc\x96\x4f\xdb\xbe\x24\xd0\xc8\x78\xd0\xdd\xad\x0a\xd7\xb4\x72\x1d\xb7\x37\x57\x3a\x71\x37\x83\x50\xa1\xfd\x1c\x36\x00\xcc\x28\x90\x01\xb2\x0e\xe3\x52\x40\x0f\xff\x17\xa1\x10\xfb\x85\xef\x68\x97\xf2\x0c\xdd\x93\x71\xca\x46\xcf\xa5\x24\x35\x8d\x53\x75\x1a\xc3\x56\xb1\x1e\x6f\xd4\x42\xef\x8b\x9c\x0b\xbf\xc1\x0e\xfa\x5e\x3b\xc6\xaa\x36\x0c\x1a\xf7\x93\x48\x65\xf3\x19\xf5\x79\x4c\xcc\x8c\xa1\x68\x3d\xd5\x0c\x35\x27\xd5\x79\x73\xf3\x35\x97\xeb\x48\x79\x55\x05\x9f\xd0\xba\x6b\xe0\xdb\x4b\xdb\x39\xe8\x66\x4a\x86\xdc\xff\x7f\x9c\x01\x07\xc4\x5f\x6b\xbc\xce\x2d\x5b\xb3\x3f\xd4\x85\x0f\x67\x08\x8c\xbc\x82\x1c\xee\x1b\x56\x91\x0e\x98\x21\x08\x36\xaa\x83\x2d\x87\x2b\x61\xdd\x1b\xda\x71\xeb\x85\xb5\x00\x2b\x05\x64\x53\x35\x5b\xd4\x37\x70\x41\x36\x42\xb7\x93\x03\xf6\xd5\xd8\x98\x51\x40\xc2\x18\xe4\xb7\x49\x7d\x31\xb8\xdf\x34\xa7\x7c\xee\x82\x99\xb1\x3f\xc3\x6f\xa5\x18\x70\xfe\x8a\x0e\x3c\x21\x4f\x31\x3d\x21\xd7\x81\xe2\x27\x7d\xe3\x13\xf7\x17\xcf\xad\x3b\xe0\x37\x6b\x31\x8d\x2e\x82\x4f\x84\xd1\x6d\x31\x2f\xb8\xde\x91\x00\x7f\x4b\x9b\x10\x41\x3d\x10\x38\x44\x44\xb6\xe9\xe7\x84\xcb\x64\xd9\xfd\xe2\xf9\x0b\x30\x16\x9a\xfb\x44\x3a\x03\x3d\xff\x86\x1b\xf2\x7e\xc2\xfc\x0d\xc1\x33\x07\xcc\x8d\xf9\x44\x11\x34\x20\x12\xeb\x15\x4f\x8b\x82\xf2\xa3\xbe\x80\x66\x44\x9c\x4f\x17\xdf\xac\x3e\xb4\xa7\x3e\x94\xba\x3e\xb4\x98\x4a\x0a\xeb\xb3\x98\x24\xb4\x37\x56\x79\x14\xb3\x81\x11\xda\x87\xc9\xc5\xda\xad\x81\xd3\x50\x2f\xa7\x23\x87\xf3\xe5\x07\xc3\x4a\x68\xab\x7d\xea\x55\x94\xa6\x52\x38\xeb\x58\xff\x68\x58\xd6\xa6\x3a\x70\xf1\x76\xe2\x60\xb4\x0b\x1c\x30\x7f\x63\x3b\x23\x84\xbb\xc0\x7a\xa1\x28\xdc\x87\xcb\xf6\x8a\x83\x1b\xea\xde\xd6\x11\x8b\x8a\xc3\xff\xde\x25\xa6\x49\x1a\xff\xc5\xc2\x69\xb0\xd7\x57\x92\x24\x1e\x09\x17\x0d\x07\x19\x26\xa3\x90\x0f\xac\x82\x09\x83\x05\x4a\x82\x82\x40\x40\x88\xed\x02\xb0\x88\xa9\x06\xdf\x09\x80\xe0\x80\x68\x50\x03\x21\x38\x97\x8a\x41\xb5\x17\x99\x27\x38\x46\xea\xa0\x5e\x6c\x51\x5c\xf7\xfb\xb5\x77\x5f\xf3\x6f\xe2\x4f\x04\xf8\x3b\x3e\x3e\xac\x66\x15\x3c\x56\xf8\x1a\x29\x5d\x2b\x2f\xb8\xdd\x95\xa8\xfe\x52\x50\x41\x08\x88\xaf\xeb\x3e\xee\x6e\x1d\x2b\xcf\x2b\x0b\x00\xc4\x07\x7b\xa7\x83\x6e\x27\x2f\x24\x95\xf2\x94\x7e\x74\x27\x46\x88\x9d\xa5\xb1\xfa\xa9\x14\xd8\xa0\x72\xa5\xf4\xa2\x8a\x93\x04\x76\xfc\x30\x49\x5d\x12\xff\xcd\xf1\x9d\x75\x14\xdf\x2d\xc8\x88\x71\xf8\x2e\xf4\xb6\xce\x7b\x57\x4b\xbe\xe5\x53\xf6\x2c\x57\x18\x04\x0d\x70\x4e\x09\xd6\x8e\x2b\x20\xea\xfe\xc4\xbc\x1a\x19\xe5\xac\xcf\x04\xe9\xb4\xc1\xd8\xc4\xf7\xb1\x76\x23\x80\xe2\x78\x01\x98\xf4\x5f\xbf\xbe\x4c\xea\xd9\x6c\xd8\x88\x35\xf3\x96\x26\x23\xe0\xe1\x90\xe3\x30\x10\x0f\xa0\x4a\x15\xf2\x04\x3b\x09\x12\x42\xa5\x38\x46\xf4\x33\xd6\xa6\x25\x7d\x44\xca\x74\xce\x59\xfb\x63\x31\xd8\x62\xcb\x1b\x0e\xeb\x74\xc1\x00\x0e\x53\xd4\x66\x2e\x23\xf1\x18\xaa\x67\x0a\xd5\xaa\x07\xf2\x26\xd1\xe5\xeb\x28\xc9\x02\x22\x06\x40\x05\x44\xa8\xeb\xf2\xbb\x58\x7c\xf2\xb3\x60\x61\x13\x26\x9e\x09\x8d\x97\xe7\x11\x10\x67\x90\xef\xc2\x8f\x39\x6b\x03\xc3\xd4\xd9\x8f\x6a\xb9\x05\xe5\x4d\x30\xdf\x65\xa3\x20\xbd\x9e\xba\x9a\x97\x54\xe6\x70\xf2\x21\x6f\x8d\x62\x06\x58\x4d\xf7\xff\x38\x43\x95\x6a\x72\xc0\x2d\x88\xdc\x7c\x46\xf6\x37\xc0\xe9\x1e\x48\xa7\x7a\x2e\x9b\x19\x4e\x46\x52\xf4\x92\xaf\x9f\x52\x15\x57\xbd\xe2\x39\x24\xb0\x35\x6f\x2c\x45\xba\xf9\x66\x3f\xf8\xd4\x77\xdb\x75
2018-10-19 18:57:23 +00:00
func web_uiAssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08Png,
"web_ui/assets/android-chrome-192x192-501b0811835ea92d42937aaf9edfbe08.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08Png() (*asset, error) {
bytes, err := web_uiAssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/android-chrome-192x192-501b0811835ea92d42937aaf9edfbe08.png", size: 18250, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xba\xf7\x57\x13\xdf\xf7\xc6\x3b\xc1\x20\xa1\x08\xa1\x09\x0a\x52\xa4\x83\x74\xa5\x48\x49\x68\xd2\x7b\x97\x0e\x02\x22\xd2\xa4\xd7\x04\x08\x5d\x45\x69\x52\xa4\x4a\x15\x10\x90\x0e\x42\xa4\xaa\x14\xe1\x8d\x74\xe9\x4a\xe8\x84\x1e\x4a\xca\x5d\x7e\xbe\xf7\xfe\x11\x77\xcd\x9a\x35\xbf\xcc\xec\x39\x67\x9f\xd7\x7e\x9e\x73\x66\x4e\x92\x91\x81\xe6\x0d\xaa\xdb\x54\x00\x00\xdc\xd0\xd6\x52\x37\x01\x00\x32\xe0\xdf\x09\xb9\x0e\x00\xc0\x49\xc8\xe4\x25\x00\x00\x60\x77\x15\x7d\x15\x00\x68\x48\xa5\xc6\x3b\x91\x03\x00\xc0\xe5\xa2\x65\xa2\x0f\x00\x61\xfc\x00\x80\x44\x01\xc0\xbf\x5b\x90\x9b\x00\x10\x28\x01\x00\xdb\x8e\x00\xf0\x30\x1b\x00\x58\x7c\xdf\x77\x18\x2b\x02\x00\x70\xdd\x59\x57\x53\x1d\x20\xfd\x3b\x8a\xba\x2a\xd2\x01\x00\xa0\x08\xd0\xd6\xd7\xa0\x58\xbd\xc6\x09\x88\xb0\x54\x37\x0b\x48\x00\x00\x12\xd0\x56\x57\x31\x0b\x99\xdf\x25\xe0\xd2\x79\x2c\x0b\x56\x28\xa3\x96\xc3\xc5\x8a\xaf\x15\x6b\x6c\x3f\x49\xcb\xd1\xe3\xff\xa1\xf3\x19\xfc\x63\xc2\xce\xee\x41\x6d\x79\x85\x7b\x47\x75\x79\x85\xa7\x5b\x87\x7b\xde\xaf\x4e\x05\xcf\x16\x77\x17\xf7\xe0\x16\x77\xdc\x31\xe1\x86\xa5\x4b\x90\x7b\x70\x4b\x90\x9b\xc0\xf4\xae\x1b\x0e\xf3\x58\x6f\x34\xf3\x6e\x8a\x94\x50\xda\x13\x37\xa9\x66\xc8\x9d\x68\x64\xfc\x30\x6e\x89\x00\xc8\xf5\xae\xfa\x52\x40\xdf\xc2\xe1\xfd\x57\xd9\xa1\x64\xc5\x6f\x88\xec\xaf\x71\x53\xcb\xe2\x48\x38\x17\x14\x02\x26\x8b\xfe\xff\xc7\x85\x07\x7c\xfb\x8c\x12\x02\x8e\xe9\x3b\xc6\xe4\xf9\x28\x9f\xba\x9f\xbb\xc3\xae\x6e\x71\x9e\x3d\x04\x93\xf5\xfc\xc7\xc3\x04\x44\x3b\x82\x37\x13\xb8\x38\xaf\xab\x86\x42\x21\x83\xef\x1a\x16\x02\xc0\x31\x7e\x6b\x42\x71\x57\x95\x11\x8f\xe8\xf8\x36\xe3\x62\xb8\xa0\x2f\xc5\x3e\x7c\x6e\x87\x80\x5d\x46\x41\x71\x11\xad\xcb\x91\xf3\x85\x30\xd1\x45\x94\x0c\x22\x19\xed\x75\x37\xe3\x5a\xb4\x63\x1b\x84\x1c\xce\x25\xc7\xa5\x44\x15\x1e\xf0\x1d\x7b\xe7\x0c\x1b\x26\x9f\xd0\x07\x39\xb3\xef\x9e\xd9\x59\x3e\x7d\x41\xab\x2a\x09\x85\xbc\x86\x14\x03\x10\xf0\x9d\x4d\x95\xd9\x60\xc6\x95\x4d\x60\x8c\xee\xa8\xd3\xd8\x21\xf8\xd2\xba\x4e\x35\x87\xf3\x48\x1e\xd6\xef\x19\xa4\x20\x0b\x40\x75\xa2\xe1\x12\x10\x14\x19\x17\xf4\xfe\xe6\xdd\xdd\x4e\xeb\xd5\xca\x04\x6c\x71\x22\xf6\xf4\x52\x61\xb1\x7b\x66\xcb\x96\x70\x72\xf7\x3d\xdd\x51\x48\x36\x3a\x5a\x6c\xac\xaf\xdb\xfb\x2e\x13\x59\xf4\xca\x16\x3d\x15\x72\x65\xf6\x05\x10\xbd\xac\x5f\x49\xc1\x19\x3b\xd6\xd7\xbd\x7f\x1a\xee\x54\x37\xb7\x45\x7f\xb7\xfb\x2c\x91\xe1\xf3\x22\x38\xfc\xe0\x42\xa5\x9b\xe5\xf4\x01\xdc\x9d\xbc\xe4\xd7\x45\x0b\x77\x06\x59\xf4\x8a\x23\x84\x1c\xee\xfb\x7c\x93\xeb\xe0\x03\xca\x5d\x96\x9b\x93\xaf\xbf\x8f\x36\x62\xbc\x90\x31\xde\x68\x81\xff\xf3\xb6\x73\x89\x91\xba\x19\xcb\xb0\x24\x9b\x88\x64\xc2\xa6\x94\x86\x14\x26\x11\x1a\xcf\x3b\xa2\xf2\x4c\x91\x61\x64\x27\x35\x91\x27\x46\x5e\x2b\x9b\x67\x24\xda\x3f\x1e\xf9\x02\x9c\xc1\xf3\x93\x95\x6c\x08\x1a\xcc\xb6\xec\xc2\xe4\x37\xc3\xb7\x20\xf3\xc4\x6d\xf2\xc9\xb3\xc7\x0c\xfe\xb6\xbd\x55\xfa\x6d\x9e\x8c\x8f\x44\x93\xda\xe3\x47\x04\x07\xde\xab\x74\xd6\xe3\x38\x17\xa3\x96\xf6\x90\x62\x63\xc5\xc3\xc7\xfc\xaa\xb7\xa0\x90\x0e\x1e\x26\xa0\x47\x9d\x91\xfb\x24\x9c\xfe\x3c\x81\x79\xdf\x69\xcc\x86\x83\x99\x25\xbd\x54\x23\xa3\x54\xa3\xa9\x4d\xbf\xe9\x25\x77\x59\x7a\xd6\xfd\xb2\x36\x41\x6e\x53\x26\x01\x9a\x01\x3e\x7b\x04\x2f\x0d\x9f\x44\x82\x1c\x46\xf0\xf5\xad\x64\x17\xe0\x8e\x9f\x11\x80\xe4\x02\x68\xd8\x21\x40\x2f\x80\x34\x26\x9c\x76\x61\x5d\x96\x49\xd4\x46\x2c\x3f\x5f\x7e\x28\x7f\xf3\x09\x71\xe3\x2b\x20\x77\x0d\x2c\x46\x51\x2f\x4f\x96\x70\xcd\x8a\xc6\x2f\x96\x5b\x82\x75\xed\x41\xfc\x57\xc7\xec\x19\xdb\x91\x61\x31\x0c\x9f\x8d\x33\x9f\xa9\x73\x5c\x6e\xaf\x0e\xdf\xa8\xe8\xd4\x13\xb7\x5c\xa9\x46\x91\x64\x4f\x4b\x66\xcc\x2c\xc3\x07\x40\x94\x64\x38\xeb\x92\xd1\x0b\xc5\x73\xc0\xdd\xb1\xd1\x24\xc9\xf3\x2f\x49\x46\x10\x70\x4c\x10\x8a\x8c\x2b\x5b\x30\xac\xe9\x48\xc1\xfa\x64\x09\xd7\x7b\xef\x4c\x22\x7a\x29\x42\x4c\x52\x1d\xa2\x96\xed\xcb\xf5\x31\xb6\xec\xa5\xd0\x96\xb6\x69\xf2\x80\x57\x9a\x56\xce\x93\xc7\xc1\x5a\x16\x81\x87\x2f\x55\xff\x6b\x52\xff\xaf\xa9\x7f\xfc\xbe\x93\x60\x8a\xbc\x8e\x23\xad\x24\x60\x04\x45\xbe\x94\xd3\x3a\x9d\xd1\x00\x87
2018-10-19 18:57:23 +00:00
func web_uiAssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329Png,
"web_ui/assets/android-chrome-512x512-707625c5eb04f602ade1f89a8868a329.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329Png() (*asset, error) {
bytes, err := web_uiAssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/android-chrome-512x512-707625c5eb04f602ade1f89a8868a329.png", size: 58433, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\xd8\x3c\x27\xc3\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x72\x00\x00\x00\x72\x08\x06\x00\x00\x00\x8f\xdd\x85\x7d\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xed\xbd\x79\x70\x1c\x57\x7a\x27\xf8\xfb\x5e\x66\x65\x9d\xa8\xc2\x7d\x11\x04\x08\x10\x04\xc1\x53\xa4\x28\x52\x14\x49\x91\x52\x5b\x52\x77\x4b\xb2\xa7\x2f\xb7\xa7\x7d\x6f\xc4\xba\x3d\x0e\x4f\x78\xc3\x31\x13\xe1\xd8\xd8\xf0\x4e\x78\x1d\xb3\xde\x0d\xaf\x63\xd7\x31\xe3\xe8\xe8\x9d\xe8\xe9\xb1\x3d\x3d\x3d\x76\x77\xbb\x65\x75\xdb\x56\x4b\x6c\x49\x2d\x91\x94\x78\x88\x27\x44\x82\x04\x08\x92\x00\x08\x80\x40\xa1\x50\xa8\xbb\xb2\xb2\xde\xb7\x7f\x54\x66\x56\x56\x22\xab\x00\x48\x6a\xcf\x7a\x63\x3f\x44\x21\x33\xdf\xf9\xbd\xef\xe5\xfb\xae\x77\x24\x01\x10\xd8\x3c\x48\x33\x9f\x75\xf5\x8a\x6b\x94\xef\x1f\xbb\xcc\x8d\xa4\xdd\x0c\x7c\x5c\x5c\x7f\x9a\x6d\xfc\xff\xe1\xff\x4b\xe0\xee\xd9\x46\xcf\x5e\x71\xc2\xe3\xde\x9d\xde\x7d\xdd\x6c\x1a\x2f\xd8\x0c\x2e\x1b\x79\xde\x08\x4e\x1b\xa5\xcd\x7a\xf9\xd7\x6b\xe3\x86\xea\x53\x1d\x81\xb2\x4e\xa2\x7a\x61\xf5\xd2\x3b\xcb\x72\x97\x5b\xaf\x2c\xeb\xd9\xc9\x7a\xdc\xe5\x79\xb1\xa4\xcd\xe0\xec\x2c\xd7\x8b\x1d\x59\xf1\xf5\xe2\x1a\x95\xeb\x55\x47\x23\xd8\x48\x67\x7a\xd1\xa2\x2e\x2e\x54\xa7\x90\x7f\xca\x50\x4f\x66\x6c\x56\x2e\xfd\xbf\x11\xbc\x5e\xe8\x0d\xb5\xe1\x93\x68\xe4\x7a\x6f\xf7\x3f\x35\xd8\x08\xb7\xda\x48\x1b\x37\x2b\x3e\x1a\x82\xea\x7a\xde\x28\x6b\x58\x2f\xad\x9b\x1d\x3a\xc1\x1d\xee\xc5\x3a\xeb\x5e\xdb\xdb\xdb\x45\x7b\x7b\x3b\xda\xdb\xdb\xd1\xda\xda\x8a\x58\x2c\x06\xbf\xdf\x2f\x88\xc8\x2a\x4b\x10\x11\x98\x19\xd6\xd5\xaa\xd7\x7c\x96\xcc\x8c\xd5\xd5\x55\x99\xcb\xe5\x10\x8f\xc7\xb1\xb2\xb2\x82\xa5\xa5\x25\xac\xae\xae\x42\x4a\xe9\xc4\xab\x11\xce\xce\xf0\x7a\xe9\xdd\xed\x76\xa7\xf3\xa2\x97\x57\x19\x8d\xe8\x02\x00\xc2\x8b\xb5\x7e\x5c\xd5\x78\x23\xc3\xbe\x51\x1d\x35\x71\xed\xed\xed\xd8\xb6\x6d\x1b\x7a\x7a\x7a\xd0\xd6\xd6\x26\x7c\x3e\x9f\x20\x22\x01\x86\x2a\x18\x5a\x48\x57\x22\x61\x5d\xe9\x8e\x16\x94\x5e\xbf\x21\x5a\x43\x25\xa5\x59\x33\x28\xa2\x30\xf9\x89\xa1\x32\xc1\x30\x04\xe7\x0b\xaa\x4c\x15\x7c\x32\x99\xf7\x95\x17\xd3\xfe\xf2\x42\xc6\x5f\x8e\x17\x7c\x32\xc3\x04\x03\x80\xc1\xcc\x32\x9f\xcf\xcb\x44\x22\x21\xef\xdf\xbf\x8f\x9b\x37\x6f\xfe\x34\xd9\xee\x47\x31\x43\x1a\x75\x2c\x68\x93\x08\x6c\x46\x98\x6f\x74\x64\xaf\x81\x96\x96\x16\xb1\x7b\xf7\x6e\x6c\xdb\xb6\x0d\xa1\x50\x48\x25\x22\x55\x91\x08\xc4\xf2\x6a\x77\x77\x5a\xdb\xdb\x9d\xf2\x1f\x6e\xcf\xfa\xf6\xb6\xe4\xd4\x11\xad\x2c\xba\x05\x23\x00\x8f\xc6\x13\x03\xf6\x78\xac\x6d\xa9\x94\x84\x4c\xc1\x27\x67\x97\x43\xa5\x3b\x4b\x11\xfd\xfa\x42\x54\xff\xe0\x51\x44\xbf\x99\xf6\x97\xe3\x2c\xa0\x33\xb3\x9e\x4e\xa7\xe5\xf8\xf8\x38\xa6\xa6\xa6\x90\x4a\xa5\xd6\x6b\xcf\x47\x6d\xf3\xc7\xa2\x95\x05\x56\xf3\xd6\xd3\x14\x37\x8a\xc0\x46\x90\xaa\x9b\x66\xf7\xee\xdd\x62\x74\x74\x14\x6d\x6d\x6d\x2a\x00\x55\x93\x22\xba\x75\xc5\x7f\x60\x68\x39\xf8\xe9\xbe\x55\xff\x89\xa6\x82\xba\x5b\x30\x42\x60\x02\x11\x1c\xbd\x64\xb6\x84\x1d\xf7\x00\x98\x01\xa2\x4a\x30\x99\x71\x8c\xda\x3e\x65\x32\x3b\x9c\x18\x65\x81\x64\x32\x58\xba\x3e\xdd\x52\x7c\xe7\x6e\x5b\xfe\x47\xf3\xd1\xe2\x78\x99\x38\xc7\xcc\xfa\xdc\xdc\x9c\xbc\x79\xf3\x26\x66\x66\x66\x50\x2e\x97\x1b\x69\x94\x1b\xa5\x5b\x23\x56\xb9\x61\x9a\x59\x71\xee\x8e\xac\xa7\xea\xaf\xcb\xa3\xd7\xc9\x07\xc7\xb3\x13\x01\x44\x22\x11\x3c\xf6\xd8\x63\x18\x1a\x1a\x12\x81\x40\x40\x55\x98\x22\x3d\x29\xff\xde\xdd\x8f\x42\x5f\x1c\x8a\x07\x5f\x0c\x18\x62\x1b\x98\x84\xd5\x4f\xe4\xe8\x05\xab\xa3\xec\xde\x31\xaf\x76\x7f\xda\x09\xac\x0c\xa8\xed\x64\x98\x1d\xe9\x2a\x8f\x2b\x25\x18\x19\x7f\x79\xfc\x4e\x47\xee\xd5\xf1\xae\xdc\xf7\xe3\xe1\xd2\x24\x13\x72\xd9\x6c\xd6\xb8\x72\xe5\x8a\xc5\x7a\x6b\xda\x52\xaf\x8d\x1e\x34\x84\xc7\x3d\x5c\x69\x37\x9a\x7f\xd3\xe6\xc7\x27\x2a\x33\xc2\xe1\x30\x0e\x1e\x3c\x88\x91\x91\x11\xa1\xaa\xaa\xe6\x2f\x51\xf3\xe8\x62\xf8\xc5\x7d\xf3\xe1\xff\xae\x35\xeb\x3b\x42\x80\x4a\xce\xde\xb1\xc1\xfd\x8c\x35\x1d\x59\x3f\x8f\x33\xdc\x2b\xcc\x8a\xe1\xca\x08\x26\x00\x20\x94\x89\x73\x0b\x51\xfd\xed\x6b\xbd\x99\x6f\xdc\x6d\xcb\x9d\x29\x2b\x48\xe9\xba\xae\x5
2018-10-19 18:57:23 +00:00
func web_uiAssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496Png,
"web_ui/assets/apple-touch-icon-114x114-49e20f98710f64b0cae7545628a94496.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496Png() (*asset, error) {
bytes, err := web_uiAssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/apple-touch-icon-114x114-49e20f98710f64b0cae7545628a94496.png", size: 15576, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x7b\x3f\x84\xc0\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x78\x00\x00\x00\x78\x08\x06\x00\x00\x00\x39\x64\x36\xd2\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xed\xbd\x7b\x70\x1c\x47\x7a\x27\xf8\xfb\xb2\xaa\xab\xdf\x8d\x46\xa3\xf1\x06\x01\x10\x04\x01\xf0\x29\xbe\x44\x91\x1c\x8e\x44\x51\x8f\x95\x34\x1c\x4b\x96\x3c\x1e\xdb\xe7\x47\x78\xbc\x7b\x8e\xbb\x3d\x3b\x6e\xcf\xbb\xe1\x70\x5c\x38\x36\x1c\x0e\xc7\x86\xcf\xe1\xb8\xf0\xeb\x6e\x7c\xb3\xde\x59\xef\x7a\x66\x35\xb6\xc7\x33\x9a\xd1\xcb\x96\x34\xa2\x24\x4a\xe4\x90\xa2\xf8\x82\x40\x12\x04\x41\x10\x04\xf1\x6c\x00\xdd\x8d\x7e\x54\x57\x57\x65\xde\x1f\x5d\xd5\x5d\x5d\xa8\x6e\x00\x24\x35\xe3\xd9\xd8\x44\x34\xaa\x2a\x2b\x7f\x99\x59\x99\xf5\x3d\xf2\xfb\x32\xb3\x80\xff\x11\xfe\xbb\x0f\xcc\x71\xac\x17\xc7\x1c\x71\xce\x34\x6b\xc5\xaf\x37\xad\x5b\xb9\xb5\xc2\x83\xc2\xba\x3d\xdf\x4f\x3c\x96\x6c\x11\xdc\x3c\xe7\x2e\x09\x39\xdc\x0b\x75\xc3\xb8\x9d\xd7\xab\xb4\x3d\x0f\xb7\x32\x6b\x95\x7d\xaf\xd8\x7a\xf9\xd5\x4a\xb7\x9e\xba\xfc\x73\xc5\xd6\x0d\x6b\x51\xf5\x7a\xee\xd5\xca\xaf\x16\x7e\xbd\x6f\xf2\xfd\x62\x9d\x6f\x7f\xad\xe3\x4f\x34\x56\xae\x71\xc3\xde\xfb\xd6\x1b\xb4\x16\x35\xd6\x6a\x5c\xe7\x9b\xe4\x56\x96\x5b\xbc\x13\x53\x8b\x1a\xef\x05\xcb\xab\x93\xd7\xc4\xbb\x51\xc3\x4f\x22\xf6\xc7\x16\x36\xf2\xa2\xac\x75\xaf\xee\xfd\x48\x24\xc2\x00\x40\x92\xa4\xf5\x70\x91\x8d\x94\xf9\xcf\x1a\x6b\xc9\xe0\xb5\xe4\x2f\x1c\xf7\xe1\x12\xe7\x26\x73\x9d\x32\xa4\xd6\xfd\x7a\xa1\xae\xfc\x6f\x6a\x6a\x42\x3c\x1e\x87\xcf\xe7\x43\x73\x73\x33\x88\x08\xad\xad\xad\xe5\x32\xbc\x5e\x2f\x18\x63\x20\x22\x00\x80\xaa\xaa\xe0\x9c\x03\x00\xd7\x34\x0d\x4b\x4b\x4b\xc8\xe7\xf3\x48\xa5\x52\x58\x5e\x5e\x46\x3a\x9d\xc6\xca\xca\xca\xbd\xd4\x67\x3d\xe1\x47\x8e\xa5\x3a\xf7\x6a\x75\xcc\x83\x0e\x1b\xca\xbf\xb7\xb7\x97\x75\x74\x74\xa0\xa9\xa9\x09\xcd\xcd\xcd\x4c\x92\x24\xa0\x24\x6a\x18\x81\x18\x01\x32\x09\xc8\x32\x27\xc5\xa7\x33\x9f\x6c\x90\xc2\x04\xc9\x24\xc0\x04\x41\x37\x98\xd0\x0b\x32\x57\x35\x49\x68\x9c\x84\xc6\x09\x3a\x08\x5c\x08\xa1\x03\xe0\x42\x08\x5e\x2c\x16\xf9\xf4\xf4\x34\x12\x89\x04\x6e\xdf\xbe\x8d\xa5\xa5\xa5\x5a\x2f\xf6\x7a\x5f\xe2\x1f\x1b\x96\xdc\x22\x6d\xd7\x56\xa8\x95\x29\x5c\xd2\xb8\xc5\x39\xa9\xbc\x96\x8c\x71\xad\xe8\xae\x5d\xbb\x58\x4f\x4f\x0f\x5a\x5b\x5b\x99\xc9\x62\x65\xc6\xa1\x04\x8a\x52\x34\x96\x95\xbb\x9b\x72\x9e\xa1\x58\xce\x33\x18\x51\xe5\xde\xb0\x2a\x75\x04\x34\xa9\x45\x16\x14\x61\x1c\x01\x00\x8c\x4c\xc5\x44\x98\xba\x84\x20\x68\x9c\x44\x4e\x93\xc5\x52\x46\x31\xe6\x57\x7c\xfa\x64\xd2\xa7\x4f\x2c\x05\x8b\x57\x13\xc1\xe2\x68\xca\xa7\x4f\x17\x64\x91\x03\x41\x03\xc0\xf3\xf9\xbc\x7e\xe7\xce\x1d\xdc\xbd\x7b\x17\x37\x6e\xdc\x58\x6b\x44\x51\x2f\xfe\x47\x8e\xad\x47\xc1\xf6\xf0\x59\x53\xf1\xaa\xb0\x75\xeb\x56\xd6\xdf\xdf\x8f\xce\xce\x4e\x46\x44\x32\x81\x94\x90\x26\xc5\x3a\x52\xde\xdd\xdd\xcb\xde\xc7\xda\xd2\xca\xc1\x06\x55\x1e\x92\x39\xc5\x20\xc0\x2c\x16\x2c\x04\x40\x04\x40\x00\x02\x02\x00\xa1\x74\x29\x00\xa0\xcc\xaa\x2b\x09\x2b\x41\x94\x52\x69\x05\x99\x4f\x2d\x06\xf5\xe1\xbb\x0d\x85\x0f\xef\x44\xd5\x8f\xe6\xc2\xda\x58\x51\x16\x19\x00\x5a\x3e\x9f\xe7\x13\x13\x13\xfc\xfa\xf5\xeb\x98\x9f\x9f\xaf\x27\xb2\x36\x1a\x3e\x13\xac\xb3\x83\xeb\xc9\xd4\x8d\xa4\xb1\xdf\xdb\x50\x9e\x07\x0f\x1e\x64\xdb\xb6\x6d\x83\xd7\xeb\x95\x85\x10\xbe\x90\x26\xc5\xb7\x24\x02\xc7\xb6\x26\xfc\x5f\x6c\x5d\x51\x8e\x78\x0c\x8a\xa3\xc4\x8a\x4b\x41\xa0\xd4\x8d\x64\x5d\x10\x40\xb6\x53\x81\xf2\x75\xd5\x11\xd5\xe7\x42\x88\xd2\xab\x60\x4b\x63\x75\x78\x5e\xe1\xe3\x93\x51\xf5\x07\xa3\x2d\xb9\xef\x4f\x46\xd5\x4f\x0c\x09\x19\x21\x84\xbe\xb0\xb0\xa0\x5f\xbb\x76\x0d\xa3\xa3\xa3\x65\xb9\x8e\xda\xfa\x8b\xdb\x35\x1c\x69\x1f\x38\x76\xbd\x14\xfc\x99\x86\x68\x34\xca\xf6\xef\xdf\x8f\xbe\xbe\x3e\x46\x44\xb2\xc4\x11\xe9\x5e\xf6\xed\xdb\x3e\x1b\xfc\xf9\xde\x25\xdf\x73\x32\xa7\x38\x99\xbd\x25\x4a\x84\x68\x76\xa8\x49\x9b\xc2\xa4\x4c\xf3\x5e\x55\xa7\x11\xca\x3d\x2d\x04\x2a\x9d\xb8\x3a\x71\x39\xbf\x0a\x65\xdb\xd2\x08\x01\x41\xe0\x59\x85\x8f\x5e\x6f\xc9\xfe\xfd\x48\x5b\xf6\xef\x16\x03\xfa\x24\x08\xb9\x4c\x26\xa3\x0f\x0f\x0f\xe3\xd
2018-10-19 18:57:23 +00:00
func web_uiAssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819Png,
"web_ui/assets/apple-touch-icon-120x120-c9cc4fc809a6cbff9b9c261c70309819.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819Png() (*asset, error) {
bytes, err := web_uiAssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/apple-touch-icon-120x120-c9cc4fc809a6cbff9b9c261c70309819.png", size: 16251, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x3c\x40\xc3\xbf\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x90\x00\x00\x00\x90\x08\x06\x00\x00\x00\xe7\x46\xe2\xb8\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xec\xbd\x69\x90\x1c\x47\x76\x26\xf8\x3d\x8f\xc8\xc8\xb3\xb2\xb2\x32\x13\x75\x5f\x59\x28\x14\x0a\x27\x89\xb3\x41\x80\x40\x93\x68\x76\x83\x0d\x92\xad\x6e\xb5\x34\x23\x69\xa6\xa5\xde\x59\x8d\x64\x63\x2b\x8d\x6c\x4c\xbb\xa3\x95\xc9\xd6\xc6\x34\x63\x6b\xda\x31\x4d\x9b\x56\x1a\x69\x65\x52\x6b\xa5\xd6\x31\xad\xab\x4f\xb5\xd8\x64\xf3\x26\x01\x82\x47\x93\xe0\x01\xa0\x0a\xc4\x51\x55\x40\xdd\x57\x56\x56\xde\x19\x19\xe1\x6f\x7f\x64\x44\x66\x64\x56\x66\xa1\x00\xe2\xd2\xb6\xbc\xac\x2c\x22\x3c\xbe\x74\x7f\xee\xfe\xe2\xf9\xf3\xe7\xcf\xdd\x09\x80\x00\x20\xad\x6b\x6d\x90\xd6\x55\xd4\xc4\xd5\x3e\xd7\x62\x36\x92\xce\xad\x62\xd6\x7b\x7f\xb7\x31\xff\x1c\x1c\xe1\x76\x57\xd6\x46\xd2\xfb\xa7\x82\x11\x8e\x77\xa2\x4e\xdc\x8f\x2c\x86\x6a\xc0\x76\x70\x7e\x7d\xb5\x92\xc1\x7e\xe7\x8c\xbf\x1b\x12\xe6\x7e\x94\x3e\xf7\x1b\x4d\xf7\x1b\xe6\x9e\x86\x5a\xe2\xea\x11\x7b\xb7\x30\xf7\x83\x14\xbc\x2f\x31\xb6\x04\x92\x1b\xb8\xd6\x26\x5a\x4f\x32\xd5\xcb\xb4\x9e\x34\x5b\x0f\xe3\x7c\xae\x27\xed\xee\x05\xa6\x11\xb6\x5e\xf8\x51\xc6\xdc\x17\xe1\xbe\xf9\xba\x1c\x98\x5a\xbd\xa0\xf6\xb7\x3f\xb2\x18\x15\x6b\x25\x4c\xbd\x67\x34\xc0\xd4\x72\xe4\x7a\xa3\xb9\x9b\xc1\xd4\xe6\x71\xaf\x31\xf6\xfd\x7a\xdd\xdf\x8f\x24\x86\xea\x44\xde\xae\x50\xaf\xeb\xbb\x6f\x30\xdb\xb6\x6d\x13\x81\x40\x00\x2d\x2d\x2d\x65\x40\x30\x18\x44\x30\x18\xac\xfa\xd1\xd2\xd2\x12\xf2\xf9\x7c\xf9\x79\x75\x75\x15\xc9\x64\x12\xa3\xa3\xa3\xeb\xe5\x77\x5f\x97\xfd\x76\x62\xa8\x4e\xe4\xcd\x48\xa0\x3b\x89\xa9\x27\xe5\xea\x49\x85\xba\x57\x55\x55\x61\x18\x86\xdc\xbb\x77\xaf\x68\x69\x69\x41\x24\x12\x41\x73\x73\x33\x88\x48\x38\xf2\x72\xde\x83\x99\x05\x51\xdd\x6f\xca\xa6\x51\x32\x33\x88\x48\xda\x71\xc5\x62\x51\x66\x32\x19\xac\xac\xac\x20\x1e\x8f\xe3\xdd\x77\xdf\x5d\x4f\x57\x58\xaf\x3c\xff\x24\x31\xb5\x4a\x74\x6d\xb8\xdf\x86\x85\x0d\x31\x2e\x97\x0b\xe1\x70\x18\xb1\x58\x0c\x1d\x1d\x1d\x88\x46\xa3\x20\x22\x61\x31\x45\xa9\xab\x66\xa8\xaa\x24\xcd\x6d\x90\xcf\x53\x54\x42\xc1\xbc\x12\xf5\x18\x22\xec\x36\x44\xc8\xa7\x2b\x21\xcd\x24\xbf\xc2\xa4\x09\x49\x1a\x00\x48\x62\xc3\x14\xac\xe7\x55\xb9\x9a\x77\xc9\x64\xde\x25\x13\x39\x97\x5c\x4a\x6b\x66\x3c\xa7\x99\x89\x82\x22\xb3\xa6\x80\xce\x60\x03\x80\xe1\x60\x2c\xb9\xbc\xbc\x8c\xf1\xf1\x71\xcc\xcc\xcc\x60\x61\x61\x01\x52\xde\xe8\xe3\xfe\xa7\x19\x6e\xa6\x0b\xdb\xa8\x04\x91\x0d\xde\x6d\x14\xd3\x48\xaa\xac\xa1\x83\x88\x44\x4f\x4f\x0f\x06\x07\x07\xd1\xdd\xdd\x0d\x8f\xc7\x63\x4b\x15\x15\x0c\xcd\x25\xc9\x13\xca\xa9\xd1\xd6\x94\x36\x1c\x4d\xbb\x76\x45\xb2\xae\xe1\xe6\xbc\x3a\xe8\x29\x8a\x76\x55\x52\x50\x30\x3c\x25\x3c\x09\x80\x4b\xa9\x32\x50\x92\x42\x6c\xc7\xa0\x54\x4d\x6c\x97\x5d\x4a\x42\xde\x10\x9c\xc8\xb9\xcc\x99\x94\xc7\x9c\x58\xf4\x17\x2f\x2c\x05\x8a\xe7\x17\x02\xfa\xc5\x84\xd7\x88\x1b\x82\xf3\x20\xe8\x00\x0c\x00\x32\x93\xc9\xc8\xf9\xf9\x79\x8c\x8c\x8c\x60\x76\x76\x16\xcc\x7c\xcb\x92\xf5\x7e\xc3\x50\x0d\xb0\xb6\x11\x9d\x0d\xe6\x0c\xb5\x0c\xb0\x9e\xe4\x58\x2f\x9d\x9b\xc1\x94\x43\x38\x1c\xc6\xd0\xd0\x10\xfa\xfb\xfb\xd1\xd4\xd4\x64\x4b\x18\x55\x91\xf0\x85\xb3\xae\xce\xee\x84\xfb\xc1\xde\x15\xcf\x27\x37\xa5\xb5\xbd\xbe\xa2\x18\x24\x86\x0f\x20\x80\x19\x04\x02\x97\xf9\x81\x01\xa2\x12\x7b\x70\xe9\xbe\x1e\x86\x40\x16\x33\x55\x30\x00\x55\xd8\x0a\x5c\x4a\x9e\x90\xce\xba\xe4\x95\xf9\x26\xfd\xec\x64\x28\x7f\x6a\x3a\x54\x38\xbb\xec\x2b\xce\x98\xc4\x79\x94\x24\x94\x91\x4e\xa7\xe5\xd8\xd8\x18\x46\x46\x46\x90\x4c\x26\x37\x52\xdc\xfb\x3a\xdc\x09\x25\xfa\x46\x12\xe4\x46\x18\x27\x13\x95\xdf\x29\x8a\x22\x3a\x3b\x3b\xb1\x77\xef\x5e\x44\xa3\x51\xa1\x28\x8a\x60\x66\x4d\x61\xf2\x6d\x4a\x6b\xfd\x83\x4b\xde\xe3\x03\xcb\xde\xcf\x36\xe7\xd4\xdd\x0a\x23\x04\x26\x87\xe0\xc0\xc7\xbf\x87\xf5\x4c\x8e\x2b\xd6\xc1\x80\xa5\x49\x48\x26\x7c\xc5\xb3\x13\xe1\xfc\xf3\x97\x36\x65\x5f\x58\xf2\x17\xaf\x9b\xc4\x59\x00\xba\x94\x52\xce\xcc\xcc\xc8\x8b\x17\x2f\x62\x62\x62\xa2\xc4\xc0\xd5\x61\xbd\x7a\xb9\x6f\x30\xf7\xbd\x21\x5
2018-10-19 18:57:23 +00:00
func web_uiAssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng,
"web_ui/assets/apple-touch-icon-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng() (*asset, error) {
bytes, err := web_uiAssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/apple-touch-icon-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png", size: 20027, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x4f\x40\xb0\xbf\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x98\x00\x00\x00\x98\x08\x06\x00\x00\x00\x18\xc2\x20\x21\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xec\xbd\x79\x78\x1c\xc9\x75\x27\xf8\x7b\x91\x59\x59\x27\x0a\x40\xe1\x06\x01\x90\x04\x49\x80\x04\xd9\x68\x36\xd9\x27\x9b\xdd\x6c\xf5\x25\xb6\xa4\x56\x6b\x24\xb9\xbd\xb2\x65\x8d\xec\x59\x79\x76\x3f\xef\xee\xac\xd7\x3b\xab\xdd\xf5\x37\xf3\xed\x8c\x77\xd7\xdf\xec\x7c\xf3\xf9\xf3\xe7\xf1\xce\x6a\x34\x5a\xd9\xb2\x65\xc9\x96\x2c\x79\xd4\x2d\xb5\xfb\x52\x77\xb3\xef\x6e\xb2\x9b\xf7\x4d\x10\x04\x40\xdc\x28\x14\x0a\x75\x66\x65\xc6\xdb\x3f\xf2\xa8\xac\x44\x16\x0e\x1e\x1e\x7b\xbc\x81\xaf\x90\x99\x71\xbc\x7c\x11\xf1\xe2\xbd\x17\x2f\x5e\x44\x12\x00\x81\xda\x20\x03\xe2\x36\x92\x7e\xb3\xe1\x76\xc3\xbf\x15\xc1\xc1\x71\xa3\x6d\x15\x94\xff\x3f\x6b\x58\xc2\x13\x29\x51\x0b\x14\x9e\xab\x37\x0f\xea\x5c\xeb\xfd\x82\xd2\xfd\xf0\xd6\x82\x5f\x2f\xce\x9f\xb6\x5a\xfc\xad\x84\x15\x94\x16\x84\xbb\xf0\xc5\xfd\xbd\x83\x45\x58\x9b\x5b\xac\x87\xa3\xf8\x5f\x54\x2f\xff\x7a\x46\xc5\xdf\x05\x0e\xe6\x84\x8d\xe2\xba\x5a\xfd\xff\x3e\xc0\x5a\x11\x6e\xa6\xa3\xfd\x65\x83\x60\xdd\x2a\x42\x5a\xcf\xbb\xfe\x53\xc0\xfa\x7b\x1f\x84\xe7\x2a\x50\xdb\x98\x41\xf7\xfe\x38\x81\x60\x18\x5e\x31\xeb\x87\x5b\x0f\xe6\x6a\xb0\xfc\xef\xf4\x97\x93\x01\xf9\x6f\x27\x2c\x6f\xdc\x6a\xb0\xfc\xef\xff\xfb\x08\xeb\xef\x44\x58\x8b\xab\x6c\xa4\x22\xb7\x12\xd6\xff\x1f\xd6\x11\x6e\x46\x94\x05\x71\x1d\xff\x7d\x50\x5a\x3d\x38\x41\xb8\x6c\x74\x34\xd4\xcb\x7f\xab\x60\xad\x56\x76\xa3\x69\xff\xd9\xc3\x52\x7d\x09\xb2\x5e\x46\x5f\x9e\xf5\x74\x50\x50\x3e\x7f\x87\xd5\x53\x08\x57\x23\xe8\xb5\xde\xb1\x5a\xfe\x55\x61\x75\x75\x75\x09\x45\x51\xdc\x88\x8e\x8e\x0e\x1c\x3b\x76\x0c\x07\x0e\x1c\x70\xf3\xcf\xcd\xcd\xa1\x58\x2c\x0a\x00\x98\x98\x98\x90\x6d\x6d\x6d\x62\x6e\x6e\xce\x0f\x77\x35\xbc\xea\xb5\x49\xbd\xf6\xfa\x3b\x0d\x8b\xea\x14\x0c\x02\x54\x6f\x4a\xea\x2f\xe3\x47\x6e\x35\xd8\xeb\x81\xb5\x5a\xd8\x68\x7e\x00\xc0\xe0\xe0\xa0\x68\x6d\x6d\x45\x3c\x1e\x47\x73\x73\x33\x1a\x1a\x1a\x00\x40\x10\x11\x88\xdc\x26\xa9\x69\x3c\x66\x76\xd3\xec\x7b\xe9\xdc\x33\xb3\x04\x80\xeb\xd7\xaf\xc3\x34\x4d\x4c\x4d\x4d\x41\xd7\x75\x5c\xb8\x70\xa1\x5e\xdd\x36\x82\x77\xbd\xf6\xfd\x3b\x01\x6b\x3d\x66\x0a\x6f\xf0\x73\xb8\xd5\xcc\x13\xb7\xd2\xd8\x77\x23\xf0\x00\x40\xf6\xf6\xf6\x8a\xae\xae\x2e\x6c\xda\xb4\x09\x0d\x0d\x0d\x88\x44\x22\x2e\x17\x65\x66\x57\x34\x13\x91\x0a\x40\x80\x21\x42\x92\xd4\x90\x49\xaa\x22\x49\x25\x86\x4a\x20\x01\x00\x0c\x96\x92\x60\x18\x0a\xeb\x15\xc1\x86\x29\x58\x82\x60\xd8\x04\x26\x89\x48\x32\xb3\xb4\x89\x4f\x02\x90\xb9\x5c\x0e\xf3\xf3\xf3\x98\x9f\x9f\xc7\x47\x1f\x7d\x14\x54\x1f\xbf\xed\x31\xa8\x4d\xd6\xca\xfb\xb7\x16\x96\x9f\x83\xad\x27\xdc\x10\xd7\xf8\x1b\x80\xe5\x86\xbd\x7b\xf7\x8a\xae\xae\x2e\x74\x76\x76\x22\x14\x0a\x55\xf5\x3b\x86\x0a\x40\x53\x25\x69\x71\x5d\x49\x34\x17\xd4\x9e\xe6\xa2\xda\x9f\x28\xab\x3d\x8d\x45\xa5\xb7\xa1\xac\x76\x87\x4c\x6a\x0a\x99\x94\x0c\x49\x4a\x10\x3b\x04\x66\x35\x18\x13\x24\x03\x86\x29\xb8\x64\x08\xce\x55\x14\xce\x96\x42\x72\x7e\x39\x6c\x4c\x67\x23\xe6\xf8\x52\xc4\x18\x5d\x8a\x18\xa3\x99\x98\x31\x5d\x08\x99\x05\x49\xd0\x01\x18\x0e\x11\x12\x91\x2c\x14\x0a\x72\x7a\x7a\x1a\x57\xaf\x5e\xc5\x95\x2b\x57\x6e\x79\xdd\xff\xb6\x05\x87\xc0\xea\x89\xc0\x20\x31\xe6\xcd\x1f\x14\x17\xc4\x65\xfc\x14\xee\x2f\xe7\xcd\xe3\xcf\x5f\x8f\xab\xb9\xd7\x68\x34\x2a\xb6\x6d\xdb\x86\xc1\xc1\x41\xb4\xb4\xb4\x00\x96\x6e\x29\x00\xa8\x42\x22\xd2\x50\x56\x52\x6d\x39\x6d\x4b\xe7\xb2\xb6\xb7\x33\xab\xed\x6f\x2e\x84\x86\x22\x86\xe8\x11\x8c\x24\x98\x04\x08\x00\x33\x00\xb2\x6e\x6b\x86\x1d\x03\x4c\x20\xb2\xb3\x78\x03\x59\xc9\x8e\x54\xb5\x92\xd9\x30\x05\xd2\xf9\x90\x39\xb2\x90\xa8\x9c\x9d\x6e\xd0\x8f\x4d\x37\x94\x4f\xce\x27\x2a\x63\xc5\x90\xcc\xb1\x43\x74\xd6\x4f\x8e\x8d\x8d\xe1\xc2\x85\x0b\xb8\x7a\xf5\xea\x7a\xb8\x9b\xb7\xcd\xd6\xc3\x59\xfe\x93\xc3\xda\x28\x07\x5b\x8d\x48\xd6\x4b\x44\x41\x71\x37\xcc\xc9\x0e\x1f\x3e\x2c\xba\xba\xba\x1c\x4e\x65\x71\x28\x93\x62\x9d\x59\xad\xbf\x2f\x13\x39\xd0\x9b\x09\x3f\x94\xca\x87\xf6\x6
2018-10-19 18:57:23 +00:00
func web_uiAssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832Png,
"web_ui/assets/apple-touch-icon-152x152-08c9aa1c11a83650b824e3549b33a832.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832Png() (*asset, error) {
bytes, err := web_uiAssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/apple-touch-icon-152x152-08c9aa1c11a83650b824e3549b33a832.png", size: 23769, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x26\x14\xd9\xeb\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x39\x00\x00\x00\x39\x08\x06\x00\x00\x00\x8c\x18\x83\x85\x00\x00\x13\xed\x49\x44\x41\x54\x68\x81\xc5\x5b\x79\x6c\x5c\xc7\x79\xff\x66\xde\xdb\xfb\xe0\x5e\x5c\x2e\x97\x2b\x8a\xf7\x25\xea\x22\x25\x9a\x92\x65\x59\xb2\x6c\x59\x91\x64\xa5\xb1\xdc\xc4\x75\x1a\x07\xad\x13\x04\x81\x9b\x06\x49\x0a\x18\x41\x11\x04\x45\x10\xa4\x40\x11\x18\x41\x9b\xa3\x6d\xdc\x20\x71\x85\x34\xb5\x5b\xc7\xb1\x22\x59\xa2\x1d\x2b\xba\x4c\x4b\x34\x4d\x89\x14\xc5\x4b\xe4\xf2\x5e\xee\x7d\xbf\x7b\xa6\x7f\x2c\x77\xb9\xbb\x5c\x51\xa4\xac\xb8\x1f\xb1\x1c\xee\xbc\x99\x6f\xe6\x37\xc7\x77\x3e\x22\x00\xc0\x00\x40\x96\xcb\x2c\xe5\x7f\x2f\x7e\xb6\x16\x6d\xa4\xed\xfd\xf6\x5b\xab\x6d\x49\x1c\xd9\x8a\xb5\x06\xd8\xc8\xa4\xef\x07\xe0\x46\x69\xc3\x73\x45\xf7\xe8\xf4\x40\x48\xa7\xd3\x01\xcb\xb2\xa0\xd3\xe9\x40\x92\x24\x10\x04\x01\x04\x41\x00\x45\x51\xfe\xd4\x43\x03\x40\x06\xe4\x03\x25\x9b\xcd\x86\xdd\x6e\x37\x38\x9d\x4e\xec\xb0\xdb\x59\xa7\xce\x62\x36\xcb\x6a\x97\x56\xc2\x36\x96\x20\x2d\x41\x54\x16\x58\x1a\x4f\xab\x14\x7f\x40\x4e\x04\x83\xb1\xb0\x18\x08\x04\x64\x9f\xcf\x07\xb3\xb3\xb3\xe4\x41\xcf\x07\xe0\x01\x81\x34\x1a\x8d\xb8\xa9\xa9\x09\x9a\x1b\x9b\xb4\x4d\xe0\xd8\xb1\x39\xac\x7d\xbc\x2a\xae\x79\xd8\x91\x54\xb5\x6b\x65\xec\x02\x00\x0c\x80\x00\x51\x0a\x00\x08\x28\xa2\x00\x00\xa0\x20\x88\x47\xf5\xd2\x98\xcf\x24\xf6\xcf\x58\x85\x77\x27\xcd\xc9\x0b\x23\x73\x93\xe1\x91\x91\x11\xb2\xb0\xb0\xf0\xc0\x00\x7f\x2c\x90\x56\xab\x15\x77\x76\x76\xe2\xad\xae\xfa\xea\xed\x4b\xe6\x17\x5a\x97\xf4\xcf\x1a\x05\xa6\x6e\x19\x43\x01\x51\x00\x40\x28\xfb\x07\x00\xa5\x85\x83\x53\x04\xa0\x20\x48\x7a\xed\xdc\xdb\x83\x95\xa9\x57\x06\xe8\xc2\x85\x8f\x6e\x0c\x88\x13\x13\x13\x1f\x1b\x6c\x31\xc8\xac\xa4\x2d\xfe\x5e\x50\xaf\x56\xab\xf1\xee\xdd\xbb\x71\x57\x6d\x7b\xcd\xde\x59\xcb\x4b\x2d\x4b\x86\xbf\x64\x08\xd2\xe6\xc1\x29\x0d\x32\xf7\x9b\x2e\xb7\xc8\x43\x9d\x57\x52\x04\x10\x34\x48\x7d\xef\xd7\xc4\xbe\x7f\x1d\xe6\xdf\xbe\x7c\xe5\xb2\xb8\xb4\xb4\x94\x65\x95\x3f\x9f\x62\x79\x52\xfc\x8c\x00\x00\x46\x6b\x74\x28\xee\x08\x00\x00\x1e\x8f\x07\x1e\xdb\x7f\x40\xff\x48\xa8\xe2\x6f\xbb\x66\xcc\x2f\xa9\x14\x6c\xbe\x4b\xbf\x8d\x51\x31\x5e\x00\xa0\x88\xc2\x8c\x55\x78\xfb\xdd\x86\xf0\xb7\x2e\x8d\xf7\x8f\x5c\xbf\x7e\x1d\x08\x21\x1b\x56\x53\xcc\x32\xdb\xb5\x8e\x6d\xee\xd9\xee\xdd\xbb\xe1\xf8\xae\x83\x2d\xcf\x8c\xba\x5f\x6f\xf5\x1b\xbe\xc8\x50\xa4\xc9\xf5\x2e\xf1\xa1\x08\x80\x60\x20\x29\xb5\x92\x8a\xe9\xe5\x70\x4c\x27\x47\x53\x1a\x25\x29\x31\x54\x61\x09\x62\x31\x00\x46\x08\x56\xce\x71\x76\x24\x84\x00\x50\x66\xb7\x2d\x3c\xdb\xb0\x65\xc9\xf8\x79\x5d\x8d\xdd\x1b\x2b\x83\x5b\x73\x73\x73\x1b\xb9\x62\x04\x00\x10\xbb\x9e\x96\x18\x63\x38\x78\xf0\x20\x3e\x60\x6b\x3b\x7c\xec\x23\xfb\x2f\xb5\x32\xe3\xb8\x3b\x57\x0a\x3e\xb3\x38\x33\x69\xe7\x06\xe6\x2c\xc2\x87\x21\xbd\x34\x2c\x31\xd4\x0f\x00\x69\x40\x20\x03\xa5\x18\x00\x69\x31\x05\x8b\x99\x67\x1b\xdc\x71\xf5\xce\x9a\xb0\xae\xa3\x26\xac\x6d\x51\x2b\x58\x5d\x62\x6d\x81\x21\x60\x4c\x6a\x14\xa3\xd5\x6a\x2d\xbe\x4e\xf7\x9c\x3a\x00\x00\xbb\x9e\x4e\x87\x0f\x1f\x66\x1f\xd7\x36\x3f\xfb\xe4\xa0\xfd\xdf\x31\x05\x2d\x85\xd5\x92\x45\xc2\x54\x1c\xaa\x4c\x5d\xbd\xe9\x4e\xbe\x16\xd5\xc9\xbd\x14\xe8\x5c\x3c\x1e\x4f\x06\xbc\x01\x31\x16\x8b\x11\x8e\xe3\x40\x14\x45\x40\x08\x81\xc1\x60\x00\x93\xc9\x84\xed\x76\xfb\x3b\xa1\x72\xbb\x7e\xb8\x22\xe5\x54\x2b\xb8\xbd\xd9\xaf\x3f\xd9\x39\x6b\x3a\x52\xc6\xb3\xb6\x7c\xde\x97\xea\xa2\xff\x39\x6f\x16\x4e\x0f\x5e\x19\x24\x1b\x04\x09\x00\xeb\x90\xae\x87\x0e\x1d\x62\x0f\x9b\xdb\x3f\x7b\xf4\xb6\xfd\x17\x98\x22\xf5\xea\xab\x43\x61\xb8\x22\x7d\xed\x6a\x6d\xf4\xc7\x29\x0d\xb9\x18\x89\x44\x7c\x23\x23\x23\xa2\xd7\xeb\x85\x44\x22\x71\xcf\x09\xb1\x2c\x8b\xab\xab\xab\xa1\xa9\xa9\x09\x7b\x3c\x1e\x0b\x0b\x78\xdb\xd6\x45\xe3\x97\xf7\x78\xcb\xfe\x4c\x23\x63\xed\x58\x79\xfa\xda\xd9\xd6\xd0\x17\x3f\x1a\xf8\x68\xec\xfa\xf5\xeb\xf7\x25\x69\xd7\x04\xd9\xd1\xd1\x81\x8f\x37\xed\x7d\xec\xe4\x8d\xf2\x37\x59\x82\xf5\x79\x32\x01\x00\x00\xd2\x6a\x25\x79\xbe\x39\xfc\x93\x69\x2b\xff\
2018-10-19 18:57:23 +00:00
func web_uiAssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960Png,
"web_ui/assets/apple-touch-icon-57x57-ae96d6d27e61e25514af459bc8b20960.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960Png() (*asset, error) {
bytes, err := web_uiAssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/apple-touch-icon-57x57-ae96d6d27e61e25514af459bc8b20960.png", size: 5158, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x92\x15\x6d\xea\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x3c\x00\x00\x00\x3c\x08\x06\x00\x00\x00\x3a\xfc\xd9\x72\x00\x00\x15\x59\x49\x44\x41\x54\x68\x81\xed\x3a\x69\x6c\x9b\xc7\x95\x6f\x86\x1f\x3f\xde\xf7\x21\xea\xb0\x6e\x51\xb2\x2d\x3b\xb2\x2d\xdb\x8a\xe3\x23\x8e\xaf\xc4\xb1\xdd\x38\x45\x36\x69\xbb\x8b\xa2\x7b\x60\xb7\xc0\x02\xdd\x76\x17\xdb\x2d\xda\x6c\x51\x60\x8b\x6e\x51\x14\x45\xb6\xdb\x2d\xb6\xbb\x05\x9c\x4d\x8b\xd4\x75\xb1\x75\xea\xb8\x75\xed\xc8\x4e\x64\x39\xf2\x6d\x4b\xb2\x75\x59\x96\x28\x89\xa4\x28\x92\xa2\x78\x7e\x24\x3f\x7e\xdf\xcc\xfe\xe0\xa1\x4f\x34\x29\xc9\x4e\xba\x05\x8a\x3e\xe0\xe3\x7c\x9c\x99\x37\xf3\xde\x9b\xf7\xe6\xcd\x7b\xf3\x01\xfc\x11\xfe\x08\x7f\x50\x80\x72\x25\x06\x00\x92\x2b\x21\xf7\x5e\x0c\xd2\x3e\xc5\x7d\xb1\xb4\x23\x42\x08\x6c\x36\x1b\xd8\xed\x76\xb0\xd9\x6c\xd8\x60\x30\x60\xad\x5a\xc3\xa8\x19\x05\xab\x42\x72\x16\x21\x84\x53\x62\x86\x4f\x23\x91\x8f\xc6\x63\x42\x24\x1a\x11\xc2\xe1\x30\x99\x9b\x9b\x03\x9f\xcf\x07\x99\x4c\x86\x14\xcd\x2b\x05\x52\x54\x5f\x4c\xd3\xb2\xb8\x08\xca\x43\x31\xf2\x8a\x50\x5d\x5d\x8d\x9d\x4e\x27\x6e\xa8\xa9\x55\xd7\xa6\x75\x1b\xab\x23\x8a\x1d\xf6\x38\xbb\xc5\xcc\xc9\x9d\xda\xb4\xac\x4a\x2e\x22\x3d\x02\x60\x73\xdd\x05\x11\x03\x97\x60\x45\x7f\x58\x29\x4c\x04\xb5\xfc\x80\x57\xcf\xf7\xcd\xe8\x93\x1f\xba\xe6\xbd\xe1\x07\x0f\x1e\x08\x13\x13\x13\xc5\xcc\x7f\x64\x40\xf0\xa8\x14\x1e\x0b\x18\x86\x81\xb5\x6b\xd7\x42\xfb\xba\xf5\x6c\x1b\xb5\x75\xad\x9b\x53\x7f\xa6\x31\xa8\x3a\xac\x14\x70\x15\xca\x2b\x10\x85\x45\x5d\x5a\x02\xd9\x86\x7c\x33\x05\x0a\x22\x02\xce\x6b\x48\xf7\x0c\x57\x24\xde\x1e\x32\x44\xde\xbd\xff\x70\x34\x3c\x38\x38\x08\xb1\x58\xec\xa3\x90\x59\x80\xd5\xac\xb0\x54\x20\x05\xb5\x41\x08\x61\xa7\xd3\x09\xdb\xb7\x6e\x53\x3e\x15\xb3\xbc\xd4\x39\xa3\xfb\xa2\x35\x21\xef\x44\x74\xb9\x21\x21\xcf\xd9\x12\x28\x27\x8f\xa4\x5c\xf4\x0d\x54\xc5\x7f\x74\xa3\x32\xfc\xc3\xbb\xe3\x43\xfe\x5b\xb7\x6e\x41\x3a\x9d\x5e\x91\xa9\x95\xa6\x07\x28\xad\xbe\xe5\xec\x02\x0c\x06\x03\xde\xb3\x7b\x37\xb3\x45\x55\xb7\x63\xf7\x43\xd3\xb7\xed\x71\xf9\xb6\xd2\x43\xd3\x47\xab\x9f\x00\x52\x0c\xf1\x5d\xad\x8f\x7e\xf3\x9a\x31\x70\xe2\xf2\x87\xbd\xdc\xe4\xe4\xe4\x13\xab\xb9\x2c\x57\x96\xa2\x8c\x96\x6a\x6b\x6d\x6d\xc5\x87\xf7\x1d\x32\x1e\x0d\xd6\x7d\x6b\xef\xb8\xe9\xdf\xb4\x69\xd9\x9a\xc5\xd5\x41\x8b\x45\xb9\x95\x96\xb4\xa1\xbc\x4c\x10\x00\xa2\xd2\xf6\xa5\xdd\x19\x8a\xb4\xf5\x21\xe5\xe1\xa6\xb8\x6e\xb7\x72\x53\xcd\x75\x5e\x01\x41\xaf\xd7\xfb\x44\xd2\x7c\x2c\x1b\x7e\xfa\xe9\xa7\x61\x57\xd3\xa6\xf6\x17\x87\x2c\x6f\x5a\x13\x6c\x47\x96\xec\xbc\x1d\x66\xcb\x7c\x1d\x05\x00\x01\x53\xc1\xaf\xcb\x78\xe7\x74\xbc\x2b\xa4\xca\xb8\x13\x0a\x31\xc8\xcb\x68\x9c\x22\x4a\xe4\x22\x56\xab\x79\x6c\x36\x26\x99\x2a\x5b\x9c\xad\xaf\x8c\xb2\xb5\x4a\x01\x2b\x0b\x76\x0f\x14\x68\x6e\x3c\xe9\xdb\x8c\x31\xdd\x7b\x6a\xc3\xdc\x0b\x27\x4e\x9c\xe0\x04\x41\x78\x6c\x86\x19\x28\xbf\x13\x2f\x51\xe9\x03\x07\x0e\x30\x3b\xcc\xad\xbb\x8f\xde\xb5\xbe\xad\xce\xc8\xec\x8b\xbc\xe6\x09\x44\x80\x28\x00\xc1\x94\x4c\x9a\x53\x63\xc3\x15\x89\xf7\xa7\x4d\xa9\x4b\x3c\x43\xc7\x01\x20\x08\x00\x1c\x00\xf0\x89\x44\x82\x00\x00\x51\x68\x14\x98\x61\x18\x16\x00\xd4\x00\x60\xc4\x04\xea\x2b\xa3\x8a\xa7\xdb\xfc\xea\xe7\x9c\x7e\xf5\x66\x56\x40\x6c\x6e\x58\x00\x8a\x80\x22\x80\xa4\x9c\xc4\xcf\xb7\x86\xbe\x1f\x8b\xc5\x04\x51\x14\xcb\xf1\xf4\x88\x9b\x94\xd6\x95\xd2\xbb\x47\x6c\xf6\xc0\x81\x03\xcc\x2e\x63\xdb\xc1\x63\xf7\xac\x6f\xcb\x09\xd6\x97\x9a\x85\x22\x4a\x86\xed\xdc\xcd\x1b\xb5\xd1\xb7\xc2\x2a\xa1\x87\x50\xe2\xf6\xfb\xfd\xf1\x99\x99\x19\x21\x10\x08\x40\x28\x14\x02\x8e\xe3\x96\x8c\xab\x50\x28\xb0\xc1\x60\x00\x9b\xcd\x06\xd5\xd5\xd5\xb8\xba\xba\x5a\x2d\x67\xe4\x76\x85\x80\x3b\x3b\x3c\xda\x3f\xdb\xec\xd6\x3d\xc7\x8a\x58\x99\x95\x2d\x25\xef\x6c\x08\xfe\xcb\xa4\x91\x7b\xe3\xdd\x77\xdf\x0d\xfb\x7c\xbe\x27\xb2\xe3\x15\xb6\x54\x80\xae\xae\x2e\x7c\xa0\x61\xcb\xce\x97\xfb\xed\xef\xb0\x22\x32\x4a\x7c\x48\x61\x04\xbf\x36\xe3\xed\x76\x86\x7e\xe0\xd7\x66\x4e\x27\x53\x49\xd7\xbd\x7b\xf7\x52\x63\x63\x63\x90\x5b\xcd\x55\x83\x5c\x2e\xc7\
2018-10-19 18:57:23 +00:00
func web_uiAssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9Png,
"web_ui/assets/apple-touch-icon-60x60-522fca33a44f77c679561313def843b9.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9Png() (*asset, error) {
bytes, err := web_uiAssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/apple-touch-icon-60x60-522fca33a44f77c679561313def843b9.png", size: 5522, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x79\x1c\x86\xe3\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x48\x00\x00\x00\x48\x08\x06\x00\x00\x00\x55\xed\xb3\x47\x00\x00\x1c\x40\x49\x44\x41\x54\x78\x9c\xed\x7c\x7b\x6c\x1b\x47\x9a\xe7\x57\xd5\xcd\x66\x93\xe2\x9b\x14\x45\x4a\xa4\x24\x4b\xd6\xc3\x7a\xd9\x52\x64\x2b\xc9\x38\x91\x9d\xd8\x8e\xe3\x38\xd9\x64\x32\x98\xdb\xcb\x2d\xb0\x7b\xbb\x59\x04\xb7\xb7\x87\x5d\xdc\x61\x71\x58\x2c\x16\xb3\x83\x60\xb0\x18\x1c\x82\x99\xbb\x60\x76\x2f\xb8\xc9\xe0\x66\x0f\x8b\x99\x9d\x64\x32\x4e\x72\x33\x4e\x3c\x4e\xe2\xc4\x8e\xfc\x94\x62\xcb\xb2\xac\x97\x25\x59\xa2\x24\x4a\xe2\xfb\xd1\x6c\xf6\xa3\xea\xfe\x10\x49\x91\x14\x29\xd1\x8f\xec\x2d\x0e\xf7\x09\x2d\x75\x57\xff\xfa\xfb\xaa\xaa\xab\xbe\xfa\xd5\x57\xd5\x42\x00\x80\xa1\x50\x48\x26\x8d\x14\xdd\x23\x45\x38\x9c\x97\x86\x8b\x30\xa5\x9e\xbb\x17\x4c\x39\x29\xce\xd3\xd7\x8e\x41\x15\x00\xff\xbf\xc0\xd7\x53\x49\x95\xe8\xfc\x17\x8f\x61\x2b\x78\xe8\x6b\x93\x9a\x9a\x1a\x30\x18\x0c\x98\x61\x18\xa8\xaa\xaa\x02\x00\x80\x44\x22\x01\x84\x10\x48\x26\x93\xe0\xf7\xfb\x09\xc6\x18\x08\x29\xe8\xdd\xdb\x75\xfb\x87\x8e\x61\x61\x6b\xad\xe5\xfb\x96\x72\x8a\xf2\xfd\x49\x39\x1f\x96\xd3\xa5\xd5\x6a\x71\x5d\x5d\x1d\xb8\xdd\x6e\xa8\xae\xae\xc6\x56\xab\x95\xe5\xb1\x86\xd7\xcb\x8c\x45\x27\x63\x07\x2f\x33\x16\x96\x00\x0f\x00\xa0\x60\x2a\x88\x1a\x12\x13\x34\x24\x90\xe2\xd4\x88\xa8\x48\x62\x24\x1a\x55\xfc\x7e\x3f\xf1\xfb\xfd\xb0\xb4\xb4\x04\x92\x24\x95\x2b\xf0\x4e\xbe\xe5\x9e\x31\x3b\xf9\xa0\xfb\x76\x78\x2c\xcb\x42\x63\x63\x23\xb4\xb5\xb5\x61\xb7\xcb\xcd\xd9\xd3\x5c\xbd\x37\xcc\x3f\xe9\x8e\x71\x03\xd5\x09\xae\xc7\x24\x32\x4d\x1a\x82\x4c\x00\xc0\x6e\x64\x63\xe3\x37\x05\xc8\xfe\x56\x64\x86\x46\x62\x5a\x65\x76\xdd\x28\x8f\x2d\x9b\xd2\x17\x7d\x96\xf4\x85\x00\x97\x5e\x58\xf1\xaf\x48\xd3\xd3\xd3\x64\x76\x76\x16\x54\x55\xdd\x21\x7b\x0f\x26\xe8\x61\x2b\x34\x18\x0c\xb8\xab\xab\x0b\xda\xda\xda\xb8\x1a\xb5\xaa\xb1\x7d\x4d\xff\xed\xd6\x75\xfd\x4b\x56\x81\xed\x42\xb4\xc2\x2e\x8d\x10\x00\xa5\x5b\x92\x29\x02\x25\xac\x57\x46\xa7\xaa\x85\xf7\x27\x9c\xc2\x2f\xfc\x38\x31\x3f\x39\x39\x29\xdd\xbc\x79\x13\x04\x41\x28\xd7\x4d\x1e\x48\x1e\x5a\x05\x69\xb5\x5a\xdc\xdf\xdf\x0f\xed\x6d\xed\xfc\xae\x98\xfe\xf1\x3e\x9f\xf1\x3f\xd4\x87\xf9\xe3\x08\x10\x07\x34\xcf\xd2\x4e\xe7\xf9\x7f\x4b\xe5\x36\x93\x4e\x31\x95\x16\x2c\xe2\x47\xc3\xde\xf8\x9b\x77\x4d\xc2\xd0\xe8\xcd\x9b\xe2\x95\x2b\x57\x8a\x5d\xc3\x76\xd7\x15\x61\x50\xde\x0d\x80\x42\x0e\x04\x25\xee\x95\x54\xd4\xde\xde\x8e\x07\x06\x06\xb8\x86\xb4\xb1\xff\xe0\xac\xe5\x3b\x75\x51\xee\x29\x44\x11\xa6\x08\x00\x01\x05\x0a\x28\x63\x68\xf3\x9c\x02\x05\x44\x11\x14\x63\x0a\xea\x8c\xe6\xa5\xa2\xac\x86\xc2\x8c\x53\xa0\x64\xc9\x9c\x3e\x7b\xbe\x29\xfa\xdd\xbb\x9a\xe8\xc8\x95\xab\x57\xa5\x89\x89\x89\xfc\x32\xe6\xfb\xcd\x4a\x7c\x6b\x01\x66\x3b\x1f\x54\x8e\xd0\xe5\xae\xf5\x7a\x3d\x1c\x3e\x7c\x18\x37\x3b\xbd\xae\x83\xb3\xe6\xbf\xee\xf0\x57\xfd\x21\xce\x8e\x8c\x14\x01\xa0\xfc\xe2\x94\x38\x2f\x8b\xc9\x93\x02\x4c\x19\xa1\x08\x08\xa2\xca\x2d\x57\xf2\xc7\x17\x9a\x22\xaf\xcf\xf8\x17\xd6\x3e\xfb\xec\x33\x22\x8a\x62\xb9\x27\x2a\xf6\xad\x0c\x94\xef\x66\xb4\x84\x92\x1c\xd6\xe3\xf1\xc0\x73\xcf\x3d\xc7\xed\x03\xf7\x91\x17\x6f\x56\xbf\xeb\x8d\xf2\x4f\x03\x20\x8c\x00\x01\xcd\xc2\x10\x82\x8d\xeb\x8d\x47\xb3\xe7\x85\x98\x4d\x63\xb4\xc0\x10\xca\xb8\x21\xb4\x71\x85\xb2\xcf\x6c\x1e\xf9\x18\x04\x08\xd7\x24\xb9\xfe\xb6\x35\xfd\x4b\x52\xad\x6e\xdc\xb6\xc7\x3b\x3f\x31\x31\x41\x69\x09\x5f\xb6\x4d\x99\xb7\x60\x58\x28\xcf\x01\xa0\xdc\xbd\x3d\x7b\xf6\xe0\x27\xbe\x71\x50\x7f\x60\xd1\xfc\xe7\x8f\xde\x35\xfd\x35\xa2\x88\x2b\xf9\x74\x7e\x7f\x81\x8d\x6e\x95\xd2\x10\x61\xc5\x94\x5e\x58\x35\xca\xf3\x41\xbd\xec\x8b\xf3\x8a\x5f\xd4\x90\xb0\x82\xa9\x04\x00\xc0\xaa\x88\xd7\xc9\x8c\xd5\x94\x66\x5c\xb6\xa4\xa6\xde\x15\xe7\x1a\xdd\x31\xce\xa3\x55\x30\xbf\x51\x21\x99\x02\x23\x54\xd4\xe0\x28\x50\x8a\xc0\x94\x66\x9b\x7a\x97\x8c\x7f\xb1\xd8\x29\x5e\x71\x3a\x9d\xb1\x95\x95\x95\x07\x72\xde\xd9\x51\xa5\x94\x03\xcb\x97\xdc\xfd\x03\x07\x0e\xe0\x47\xba\xf7\xd9\x8e\x4c\xda\x7e\xd0\xbe\xa6\xff\x3d\x94\xd7\x35\xb2\xe7\
2018-10-19 18:57:23 +00:00
func web_uiAssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541Png,
"web_ui/assets/apple-touch-icon-72x72-da5dd17cb4f094262b19223464fc9541.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541Png() (*asset, error) {
bytes, err := web_uiAssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/apple-touch-icon-72x72-da5dd17cb4f094262b19223464fc9541.png", size: 7289, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x5f\x1f\xa0\xe0\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x4c\x00\x00\x00\x4c\x08\x06\x00\x00\x00\xc7\x97\x51\x2b\x00\x00\x1f\x26\x49\x44\x41\x54\x78\x9c\xed\x7c\x79\x70\x5b\xc7\x99\xe7\xaf\x1b\xef\x01\x0f\x07\x01\x10\x20\x48\xf0\xa6\x48\x8a\x14\x49\x89\xa2\x2e\x4b\xb6\x15\x5b\xbe\x64\x5b\x9a\xd8\x1e\x27\x93\xcd\x1e\x55\xa9\x6c\x65\x6a\xcf\xa9\xd9\x54\xca\x35\x7f\xa4\xb2\x53\x53\xbb\x99\xa9\xdd\xd4\x26\x95\x64\x77\x6a\xbc\x99\x4c\x36\x33\xc9\x78\x22\x27\x9e\xd8\x8e\x65\xc7\xd7\xc8\xb6\x4c\xdd\x12\x75\x92\xe2\x25\x8a\xa4\x48\x10\x04\x71\xe3\x01\x78\x47\xf7\xfe\x81\x83\x0f\x20\x40\x51\x87\x6b\xfe\xc9\xc7\x7a\x7c\xe8\xeb\xeb\xfe\xbe\xd7\xfd\xeb\xaf\xbf\xee\xf7\x08\x00\x8a\x55\x62\x65\xe1\x72\xba\x5d\xfa\x7a\x54\x5e\xb6\x1a\xaf\x8d\xd4\x71\x2f\xed\xb8\x27\x5e\xe4\x3e\x56\xfc\x3b\xfa\x1d\x6d\x8c\x3e\x8b\x1e\x57\x8d\x27\x05\x00\xb3\xd9\x7c\xaf\x75\xde\xcf\x36\xaf\xcb\xcb\x38\x24\x59\x85\xdf\x95\x70\xa7\x9c\x71\xb5\x3c\x6b\x2a\xa6\x94\xc2\xeb\xf5\xc2\xef\xf7\xc3\xeb\xf5\xc2\xeb\xf5\x52\x97\xcb\x45\x4d\x26\x93\x40\x41\xa8\xa0\x13\x33\xe5\x10\x00\x80\x51\x68\x1a\xe5\x0a\x03\x67\xd9\x6c\x56\x8b\xc7\xe3\x2c\x12\x89\xb0\x60\x30\x88\xa5\xa5\x25\x84\xc3\xe1\x4a\x75\x1b\xdb\x50\x2d\xbe\x62\xdb\x36\xca\xeb\x4e\x31\xec\x8e\xc1\x96\x52\x8a\xb6\xb6\x36\x74\x75\x75\xa1\xa9\xa9\x49\xa8\x31\xdb\x6c\x75\x29\xb1\xbb\x21\x61\xde\x5d\x97\x12\xb7\xb9\x65\xa1\xdb\x99\x15\x5a\x2c\x1a\x75\x0b\x3a\x71\x10\x40\x00\xc0\x38\xe1\x9a\x46\xb9\x9c\x16\x59\x28\x2e\xe9\xf3\x51\xab\x3a\xbe\x6c\x57\x2f\x2f\x39\x95\xb3\x2b\x36\x75\x26\x91\x4e\x65\xe6\xe6\xe6\xb4\xc9\xc9\x49\x2c\x2e\x2e\x82\x73\x7e\x27\xcd\xba\x6b\xfa\xcc\x40\xbf\xa6\xa6\x06\xfd\xfd\xfd\xe8\xe9\xe9\x11\xdc\x82\xcd\xd3\xb9\x62\x7d\xb2\x3b\x64\xfb\x7c\x73\xcc\xbc\xdf\xa2\xd1\x26\x02\x52\xb5\x2c\xcf\x37\xac\xfc\x9e\x4b\xe3\x4c\x16\xd9\xec\x5c\x6d\xe6\xd8\x64\x5d\xfa\xcd\x19\x4f\xe6\xe3\x88\x1c\x8f\x8f\x8d\x8d\x69\xd7\xae\x5d\x43\x36\x9b\xfd\x2c\xc4\x29\x52\xf5\x56\xdf\x25\xb9\x5c\x2e\xba\x73\xe7\x4e\x74\x75\x75\x49\x8d\x49\x69\x70\xfb\x82\xe3\x0f\xbb\x43\xd6\x17\x44\x9d\x7a\x6e\x5f\xda\xa8\x9a\x8d\xa4\x73\x64\x05\x16\x18\xab\x97\x8f\x5c\x6a\x4a\xfe\x38\x20\xca\xe3\xe3\xe3\xe3\xca\xf0\xf0\x30\xab\xc6\xe1\x5e\xa9\xbc\x75\x05\xdc\x5a\xef\xb7\x31\x2f\x8c\xf1\xfb\xf6\xed\xa3\xfd\xfd\xfd\xe6\xb6\xa4\x7d\xdf\xbe\x9b\xce\x97\x5a\xa3\x96\x67\xc8\x9a\x1e\x5c\xe8\x33\xeb\x35\x29\x97\x5e\x49\x7d\x25\x71\x86\x00\x03\x94\x69\x6f\xfa\xb5\x93\x1d\xf1\xff\xb5\x68\x91\xaf\x8c\x8c\x8c\x28\x17\x2e\x5c\xa8\xa6\xb8\x4a\xf2\x54\x4a\x5f\x93\xaf\x1a\xe8\xc3\x10\x87\x75\xf2\x30\x00\xb4\xad\xad\x0d\xfb\xf7\xef\x17\x9a\x4c\xae\xce\xcf\x4d\xbb\xff\xb4\x2b\x64\xfd\x22\x05\x11\x0a\x32\xdd\x8e\x56\x87\x1b\x2a\x75\xa2\xb5\x99\x2a\x8d\xd7\xfc\x9d\x11\x9e\xb9\xe6\x4f\xfd\xbf\xe1\x8e\xd8\x5f\xdc\x4a\x86\x16\x8e\x1d\x3b\xc6\x42\xa1\x50\x79\xdb\x37\x8a\xc5\x6b\xca\x98\x0c\x4d\xa9\x34\x16\x48\x85\xe6\x17\xc3\x94\x52\xf2\xe0\x83\x0f\xe2\xa1\x7d\x0f\x3a\xf6\x84\xbc\xff\xf6\xf0\xb5\xba\xbf\xab\x4f\x99\xf7\x10\x10\x5a\x10\x94\x80\x83\x10\x80\x20\x87\x5a\x84\x73\x10\x42\x8a\x8c\x09\x38\xc0\x09\x40\x56\x2b\xcb\xe5\xe7\x20\x9c\xe4\xee\x85\xb2\xe0\xf9\x74\x63\x3c\x5f\x0d\x13\x80\x72\x08\x0d\x09\xcb\xee\xbe\x25\xfb\x1f\xe8\x6e\xf1\x56\xdd\xce\xae\x29\x45\x51\xb4\x60\x30\x48\xf2\x42\x97\xcb\xc4\x50\x59\x76\xa3\x4e\x0a\x1d\x87\x98\xf2\x4a\xd8\xe8\x55\x50\x1a\x77\x38\x1c\xe4\xd9\x67\x9f\xa5\xfd\xcd\x5d\xad\x87\x47\xeb\xfe\xef\xd0\x2d\xc7\xd7\x4d\x9c\x58\x8b\x0f\x3b\x5f\x55\x5e\x17\x25\x1d\x85\x1b\x9a\xc7\x01\x26\x9b\x59\x3a\x6a\xd3\x56\x42\x76\x35\xb8\x62\x57\x97\xa3\x36\x6d\x25\x69\xd1\x13\xaa\xc0\x14\xc2\x89\x49\xe0\xb9\xde\x5a\xe9\xd1\x92\xfc\x3f\x4e\x56\xa7\x11\x0e\x40\xd4\x89\x73\x73\xc8\xf6\x62\x8d\x2a\xb8\x95\x41\xef\xb1\x99\x99\x19\x2d\x9d\x4e\xaf\x2b\xd3\x6d\xe4\x06\x00\x2e\x54\xd1\xec\xba\xe4\xf1\x78\xe8\xd3\x4f\x3f\x2d\x74\xc2\xb3\xfb\xf7\xce\xd7\xfd\xd4\x99\x11\xba\x0d\x0a\x00\xc0\xf3\x7d\x21\x17\x61\xac\x51\xa7\x9c\x05\x6a\x94\xf9\x9b\x9e\xcc\xd8\x82\x33\x3b\xb6\x62\x57\x27\x32\
2018-10-19 18:57:23 +00:00
func web_uiAssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022Png,
"web_ui/assets/apple-touch-icon-76x76-c5fff53d5f3e96dbd2fe49c5cc472022.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022Png() (*asset, error) {
bytes, err := web_uiAssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/apple-touch-icon-76x76-c5fff53d5f3e96dbd2fe49c5cc472022.png", size: 8031, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePng = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x99\x55\x50\xd4\x8f\xf7\xfe\xdf\xb0\x94\xc4\x4a\x0a\xea\x82\x4b\xc9\x52\xee\xd2\x0b\x48\x37\x88\xec\xd2\x08\xd2\x88\x0b\x12\x4b\x4a\x23\x8a\x48\x48\xb7\x20\x2d\x0d\xd2\x88\xb4\x20\x20\x25\xdd\xb5\x74\x4b\xf7\xf2\x9f\xcf\xe5\xff\xe2\x77\xf7\x9d\x33\x67\xe6\xdc\xbc\xe6\xcc\x9c\x8b\xf3\x3c\x33\x4f\x28\xea\xb9\x0a\x15\xf9\x03\x72\x00\x00\xa8\xd4\x54\x15\xb5\x01\x00\xa8\xfe\xaf\xc9\x08\x01\x00\xa8\x2c\x8f\xb1\x01\x00\x80\xc8\x56\x4e\x53\x0e\x00\x2a\xa2\x28\xae\x2d\x88\x01\x00\x80\x5a\xa9\x6a\x6b\x02\x80\xf7\x63\x00\x08\xfc\x00\x00\x97\x00\x00\x04\x6e\x00\x80\x3b\x02\x00\xb6\xcc\x01\x40\x22\x19\x00\x18\x9d\xd3\x1a\xd0\x4f\x01\x00\x20\xb1\xd4\x50\x51\x04\x6e\xff\xab\xcc\xa6\xfc\x38\x00\x00\x48\xdd\xd4\x34\x95\x48\x97\x40\x8f\x00\x5e\x1a\xf9\xf1\x20\x62\x00\x60\xc1\xab\x29\xca\xe9\xbe\x9d\xde\x4d\xf7\x7c\x0b\x59\xf7\x5b\x5f\x4f\x6f\x6e\xb2\x18\xba\xa7\xc8\x2a\x1b\x48\xa4\x1a\x0d\x7c\x21\xab\x08\xed\x4c\x84\xa1\xb5\xad\x55\xf4\xad\x35\x42\x39\x3b\xb9\xa5\x25\x23\xd3\x25\xd7\x59\xd6\x21\xc6\xcd\xe7\x43\x17\x15\x36\xab\x6f\x34\x12\x99\xb9\xb8\xb8\x62\x4d\x38\x8c\xf5\xb3\x5e\x8b\x68\x13\x49\xb2\xc6\x42\x09\x82\xa8\x80\xa1\xde\x53\x41\x49\xbf\xf9\xab\xf7\x3c\xf4\xef\x5e\xf6\x81\x5f\x09\x50\x38\x4b\x07\x10\xee\xef\x34\x0a\x5d\xcd\xd5\x5d\xcf\x9b\x11\x50\xcb\x77\x74\x58\x4b\xa0\x72\x24\xcd\xb5\xeb\x93\x71\x88\x9e\x4f\xdc\xe0\xb8\x88\xff\xd5\xb0\xa8\xec\x69\x5e\x16\x9d\xd5\x1e\x4e\xce\xde\x7d\xe7\x79\x68\x95\x20\x3b\x4c\xcd\x54\x0d\x4b\x0e\x57\x40\x7f\xcc\x8e\x80\x51\x2f\xc2\x5a\x05\x64\x2d\x0a\x3e\xcb\x3b\x70\xac\x65\xa2\x92\x88\x5d\x51\x05\xe9\xf2\xa5\x1c\xad\x02\x44\x4c\x37\xf4\xae\xbd\x41\x0c\xa4\xf4\x36\xe2\xbf\xc3\x72\xb0\x58\xe4\x63\x93\x50\x32\x10\x0d\xf6\x29\xab\xca\xb0\x4b\x90\xce\x30\x61\xbc\xb5\xa2\x6e\x66\x36\x74\xa4\xc1\xc0\x0a\xc8\x84\x41\x11\xb2\xcb\x05\x9f\xdb\xe7\xee\x35\x76\xc8\xc5\x8b\xf7\xd8\x3d\x32\xda\xe5\x24\x74\x9c\x75\x52\x29\x5d\x09\x9a\x20\x37\x54\x9d\x5f\x47\xe9\xaf\x50\xff\x32\x03\x57\xbe\xb4\xf2\x1d\x44\x2e\x30\x26\xfe\xa6\x23\x67\x97\x35\x1a\x5a\x27\x01\xe4\xb8\x09\x8f\x0c\x43\x95\x1c\x1b\x9a\x93\x4d\x4d\x95\xc5\x12\x69\x09\xce\xe4\x19\xfe\xc8\x53\x93\xd2\x5b\x63\x91\x89\xd2\xe2\xf1\xd2\x02\xad\xee\x51\xe1\xec\x02\xc1\x0c\xeb\x8b\xcd\x80\x82\x40\x54\x42\x09\x7f\x65\xad\xbe\xe1\x84\xde\x10\x15\x67\x72\x57\x43\xb4\xae\x60\x46\x27\xab\x02\x56\xf8\x37\xe4\xa1\xf9\xb4\xcf\x94\x50\xce\xb0\xb5\x76\x1d\x0d\x9b\x27\xea\xa1\xda\xf8\xf9\x1b\x07\x91\x53\xcd\x9a\xe3\x4a\xed\xd1\xe7\xf7\x6f\x3c\xdc\xcc\x4d\xc3\x14\x2c\x88\x6a\x5d\x91\x17\xe3\x4a\x6b\xa8\x0c\x24\x44\x08\x45\xa7\xd3\x96\x26\x3c\xa7\xbb\x36\x39\x64\x3e\xa3\xab\x41\x32\x4b\x26\x1a\xa5\x12\xeb\xf5\x18\xcc\xdd\x87\x20\xbd\xa2\x2d\xf7\xc8\xd3\xa2\xe2\xe5\x9e\xdf\xd8\xb3\x26\x01\x59\x07\x77\x35\x97\xce\xbb\xfb\xd0\x8d\xa1\x28\xc9\xfa\x36\xc0\x18\x8b\xf9\x4f\x0a\xe4\x79\xb1\x4e\x69\x51\x2d\x6e\x1f\xb7\x53\x02\xb3\xdf\xb8\x79\x8e\x06\x31\x4e\xed\x1a\x6f\xcf\x9e\x95\xe4\x1a\xc4\x0f\x4a\x86\xf6\x81\xb0\xdd\x43\x6e\xb8\x28\xa9\x03\x46\xc9\x1f\x5f\xb1\x30\x86\xbf\x94\xd9\x2c\x7d\xf6\xee\x6f\x9c\x9c\x17\x66\x2c\x31\x7c\x5f\x54\xe8\x34\xe5\xc2\x15\x96\x14\xbf\x35\xc1\x0f\x33\xba\xa6\x74\x7e\x1d\xbd\xae\xee\x26\x32\xdd\x71\x9e\xfb\x31\xeb\xe7\x44\x61\xb4\x29\xd2\x00\x2f\x82\xe9\x62\x61\xd1\xdb\xf7\xef\xde\x76\x55\x8c\x4a\x32\x26\x54\x9b\xbb\x39\x1d\x83\xa0\xba\x0e\x31\x67\x6d\xee\x03\x33\xa9\x28\x95\xac\xfd\xd7\xe4\x68\x88\x4b\xc4\xe7\x9b\x32\xa1\xcb\x37\x21\x48\x5a\xa1\x06\xb8\x17\x41\x74\xb2\x9f\x55\xe9\x3e\x85\x43\xe2\x1a\x10\x74\x6f\x8f\x4f\xc7\x1c\x17\x48\x36\x23\x0e\xb9\x54\x93\x74\xcd\x0d\xf8\xfa\x04\x3e\xaa\x10\x2f\xde\x74\xb7\xcc\xd5\xcf\x8e\x61\x2d\xf7\xf3\x5e\xef\x31\x7d\x34\x92\x5e\xf9\xd3\x4d\xb3\xd0\x61\x78\x0e\xce\x70\x76\xa3\xb9\x8f\x26\xb0\x75\xc7\x38\xe9\xbc\xa5\x3a\xa5\x08\x2e\xda\x00\x1f\x71\x2f\x97\xed\x60\x05\x77\x05\xc9\x48\x47\x4f\x8e\x50\x05\x3f\x7d\xf2\x94\x20\x32\x5b\x9f\xb6\x06\x9d\xfc\x45\x79\x97\xde\x2e\x1f\xf5\x30\x38\x96\x29\xc8\x0a\x20\x46\xc5\x66\xc1\x78\x31\x4b\x37\xbf\x66\x88\xe0\xf9\xc8\x60\x9a\x4c\x28\xeb\x85\x
2018-10-19 18:57:23 +00:00
func web_uiAssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePng,
"web_ui/assets/apple-touch-icon-d2b583b1104a1e6810fb3984f8f132ae.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePng() (*asset, error) {
bytes, err := web_uiAssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/apple-touch-icon-d2b583b1104a1e6810fb3984f8f132ae.png", size: 8285, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x01\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00")
2018-10-19 18:57:23 +00:00
func web_uiAssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJsBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJs,
"web_ui/assets/auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.js",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJs() (*asset, error) {
bytes, err := web_uiAssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJsBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.js", size: 0, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsCodemirrorModeJavascriptJavascriptA4c0d68244e6e74f9225801e5f9d724eJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x7c\x7b\x7f\xdb\x38\xae\xe8\xff\xf9\x14\x36\x6f\xaf\x86\xac\xe1\x87\x9c\x3e\x99\x61\x7d\x3a\xb3\xe9\x6e\xf7\xa4\xed\xec\xa4\x9d\x3d\x3b\xb6\xa6\xab\xc8\x74\xa2\x44\x96\xbc\x92\x9c\xc4\xb5\x74\x3f\xfb\xfd\xf1\x29\xca\x76\x3a\x9d\xb3\xfb\x4f\x4d\x81\x20\x08\x82\x00\x08\x80\x4c\x6f\xc3\xbc\x73\x5d\x64\x69\x12\xa7\x25\x5b\xac\xd3\xa8\x8c\xb3\x14\x93\xad\x80\x73\xb6\x2d\xf3\x30\xe2\xd4\x81\xd7\xb0\xd9\xd0\x6d\x0d\xc5\x66\x79\x91\x25\xc5\x67\xba\xe5\x79\x9e\xe5\x74\x0c\x7f\x3d\xff\xf0\xfe\xbc\xcc\xe3\xf4\x92\x1e\xc3\xf9\xc7\x9f\xdf\xbe\xff\x33\x7d\x22\xa1\xef\xd7\xcb\x0b\x9e\xd3\xa7\xf0\xfe\xd3\xbb\x1f\x4e\x7f\xa6\xcf\x34\x34\x49\xce\xe2\x92\xe7\x61\x42\x9f\xc3\xfb\x4f\x67\x67\xf4\x85\xec\xf8\x21\xcb\x12\x1e\xa6\xa6\xef\x25\x7c\xfc\xf9\xd3\x29\xf5\x47\xf0\xe6\xf5\xd9\xf9\x29\xf5\x7d\x89\xf5\x91\xdf\x97\xd4\x57\xd3\xfe\x12\x26\x6b\x4e\xfd\x63\x38\xfd\xf0\x86\xfa\x6a\xd2\x0f\x17\xd7\x3c\x2a\xa9\xff\x54\x7e\xbd\xce\xf3\x70\x43\xfd\x67\x80\xb6\x88\xfa\xcf\x01\xd5\x88\xfa\x6a\xba\x77\x5c\x70\x77\x16\x17\x25\xf5\x5f\x3a\x10\x3a\x1e\x01\xa2\x88\x8e\x7d\x40\x80\xe8\x78\x0c\x68\x8a\xe8\xf8\x18\x50\x80\xe8\x58\x4d\x72\x9a\xf0\x25\x4f\x4b\x39\x78\xfc\x14\x1e\x85\x51\xc4\x57\x25\x1d\xc1\x23\x9e\xce\xa9\x5f\x43\xc9\xf3\x65\x9c\x86\x52\x50\x63\x8a\xa4\xac\x10\x3c\xa1\x48\x09\x08\xc1\x33\x8a\x94\x54\x10\xbc\x10\xcd\xb3\x33\x04\xfe\x88\x22\xb1\x66\x04\xbe\x4f\x91\x5c\x35\x02\xff\x09\x45\xa7\x1f\xde\x20\xf0\x9f\x53\xb4\x45\xe0\xbf\xa0\xa8\x46\x30\xf6\x29\xa2\x08\xc6\x63\x8a\x00\xc1\xf8\x98\xa2\x29\x82\xf1\x13\x8a\x02\x54\xc3\x2a\xcf\xe6\x6b\xb9\x73\xc5\x67\x3a\x1d\xc1\xf4\x18\xfc\x00\xa6\x4f\xe5\xbf\xcf\xe5\xbf\x2f\x9d\x7f\xfd\x31\x8c\xc5\x8f\xc2\xfa\x96\x9f\xa7\x6a\xc0\x53\x38\x0e\x60\x3a\x1e\xc9\x1f\x5f\x13\x7b\xa9\xbe\x9e\x29\x94\x67\x0a\x45\x4d\x3d\x16\x03\x02\x58\xf1\x7c\x91\xe5\xcb\xd7\x92\xc3\x46\xc9\x38\x94\x90\x43\x0a\x31\x84\x4a\x0f\x0b\x16\x0e\x12\x9e\x5e\x96\x57\x7d\xff\xa8\xb8\x8b\xcb\xe8\x0a\xc7\x64\x1b\x85\x05\xef\xf8\xb4\xbc\x8a\x8b\xc1\x23\xc6\x07\x39\x5f\x25\x61\xc4\xf1\x70\x36\xc3\xb3\x59\x85\xc8\xf0\x12\xd0\x23\x1f\x11\xb7\x27\x15\xc0\x59\xda\x06\xe6\x12\x98\xb7\x81\xa5\x04\x96\x6d\xe0\xad\x04\xde\xb6\x81\x0b\x09\x5c\xb4\x81\x17\x12\x78\x81\xc8\xd1\x45\xce\xc3\x9b\x23\xc9\xed\xd8\x70\xab\x4c\x02\xf3\x56\xef\xb1\xe9\x4d\xd7\x49\xe2\x76\x3c\x31\x1d\xdd\x91\x0b\x7e\x6a\xc1\xbe\x0b\x7e\x46\x73\x5e\xae\xf3\xb4\xa3\x7b\xc3\x69\xd1\xf7\x03\xd5\xe7\xdb\x39\xb6\xb5\x3b\xc6\xb7\x53\x68\x6c\xb7\xcf\xce\x33\x15\x9d\xe3\x00\xc2\x69\x11\xb4\x51\x9e\x35\x64\x41\xb5\x04\x6e\x30\x1d\x05\x01\x93\x8d\x1d\x92\xcf\xdd\xe9\x14\xc5\xfe\x38\xf8\xfa\x98\x17\x96\x8d\x36\xfc\xe5\xc3\xac\x8f\x47\x2e\xeb\x6d\x9e\xc7\xfe\x41\x1e\x06\xab\x75\x71\x85\x05\x36\xa9\x6b\x28\xc3\x8b\x84\xd3\xe9\xf6\x98\x3e\x85\x27\x74\xea\x83\x3f\x0e\xe0\x29\x7d\x06\xcf\xe4\xc7\x71\x00\xcf\xe9\x31\xbc\x10\x1f\x2f\x03\x78\x49\x9f\x08\xe3\x15\x3d\xa3\x40\x18\xaf\x68\xf9\x01\xf8\x63\x2a\x90\xe9\x18\xfc\xa7\xf4\x39\xf8\xcf\xe8\x0b\x61\xc6\xa2\xf7\x49\x20\x8c\x56\xb4\x9e\x06\x35\x6c\x7d\x3a\x3d\x96\xbf\x6a\xb2\x67\xa6\x3d\x86\xe7\x81\x30\x79\xd5\x18\x8f\x4d\x43\x77\x59\xac\x17\x06\xeb\x85\xc1\x7a\x61\xb0\x5e\x34\x58\x2f\x0d\xd6\x4b\x83\xf5\xd2\x60\xbd\x6c\xb0\xe4\x1a\x5e\x98\x96\xc2\x93\x2d\xd3\xdb\x60\xfa\x16\xd3\xb7\x98\xbe\xc5\xf4\x1d\xcc\xb1\xc5\x1c\x5b\xcc\xb1\xc5\x1c\x37\x98\xc7\x06\xf1\xd8\xe0\x1d\x1b\xb4\xe3\x06\xeb\x89\xc1\x7a\x62\xb0\x9e\x18\xac\x27\x0d\xd6\x53\x83\xf5\xd4\x60\x3d\x35\x58\x4f\x1d\xde\x2c\x6b\x81\x70\xab\xba\x31\x36\x0d\x8d\x63\xd1\xed\x4a\xec\x42\xec\x3a\xe4\x32\x8e\xc5\x01\x62\x75\xc6\x97\x3a\xe2\x8b\x5d\x7c\x29\x4e\x9e\xf1\x88\xfa\x2f\x25\xd6\xbf\xa5\x58\xc7\xe2\x40\xfa\xaa\x52\x49\x96\x7c\x18\x8b\x25\x3c\xa5\xe3\xb1\x52\xb2\x31\x38\xaa\xe5\x5b\x59\xfb\x56\xd8\xbe\x95\xb6\xaf\xc4\x2d\x59\x19\x6b\x31\xfb\x30\x7e\x6a\xa0\x63\xa1\xa6\x66\x94\xa4\x3a\x96\xfc\x8d\xdd\x19\xac\x5e\xfa\x56\x31\x7d\xab\x99\xbe\x54\x4d\x4d\xf7\x85\xe5\xf8\xb9\x81\x8e\x61\x6c\xd5\x6e\xec\xaa\x9d\xdd\x7d\xdf\x6e\xbf\x6f\xf7\xdf\x7f\xb2\xbf\x0
2018-10-19 18:57:23 +00:00
func web_uiAssetsCodemirrorModeJavascriptJavascriptA4c0d68244e6e74f9225801e5f9d724eJsBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsCodemirrorModeJavascriptJavascriptA4c0d68244e6e74f9225801e5f9d724eJs,
"web_ui/assets/codemirror/mode/javascript/javascript-a4c0d68244e6e74f9225801e5f9d724e.js",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsCodemirrorModeJavascriptJavascriptA4c0d68244e6e74f9225801e5f9d724eJs() (*asset, error) {
bytes, err := web_uiAssetsCodemirrorModeJavascriptJavascriptA4c0d68244e6e74f9225801e5f9d724eJsBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/codemirror/mode/javascript/javascript-a4c0d68244e6e74f9225801e5f9d724e.js", size: 21475, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsCodemirrorModeRubyRuby61421add5f64c0fc261fe6049c3bd5d7Js = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x58\xdd\x73\xdb\x36\x12\x7f\xf7\x5f\x11\x6d\x5d\x1a\x88\x21\x52\xca\x3d\xdc\x0c\x6d\x84\xc9\xa5\xee\x8d\x67\x92\xcc\xdc\xb4\x9d\xce\x94\xa4\x5d\x58\x84\x62\x9e\x29\x50\x01\x41\x7f\x54\xe4\xfd\xed\x37\x0b\xf0\x4b\xb2\x2f\xbd\xe9\x8b\x04\x62\x17\xfb\xf9\xc3\xee\x92\x64\x5d\xab\x95\xc9\x4b\x45\x24\xdd\x41\x79\xf3\x6f\xb9\x32\xc0\xb9\x79\xda\xca\x72\xfd\x4a\x3e\x6e\x4b\x6d\x2a\xcf\x7b\x46\xd9\x94\x59\x5d\xc8\x48\x12\x2d\xbf\xd6\xb9\x96\x04\x7c\x3f\xf0\xfd\xa0\xc8\x6f\x82\x55\x99\xc9\x4d\xae\x75\xa9\x81\xd2\x10\x7a\x0d\xe3\xe1\x4c\xae\x73\x25\x3d\xcf\xfd\xfb\x62\x93\x45\x6e\x49\xe2\x97\xc5\xa4\x4c\xd2\x50\x92\x0f\x65\x26\x3f\xd9\x1d\xda\xd2\x7d\xcb\xeb\x4a\xbe\xaa\x8c\xce\x57\x06\x8e\xa4\xef\xa4\x7d\x2a\x33\x49\x40\xd7\x37\x4f\xc0\xa6\xcc\xfd\xfa\x95\xb1\x4f\xa5\x26\xf7\x42\xbf\x32\x7c\xd7\x32\xc5\x17\x4c\x73\xe9\x17\x52\x7d\x31\xb7\x67\xea\x5c\x9f\x9d\x9e\x2a\x6a\x62\x19\xab\x34\xe5\xb3\xc5\x91\x96\xa6\xd6\xea\x95\x69\xf1\x8c\x62\x9a\x1b\x12\x83\x28\x72\x51\x01\x03\xa1\x32\x60\xf0\x8f\x8b\x7f\x5e\x7e\x06\x06\x37\xf2\x4b\xae\xf0\x5f\x4b\x71\x07\x0c\x56\xa2\x92\xf8\x57\x88\x0a\x99\x33\xb9\x76\xbf\xb9\x92\x59\x84\xcb\x12\x18\xc8\xc2\x32\xc9\xa2\xca\x91\x7c\xf1\xf9\x07\x7c\xb2\x72\xa5\xaa\x6a\x8d\xc4\xb5\x70\x4c\xeb\x52\x03\x03\xcb\x67\x15\xb9\xa4\x00\x03\x25\x1f\x0d\xfe\x95\xf8\x6b\x99\xb4\xb4\xd2\xb5\xac\x56\xb5\xb4\x0b\xa3\x9f\xdc\x7f\xad\xf1\x6c\x25\x0b\x94\x53\xd5\x5b\x89\xfc\xe6\x56\xe2\xae\xd1\x96\xbb\x56\xce\xd8\x5a\x15\xd2\xda\x5e\x2b\x93\x17\xc0\xe0\xc1\xb1\x3d\xdc\xe6\x56\xef\x53\x2e\x0b\xb4\x54\x59\xa2\x16\xb9\x35\xd3\xdc\xea\xf2\xc1\xfa\x6f\x56\xb7\xd6\x7c\x4b\x2e\xca\x72\x6b\x77\x8b\x62\xb5\xea\x16\x56\x77\x21\x36\x37\x99\x00\x06\x5b\x5d\x22\x61\x5b\xdf\x14\xf9\xca\x3d\x1b\xb9\x32\x32\xb3\xeb\xfc\x5e\x18\xe7\x8a\x45\xa0\x95\x28\xb2\x71\xe3\x5a\xcb\x42\x98\xfc\xde\x86\xf3\xd1\xb8\x18\x8a\xda\x94\x1d\xdb\xf5\xf5\xc5\xe7\x1f\xae\xaf\xed\xea\xc7\xcb\x8f\x17\xdd\xf2\xe3\xe5\xe7\x7e\x99\xe5\xfa\xfa\x1a\x52\xca\x72\x9b\x65\x17\x83\x3e\x7d\x5d\x36\x5d\x0e\xfa\x00\xf4\x71\x19\x32\xd1\xc5\xb1\x77\xbd\xf3\xb9\x73\xcc\x01\x24\xa5\xac\xb4\xf2\x9d\x85\x4e\x44\x4a\x99\xe0\x3b\x88\x21\x84\x14\x18\xec\x20\x84\x16\x18\x10\x08\x81\x42\x7b\x34\x40\xb8\x26\x92\x19\xa6\xe8\xae\xc3\xa5\xf2\x4d\x79\x27\x55\xfe\x87\xf4\xb7\x75\x75\x4b\x24\x65\x92\x20\x43\x3b\x1c\x59\xe3\x11\xba\xcb\xd7\x44\xfa\x55\x59\x10\xea\x79\xd2\xdf\xa0\x81\x04\xb8\x33\xc9\x6e\x49\xa4\xd1\x1e\xef\x07\x72\x2b\xca\x60\x55\x6e\x36\x52\x19\x38\xb2\xa2\xa4\x30\x3f\x6d\xc5\x4a\x8e\x67\x54\x5d\x14\x47\x78\x4d\x34\xcb\x59\xc9\xa5\x8f\xb0\x24\x14\xd9\xe1\x77\xe0\xbc\x6c\x1a\x38\x71\xff\x27\x70\xc2\x79\xd9\x1f\xac\xc9\x8a\x94\x0c\xf0\x3e\xab\x2f\xc0\x1c\xb1\x69\xdc\x21\xca\xd0\x7c\x2b\x24\xb0\xcf\x3b\x54\xb1\xe6\xd2\x5f\xd5\x5a\x4b\x65\x08\xed\xae\xaf\xb3\xab\xba\xcb\xb7\x3f\x97\xc8\x4c\x1d\x6b\xf1\x12\xab\xf4\x6f\xc4\xea\xee\x97\x2d\x79\x4e\x9b\xaf\xe9\x51\x5f\x24\x32\xbe\x38\x7b\xce\x71\x5e\x9c\x39\xd1\xdb\x7d\x27\x09\x70\xbe\x8d\xb2\x53\xbe\xc4\xac\x71\xbe\xf5\x3c\x92\xcd\xf9\x92\xb2\xec\x7c\x41\x6d\x59\x68\xad\x8d\xdf\xd2\xcd\x16\x9c\x67\x2f\x46\x66\xfe\x06\xd8\x6c\xe1\xe2\xd1\x76\x17\xb9\xdc\x4a\x2d\x4c\xa9\x01\x05\xc3\xf7\x63\x80\xee\xf8\x10\xcf\x5b\xac\x63\x36\x61\x04\x2a\xa0\xd1\x1d\x07\x61\xca\x0d\x84\x6e\x2f\x88\x7f\xfd\x57\x1a\xd8\xed\xee\xc4\x40\xd0\x7b\xfb\xf3\x37\x23\xe5\xe1\xf1\x6b\x1a\x50\xcf\x23\xfb\x7a\x96\xd4\x02\x60\xc3\x7b\xbe\xab\xe4\x21\xa9\x78\x1a\xd0\xbe\x90\x6e\x22\x22\xfc\xad\x46\xbb\xcd\xd3\x65\x75\xa1\xea\x8d\xd4\xe2\xa6\x90\x64\x83\xe2\x36\x5c\xc4\x9b\x94\x32\x74\x7c\xc3\xee\xd8\xed\xe0\x31\x0d\x0f\x9c\xfd\x0e\x26\x10\xea\xf3\x7e\xa1\x32\x72\x00\x55\x38\x47\x46\xcf\x23\x58\xe8\x1d\xee\x83\xab\xf3\x79\x14\x27\xbf\x27\x90\x9c\xa4\x11\x89\xc5\xfc\x8f\xf7\xf3\xdf\xae\xa3\x34\x79\x78\x4d\xc7\xfd\x28\x3c\x6b\x8e\x69\x40\xe9\x98\x0e\x92\x73\x1d\x2f\xd3\x49\x7f\xc1\xbb\x35\x18\xe1\xc4\xe7\x34\x9a\xde\x9f\x72\x4b\x68\x78\x60\x60\x17\xb3\x76\x82\xee\xc5\xbe\x3f\x36\x5d\x8f\x40\x23\xbb\xfc\x15\x0b\x0e\x09\xe2\x24\x13\xf3\xf5\xfb\xf
2018-10-19 18:57:23 +00:00
func web_uiAssetsCodemirrorModeRubyRuby61421add5f64c0fc261fe6049c3bd5d7JsBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsCodemirrorModeRubyRuby61421add5f64c0fc261fe6049c3bd5d7Js,
"web_ui/assets/codemirror/mode/ruby/ruby-61421add5f64c0fc261fe6049c3bd5d7.js",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsCodemirrorModeRubyRuby61421add5f64c0fc261fe6049c3bd5d7Js() (*asset, error) {
bytes, err := web_uiAssetsCodemirrorModeRubyRuby61421add5f64c0fc261fe6049c3bd5d7JsBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/codemirror/mode/ruby/ruby-61421add5f64c0fc261fe6049c3bd5d7.js", size: 5265, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsCodemirrorModeYamlYaml48498cacbe2464bb47bdb3732d4e25cbJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\xbd\xdb\x7a\xdb\x38\xd6\x28\x78\x39\xdf\xe7\x57\x98\x1b\x0a\x9d\xa2\x89\x10\x92\x49\x59\x76\x6c\xda\xb0\xb6\x2b\x15\x57\xa7\x3b\x71\x6a\x57\x92\xae\xbf\x5b\x62\x32\x30\x05\xd9\x4c\x28\x52\x45\x42\xb1\xdd\xa6\xfe\xbb\xfd\x1e\xf3\x2c\xff\x93\xcd\x87\x13\x09\x4a\xb4\xa5\x54\xf5\xd4\xc1\xa4\x40\x1c\x16\x16\x16\xd6\x09\x0b\x80\x33\x5d\xa4\x11\x8b\xb3\xd4\xa1\xf0\x21\x9e\x3a\x20\xbb\xfa\x42\x23\x06\x30\x66\xf7\x73\x9a\x4d\x2d\x7a\x37\xcf\x72\x56\xd8\x36\x58\xa4\x13\x3a\x8d\x53\x3a\x01\x1d\xfd\x71\x96\x4d\x16\x09\x85\xf2\xd1\x53\x59\x31\x75\xe0\x0e\x4d\x0a\x6a\xf1\xfa\x74\xfd\x75\x8d\xb2\x16\xdb\x96\xcf\x1e\x99\x4d\xa0\x7c\x75\x46\x21\xa2\xb2\xe8\x83\xd3\xd6\xdc\x6d\x9c\x4e\xb2\xdb\xa1\x7c\x04\x6d\x39\xae\x93\xec\x8a\x24\x43\xf9\x68\xcd\x51\xd0\x64\x3a\xe4\x7f\x02\x76\x13\x17\xb0\xf7\xa5\xb8\x27\xb3\x84\xc3\xbc\x5c\xc2\x1a\x1b\xf0\x21\xa7\x6c\x91\xa7\xd6\xe3\x29\x16\x75\x18\x4a\x51\x0c\x1f\xaa\x94\xdc\x21\xa8\x10\x78\xec\xa4\x23\x12\xca\x37\x26\xde\xbe\x91\xdc\x8a\x70\x0b\x3a\x72\xfa\xfb\x22\xce\xa9\x6d\xab\x97\x1d\x5e\xa6\xb0\xed\x08\xaa\xf6\x22\x87\xa0\x8e\x07\x79\x7a\xa6\xd3\x32\x95\xc6\x6b\x5d\xe0\x94\xde\x5a\xaf\xf2\x3c\xcb\x1d\xf0\x92\xa4\x69\xc6\xac\x69\x9c\x4e\xd4\xe8\x58\xbb\xc0\x25\x2e\xd8\x05\x70\x87\xdd\xe4\xd9\xad\xb5\xe8\x45\xd9\x84\x62\xf0\xf6\xdd\x4f\x1f\xdf\xbc\xfa\x7c\xf9\xee\xc3\xe7\x8b\x77\x1f\x2f\x7f\x02\x68\xb1\xe4\xf5\x25\x98\xc3\x8e\x1f\xd4\x70\x06\x0f\xcb\xe5\x0e\xef\xc3\xc8\x0b\x7b\x11\x49\x12\x27\xd1\x23\x8d\x4c\xe2\x51\x90\xe5\x8e\xc8\xeb\x87\x23\x1a\x96\x25\x85\x4b\x94\xa0\xba\x00\x45\x12\x65\x4b\x95\x9b\xb7\xa4\x3f\x2e\xa7\x59\xee\x70\x00\xb2\x6d\xd0\x84\x08\xf6\x4e\xc8\x69\xdc\x4b\x68\x7a\xcd\x6e\x4e\x88\xeb\xc2\xdc\x89\x39\xae\x77\x34\x28\xcb\xa5\x03\x9d\x07\x3f\x18\xd5\x70\x22\x06\x1f\xc0\xa2\xa0\x56\xc1\xf2\x38\x62\x40\x60\x30\xc5\xd4\x01\xbd\xbd\x2f\x45\x97\xd3\xc2\x5e\x92\x91\x09\xcd\x01\x44\x71\x33\x7d\xb2\x98\xcd\x79\xfa\x8e\x31\xde\xb4\x8d\x50\x24\x9e\x8d\x51\xb9\xd0\x05\x80\x4b\x5d\x60\xc5\x85\x35\xa1\xf3\x9c\x46\x84\xd1\x89\x45\xd2\x89\x15\xc9\x61\xbb\xa2\xd6\xa2\xa0\x93\x1e\x80\xcb\x25\xd3\x78\xe9\x7d\xb8\x9f\xd3\x26\x24\x1c\x27\x00\xa2\x3a\xcb\xfb\xe8\x86\xce\x48\x33\x53\x21\xd2\x1a\xd9\x2e\xce\x5f\xbf\x79\x7f\x7e\xf1\xea\xf3\xfb\x97\x7f\x7d\xf5\xf6\xbc\x2d\xff\xde\x94\xc4\x49\x41\xa6\xcd\xfa\xff\xf6\xfe\xdd\xe5\x53\x85\xbe\x14\x59\xda\x28\xf0\xf2\xdd\xaf\x4f\xb6\x12\x65\x79\xb3\x85\x9f\x5e\x5d\x9c\x7f\x7c\xf3\xe1\xf3\x26\xf0\x26\x74\x4a\x16\x09\xfb\xbc\x06\xa2\xae\xe0\xe2\xe3\x9b\x37\xdb\x54\x30\x5d\x24\x49\xa3\x02\x3e\xec\x38\x15\x8f\x95\xd4\xf3\x24\x51\x1f\xce\x93\xc4\xf8\xc6\x61\x78\x23\x4b\xe9\xd7\x96\xaf\xb2\xb4\xf1\xcb\xc8\xc3\x49\x0a\xc7\xe2\xb1\x52\xf2\x27\xf9\x45\xbf\x1a\x5f\xff\x79\xfe\xf6\xcd\xab\xbb\x88\xce\x39\x45\x35\xbb\x48\x75\x72\xa3\x63\x6f\x5f\x5f\xbe\x7e\x7b\xfe\x24\x52\x5a\x07\xfd\x4f\x0f\xc5\x1f\x19\x85\x22\x22\x29\xce\x1d\xc0\x9f\x8d\x0f\x73\x92\x17\x94\x7f\x11\x2f\x8d\x4f\x51\x36\x9b\x67\xf2\xa3\x7a\x6d\x7c\x26\x93\xc9\xcb\x2c\x2d\x58\xbe\x88\x58\x96\xf3\x5c\xcd\x14\x00\x97\xe8\x61\x7d\x9e\x07\xfb\xa8\x15\xb5\xc1\x00\xad\x33\x8b\xe0\x00\xad\x4f\xbd\xe0\xc5\x7a\xa2\xa4\xfc\xe0\xa8\xe5\x4b\x03\x27\xc1\xf1\x13\x39\x04\xc6\x03\xdf\x6b\xc9\x52\x8d\x64\xe0\xfb\x2d\x9f\xc5\x44\x0d\xfc\x3e\x5a\xe5\x26\x81\xbf\xbf\x0c\x51\xff\x49\x5e\x59\xf1\x3d\x93\xe1\x7f\xcb\xe2\x89\xe5\x61\x8c\x69\x59\xa6\x8b\x24\xe1\x6f\x06\xf3\x8a\x8b\xcb\x8c\xdd\xc4\xe9\x35\x4e\x91\x99\xfa\x4e\xe8\x19\x78\x5d\x82\xac\x6b\x20\xb6\xcd\xeb\xed\xf0\x7a\x8d\x2a\x58\x76\x9e\xe7\xe4\xbe\xa5\x06\x4b\x7c\xe8\xc5\x85\x78\x3a\x14\x0e\x69\xc0\x3f\x0f\x47\x61\x30\xa2\xa1\x59\x49\x4e\xe7\x94\x98\x50\xf0\x3e\x0b\x91\x80\x62\x0c\xc0\x0e\x17\x49\x29\xf6\x4e\xd2\x53\x76\x92\xba\xd8\x87\xb1\x8b\xa9\x96\x2f\xf1\xb2\xd1\xa3\x4b\x7a\x4d\x58\xfc\x8d\xfe\x8b\xe6\x59\x1b\x54\x02\x47\xb6\x7d\xb9\x98\x5d\xd1\xbc\x77\xf9\xea\xe7\xf3\x0f\xaf\xff\xf1\xea\xf3\xeb\xcb\x8b\xd7\x97\xaf\x3f\xfc\x13\x63\xec\xef\x35\x7a\x48\xef\x18\x4d\x27\xed\xc0\xa1\x1c\x65\x5c\x23\x60\x50\x81\x88\x62\xec\x64\x58\x62\xb
2018-10-19 18:57:23 +00:00
func web_uiAssetsCodemirrorModeYamlYaml48498cacbe2464bb47bdb3732d4e25cbJsBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsCodemirrorModeYamlYaml48498cacbe2464bb47bdb3732d4e25cbJs,
"web_ui/assets/codemirror/mode/yaml/yaml-48498cacbe2464bb47bdb3732d4e25cb.js",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsCodemirrorModeYamlYaml48498cacbe2464bb47bdb3732d4e25cbJs() (*asset, error) {
bytes, err := web_uiAssetsCodemirrorModeYamlYaml48498cacbe2464bb47bdb3732d4e25cbJsBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/codemirror/mode/yaml/yaml-48498cacbe2464bb47bdb3732d4e25cb.js", size: 43950, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsConsulLogo707625c5eb04f602ade1f89a8868a329Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xba\xf7\x57\x13\xdf\xf7\xc6\x3b\xc1\x20\xa1\x08\xa1\x09\x0a\x52\xa4\x83\x74\xa5\x48\x49\x68\xd2\x7b\x97\x0e\x02\x22\xd2\xa4\xd7\x04\x08\x5d\x45\x69\x52\xa4\x4a\x15\x10\x90\x0e\x42\xa4\xaa\x14\xe1\x8d\x74\xe9\x4a\xe8\x84\x1e\x4a\xca\x5d\x7e\xbe\xf7\xfe\x11\x77\xcd\x9a\x35\xbf\xcc\xec\x39\x67\x9f\xd7\x7e\x9e\x73\x66\x4e\x92\x91\x81\xe6\x0d\xaa\xdb\x54\x00\x00\xdc\xd0\xd6\x52\x37\x01\x00\x32\xe0\xdf\x09\xb9\x0e\x00\xc0\x49\xc8\xe4\x25\x00\x00\x60\x77\x15\x7d\x15\x00\x68\x48\xa5\xc6\x3b\x91\x03\x00\xc0\xe5\xa2\x65\xa2\x0f\x00\x61\xfc\x00\x80\x44\x01\xc0\xbf\x5b\x90\x9b\x00\x10\x28\x01\x00\xdb\x8e\x00\xf0\x30\x1b\x00\x58\x7c\xdf\x77\x18\x2b\x02\x00\x70\xdd\x59\x57\x53\x1d\x20\xfd\x3b\x8a\xba\x2a\xd2\x01\x00\xa0\x08\xd0\xd6\xd7\xa0\x58\xbd\xc6\x09\x88\xb0\x54\x37\x0b\x48\x00\x00\x12\xd0\x56\x57\x31\x0b\x99\xdf\x25\xe0\xd2\x79\x2c\x0b\x56\x28\xa3\x96\xc3\xc5\x8a\xaf\x15\x6b\x6c\x3f\x49\xcb\xd1\xe3\xff\xa1\xf3\x19\xfc\x63\xc2\xce\xee\x41\x6d\x79\x85\x7b\x47\x75\x79\x85\xa7\x5b\x87\x7b\xde\xaf\x4e\x05\xcf\x16\x77\x17\xf7\xe0\x16\x77\xdc\x31\xe1\x86\xa5\x4b\x90\x7b\x70\x4b\x90\x9b\xc0\xf4\xae\x1b\x0e\xf3\x58\x6f\x34\xf3\x6e\x8a\x94\x50\xda\x13\x37\xa9\x66\xc8\x9d\x68\x64\xfc\x30\x6e\x89\x00\xc8\xf5\xae\xfa\x52\x40\xdf\xc2\xe1\xfd\x57\xd9\xa1\x64\xc5\x6f\x88\xec\xaf\x71\x53\xcb\xe2\x48\x38\x17\x14\x02\x26\x8b\xfe\xff\xc7\x85\x07\x7c\xfb\x8c\x12\x02\x8e\xe9\x3b\xc6\xe4\xf9\x28\x9f\xba\x9f\xbb\xc3\xae\x6e\x71\x9e\x3d\x04\x93\xf5\xfc\xc7\xc3\x04\x44\x3b\x82\x37\x13\xb8\x38\xaf\xab\x86\x42\x21\x83\xef\x1a\x16\x02\xc0\x31\x7e\x6b\x42\x71\x57\x95\x11\x8f\xe8\xf8\x36\xe3\x62\xb8\xa0\x2f\xc5\x3e\x7c\x6e\x87\x80\x5d\x46\x41\x71\x11\xad\xcb\x91\xf3\x85\x30\xd1\x45\x94\x0c\x22\x19\xed\x75\x37\xe3\x5a\xb4\x63\x1b\x84\x1c\xce\x25\xc7\xa5\x44\x15\x1e\xf0\x1d\x7b\xe7\x0c\x1b\x26\x9f\xd0\x07\x39\xb3\xef\x9e\xd9\x59\x3e\x7d\x41\xab\x2a\x09\x85\xbc\x86\x14\x03\x10\xf0\x9d\x4d\x95\xd9\x60\xc6\x95\x4d\x60\x8c\xee\xa8\xd3\xd8\x21\xf8\xd2\xba\x4e\x35\x87\xf3\x48\x1e\xd6\xef\x19\xa4\x20\x0b\x40\x75\xa2\xe1\x12\x10\x14\x19\x17\xf4\xfe\xe6\xdd\xdd\x4e\xeb\xd5\xca\x04\x6c\x71\x22\xf6\xf4\x52\x61\xb1\x7b\x66\xcb\x96\x70\x72\xf7\x3d\xdd\x51\x48\x36\x3a\x5a\x6c\xac\xaf\xdb\xfb\x2e\x13\x59\xf4\xca\x16\x3d\x15\x72\x65\xf6\x05\x10\xbd\xac\x5f\x49\xc1\x19\x3b\xd6\xd7\xbd\x7f\x1a\xee\x54\x37\xb7\x45\x7f\xb7\xfb\x2c\x91\xe1\xf3\x22\x38\xfc\xe0\x42\xa5\x9b\xe5\xf4\x01\xdc\x9d\xbc\xe4\xd7\x45\x0b\x77\x06\x59\xf4\x8a\x23\x84\x1c\xee\xfb\x7c\x93\xeb\xe0\x03\xca\x5d\x96\x9b\x93\xaf\xbf\x8f\x36\x62\xbc\x90\x31\xde\x68\x81\xff\xf3\xb6\x73\x89\x91\xba\x19\xcb\xb0\x24\x9b\x88\x64\xc2\xa6\x94\x86\x14\x26\x11\x1a\xcf\x3b\xa2\xf2\x4c\x91\x61\x64\x27\x35\x91\x27\x46\x5e\x2b\x9b\x67\x24\xda\x3f\x1e\xf9\x02\x9c\xc1\xf3\x93\x95\x6c\x08\x1a\xcc\xb6\xec\xc2\xe4\x37\xc3\xb7\x20\xf3\xc4\x6d\xf2\xc9\xb3\xc7\x0c\xfe\xb6\xbd\x55\xfa\x6d\x9e\x8c\x8f\x44\x93\xda\xe3\x47\x04\x07\xde\xab\x74\xd6\xe3\x38\x17\xa3\x96\xf6\x90\x62\x63\xc5\xc3\xc7\xfc\xaa\xb7\xa0\x90\x0e\x1e\x26\xa0\x47\x9d\x91\xfb\x24\x9c\xfe\x3c\x81\x79\xdf\x69\xcc\x86\x83\x99\x25\xbd\x54\x23\xa3\x54\xa3\xa9\x4d\xbf\xe9\x25\x77\x59\x7a\xd6\xfd\xb2\x36\x41\x6e\x53\x26\x01\x9a\x01\x3e\x7b\x04\x2f\x0d\x9f\x44\x82\x1c\x46\xf0\xf5\xad\x64\x17\xe0\x8e\x9f\x11\x80\xe4\x02\x68\xd8\x21\x40\x2f\x80\x34\x26\x9c\x76\x61\x5d\x96\x49\xd4\x46\x2c\x3f\x5f\x7e\x28\x7f\xf3\x09\x71\xe3\x2b\x20\x77\x0d\x2c\x46\x51\x2f\x4f\x96\x70\xcd\x8a\xc6\x2f\x96\x5b\x82\x75\xed\x41\xfc\x57\xc7\xec\x19\xdb\x91\x61\x31\x0c\x9f\x8d\x33\x9f\xa9\x73\x5c\x6e\xaf\x0e\xdf\xa8\xe8\xd4\x13\xb7\x5c\xa9\x46\x91\x64\x4f\x4b\x66\xcc\x2c\xc3\x07\x40\x94\x64\x38\xeb\x92\xd1\x0b\xc5\x73\xc0\xdd\xb1\xd1\x24\xc9\xf3\x2f\x49\x46\x10\x70\x4c\x10\x8a\x8c\x2b\x5b\x30\xac\xe9\x48\xc1\xfa\x64\x09\xd7\x7b\xef\x4c\x22\x7a\x29\x42\x4c\x52\x1d\xa2\x96\xed\xcb\xf5\x31\xb6\xec\xa5\xd0\x96\xb6\x69\xf2\x80\x57\x9a\x56\xce\x93\xc7\xc1\x5a\x16\x81\x87\x2f\x55\xff\x6b\x52\xff\xaf\xa9\x7f\xfc\xbe\x93\x60\x8a\xbc\x8e\x23\xad\x24\x60\x04\x45\xbe\x94\xd3\x3a\x9d\xd1\x00\x87\x92\x28\x
2018-10-19 18:57:23 +00:00
func web_uiAssetsConsulLogo707625c5eb04f602ade1f89a8868a329PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsConsulLogo707625c5eb04f602ade1f89a8868a329Png,
"web_ui/assets/consul-logo-707625c5eb04f602ade1f89a8868a329.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsConsulLogo707625c5eb04f602ade1f89a8868a329Png() (*asset, error) {
bytes, err := web_uiAssetsConsulLogo707625c5eb04f602ade1f89a8868a329PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/consul-logo-707625c5eb04f602ade1f89a8868a329.png", size: 58433, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2019-05-22 20:19:12 +00:00
var _web_uiAssetsConsulUi0cc7f4e2a5bcf306897a58923befa74cJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x6b\x77\xdb\x38\xb2\x28\xfa\xdd\xbf\x42\xe1\x5d\xc7\x43\x8e\x41\x98\x0f\x51\xaf\x6e\x76\x6e\x3a\x49\xef\xc9\xd9\xe9\xc7\x49\xba\x67\xdf\x7d\x7c\x74\xb3\x68\x0a\xb6\x39\xa1\x48\x0d\x08\x39\x71\x6c\xdd\xdf\x7e\x57\x15\xc0\x97\x48\x49\x94\xe3\x24\xd6\x4c\xf7\xea\xc8\x12\x89\x47\xa1\x50\xa8\x17\x0a\x05\x6d\x99\xb1\x5e\x26\x78\x14\x0a\xed\x68\xc6\x2e\xa2\x84\xe9\x5a\x98\x26\xd9\x32\x36\x97\xd1\x69\x30\x0b\x16\x82\xf1\xec\x34\x08\x63\x8d\x9c\x69\xec\xe3\x22\xe5\x22\xd3\x48\x6b\x99\xc5\x22\x8e\xc2\x40\x44\x69\x52\x2b\x30\x4f\x67\x2c\x56\x4d\x34\x1f\xcf\xc2\xda\xd3\xa5\x88\xe2\xec\xf4\x4a\x88\xc5\xe9\x9c\x89\xab\x74\xb6\xe9\x6d\x26\x02\xb1\xcc\x5a\xde\xce\x83\xf7\xec\x99\x10\x3c\x38\x8f\x99\x36\x25\x17\xcb\x24\x04\x90\x74\x46\x04\x49\x08\x27\x31\xc9\x48\x6a\xdc\xe6\xcf\x7b\x81\x7c\x63\xdc\x72\x26\x96\x3c\xe9\x89\x5e\x94\xf4\xd8\xd3\x5f\xcf\xff\xc1\x42\x41\x25\x4e\x7e\xe3\xe9\x82\x71\x71\x83\x45\x6f\xaf\x83\x78\xc9\x26\x09\x61\xc9\x72\xce\xb0\x9f\xc9\x13\x8b\x84\x69\x72\x11\x5d\x2e\x8b\xdf\x1f\x78\x24\xd4\xf7\x95\x31\x61\x67\x62\xea\x27\x84\xad\x36\xb5\xab\xbd\x7b\xc7\xb2\x9f\xd3\xd9\x32\x66\x5a\xde\x05\xd4\x3c\x62\x50\x36\x58\xc6\xc2\x17\xf9\x37\xca\x3e\x0a\x96\xcc\xf4\xdb\x25\x8f\x7f\x4a\xf9\xff\x5a\x32\x7e\x33\x29\x07\x5a\x0e\xe5\x2a\xca\x68\xb0\x58\xb0\x64\xf6\xc7\x9b\xd7\xba\x16\x84\xf1\x69\x1c\x65\x42\x23\x67\x53\x82\x2f\xc3\x98\x05\x09\xd6\xd7\x99\x61\xac\x48\xa5\xc1\x37\x2c\x4c\xf9\xac\xd6\x6c\x74\xa1\x5f\xa7\xd1\xac\x67\xf9\xbe\xcf\x68\x34\x33\xc4\x15\x4f\x3f\xf4\x12\xf6\xa1\xf7\x92\xf3\x94\xeb\xda\x7f\xa7\xcb\xde\x7c\x99\x89\x5e\xb6\x60\x61\x74\x71\xd3\x0b\x92\x5e\x34\xd3\x8c\xa3\x2d\x10\x45\xc9\x45\xaa\x91\x33\x68\x70\x2b\x54\xcf\x39\x0b\x04\x6b\x80\x55\x9d\xba\x96\xd6\x43\xac\x85\x23\x0e\xf4\xdb\x15\x11\xf4\xc5\xb3\xdf\x9f\x3d\x7f\xf9\xcb\xef\x2f\xdf\xbc\xfb\x5f\x7f\xbc\x7c\xf3\xdf\xef\x7e\x7b\xf6\xe6\xd9\xcf\x24\xa1\x81\x10\x5c\xe7\xf4\xa7\x5f\xdf\xbc\x7c\xf5\x1f\xbf\xbc\xfb\xcf\x97\xff\x6d\x94\xbd\xff\xb1\x98\xb5\xf7\x4e\xe2\xad\xfd\x2f\xb1\x5e\x87\xfe\xe3\xed\xfd\xbf\x60\x31\x6b\xeb\x3f\x26\xd9\xd6\xfe\x67\x2c\x13\x3c\xbd\xd1\xc8\x59\x26\x3b\x48\xe8\xdb\xd7\x7f\xfc\x07\xb6\xbe\x0b\xa4\x6c\x3b\x48\xcf\xe3\x34\x69\x83\x68\xfb\x7c\x40\x25\x8d\x9c\xc5\x7b\x43\xb3\x03\x41\x6f\xd8\x3f\x97\x2c\x13\x35\x82\xbd\x0e\x78\x4f\xf8\x8c\x8a\x9b\x05\x23\x89\xcf\x68\x96\x04\x8b\xec\x2a\x15\x47\xd9\x87\x48\x84\x57\x3a\xa3\x5c\x56\xfb\xfd\x66\xc1\x8c\xdb\x30\xc8\x98\x16\x96\xc3\xd2\x26\xd5\x91\x34\x46\xad\x0b\x8a\x5c\xec\x97\x60\x0e\x64\xb8\xaa\x16\x7e\x97\x2d\x17\x8c\xc3\xe8\xe3\x1b\x1d\x9e\x90\x80\x5f\x2e\xe7\x2c\x11\x99\xb1\x22\xd8\xc7\x64\x9d\x37\x49\x80\x63\xff\x36\x13\x29\x67\x13\x46\x00\xee\x89\x20\xd1\x6c\x92\x90\x1c\xf4\x09\x27\x15\x98\x27\x35\x70\x57\x24\xf3\x6f\x25\xdf\x9c\x20\x14\xf2\x7b\x89\x1d\x3d\x36\x00\x5d\x93\xca\x78\x2a\x6f\xae\x58\x30\x63\x3c\x93\x6f\xd5\x8f\x7a\x89\x59\x20\x02\xf9\x1a\xbe\xd5\xde\xad\x6a\x6b\xfc\x1d\xb0\xe1\xfc\x25\x8c\xb8\x5e\xbe\x31\x4b\x89\xbf\x13\x6b\x5b\xe6\xac\x27\xe8\x9b\x97\xff\xeb\x8f\x97\x6f\x7f\x7f\xf7\xc7\x6f\x2f\x9e\xfd\xfe\x72\xb2\xf6\xf4\xf9\x9b\x97\xf0\x54\x41\x98\xd0\x20\x8c\xf3\xd9\x4a\x56\x64\x1d\x4b\x35\xe8\x3a\xf5\xfa\xe2\xe5\xeb\x97\x1b\x7b\xdd\x48\x55\x31\xfd\xed\x8f\xdf\xf7\xa0\x9a\x28\xdb\xc0\x03\x8b\x15\xc7\xe8\x22\x10\x57\x49\x30\x67\xbe\x2f\x31\xba\x08\x78\xc6\x60\xf5\x55\x49\xb8\xd2\x0a\xae\x4a\x8d\xe8\x16\x49\x73\xf1\x62\xe8\xb8\x10\x6b\x0b\x8d\x68\x9a\x61\x18\x46\xd1\x3c\x02\xd3\xba\xfe\xd5\xaa\x3b\xda\x0f\xa2\xca\xa2\x6a\x03\x48\x17\xfe\xed\x8a\x04\xba\x20\x25\xc3\x90\xb2\x22\x8b\x97\x97\x3f\xf1\x74\x0e\x0d\x32\xc3\xc0\x32\x0d\xc8\x89\x68\x00\xbf\x81\x9f\xef\x89\xc9\x6a\x2b\x7a\xb2\x8c\x63\x72\x5f\x74\x5e\x05\xc9\x2c\x66\x6f\x58\xb6\x48\x93\x6c\x8d\x35\x70\xe0\xa9\x80\xd5\xd4\xe7\x24\xf0\x63\xb5\xac\x8f\xa2\x0b\x1d\xa0\xcb\xe8\xaf\xff\x29\xdf\x47\x6b\x90\xc6\x00\x66\xb1\x70\x9e\x58\x92\x6e\x9f\x80\xfc\x4e\x27\xa9\x2c\x2c\x3b\xfe\x31\x4d\x41\xe8\xe6\xfd\xeb\x11\x49\x49\x42\x7f\x7b\xf3\xea\xe7\x67\x6f\xfe\x1b\x21\xae\x70\xea\xa3\x73\xce\x82\xf7\x47\
2018-10-19 18:57:23 +00:00
2019-05-22 20:19:12 +00:00
func web_uiAssetsConsulUi0cc7f4e2a5bcf306897a58923befa74cJsBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
2019-05-22 20:19:12 +00:00
_web_uiAssetsConsulUi0cc7f4e2a5bcf306897a58923befa74cJs,
"web_ui/assets/consul-ui-0cc7f4e2a5bcf306897a58923befa74c.js",
2018-10-19 18:57:23 +00:00
)
}
2019-05-22 20:19:12 +00:00
func web_uiAssetsConsulUi0cc7f4e2a5bcf306897a58923befa74cJs() (*asset, error) {
bytes, err := web_uiAssetsConsulUi0cc7f4e2a5bcf306897a58923befa74cJsBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/consul-ui-0cc7f4e2a5bcf306897a58923befa74c.js", size: 481716, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2019-05-22 20:19:12 +00:00
var _web_uiAssetsConsulUiBfc60df255fe6a60a2b070dd0e3afa99Css = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xeb\x8e\xdb\xb8\xd6\x20\xfa\x2a\x3c\xd5\x68\x74\x2a\xb1\xd8\x22\x75\xb7\x77\x0a\xdf\xde\xf9\x76\x23\x03\xa4\x67\x80\xd9\xb3\xf3\xa7\x11\x7c\x50\x59\x74\x59\x5f\x64\xc9\x9f\x24\xd7\xcd\xf0\x7e\x8c\xf3\xef\x00\xe7\x09\xce\x43\xcd\x93\x1c\x90\xd4\x85\xa4\x48\x49\x76\x55\xfa\x32\x68\x24\x71\x6c\x5e\x17\xc9\x45\xae\xc5\xc5\x75\xf9\xb7\xf5\x36\x2e\x2b\x52\x83\xab\x7f\xfe\xaf\x9f\xac\xf0\x6a\x05\xc9\xee\x96\x94\xd6\xbe\x78\x20\xa5\x55\x91\x8c\xac\x6b\x6b\x77\xc8\xea\x74\x9f\x11\xab\x24\xbb\xe2\x9e\x58\xb7\x75\xbe\xd0\x95\x2b\xf6\x75\x5a\xe4\x8b\x78\x91\xe6\xfb\x43\xfd\x4b\xfd\xb4\x27\xef\xd7\x5b\xb2\xfe\x7a\x5b\x3c\x7e\x11\x13\xcb\x38\x49\x8b\x2f\xc7\xf5\xa1\xac\x8a\x72\xb9\x2f\xd2\xbc\x26\xe5\xa9\x69\xf2\x36\xae\xd2\xb5\x95\x94\xc5\x3e\x29\x1e\x72\xab\x2e\xd3\xbb\x3b\x52\xfe\x12\x97\x69\x6c\x91\xc7\x7d\x9c\x27\x24\x79\x5f\x97\x07\xf2\x05\xe8\x80\xa8\xea\xb8\x3e\x54\x56\xba\x2e\xf2\x45\x1d\xdf\x66\x04\x3e\xa4\xf5\xd6\x4a\x48\x1d\xa7\x59\x05\xea\x64\x59\xe4\xd9\x93\xb5\xde\xa6\x59\x72\x93\xa4\xf7\x37\x59\x7c\x4b\xb2\xe5\xf2\x96\x6c\x8a\x92\x1c\xad\x07\x72\xfb\x35\xad\xad\xba\x8c\xf3\x6a\x53\x94\xbb\x65\x59\xd4\x71\x4d\xde\xa0\xd0\x4e\xc8\xdd\xf5\xca\x94\x71\x7a\x7b\xbc\x2d\xca\x84\x94\xd6\x43\x9a\xd4\xdb\xa5\x7d\x82\xf1\x9a\xce\x87\x75\x57\x16\x87\x3d\xc8\xd2\x9b\xe5\xb6\xb8\x27\xe5\x02\xae\xcb\xb4\x4e\xd7\x71\x06\xb7\x24\xce\xea\x2d\x9b\x22\xab\x38\xd4\xfb\x43\xbd\x80\x9b\x2c\xae\xb6\xd6\x8e\x54\x55\x7c\x47\xc0\x1e\x92\xb2\x2c\xca\x61\x72\x75\x58\xaf\x49\x55\x0d\x33\x1e\xe2\x32\x4f\xf3\xbb\x05\xcc\x8b\x3a\x5d\x13\x98\xe6\x9b\xa2\xfb\xb1\x2f\xb2\x74\xfd\x64\xed\xe2\x3c\xbe\x23\x3b\x92\xd7\x5d\x4e\x57\x6d\xbf\x2d\xe3\x8a\x58\x24\x49\xeb\xa2\x04\x59\xba\xcc\x8b\xfa\xcd\x2f\xeb\x2c\xae\xaa\x2f\xd7\x0b\x58\xc7\xb7\x56\x1e\xdf\x03\xc8\xa7\x9b\x24\x20\xa6\x89\x77\x56\x96\x56\x35\xa8\xf6\x71\xae\x56\x20\xbb\x7d\x16\xd7\xc4\x62\x03\xa1\x33\xbe\x68\x3b\xd3\x8d\x9f\xd5\xce\xd2\xeb\x9b\xdb\x43\x5d\x17\x39\xa4\xf8\x62\x25\x24\x23\x35\x19\xcb\x5b\x26\x69\x45\x17\x3b\x19\x2d\xb4\x29\xd6\x87\x6a\xb4\x04\x5b\xa1\x25\x5d\xb8\xfb\xf1\xfe\x78\x41\x5a\xa0\xeb\xfa\x9a\xff\xe4\x95\xaf\xd5\xda\x4d\x3a\xdf\x00\x3c\xe9\x0b\x2b\x02\xd7\xc5\xfe\x89\xee\x29\x5e\x5f\xec\x65\xd8\x08\x1b\xc1\x0b\xdb\x98\x04\xfd\x65\xed\x9f\x59\xfb\x97\xb2\xc8\xc8\xfb\x3a\xbe\xdd\xc7\x39\xc9\xbe\xdc\xec\x85\xfd\xd9\x64\x26\x69\x9c\x15\x77\x5f\xd8\x6e\xa5\xff\x36\x45\x51\x93\xd2\x90\xb9\x25\x71\x42\xca\x45\xcc\x7b\x59\x97\x24\xae\x89\xfc\xab\xc7\x15\x39\x99\x63\x87\x9c\x26\xe1\x83\x2e\x6b\x0c\x03\x34\x0b\x5f\x92\x8a\xd4\x5f\xda\x9c\xb6\x1e\xcf\xab\x0e\xb7\xbb\xb4\xcf\x14\x96\x5a\xae\x25\x64\x28\x55\x44\x68\x47\x0a\x4c\x2e\xbd\xdc\xdf\xcc\x4a\x72\x57\x9a\x86\xe4\x62\xdb\x7a\x97\x29\x87\x03\xa0\xeb\x17\x9b\x73\xda\x75\x30\x17\xe0\x4b\x68\xce\x9f\x5e\xb3\x5d\x9c\xe6\x14\x8f\x60\x9b\xcf\x4e\xac\x36\x95\xfd\x93\x30\xb4\x4e\x40\x55\x97\x45\x7e\x27\x1f\x7b\x75\x42\x0f\xc5\x6a\x78\x20\xb6\x44\xa2\xaa\x9f\x32\xb2\xac\x8a\x2c\x4d\x4e\x7f\x84\x4d\x3e\x85\x94\xe7\x61\xd6\x37\x5c\xc1\xe3\x6d\xbc\xfe\x4a\x49\x6e\x9e\x58\xeb\x22\x2b\xca\xe5\x77\x9b\xcd\x66\xd5\x4c\x7b\x93\xe2\x61\x2f\xf0\xd1\xaa\xf9\xe5\x04\x4e\xec\x62\x75\x19\x2e\x9a\xa0\x79\xa3\xd4\xc1\x18\x6c\xc2\x4d\xac\x80\x79\x1b\xaf\xd1\x7a\xad\x80\xa9\xa3\xa8\xa3\x87\xe8\x99\x28\x7d\x19\x70\x21\x89\xfc\xd8\x39\x99\x19\x8d\x8b\x8f\xf2\xcb\xe0\x41\x1b\x8c\xb0\x7b\x9a\x66\x67\x8c\x9c\xcb\xf9\x3b\x7b\x00\x27\xb9\x25\x64\x83\x67\xc1\x39\xc5\xc6\x75\xbf\xcd\xbc\x93\x1e\xf3\x6f\x49\xa2\x00\xb0\x89\xd7\xae\x8d\x87\x5d\x36\x2c\xa5\x6e\x1c\xeb\x4d\x30\x68\x06\x93\x5b\xdb\x89\x56\xd2\xaf\x93\xc8\x75\xea\xe0\xb1\x37\xde\x60\x33\x22\xcf\x77\x36\x9b\xb6\x21\x3b\xc6\x49\xe0\x9e\x0c\x14\x7b\x8c\x70\x6a\xfa\x0b\xe3\x5b\x34\xe8\x8f\xa3\xea\x4a\x02\xe9\x34\x97\x15\x98\x41\xef\xa7\xe8\xf3\x5c\x4a\xaa\x19\x8f\x13\x06\xf1\x60\x3c\x7c\xc6\x56\xfd\x92\x1b\x6f\x1e\x32\x53\xa4\xa1\xca\x9a\x2e\x9b\xd5\x99\xea\x72\x84\x6d\x9a\x62\x4e\x34\x9d\xda\xc4\xb5\x63\x67\xb2\xd3\x11\x06\x7d\x16\x19\x58\x07\x8e\xeb\x7a\x2b\xe9\xd7\xe9\x82\xeb\x99\xae\xb3
2018-10-19 18:57:23 +00:00
2019-05-22 20:19:12 +00:00
func web_uiAssetsConsulUiBfc60df255fe6a60a2b070dd0e3afa99CssBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
2019-05-22 20:19:12 +00:00
_web_uiAssetsConsulUiBfc60df255fe6a60a2b070dd0e3afa99Css,
"web_ui/assets/consul-ui-bfc60df255fe6a60a2b070dd0e3afa99.css",
2018-10-19 18:57:23 +00:00
)
}
2019-05-22 20:19:12 +00:00
func web_uiAssetsConsulUiBfc60df255fe6a60a2b070dd0e3afa99Css() (*asset, error) {
bytes, err := web_uiAssetsConsulUiBfc60df255fe6a60a2b070dd0e3afa99CssBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/consul-ui-bfc60df255fe6a60a2b070dd0e3afa99.css", size: 100495, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x3c\x6b\x73\xdb\x38\x92\xdf\xf5\x2b\x64\x55\x0d\x17\x88\x40\x0d\xc1\x97\x28\xc5\x88\x6a\x32\x93\xdb\xca\xce\xcc\x7a\x6b\x92\xf9\xa4\x52\xb9\x28\x0a\xb4\x10\x53\xa4\x8e\xa4\x62\xfb\x2c\xfd\xf7\x2b\xbc\x48\x50\x0f\x8f\x53\x97\xbd\xbb\x4a\x95\x89\x47\xa3\xd1\xdd\xe8\x6e\x34\x1a\x50\x40\xba\xcb\x93\x9a\x15\x39\xc8\xe1\xf3\x60\x57\xd1\x7e\x55\x97\x2c\xa9\x07\x3d\xdd\xd1\xa7\x20\x47\x14\x95\xf0\xb9\xa4\xf5\xae\xcc\xfb\xf4\x9a\xe4\x96\x95\x5f\x93\xf2\x30\xd8\xe5\x2b\x9a\xb2\x9c\xae\x06\x57\xa4\x7e\xda\xd2\x22\xed\x6f\x8a\xd5\x2e\xa3\x96\x25\xbf\x23\xfa\xb8\x2d\xca\xba\xb2\xac\xab\x7c\x3e\xa0\x79\x52\xac\x58\x7e\x67\xb3\x7c\x45\x1f\x69\x35\x58\x58\x16\x38\xdb\x4e\x4a\xfa\x9f\x3b\x56\x52\x30\x18\xfd\x78\xdc\x6b\x8f\x03\x4a\x63\x1c\x2e\xdd\x60\x32\xc6\xe1\x6a\xe9\xa7\x2b\x1c\xba\x94\xba\x91\xb7\x72\x63\x1a\x8c\xbe\x54\x03\x78\x0e\x2b\xec\x7d\x8d\xcb\x7e\x49\x7e\x8f\xeb\xf5\x28\xcd\x8a\xa2\x6c\xd9\x64\x5c\x02\x2c\x05\x5f\x0b\xb6\xea\x3b\x84\x90\x1c\x4a\x86\x9f\x0f\x3d\x96\x82\x9c\x10\x72\xb3\xfc\x42\x93\x1a\xe4\x50\xf5\xf4\xf3\x5e\xbd\x2e\x8b\x87\xfe\xe7\xa7\x2d\xfd\x50\x96\x45\x09\x06\x3f\x17\xbb\x6c\xd5\xcf\x8b\xba\x9f\x14\xf9\x57\x5a\xd6\xfd\xb8\xbc\xdb\x6d\x68\x5e\xf7\xeb\xa2\xbf\x62\x62\xb2\xb8\x7c\x1a\xc0\x43\x33\x35\x47\xa9\xa5\xeb\x68\xe9\x62\x77\x7c\xe0\xd4\x16\xa4\x46\x15\xb1\x71\x4b\x69\xcc\xc1\xeb\x35\xab\x46\x75\x71\x4f\xf3\x8a\xcc\x17\xa3\x2a\x63\x09\x1d\x25\x71\x96\x81\x1c\x22\xa3\x73\x54\xd2\xaf\xb4\xac\x28\x80\x87\x78\xb4\x2d\x8b\xba\xe0\xeb\x44\x9e\x69\xbe\xba\x49\x3f\xd5\x25\x8d\x37\xd3\x46\x07\x34\x15\x57\x26\x82\x8c\xe6\x77\xf5\xfa\x80\x4a\x1a\xaf\x4e\x41\xfb\xa7\xa0\x33\xb3\x69\x5b\x6c\x01\x9c\x56\x07\xb4\x2d\xe9\x96\xe6\x06\x06\x29\xee\x9f\xca\x32\x7e\x1a\xb1\x4a\x7c\xb9\x68\xd3\xa2\x04\x9c\x6f\x4a\xf2\xb7\x54\x61\x7c\x0b\x3b\x28\x77\xd5\x1a\x50\x89\x19\xf6\x68\x56\xd1\xfe\x49\x77\x0e\x0f\x88\x17\xbe\xc3\x74\xbb\xbc\x5a\xb3\xb4\x06\x74\x24\xbf\xe7\xe6\xd4\x30\x39\x3c\x1c\x84\x8e\xed\x3a\x2b\x96\x71\x13\x12\xf3\xe7\xf0\x44\x63\x7e\xa1\x49\xb1\xa2\x65\x9f\xf2\xea\x00\xf6\xb4\x99\xed\xf7\x61\x10\x78\x5e\xab\x26\xa9\x5c\xf7\xa3\xe1\x9f\xd7\xb4\xcf\x11\xf4\xb7\x05\xcb\xeb\xfe\x60\x98\x0f\x07\xfd\xa4\xd1\xc2\x25\xed\x0b\x3b\xa0\xab\x91\xa9\x72\x89\xa1\x72\x39\xf9\x54\x97\x2c\xbf\x03\x39\x1c\xd5\x25\xdb\x00\x38\xaa\x8b\xdf\x8a\x07\x5a\xfe\x1c\x73\xc5\x41\x52\xef\x5b\xed\x19\xad\xe3\xea\xe6\x21\xff\x57\x59\x6c\x69\x59\x3f\x49\xb5\x5b\xa3\x1c\xce\xd6\xf3\x7c\x31\xcd\x77\x59\x26\x54\x77\x45\xe6\xcf\xda\x08\xab\xe9\xfc\x39\x8b\x97\x34\xab\xa6\xf3\xc1\x2e\x67\x9c\x24\x1b\xdb\xd8\xde\xd5\xa9\x1d\x0d\xd0\xc0\xf8\x46\x83\x05\xca\xe3\x0d\x9d\x0e\xfe\xfc\xfc\x1f\x76\x34\x38\x2c\xd0\x9a\xc6\x1c\xcb\x54\xb0\xfb\x41\xe1\x1c\x1c\xd0\x79\xfc\x51\x18\x0e\xd0\x20\xd9\xaa\x6f\xc5\x96\x1b\x59\x54\x05\x8d\xfe\xe3\xfb\xdf\x79\xf5\x80\xda\xa1\x49\xc5\xaa\x22\x8b\x6b\x96\xbb\x1c\xbe\x2a\xec\x28\x0a\x26\xb6\xae\xb0\xd2\xc6\x0e\x96\x15\xb3\x83\x97\x55\xf1\xd6\x6c\x57\x95\x29\x9e\x44\xe3\x01\x1a\x64\xbc\x59\x61\x6f\x88\xf8\x74\xa3\xe7\x38\x4f\x88\x67\x12\xe2\x99\x84\x4c\x0c\x42\xbc\xb6\xec\x99\x73\x77\x2b\x9c\x10\x2e\xe5\xcc\xd3\x84\x78\xa7\x84\x78\x17\x08\xf1\x4d\x42\x7c\x83\x10\xec\x18\x84\xf8\x6d\xd9\x37\xe7\xee\x56\x1a\x42\x7c\x4d\x88\x7f\x4a\x88\x7f\x81\x90\xe4\xa9\x64\x59\xc6\x12\xbe\xb8\x6d\xb1\x21\x2d\x30\x48\xf3\x0d\x72\x74\x07\x2f\x07\x26\x35\xdd\x8a\x24\xed\x84\x98\xa0\x43\x4c\x5c\xc6\x4b\x31\x6b\x5c\x6d\x0a\x7b\xec\x44\x52\xd1\x24\xf2\x90\x76\x6a\x4c\xd7\x04\xf1\xcd\x48\x9a\x6c\x62\x1b\xe3\x8e\x54\xc3\x4e\xc5\xa6\xdd\x2a\x33\x18\x73\xc7\x06\x63\x61\x5b\x0e\x4d\x5e\xba\x15\xa9\x85\x27\x8c\x5d\x32\x80\xbb\x92\xd2\xfb\x96\x4e\xce\x21\xcd\x8a\xfa\x76\xe2\xf2\xa2\xee\x15\xdf\xc8\xa4\x73\x6c\x52\x69\x50\x66\x1b\x14\x8f\x4d\xc2\xba\x15\x6d\x2b\xd5\x2e\xbf\xa5\xbb\x5b\x39\xcf\x09\xd1\xe3\x53\xa2\x79\x7b\x44\x3b\xb2\x5e\xd3\x65\x49\x1f\x06\x68\xd0\x14\x1a\x2a\x3b\x24\x47\x8d\xa4\x39\xd1\x5e\x64\x10\x6d\x94\x23\x93\xce\x6e\x45\xab\xf3\x57\x56\xed\xe2\xec\x94\xdc\xe8\x02\xb9\xac\x4b\x05\xaf\x66\xc5\x1d\x4b\xce\xe2\xb0\x3f\x5e\
2018-10-19 18:57:23 +00:00
func web_uiAssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJsBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJs,
"web_ui/assets/encoding-5ed8e95353b97ff5dd41bf66212d118e.js",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJs() (*asset, error) {
bytes, err := web_uiAssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJsBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/encoding-5ed8e95353b97ff5dd41bf66212d118e.js", size: 18533, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5Js = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xcd\xce\x2c\x4d\x92\x9c\xb7\xd7\x55\x50\xbd\x18\x0c\x81\x92\x10\xe1\x7f\x11\x21\x60\xae\x84\xd0\x46\x33\xdf\x10\x0d\xb4\xba\x09\x4e\x37\x40\x81\x37\x2f\xd8\x63\xf5\x7e\xe4\x10\x12\xb4\xd0\x82\x5c\x9c\xb3\x88\x37\x4f\x56\x56\x66\x56\x66\xfc\x98\x9b\x9b\xbb\xff\xfd\x3f\xff\xed\xcf\xff\xf8\xd7\x3f\xfe\xe5\xcf\x7f\xff\xa7\x7f\xfb\x9f\xff\xf0\xb7\x7f\xf9\xed\xdf\xfc\xcb\x5f\xff\xe3\x1f\xff\xf1\xaf\x7f\xf8\x9f\xfe\xf0\xb7\x3f\xff\xd3\x6f\xff\xfc\xc7\x3f\xff\xf6\x4f\x7f\xf8\x9f\xff\xe1\xaf\xff\xd7\x7f\xf8\xed\x2f\xff\xfc\x6f\xfe\xcf\xbf\xfc\xd3\xdf\xfe\xf4\xdb\xdf\xfd\x9d\xff\xfe\xaf\xbf\xfd\xa7\xff\xf0\x97\xff\xf8\xd7\x7f\xf9\xbb\xbf\xfb\xfb\x7f\xbd\xe3\x1f\xfe\xf4\x6f\x3f\x7f\xfa\x77\x7f\xf8\xed\xcf\xff\xf8\x97\x7f\xfa\xe3\x9f\xff\xfd\xff\xf2\xc7\x3f\xff\xd3\x6f\xff\xe9\xb7\x7f\xf9\xc3\xff\xfe\x0f\xff\xf9\xff\xf8\xe3\xbf\xef\xff\xed\xdf\xfd\xf9\x6f\x7f\xfa\xd3\xe7\x57\xf3\xab\xf9\xd5\xfc\x6a\x7e\x35\xbf\x9a\x5f\xcd\xaf\xe6\x57\xf3\xab\xf9\xd5\xfc\x6a\x7e\x35\xbf\x9a\x5f\xcd\xaf\xe6\x57\xf3\xab\xf9\xff\xd5\xec\x93\x2f\x3e\xfb\xf5\x9a\xcf\x3e\x2f\xf2\xb3\xcf\xcd\xf5\xd9\xe7\xdc\xfa\xec\x59\xd9\xef\xb3\xdf\xcd\xad\x0f\x2a\x3f\x7b\xe2\xbd\xfc\xec\x37\x37\x3e\x7b\x72\xed\xfc\xec\x8e\xce\xcf\xbe\xa1\x2f\xde\xa8\xd2\x09\xe3\xd0\xae\xcf\xae\xbb\x75\x92\xaa\xb7\x9f\x4e\xd9\xaf\x3e\xbb\x5f\x9e\xad\x3f\xaf\x39\x5c\xa7\x3e\x71\xef\xd6\x19\xba\x75\xb5\xcb\x8d\xdd\xc7\x35\x43\x47\x1d\x9d\xe0\xed\x75\x3f\xfb\x2e\x1d\xda\xb7\xde\xfb\xc4\x8b\xd0\x7f\x6a\xbf\xf9\xec\x3c\x57\xd7\xae\x79\xad\x8b\x9f\x78\xe7\x13\xb3\xef\xfb\x44\xc4\x1c\xff\xee\x8c\x5d\xda\x71\x75\xfb\x33\xb7\x38\xd9\xac\x4f\xde\xa3\xd3\x4f\x1c\x9d\x38\x7b\xf7\x67\xe7\xed\xb7\x3e\x91\xb1\x4a\xff\x19\x3d\x8b\x3d\x6f\xb4\x4b\x67\xc9\x3a\x6a\xef\xaa\x4f\x4c\x9d\xfb\xc9\xda\x4f\x3f\x61\xe5\xd2\xdd\x9d\x97\x9f\x78\x57\xcf\xa8\x4a\x6d\xde\x3e\x7a\x22\xbd\xf4\xe3\xbb\x47\xbf\x65\xf8\x5d\x9d\x37\xe2\xb3\x7b\xbd\xfc\xe4\xae\x5b\x9f\x5a\x57\xcf\xa3\xce\x5d\x7a\x14\xb3\x5b\xbf\x2e\xaf\x7e\x5d\xe6\x39\xfa\x91\xf9\x66\xb8\xa9\xf8\x64\xea\x59\xe9\x4b\xf5\xc9\xf3\xb2\x3f\xfb\x9e\x9c\x4f\x56\x46\x7e\xf4\x04\xae\x7e\x64\xae\x4f\x9e\x5a\xeb\x93\x7b\xdf\xfa\xe4\x8e\x1b\x9f\x98\x58\xf7\x13\x67\x9f\xf3\xc9\x7a\x47\xb7\x7d\x4e\x7c\x72\xcf\x6d\xfd\xb6\x77\x75\xe4\x99\x4f\xec\x75\xf6\x27\xe7\xa5\x1e\x49\x57\x7c\xe2\x4d\x8e\x7e\xcc\x9a\xd6\xaf\x7d\xba\x89\xb7\x74\xc9\xea\xcd\x4d\xf4\x27\x76\xdf\xc5\x03\xf7\xcf\xcf\xfb\x89\xe8\xd6\x15\xb2\x46\x8f\x7d\x66\x7f\xb2\x8f\xde\xe0\x5d\xdf\x8e\x32\x7a\x21\x67\x1e\x67\x4f\x3d\x97\x99\xf8\xec\x5a\x75\x86\x8b\x14\xff\xd1\x43\xd4\x9f\xc7\x9f\x17\x7c\xd4\x9f\xac\xd5\x3a\xba\xe8\x16\xd3\xe3\x1b\xd3\xf3\x9a\x54\xaf\xeb\xd9\xfd\x89\x8e\xbb\x3f\x71\xcf\xf5\xf7\xce\xff\x00\x83\xf3\xff\x7d\xd4\x86\xde\xa8\xda\x43\x7b\x69\x9f\xda\x52\xaf\xd8\xa9\x3f\x71\xd4\xab\xf5\x66\xfd\xe7\x70\x70\x05\x6d\x7a\x97\x7a\xf7\x8b\xef\xd1\xe5\x7d\xc5\x7f\x9a\x96\xab\x94\xbf\x78\x7d\x66\x7f\x9f\x8b\xf5\xfa\x44\xcf\x67\xbf\xfc\x94\x46\xc5\x8b\x8f\xbe\x1e\x4b\x4f\x32\x3e\xa1\xee\x95\xf1\x89\xbd\x3f\xa5\x5e\xb1\x97\xef\xff\xdc\xf3\x5f\xb6\x74\x5c\x7c\xa2\x8f\xba\xc2\xa7\x26\xd4\x63\x3e\xad\x31\x73\xfa\x13\x99\x9f\xb8\xa9\xa1\xf6\x09\x86\xe4\xf9\xd4\xd4\x27\xd4\xa5\xf5\x59\xe9\xda\xf3\x89\x8a\x4f\x4e\x7e\xa2\xd7\xa7\xe6\x7e\x34\x30\xeb\xac\x4f\x9d\xf8\xd4\xa9\x8f\xba\x4a\x74\xfc\x7e\xd5\xfd\xfb\x96\xce\x5d\x9f\x59\xef\xf3\xf6\xb9\x6a\xde\xff\x00\xaf\xf8\x57\xf3\xff\xbd\x74\xc5\xd3\x9c\x90\x5d\x2f\xbd\x2b\xfa\xce\xfc\x57\x87\xc4\x5a\xf1\xd4\x7d\xee\xfe\xd4\x8a\xa3\x39\x2f\x2b\xff\xeb\x93\xcc\xd6\x0a\x13\xad\x0e\x1f\x4b\xbd\x27\x56\xa8\x7f\x2d\x2d\x8c\xb1\x34\x1b\xc7\xba\x4d\xcb\x9e\xa7\x4f\xf7\xee\x54\x3b\xeb\x13\x3b\xd7\x51\x1b\x9a\x16\x4b\xfd\x78\xd3\x43\x43\x7d\x32\xe2\xa8\x37\xc6\xb9\xb4\x6f\x6b\xd1\xc9\xa2\xd5\x02\x92\xef\xaa\xff\x75\xd1\xaa\xbf\x9f\xa5\xde\xbc\xb5\xbf\x46\x73\x66\x6b\xc1\x8d\x19\xdd\xc9\x4c\xdc\x4f\xcc\x89\xfe\xc4\x79\x1a\x63\x97\x55\x6b\x2d\xcd\x74\x51\xb1\x68\xaf\x5a\x8d\x88\xd0\x39\x53\x27\x52\x7b\xde\x27\xa3\xb7\x3e\xed\x39\x9f\xcc\x5a\x5a\x30\xea\x
2018-10-19 18:57:23 +00:00
func web_uiAssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5JsBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5Js,
"web_ui/assets/encoding-indexes-75eea16b259716db4fd162ee283d2ae5.js",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5Js() (*asset, error) {
bytes, err := web_uiAssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5JsBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/encoding-indexes-75eea16b259716db4fd162ee283d2ae5.js", size: 529734, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsFavicon12808e1368e84f412f6ad30279d849b1df9Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x92\x2b\x6d\xd4\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x80\x00\x00\x00\x80\x08\x06\x00\x00\x00\xc3\x3e\x61\xcb\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xed\x7d\x7b\x70\x1b\xd7\x79\xef\xef\x9c\x5d\xec\x02\x20\x16\x04\x01\x10\x24\x20\x3e\xa0\x17\x29\xcb\x90\x2c\x1b\x7e\x51\x71\x43\xc5\xb1\xe5\xc4\x95\xe3\x1b\xc5\x49\xa3\xb6\xa9\xfa\x98\xea\xf6\xde\x3e\x72\xd3\xde\x4e\xa6\xcd\x74\x32\x99\xde\x4e\x26\x93\xe9\x6d\xd3\xdb\x34\x13\xb5\x79\x28\x69\xea\x3c\x5a\x25\x8e\xed\xc4\xaf\xd8\x96\xe3\x48\x7e\x88\xb2\x1e\xb4\x2c\xc2\xa4\x44\x52\x14\x48\x42\x20\x08\xe2\xb9\xbb\xd8\x3d\xe7\xfe\xb1\x80\x44\x51\x7c\x80\x14\x5f\x4a\xf8\x9b\x59\x13\x23\x63\x1f\x38\xdf\x6f\xbf\xf3\x9d\xef\xfb\xce\xf7\x01\x6b\x58\xc3\x1a\xd6\xb0\x86\x35\xac\x61\x0d\x6b\x58\xc3\x1a\x7e\xb5\x40\x56\xfa\x01\x96\x0b\xd1\x68\x94\x02\x40\x30\x18\xbc\xe6\xdf\xc7\xc6\xc6\xa0\xeb\x3a\x00\xa0\xab\xab\x8b\x2d\xff\x93\xad\x2c\x7e\x69\x08\x10\x8d\x46\xa9\xcf\xe7\x83\xcf\xe7\x83\xa2\x28\x00\x40\xcb\xc7\xd4\xcf\x98\xf2\x99\x4d\xf3\x97\x01\x80\xa6\x69\x6c\x6c\x6c\x0c\x63\x63\x63\x38\x76\xec\xd8\x2f\x25\x39\x6e\x5a\x02\x74\x74\x74\xd0\x60\x30\x08\xbf\xdf\x5f\x11\x2e\x05\x20\x82\x43\x14\x19\x91\x6a\x74\xc1\xed\xd2\x84\x40\xad\x2a\x36\xc9\x06\xf1\x3b\x4a\x82\xd7\xa1\xd3\x5a\x91\x11\x3b\xe5\x44\x22\x1c\x94\x51\xae\x9b\x04\xba\x6a\x63\x19\xd5\x66\x4e\xa8\x22\x4b\xe6\x64\x73\x24\x2b\x9b\xf1\xac\x6c\xa4\x74\x91\xab\x9c\xc0\x00\xae\x1c\x4c\xd3\x34\xd6\xdf\xdf\x8f\x23\x47\x8e\xfc\x52\x10\xe2\xa6\x22\x40\x67\x67\x27\x0d\x87\xc3\x90\x65\xd9\x12\x36\x20\xd9\x4c\x62\xf7\xe5\x6d\x4d\x8d\x19\x69\x47\x63\x56\x8a\x7a\xf3\xb6\x2d\x1e\x55\xdc\x24\x9a\x24\x40\x40\xec\xf3\xfd\x81\xdc\xfa\xaf\x61\x12\xa4\x8b\x92\x39\x98\xac\x29\x9d\xbb\xec\x2a\x9d\x19\x51\xb4\xe3\x09\xa5\x14\xcb\x49\x66\x06\x04\x3a\xca\x84\x48\x26\x93\xac\xbb\xbb\x1b\xb1\x58\xec\xa6\x24\xc4\xaa\x27\x40\x34\x1a\xa5\x6d\x6d\x6d\x50\x14\x85\x02\x90\x00\x48\xb5\x45\x31\xb0\x3e\x65\xdf\xd9\x9a\xb2\xbf\x2f\x98\x91\xef\x93\x0d\xd2\x42\x40\xc4\xa5\x7c\x0e\x0e\xc0\x24\x3c\x35\xee\x2c\x9d\x18\xac\x53\x7f\x7e\xc1\xab\xbe\x38\x5c\xab\xc5\x4c\x8a\x02\x00\x1d\x00\xeb\xe9\xe9\x61\x37\x9b\x66\x58\xb5\x04\xe8\xec\xec\xa4\xed\xed\xed\x57\xde\xf4\x1a\x8d\xfa\xdb\x13\x35\xbb\x37\x5f\x76\x3c\x1a\xc8\x49\x3b\x05\x4e\xdc\x2b\xf9\x7c\x1c\xdc\x28\xd8\x58\xac\xcf\x5f\xfc\xc9\xb9\x40\xe1\x87\xc3\xb5\x5a\x8c\x13\x8b\x0c\xd9\x6c\x96\x75\x75\x75\xdd\x14\x5a\x61\xd5\x11\x60\xcf\x9e\x3d\x34\x14\x0a\x51\x00\x12\x61\x70\xb6\xa4\xed\x3b\xb6\x0d\xd7\x7c\x22\x9c\xb2\x3f\x2c\x30\xea\x5f\x75\x0f\x0c\x8b\x0c\xe3\x4e\xe3\x8d\xee\xc6\xfc\x77\xce\x35\xe4\x7f\x52\x90\x58\x0a\x80\x9a\xcd\x66\x8d\x58\x2c\xb6\xaa\x57\x17\xab\x66\x3c\x27\x0b\x5e\x30\x89\x7b\x4b\xc2\x79\xff\xed\x97\x5c\xff\xdd\x97\xb7\xed\x5c\x6a\xf5\xbe\x98\xd0\x04\x16\x3f\xd7\x90\xff\xd6\x5b\xeb\x72\xdf\x4e\x3b\x8d\x21\x94\x89\xb0\x5a\x35\xc2\x8a\x13\xa0\xa3\xa3\x83\x6e\xdb\xb6\x8d\x02\x90\x28\x83\xeb\x96\xd1\x9a\xdd\x77\x0d\x2a\x9f\xac\x55\xc5\x3b\xc9\xca\x3f\xde\x82\x61\x50\x9e\x7a\x27\x90\xff\xe6\x9b\xad\x99\x7f\xcd\xd8\xcd\x38\x00\x35\x99\x4c\x1a\x87\x0f\x1f\x5e\x55\x24\x58\xd1\x11\xde\xb7\x6f\x1f\x55\x14\x45\x02\x87\xb3\x75\xdc\x7e\xf7\x7d\xe7\x6b\x3f\xe3\xcf\xdb\xee\xbb\x99\x05\x3f\x15\x3a\x65\x89\xb7\x9a\xb2\x5f\x3a\xd1\x9c\xfd\x77\x4d\xe4\x49\x00\xfa\x99\x33\x67\xd8\x6a\xf1\x2b\xac\xc8\x48\xef\xde\xbd\x9b\x86\xc3\x61\x0a\xc0\xe9\x2e\x0a\x4d\x9d\x7d\x75\x9f\xde\x30\x66\xff\x38\x01\x91\x56\xe2\x79\x96\x1a\x1c\x40\x56\x36\xba\x5f\xdd\x90\xfe\x6c\xac\xbe\xf8\x0a\x08\x72\xd9\x6c\x56\x7f\xfc\xf1\xc7\x57\x9c\x04\xc2\x72\xdf\x70\xdf\xbe\x7d\xb4\xa1\xa1\x41\x22\x1c\x9e\x1d\x97\x5c\x8f\x3d\xfc\x8e\xff\x6b\xf5\x79\xe9\x3e\x02\xb2\xec\xcf\xb2\x5c\x20\x00\x64\x93\x06\x36\x25\x1d\x1f\x09\xe4\xa4\xa6\x78\xad\x76\x86\x38\x6d\xc5\x68\x34\xca\x00\x60\x78\x78\x98\xaf\xd4\xb3\x2d\xdb\xa0\x47\xa3\x51\xfa\xc8\x23\x8f\x08\xb2\x2c\x3b\x5c\xaa\x10\x7e\xf8\x1d\xdf\x17\x6f\x8b\xbb\xfe\x52\xe4\x74\x45\x97\x73\xcb\x09\x02\x42\xbd\x45\xdb\xf6\x2d\xa3\xce\x87\x27\xec\xc6\xf9\x94\xd3\x
2018-10-19 18:57:23 +00:00
func web_uiAssetsFavicon12808e1368e84f412f6ad30279d849b1df9PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsFavicon12808e1368e84f412f6ad30279d849b1df9Png,
"web_ui/assets/favicon-128-08e1368e84f412f6ad30279d849b1df9.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsFavicon12808e1368e84f412f6ad30279d849b1df9Png() (*asset, error) {
bytes, err := web_uiAssetsFavicon12808e1368e84f412f6ad30279d849b1df9PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/favicon-128-08e1368e84f412f6ad30279d849b1df9.png", size: 11154, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsFavicon16x16672c31374646b24b235b9511857cdadePng = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x35\x03\xca\xfc\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\x00\x00\x02\xfc\x49\x44\x41\x54\x38\x8d\x7d\x53\x5d\x48\x53\x61\x18\x7e\xbf\xef\x7c\x3b\x3b\x3f\xcb\x2d\x97\x67\xb6\x8d\xb9\x74\xce\xf2\x27\xeb\xc6\x56\xf6\x43\x41\xd1\x2f\x15\x89\x20\x44\x48\x17\xdd\x94\x37\x51\x14\x12\x51\x89\x57\xde\x45\x42\x05\x11\x44\x3f\xf4\x43\x44\x57\x41\x65\x7f\x0a\x2a\x46\x62\x69\x66\x53\xf2\x87\xe9\x6c\xe7\xcc\xa9\xdb\xce\xce\xce\xce\xd7\x45\x28\x0a\xea\x7b\xf7\xc2\xf3\x3c\xf0\x3e\xef\xf3\x30\xb0\xcc\xf0\x3c\x8f\x6d\x36\x1b\x62\x59\x16\x69\x9a\x86\x28\xa5\x74\x29\x1c\x5a\xb4\x20\x84\x2b\xd7\x95\xfb\x6b\xac\x15\x67\x37\x42\xee\x1e\x4b\x8a\x71\x67\x30\x55\xc3\x9c\xfa\xe3\x5d\xb2\xff\xe9\xa3\xf1\xd6\x07\x93\x4a\x44\x5d\x52\x40\x10\x04\x7c\x65\x43\xd5\xe5\x23\x71\xdf\x75\x8d\x31\xd4\x41\x7b\xf2\x73\x18\xc7\x83\x3c\x32\x09\x9e\xb8\x10\x70\xc5\xcc\xa5\xc3\xd6\x64\xeb\xc9\xe0\x9d\x5d\x8a\xa2\x18\x73\x3c\x02\x00\x40\x08\xc1\x0d\xc5\x35\x0d\xfb\x67\xf2\xea\x3b\x24\xe5\xe1\x2d\xe5\xc3\xa5\xbe\xce\x5f\x13\xaa\xaa\x1a\x00\x00\x92\x24\x91\x03\x85\x81\xfd\x40\x41\x8b\x46\xa3\x60\xb7\xdb\xb1\x2c\xcb\x00\x00\xff\x85\x8e\x97\xec\xda\xde\x5b\x74\x83\x36\xef\x38\xdb\x6c\xb5\x5a\xc9\x72\xbe\x00\x00\x6c\x29\x2c\xf7\x7e\x2d\xb9\xf6\xb7\xb2\x70\xb3\x0f\x00\x80\x61\x59\x16\x37\x7a\xaa\x6e\x23\x06\x93\x0b\xe3\xcf\x8f\x85\x27\xc3\xa9\x95\x04\x80\x23\x2a\x38\x2d\x72\x87\x32\xd0\x36\x15\x8b\xa5\xb1\xc7\xe9\x16\xf2\xa7\x2d\x7b\xda\xf9\xd0\xc3\x3f\x23\xc3\x89\x39\x9c\xd7\xe1\x92\x4e\xaf\xdf\x5b\x7f\xd0\x1f\x38\x4c\x08\xc1\x00\x00\x65\x1e\xbf\xf3\xbe\xab\xf6\x6d\x8c\xd1\xfa\xef\xe7\x9c\xfa\x52\x96\xe7\xcf\x25\x6e\x2e\xdb\x43\x28\x62\x7f\x26\x42\xdf\xe6\xc8\x0c\xc3\xe0\x5a\xe7\x8e\x66\x29\x82\xaa\x28\xac\x01\xa6\x42\xdc\x5c\x93\x2e\xbb\xf8\x29\x2b\x74\x67\x94\x26\xfb\xc2\xfa\xec\x44\x4f\x96\xd2\x32\x3d\x91\x4c\x10\x84\x30\x06\x0a\xb0\xf0\xcd\x08\x21\xc0\x26\x06\x03\x18\x00\x08\x0c\x5e\x14\x08\xa4\x59\x56\x87\x8c\x11\x8a\x84\x47\x65\x3d\x92\x50\x89\x43\x4d\xab\x9a\xc1\x70\x36\x51\x3b\x41\x36\x9e\x8f\xf2\xe9\xe0\xbb\x50\xf7\x47\x00\x00\xc3\x30\xe8\x24\x9f\x6e\x5d\xe5\xb4\x27\x7b\x2d\xb1\x9b\xaf\x3b\x5b\x3e\xbc\x1a\x6d\x7f\xc1\x10\x82\x6a\xf9\x8a\xa6\x84\x57\xe8\xaa\x4c\xb9\xeb\x3a\xd1\xd8\x4b\x10\x45\x11\xbf\xde\x7a\xf9\x7d\xdb\xa6\xab\x83\xb9\x39\x12\xb7\x92\x7f\x08\x21\xbc\xde\x5f\xc4\x9d\x29\x39\x58\xed\x2f\xf0\x71\x00\x80\x71\x3c\x1e\x37\x9e\x65\x7a\x9a\x6c\x49\x92\x5f\x9f\x77\xb4\xd1\x6c\x36\xe3\xe5\x04\x28\xa5\xc6\x1a\x62\x71\x9f\x41\x15\xf7\x9c\xe6\x6c\x2f\x00\x18\x0c\x00\xc0\xe0\x54\x68\xa8\xa8\xb0\xc8\xb1\x5b\x59\x5b\x57\xec\xf2\x39\xfa\x60\xb2\x2d\x3a\x1b\x9b\x8f\xac\xd9\x6c\xc6\x87\x7c\x81\xad\xa5\x52\x7e\x41\x4b\xb0\xab\xbb\x25\x6b\xec\xe6\xf7\xa1\xfe\x89\x4c\x26\x43\xe7\xa3\x2c\xe5\xe4\xb0\x57\x8a\xab\x9b\x76\x87\x1d\xe7\x74\x4c\xa7\xfb\x78\xe5\xcd\xb0\x26\x07\x79\x6c\x12\x4a\xc8\xda\x80\x6b\x96\xdb\x36\xb2\x3a\xd5\x7e\xf2\xf7\xed\x4a\x59\x96\xe7\xa3\xbc\xa8\x4c\x3c\xcf\xe3\x7d\xa5\xdb\x02\x27\x84\x4d\x75\xde\x19\x61\xa7\x25\x45\xb2\x75\x4c\xf5\x88\xa8\x0d\x74\xb0\xe3\x4f\x1e\x8f\x7d\xbe\xfb\x7b\x68\x70\x7a\x91\x2f\x4b\xdd\x6a\x32\x99\xb0\xc3\xe1\x20\xa2\x28\x72\xba\xae\xeb\xd1\x68\x54\x5d\x58\xa0\x85\xf3\x0f\x37\x93\x32\x03\xb1\xf9\x4d\x7e\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\x01\x00\x00\xff\xff\xb0\x22\x7d\xd3\x35\x03\x00\x00")
2018-10-19 18:57:23 +00:00
func web_uiAssetsFavicon16x16672c31374646b24b235b9511857cdadePngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsFavicon16x16672c31374646b24b235b9511857cdadePng,
"web_ui/assets/favicon-16x16-672c31374646b24b235b9511857cdade.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsFavicon16x16672c31374646b24b235b9511857cdadePng() (*asset, error) {
bytes, err := web_uiAssetsFavicon16x16672c31374646b24b235b9511857cdadePngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/favicon-16x16-672c31374646b24b235b9511857cdade.png", size: 821, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPng = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x33\x40\xcc\xbf\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\xc4\x00\x00\x00\xc4\x08\x06\x00\x00\x00\xc0\xa6\x8e\x6b\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xdc\xbd\x79\x70\x1c\xc9\x79\x2f\xf8\xfb\xb2\xab\xab\x0f\x34\x1a\x0d\x10\x00\x41\x00\x3c\x40\x82\xe7\xf0\x1e\x0e\x87\xa4\x24\x8a\xe6\x68\x34\x1a\xcd\xe8\xb2\xa5\x99\xb1\xf6\xf9\x59\xf2\xc1\x75\xec\x0b\xaf\xd7\xe1\xb5\x23\x14\x2f\x1c\x1b\x1b\xbb\x2f\x76\xbd\x11\xf6\x86\xe3\xc5\x5b\xbf\x08\xaf\xec\x90\xe4\xd0\x61\xeb\xd6\xe8\x9e\xd1\x9c\x1a\x6a\x0e\xce\x90\x43\x72\x86\x37\x41\x10\x04\x01\x10\x67\xa3\xd1\xe8\xae\xae\xca\xdc\x3f\xaa\xb2\x2a\x2b\xbb\xaa\xbb\xc1\xa1\xe2\xd9\x9b\x11\x40\x57\xe5\xfd\x65\x7e\x77\x1e\x05\x44\x07\xe6\xfd\x21\xe2\x37\x2a\xaf\xfe\xac\xc7\xe9\x65\xe3\xea\x6a\x25\x44\xb5\xd7\x28\xcf\xbd\xac\xbf\x95\xb6\x9b\xd5\xad\x8f\x47\x23\x18\x9a\x8d\x67\x54\x59\xbd\x8d\x38\x18\xa2\xe6\xa5\x51\x3f\xa3\xfa\x11\xd7\x87\x66\x7d\xfd\x37\x03\xc3\x7b\x41\xa4\x7b\x5d\xe7\xdd\x20\x7b\xdc\xe0\xae\xb4\xbd\xbb\xa9\x67\xa5\xc8\xf2\xaf\x3d\xbc\x97\xb1\xfc\xd7\x12\x56\x0c\x83\x11\x93\x51\x7d\xe6\x31\x71\x4c\xf9\xd5\xe3\xa0\x3d\xc7\xd5\xab\x77\x8e\x47\x3c\x47\xb5\x13\x55\x5f\xb3\xbe\xeb\x7d\x51\xf3\x46\xd5\x19\xd5\xb7\x66\xfd\x95\xed\x70\x2d\x5d\x1f\xa3\x46\x75\xea\xf1\xcd\xc6\x3a\xae\xee\x46\xf5\x37\x0b\x2b\x19\xe3\x56\xda\xfe\xb7\x0a\xc3\x8a\x42\x1c\x01\x35\x6b\x3c\x4a\x15\x6b\x24\xda\x5a\xa5\xf2\x28\x31\x1a\xf7\xdb\xa8\x2f\x71\x7d\x6b\xa5\xde\x95\xd4\xdf\x4a\xde\x46\x6d\xc6\x85\xa8\x72\x71\xf5\xb4\x22\x85\x5b\xed\x4f\xa3\x36\xfe\x2d\xc1\xb0\xa2\x4e\xb5\xda\x70\x2b\xf5\xc6\xd5\x11\xd7\xc1\x56\xcb\x34\xcb\x13\x17\xd7\x0c\xa9\xf5\x7e\x35\x22\xf2\xa8\xb8\x56\xe0\x8e\x8b\x6b\x16\x5a\x19\xaf\x46\x79\xef\x45\xdb\xf7\xaa\x9e\x7f\x2d\x30\x34\xcd\xd8\x0a\x35\x35\xaa\xb8\x55\xee\xd0\x4a\x5d\x51\x79\xee\x25\xc1\x36\xeb\xc7\xdd\xc0\x10\x57\x4f\x2b\xed\xb5\x1a\x56\x52\x76\xa5\xed\xb4\x32\xbe\x77\x5b\xf7\xdd\x96\xfd\xb5\xc0\xb0\x12\x04\xd7\x27\x58\xe7\xae\x7a\x3c\x22\x9e\xf5\xb8\xb8\xf7\xb8\xf6\xa2\xea\x69\x45\x34\xc7\x95\x69\x96\x3f\xae\x4f\x51\x30\x36\xaa\xbb\x51\x1d\xcd\x60\x8b\x6a\xaf\x51\x5f\xa2\xca\xc7\xf5\x21\xea\xf9\x6e\xc6\xb3\x19\x7c\xff\x26\x60\x30\xd0\xd8\xf0\x6d\x14\xdf\xc8\x60\x6d\x64\x1c\xab\xf1\x32\x4e\x35\x68\xd4\x7c\x51\xf5\x46\xd5\x13\x17\xe2\xf2\x45\x19\xbb\x8d\xf2\xc7\xf5\x29\xca\x78\x6e\x34\x16\x51\xfd\x63\xa8\x37\xe8\xf4\x7e\xb5\x12\xa2\xc6\x46\x0d\x6a\x5a\x2b\x9c\x55\xd6\xa7\xcf\x4b\x54\x3d\x51\x06\xe9\xbf\x59\x18\xa2\x28\x07\x11\x71\xad\x74\x20\x2e\x34\xe3\xbc\x8d\xb8\x68\x5c\x5c\xb3\x76\x5a\x69\xbb\xd5\x32\x71\x93\xfd\xeb\x6e\xbb\xd5\xb4\x56\xea\xb9\x5b\x18\x64\x7c\xdc\x1c\xfc\xff\x15\x86\xd8\x4a\x5a\x6d\x2c\xaa\xe1\xa8\xb4\x56\xda\x59\x49\x5b\xad\xd4\xd3\x6a\xbb\x51\xe2\x5b\x7f\x6f\x65\xc0\x01\x00\x86\x61\xd4\xe5\xbd\xef\xbe\xfb\x58\xa3\xf7\xa8\x32\x31\x6d\x35\x7a\x6f\x25\xcf\xdd\x94\x69\xa5\x2f\x77\x5b\xee\x5f\x05\x0c\x84\x7a\xf1\xd1\x48\x6c\xb5\x9a\x37\x2a\x5f\xa3\xce\xb4\xba\x86\xd1\xca\xba\x47\xab\xed\x35\xeb\x67\xb3\x7a\xea\xc2\xb1\x63\xc7\x58\x22\x91\x00\x00\x74\x76\x76\xa2\xab\xab\x6b\x25\xc5\x23\xc3\xe8\xe8\x28\x6a\xb5\x1a\x9e\x7d\xf6\x59\x3e\x3c\x3c\xcc\xae\x5c\xb9\x12\xd5\xc7\x66\xbf\x7a\x58\x69\xb9\x56\xe6\xba\xd9\xbc\xe8\xf9\xff\x55\xc2\x40\x0d\x32\xeb\xcf\x32\x34\x5b\x4c\x6a\x86\x6c\xea\xc0\x45\xd5\xad\xc7\xe9\xf1\x71\x3a\x60\x54\x3f\xe2\xb8\x43\xb3\x81\x54\xdb\xd4\xfb\x8f\x03\x07\x0e\xb0\x9e\x9e\x1e\x74\x75\x75\xc1\x34\x4d\x24\x93\x49\x08\x21\x02\x2e\x43\xc4\x84\x10\x00\xc0\x88\xc8\xef\xa3\x10\x02\x44\x24\x7f\x99\xf7\xcb\x65\xbc\xda\x3f\x2d\x2d\x64\xb7\x70\xce\xb1\xbc\xbc\x0c\x00\xb8\x7e\xfd\x3a\x2c\xcb\xc2\x1b\x6f\xbc\xc1\xd3\xe9\x34\xab\x54\x2a\x8d\x16\xbf\x9a\x31\x91\x46\x63\x11\x85\x03\xad\x94\x69\x34\x1f\xef\xa5\x9e\x5f\x0b\x0c\xa1\x59\x68\xd2\x70\x2b\x79\x5a\x91\x16\x7a\x67\xe2\xf2\x35\xe3\xce\x51\x84\xd5\xa8\xed\xb8\xf6\x1b\xf6\x6f\xf3\xe6\xcd\x6c\xe3\xc6\x8d\xc8\xe7\xf3\xe8\xec\xec\x54\xf3\x48\x84\x66\x5e\x1c\xf3\xe2\x98\x12\x67\x90\x00\x4b\xd9\xcc\x48\xd9\xcc\x34\x6d\x32\x13\x82\x0c\x26\x
2018-10-19 18:57:23 +00:00
func web_uiAssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPng,
"web_ui/assets/favicon-196x196-57be5a82d3da06c261f9e4eb972a8a3a.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPng() (*asset, error) {
bytes, err := web_uiAssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/favicon-196x196-57be5a82d3da06c261f9e4eb972a8a3a.png", size: 37174, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x1b\x08\xe4\xf7\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x20\x00\x00\x00\x20\x08\x06\x00\x00\x00\x73\x7a\x7a\xf4\x00\x00\x07\xe2\x49\x44\x41\x54\x58\x85\xc5\x57\x7d\x6c\x53\xd7\x15\x3f\xf7\xbe\xe7\xe7\xef\x60\x3b\x01\xc7\xd8\xc4\x49\xec\x1a\xc7\x01\x4a\x02\x49\xa1\x59\x4b\x80\xb6\x34\x10\x4d\x81\xa9\x15\x43\xeb\x90\xd6\xb5\x9d\xa6\x6a\x12\x74\x0c\xa1\xa9\x63\x52\xa5\x69\x1d\xab\xb4\xae\x45\xa2\xea\xb4\xb5\xf4\x03\x28\xd0\x0f\x0a\xac\x45\x0d\xe4\x83\x26\x5d\xf9\x70\x4a\x82\xb3\x38\xae\xed\x24\x4e\x1c\xc7\x4e\xec\x38\xef\x39\x2f\xcf\xef\xbd\xbb\x3f\x5a\x67\x21\x24\x05\x86\xb6\xfd\xfe\xba\xba\xe7\xbe\xf3\xfb\xdd\x73\xcf\x3d\xe7\x3e\x80\xff\x33\xd0\x9d\x7e\xa0\x56\xab\xb1\xc9\x64\x02\x8d\x46\x03\x4a\xa5\x12\x0b\x82\x00\x99\x4c\x46\x4e\x26\x93\xc0\x71\x9c\xfc\x5f\x11\xa0\xd3\xe9\xf0\x32\x57\x99\x66\xbd\xc1\xf3\xd0\x72\x62\xde\xb8\x90\x63\x56\xe8\xa6\x28\x9b\x42\x42\x2a\x11\x13\x81\x55\x4a\x43\xa3\xda\x6c\x57\x37\x95\xb8\x70\x3e\xdd\xfd\xc9\x57\xfe\xeb\xe9\xf1\xf1\xf1\xdb\x12\xf3\x9d\x02\x94\x4a\x25\x7e\xb0\x72\x4d\xc1\x0e\xf5\xea\xe7\xee\x8d\xe5\xfd\x54\x25\x62\xd3\xad\x1c\x0a\x58\x66\x7d\x66\xee\xf0\x51\xb1\xe3\xc5\x46\xef\xe7\x91\x5b\x45\x65\x5e\x01\x36\x9b\x0d\x3f\x53\xbe\x65\xfb\xe6\x88\xe5\x65\xb5\x48\x15\xcc\xb4\x11\x20\x20\x21\x90\xb3\x94\x2c\x28\x64\x44\x53\x32\xa2\xd1\x2c\x57\x02\x25\xb3\xe7\x6d\xf1\xbd\x07\x3a\x4f\x1e\x8a\x46\xa3\xf3\x8a\xa0\xe7\x9a\x2c\x73\xbb\x99\x7d\x96\xfa\x03\xab\xc2\x79\xbf\xc8\x39\x96\x81\x40\x28\x9f\xbf\xe6\x5f\x98\x39\x1b\xc9\xe3\x5b\x47\xa4\x74\x78\x92\xe7\x79\x25\xa3\x64\xcc\x8a\xbc\x22\xeb\x84\xaa\xe6\x9e\xb8\xa6\xde\x31\xaa\x5e\x49\x11\x84\x19\x09\xeb\xcc\xa2\x66\xbd\xd9\x6c\xfe\x4b\x34\x1a\x15\x6e\x3b\x02\x4e\xa7\x93\x7e\xc1\xb6\xed\xe0\xbd\x51\xfd\xd3\xb9\xb9\x3e\x23\xef\xbb\x50\x3a\xb6\xff\xf2\x70\xcf\xb9\xde\xde\x5e\x36\x1a\x8d\x82\x28\x8a\x37\xec\xca\x6a\xb5\x62\xa7\xd3\xa9\x59\x65\x73\x6f\x58\x1f\xca\xdf\xaf\xce\x62\xdd\x21\xab\x6f\xe3\x07\x1f\x7f\x34\x24\x49\xd2\xbc\x11\xb8\x41\x40\x7e\x7e\x3e\xfe\xed\xea\x1f\xed\xde\x10\xce\x3f\x80\x00\x01\x01\x02\x6d\x25\xe3\x87\x4f\x33\xbd\x7b\x9a\x5b\x5a\x12\xa9\x54\xea\x96\x89\xa5\xd7\xeb\xf1\xf7\x6a\x6a\x0c\x66\x43\x81\xe1\xe4\x99\x8f\xc2\x13\x13\x13\x32\x45\x51\xd8\xe1\x70\x60\x84\x10\x04\x02\x01\x79\xa6\xa0\x1b\x04\x3c\x5d\xb7\xbd\xf2\xd9\x90\xa7\x9d\x26\x88\x21\x40\xa0\xc9\x99\x7a\xf5\x68\xfa\xd2\xde\xd6\xd6\xd6\xcc\xad\x88\xbf\x0b\x5b\x6b\xeb\x8a\x9e\x4b\x55\xfd\x1d\x13\xa0\xff\x5c\xd0\xb1\xe5\x68\xe3\xa9\x40\xce\x86\x73\x83\xb2\xb2\x32\xba\x21\x59\x7a\x80\x26\x88\x01\x00\xe8\xb4\x70\x67\x4f\x64\xbc\xfb\xee\x96\x1c\x00\x60\xad\xc1\xf5\x90\x69\x52\xe1\x31\xf0\x0a\xd7\x7d\xda\xd2\xcd\x33\x6d\xd3\x49\xf8\xb0\xa3\x6a\x8d\xbd\x57\xb5\x01\x00\x80\x65\xa4\xd4\x99\x82\xfe\x5d\xad\x1f\xde\x3d\x39\x00\xc0\x15\x18\xfc\xcc\xb1\x48\x7d\x11\x13\x44\x5f\xa1\x87\xcf\xde\x24\xc0\x62\xb1\xe0\xb5\x5c\xe1\x93\xb9\x8c\xbf\xb2\x24\xfd\x46\xcb\xa5\xb6\xc0\xec\x44\xfb\x4f\xc0\x30\x0c\x3e\xd7\xdc\x18\x19\x28\x1b\xda\x84\x10\x82\x60\x7b\x90\xd7\x6a\xb5\x38\x57\x1f\x68\x00\x00\xbb\xdd\xce\x94\x8c\xaa\x1f\x01\x00\x90\x11\x91\xbf\x54\xc7\xfe\xd6\xd7\xd7\x37\x2f\x39\xc3\x30\xd8\xe1\x70\x60\xa3\x36\x4f\x95\xe4\xd2\x7c\x20\x10\x90\xb3\xd9\xec\x4d\xeb\x97\x79\xca\x55\xbb\x16\x3f\xba\x8f\x26\x48\x75\x70\xf4\xc2\x0b\x2a\x85\x92\x79\xd9\xf5\xe3\x57\x44\x4c\x32\x7f\x1c\x3d\xb7\xf7\xea\xb5\x8e\x0c\x0d\x00\x50\x6a\x5c\x5c\xa4\x4f\x52\x8b\x01\x00\x46\x74\x42\xe0\x9f\x43\xc1\xc0\x6c\x67\x39\x18\x8d\x46\xbc\x63\xf5\x23\x0d\xf7\x84\xa9\x97\x14\x31\x52\x2c\xa8\x51\xd0\xbf\x7e\xc5\xae\x23\x5f\x7e\x7a\x7a\xf6\x2d\xf9\xa1\xb3\x76\xdb\xda\x1e\xc3\x6f\x00\x00\x76\xb8\x1e\x18\xc4\x04\xe1\x65\xbd\xba\x9f\x00\x00\x6c\x75\xd7\xb4\x5e\xbd\xd6\xf1\x1e\x0d\x00\x50\xa4\x30\xb9\x72\xe1\x4f\x68\xb3\xbe\xf8\x60\x9c\x9f\x4f\x40\x5d\x75\xed\x8a\xb2\x6e\x7c\x04\x13\xc2\x00\x00\x28\x27\x49\x69\x79\x0f\x3e\xbe\xa9\x7a\xdd\xaa\x33\x6d\x8d\xbe\xed\x55\x9b\x56\x7b\x90\xb9\xfa\xd4\xc4\x57\xef\x26\xd4\x42\x44\xa0\x64\x1e\xcb\x88\x8e\xab\x85\xfe\x29\x2c
2018-10-19 18:57:23 +00:00
func web_uiAssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93Png,
"web_ui/assets/favicon-32x32-646753a205c6a6db7f93d0d1ba30bd93.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93Png() (*asset, error) {
bytes, err := web_uiAssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/favicon-32x32-646753a205c6a6db7f93d0d1ba30bd93.png", size: 2075, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsFavicon672c31374646b24b235b9511857cdadePng = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x35\x03\xca\xfc\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\x00\x00\x02\xfc\x49\x44\x41\x54\x38\x8d\x7d\x53\x5d\x48\x53\x61\x18\x7e\xbf\xef\x7c\x3b\x3b\x3f\xcb\x2d\x97\x67\xb6\x8d\xb9\x74\xce\xf2\x27\xeb\xc6\x56\xf6\x43\x41\xd1\x2f\x15\x89\x20\x44\x48\x17\xdd\x94\x37\x51\x14\x12\x51\x89\x57\xde\x45\x42\x05\x11\x44\x3f\xf4\x43\x44\x57\x41\x65\x7f\x0a\x2a\x46\x62\x69\x66\x53\xf2\x87\xe9\x6c\xe7\xcc\xa9\xdb\xce\xce\xce\xce\xd7\x45\x28\x0a\xea\x7b\xf7\xc2\xf3\x3c\xf0\x3e\xef\xf3\x30\xb0\xcc\xf0\x3c\x8f\x6d\x36\x1b\x62\x59\x16\x69\x9a\x86\x28\xa5\x74\x29\x1c\x5a\xb4\x20\x84\x2b\xd7\x95\xfb\x6b\xac\x15\x67\x37\x42\xee\x1e\x4b\x8a\x71\x67\x30\x55\xc3\x9c\xfa\xe3\x5d\xb2\xff\xe9\xa3\xf1\xd6\x07\x93\x4a\x44\x5d\x52\x40\x10\x04\x7c\x65\x43\xd5\xe5\x23\x71\xdf\x75\x8d\x31\xd4\x41\x7b\xf2\x73\x18\xc7\x83\x3c\x32\x09\x9e\xb8\x10\x70\xc5\xcc\xa5\xc3\xd6\x64\xeb\xc9\xe0\x9d\x5d\x8a\xa2\x18\x73\x3c\x02\x00\x40\x08\xc1\x0d\xc5\x35\x0d\xfb\x67\xf2\xea\x3b\x24\xe5\xe1\x2d\xe5\xc3\xa5\xbe\xce\x5f\x13\xaa\xaa\x1a\x00\x00\x92\x24\x91\x03\x85\x81\xfd\x40\x41\x8b\x46\xa3\x60\xb7\xdb\xb1\x2c\xcb\x00\x00\xff\x85\x8e\x97\xec\xda\xde\x5b\x74\x83\x36\xef\x38\xdb\x6c\xb5\x5a\xc9\x72\xbe\x00\x00\x6c\x29\x2c\xf7\x7e\x2d\xb9\xf6\xb7\xb2\x70\xb3\x0f\x00\x80\x61\x59\x16\x37\x7a\xaa\x6e\x23\x06\x93\x0b\xe3\xcf\x8f\x85\x27\xc3\xa9\x95\x04\x80\x23\x2a\x38\x2d\x72\x87\x32\xd0\x36\x15\x8b\xa5\xb1\xc7\xe9\x16\xf2\xa7\x2d\x7b\xda\xf9\xd0\xc3\x3f\x23\xc3\x89\x39\x9c\xd7\xe1\x92\x4e\xaf\xdf\x5b\x7f\xd0\x1f\x38\x4c\x08\xc1\x00\x00\x65\x1e\xbf\xf3\xbe\xab\xf6\x6d\x8c\xd1\xfa\xef\xe7\x9c\xfa\x52\x96\xe7\xcf\x25\x6e\x2e\xdb\x43\x28\x62\x7f\x26\x42\xdf\xe6\xc8\x0c\xc3\xe0\x5a\xe7\x8e\x66\x29\x82\xaa\x28\xac\x01\xa6\x42\xdc\x5c\x93\x2e\xbb\xf8\x29\x2b\x74\x67\x94\x26\xfb\xc2\xfa\xec\x44\x4f\x96\xd2\x32\x3d\x91\x4c\x10\x84\x30\x06\x0a\xb0\xf0\xcd\x08\x21\xc0\x26\x06\x03\x18\x00\x08\x0c\x5e\x14\x08\xa4\x59\x56\x87\x8c\x11\x8a\x84\x47\x65\x3d\x92\x50\x89\x43\x4d\xab\x9a\xc1\x70\x36\x51\x3b\x41\x36\x9e\x8f\xf2\xe9\xe0\xbb\x50\xf7\x47\x00\x00\xc3\x30\xe8\x24\x9f\x6e\x5d\xe5\xb4\x27\x7b\x2d\xb1\x9b\xaf\x3b\x5b\x3e\xbc\x1a\x6d\x7f\xc1\x10\x82\x6a\xf9\x8a\xa6\x84\x57\xe8\xaa\x4c\xb9\xeb\x3a\xd1\xd8\x4b\x10\x45\x11\xbf\xde\x7a\xf9\x7d\xdb\xa6\xab\x83\xb9\x39\x12\xb7\x92\x7f\x08\x21\xbc\xde\x5f\xc4\x9d\x29\x39\x58\xed\x2f\xf0\x71\x00\x80\x71\x3c\x1e\x37\x9e\x65\x7a\x9a\x6c\x49\x92\x5f\x9f\x77\xb4\xd1\x6c\x36\xe3\xe5\x04\x28\xa5\xc6\x1a\x62\x71\x9f\x41\x15\xf7\x9c\xe6\x6c\x2f\x00\x18\x0c\x00\xc0\xe0\x54\x68\xa8\xa8\xb0\xc8\xb1\x5b\x59\x5b\x57\xec\xf2\x39\xfa\x60\xb2\x2d\x3a\x1b\x9b\x8f\xac\xd9\x6c\xc6\x87\x7c\x81\xad\xa5\x52\x7e\x41\x4b\xb0\xab\xbb\x25\x6b\xec\xe6\xf7\xa1\xfe\x89\x4c\x26\x43\xe7\xa3\x2c\xe5\xe4\xb0\x57\x8a\xab\x9b\x76\x87\x1d\xe7\x74\x4c\xa7\xfb\x78\xe5\xcd\xb0\x26\x07\x79\x6c\x12\x4a\xc8\xda\x80\x6b\x96\xdb\x36\xb2\x3a\xd5\x7e\xf2\xf7\xed\x4a\x59\x96\xe7\xa3\xbc\xa8\x4c\x3c\xcf\xe3\x7d\xa5\xdb\x02\x27\x84\x4d\x75\xde\x19\x61\xa7\x25\x45\xb2\x75\x4c\xf5\x88\xa8\x0d\x74\xb0\xe3\x4f\x1e\x8f\x7d\xbe\xfb\x7b\x68\x70\x7a\x91\x2f\x4b\xdd\x6a\x32\x99\xb0\xc3\xe1\x20\xa2\x28\x72\xba\xae\xeb\xd1\x68\x54\x5d\x58\xa0\x85\xf3\x0f\x37\x93\x32\x03\xb1\xf9\x4d\x7e\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\x01\x00\x00\xff\xff\xb0\x22\x7d\xd3\x35\x03\x00\x00")
2018-10-19 18:57:23 +00:00
func web_uiAssetsFavicon672c31374646b24b235b9511857cdadePngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsFavicon672c31374646b24b235b9511857cdadePng,
"web_ui/assets/favicon-672c31374646b24b235b9511857cdade.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsFavicon672c31374646b24b235b9511857cdadePng() (*asset, error) {
bytes, err := web_uiAssetsFavicon672c31374646b24b235b9511857cdadePngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/favicon-672c31374646b24b235b9511857cdade.png", size: 821, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsFavicon96x966f8f8393df02b51582417746da41b274Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\xbb\x27\x44\xd8\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x60\x00\x00\x00\x60\x08\x06\x00\x00\x00\xe2\x98\x77\x38\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xed\x7d\x79\x70\x1c\xd7\x99\xdf\xef\xbd\xee\x99\xe9\xb9\x0f\xcc\x00\x83\xc1\x00\x18\xe2\x22\x00\xf1\x00\x6f\x52\x92\x25\x48\xa6\x68\x51\xa2\x69\x59\xd6\xae\xb5\x8e\x77\x1d\xbb\xca\x49\x65\x8f\x6c\x5c\xa9\x4d\xe2\x4a\x25\xae\xad\xc4\xe5\x4a\x39\xc9\x46\xbb\xde\xec\xa6\x9c\x2d\x5f\x6b\xaf\xe5\x95\x25\xaf\x24\xeb\xa4\x64\x91\x92\x45\x90\x22\x41\x88\x24\x48\x10\x04\x71\x0c\x0e\x0e\x06\x83\x99\x9e\xbb\xbb\xa7\xe7\xbd\xfc\x81\x19\x60\x00\x02\x24\x40\x02\x94\x76\xe3\xaf\xaa\xd1\xbf\x19\xbc\xf9\xde\xfd\xeb\xef\x7d\xef\x68\xe0\x37\xf2\xb1\x10\xba\x02\xde\x68\xfd\xeb\x85\xff\xd1\x0b\xad\xb8\xb0\x4a\x8c\x35\xe2\xb5\xea\xff\xff\x02\x8b\xb8\x51\x36\xba\xb5\xfe\xa6\x07\xfc\x46\x3e\x3e\x42\x4a\x77\x0a\x80\x2d\xb9\xa3\x84\x2b\xff\xbf\x34\x2c\xd6\x1b\x4b\x92\x04\xaf\xd7\x0b\x9f\xcf\x07\xaf\xd7\x0b\xbb\xdd\x0e\xbb\xdd\x4e\x45\x51\xa4\x82\x20\x80\x73\x4e\x01\x80\x10\x42\x39\xe7\x20\x84\xb0\xf2\x5d\x55\x55\x96\xcf\xe7\x91\x4a\xa5\x98\x2c\xcb\x98\x99\x99\xc1\xb5\x6b\xd7\x2a\xf3\xb5\x52\x5e\x3e\x32\x5c\x59\x01\x1f\x89\x50\x4a\xe1\xf7\xfb\x11\x0c\x06\xd1\xd8\xd8\x48\xdd\x6e\x37\x05\x87\x28\x32\x22\xd9\x54\xc1\xeb\xce\x8b\x4d\x76\x45\x6c\x70\x28\x42\xa3\xa4\x53\x8f\xb9\x20\xb8\xc4\x22\x91\x28\x87\x91\x13\xe8\x45\xca\x15\x45\x64\xa9\xbc\x81\xc5\xb3\xa6\xe2\xf5\x94\xa4\x8f\xca\x92\x3e\x9a\x34\xeb\x53\x9a\xc0\x73\x20\xd0\xf2\xf9\x3c\x0b\x87\xc3\x2c\x1c\x0e\xe3\xfa\xf5\xeb\x50\x14\x65\xc3\x1a\xd0\x5a\xf1\xd2\x1e\x70\xd7\xc4\xe3\xf1\xd0\x96\x96\x16\xb4\xb5\xb5\x51\xb3\xd9\x2c\x1a\x18\xb5\xd5\xa4\x8d\xed\x0d\x09\xd3\x03\x81\x94\x69\x5f\x55\xd6\xb0\x4d\x2a\xd0\x00\x01\x31\x92\x5b\xe8\x2a\xf5\x80\x79\x0c\x02\x56\x10\x78\x4c\x36\xeb\x03\xd7\xed\xda\x99\x09\xb7\x72\x7c\xd2\xa9\xf6\xe6\x0c\x2c\xae\x17\x75\x6d\x74\x74\x94\x5d\xbd\x7a\x15\xe3\xe3\xe3\x77\x35\xcf\xcb\xc9\x72\x3d\x60\xa3\xa8\x06\x84\x10\xba\x69\xd3\x26\x6c\xd9\xb2\x05\xd5\xd5\xd5\xa2\x08\x6a\x6b\x48\x48\x7b\xdb\x66\x2c\x9f\x0d\xc5\xa5\x43\xe6\x02\x6d\x20\x20\x94\x57\x24\x6c\x55\x78\x49\x05\x2c\xc5\x1c\x1c\x3a\xe5\xf1\x88\x43\x7b\xef\x8a\x2f\xf7\x0f\x43\xbe\xfc\x1b\x8a\x81\xc5\x53\xa9\x94\x76\xf9\xf2\x65\xd6\xdf\xdf\x0f\x5d\xd7\xd7\x23\x8f\x77\xd4\x03\x36\x4c\x08\x21\x68\x6d\x6d\xc5\x8e\x1d\x3b\xa8\xd3\xe1\x34\xda\x55\x21\xb0\xe5\xba\xf5\xe9\xce\x69\xeb\x3f\xb3\xa9\x42\x3b\xe1\xb7\x6a\xe3\xeb\x27\x9c\x00\x3a\x65\xf1\x21\x6f\xfe\xf9\xf3\x81\xcc\xf7\x22\x0e\xed\x62\x5e\x55\x72\x03\x03\x03\xec\xf4\xe9\xd3\xff\xf4\x28\xa8\xae\xae\x8e\xee\xdd\xbb\x17\x5e\xaf\x57\x72\x29\x86\xd0\x9e\xb0\xfd\x5f\x6d\x8e\x5a\xbe\x60\x60\xd4\xb3\x5e\x71\xdc\xaa\x07\xac\x84\x19\xb8\x36\xe5\x54\x8f\x7d\xd0\x90\x7e\x66\xcc\xad\xf4\xe4\x95\x7c\xae\xaf\xaf\x8f\x5d\xb8\x70\xe1\xae\x51\xd3\x86\x52\xd0\x83\x0f\x3e\x48\x5b\x5b\x5b\x8d\x96\xa2\x58\xbd\x77\xcc\xf1\x07\x5b\xaf\x5b\xff\x85\xc8\xa8\x6b\x4d\xf4\xb2\x1a\x7c\x9b\x15\x50\xc6\x20\xd0\xc3\x6e\xf5\x95\xf7\x36\xc9\xdf\x9c\xb1\x15\x2e\xce\xc6\x67\x95\x13\x27\x4e\x60\x66\x66\xa6\xb2\x4c\x36\xa4\x07\x08\xa5\x0f\x95\x1c\x40\x2a\x3e\x2f\xfd\x7e\x55\xb8\xb1\xb1\x11\x47\x8f\x1e\x15\x6a\x6b\xfc\xf6\x2d\xd3\xb6\xa7\x3e\xdd\xef\xfd\x61\x7d\x42\x7a\x8c\x72\x22\x81\x60\xae\xf4\xca\xa1\xef\x10\x2f\x24\xf6\xf6\xff\x12\x10\xea\xca\x8b\x9b\xef\x99\xb6\xfe\xae\xa5\x40\xed\xc9\x1a\xf1\x72\x53\x7b\x6b\xce\x60\x30\xb0\xa9\xa9\x29\x60\x1d\xdb\xca\x52\xbc\xee\xe4\x7b\xdf\x7d\xf7\xd1\xce\xce\x4e\xa3\x43\x15\x9b\x3e\x39\xe8\xfe\x66\x63\x42\x3a\x0a\x80\x92\x52\xbc\x1c\x1c\xeb\x8d\xd7\xbb\x78\x92\x92\x7e\xe9\xed\xd6\xc4\x9f\x8c\xb9\x95\x13\xd7\x23\xd7\x73\x2f\xbd\xf4\xd2\x86\x51\x52\xb9\x07\x50\x2c\x34\x26\x5e\xf1\xf9\x66\xb8\xfc\x3b\x0e\x00\x76\xbb\x9d\x1e\x3e\x7c\x98\x6c\xda\xb4\xc9\xd2\x32\x6b\x79\xec\xe8\x45\xef\xdf\x7a\xb3\xc6\xbd\x04\x84\x60\xa1\xa8\x70\x3b\x18\xe0\x60\x04\x4c\x31\xb0\x7c\x4a\x2a\x26\x53\x92\x2e\xa7\xa4\x62\x32\x6b\x2c\x66\x54\x03\x53\x19\xe1\x8c\x70\x50\xca\x4b\x15\x7d\x5b
2018-10-19 18:57:23 +00:00
func web_uiAssetsFavicon96x966f8f8393df02b51582417746da41b274PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsFavicon96x966f8f8393df02b51582417746da41b274Png,
"web_ui/assets/favicon-96x96-6f8f8393df02b51582417746da41b274.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsFavicon96x966f8f8393df02b51582417746da41b274Png() (*asset, error) {
bytes, err := web_uiAssetsFavicon96x966f8f8393df02b51582417746da41b274PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/favicon-96x96-6f8f8393df02b51582417746da41b274.png", size: 10171, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsFaviconIco = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x0b\x50\x93\xd7\xba\x3f\xfc\x1a\xd3\x48\x29\x07\xa8\xa5\xd4\x5a\x04\x44\x84\x00\xe1\x16\x62\x08\x21\x24\x10\x20\xdc\x62\x80\x00\x81\x04\x08\x49\x48\x56\x20\xdc\x21\x84\x10\xee\xd1\x5a\x6b\xbd\x15\x2f\x6d\xad\xf5\xd2\x6d\x6d\x6b\xdd\xd6\x5a\xab\x6e\xb7\x5a\x8e\xb5\x6a\xbb\xad\x5a\x4b\x9d\x4e\xbf\x4e\x87\xd3\xd3\xe9\xde\xd3\xe9\x78\x3c\x4e\x8f\xc3\xf1\x30\xbe\xdf\x3c\x6f\xf2\x62\x08\x09\x06\xd4\xb6\xfb\x3f\xfb\x99\x59\xb3\xde\x24\xef\xba\x3c\xcf\x7a\xd6\xef\x79\x9e\xb5\xd6\xfb\x06\xc3\xe6\x61\x8f\x61\xfe\xfe\x90\x87\x62\x75\x54\x0c\x93\x61\x18\xb6\x68\x91\xed\xf3\xda\xc7\x31\xec\x0c\x15\xc3\x42\x43\x6d\x9f\xdf\xf1\xc7\x30\x91\x2f\x86\x25\x24\xd8\x3f\x2f\xc7\xb0\x1b\xc1\x18\x96\x9e\x6e\xfb\x4c\x17\x62\xd8\xf6\x2c\x0c\xa3\x63\x18\xe6\x8f\x61\x58\x28\x66\xfb\x7e\x36\xf4\xd8\x63\x8f\x51\x82\x82\x82\x68\x91\x91\x91\xbe\xcb\x96\x2d\xf3\x5e\xb8\x70\x21\xc5\x93\x72\x8f\x3f\xfe\x38\x25\x73\x45\x21\xb7\x43\xf0\xe6\xfe\x3e\xe6\xd9\x1f\x87\x62\x2e\xdf\x1e\x8c\xfd\xfc\x96\x85\x73\xec\x92\x9a\x3f\x60\x5c\x16\xb6\xdc\xd7\x5d\xd9\xa7\x9f\x0e\xa4\x35\x08\x86\x37\x5b\xe9\x5f\x4d\x0c\x45\x5f\xb9\xd1\x92\xf4\xd6\xfe\xaa\xd8\x35\x56\x75\xfc\xa6\xf5\x96\xa4\x93\xe7\xac\x91\x5f\xe3\x3d\x9c\xe3\xe7\x9f\x7a\xea\xa9\x69\x7d\x79\xe2\x89\x27\x28\x4d\xfc\x57\xb6\xc3\x3d\x75\xcc\x57\xb7\x07\x3f\x1b\xe6\xef\xf8\xfb\x82\x05\x0b\x28\xa9\x91\x12\xae\x20\xaa\x24\x1d\x78\x8b\x88\x88\xf0\xa1\xd1\x68\x93\xf5\xe4\xb3\xab\x72\xa1\xac\x8e\x35\xbc\x1e\xee\x9d\x89\xc7\xa4\x68\x5e\xf8\x20\xe3\xd2\x2d\x76\x74\x3a\x9d\x6c\xdb\x9c\x72\xe4\x54\x7f\xc2\xa7\xdf\x05\x3e\xbd\xc8\x6b\xa6\xb2\xf3\xe6\xcd\xa3\x44\x46\xd0\xbd\xf2\x63\x90\x2c\x7c\x59\x04\xdc\x4b\x89\x08\xa7\xfb\x5b\xa3\xae\x8d\xab\x56\xac\x1d\x74\xbc\x97\x1e\x1e\xb3\xb8\x84\xdb\x64\xcd\xe1\xc8\xa4\x5e\x5e\x5e\x14\xe8\x57\x62\x14\x27\xb4\x97\x75\xfa\x1b\x75\x61\xbb\xa8\x27\xf9\xc4\xd5\xd8\x88\xa4\x20\x76\x54\x06\x63\x55\xe4\x75\x3c\x2f\x5e\x2d\x25\xcb\x52\xa9\x54\x4a\x25\xdb\x7a\x50\xbe\x64\x3b\x2e\x0f\xde\x36\xb1\x32\x5b\xc6\x32\xa5\xef\x3f\x50\x92\x59\xcb\xab\x8c\x5b\xd5\x9b\x14\x9d\x1a\xa4\x8c\x7b\xd1\xfa\xcc\x53\x8b\x7d\x58\xf4\xf4\x68\x28\x9f\x9f\xa0\x99\x2c\x3f\x7f\xfe\x7c\x4a\x45\xe2\xe0\x01\xa2\xfc\x92\x6d\x78\x26\x77\x65\x42\xeb\x8a\xfd\xfb\x64\x99\x7a\x7e\xbb\xf0\x8d\x57\x73\xf8\x92\x88\x86\x8c\x97\xd7\x2d\x79\x2e\xc4\x37\x2c\x34\xdc\xc7\x4a\xbf\x36\xae\xe5\xbe\x64\x75\xec\xff\x73\xcf\x84\x06\x66\xd3\x35\x16\x4e\x44\xbe\x18\xfa\x03\xdf\x45\x04\xc7\x2e\xee\x59\x71\xf2\x6c\x89\x40\xc7\xef\x4b\xfa\xf8\x52\x44\x48\xec\x22\x18\x07\x13\xfb\xf0\xb1\xfe\xc4\x4f\xbe\x0f\x09\x0e\xf5\x9e\x49\x7e\x44\xbd\x8b\x9f\xf3\x92\xf3\x8c\xc8\xf1\x5e\x41\x4c\x31\x0f\xc6\xaf\x21\x6d\xdb\x56\x3f\x3f\x3f\xea\x4c\xe5\xe3\x97\x27\x87\x0e\xc6\x7c\xf1\x73\xe2\xf2\xd4\x70\x47\x79\xd5\xb2\x36\xac\x86\x3a\x5a\xd3\x76\xbd\x19\x1f\xc3\x5c\x0c\x32\x27\x7f\x0f\x0c\x0c\xa4\x4a\x52\x6b\xc4\x12\x6e\x8d\x08\xc6\xd0\xae\x83\x53\xf4\xc4\xdb\xdb\x9b\xa2\x4c\x5a\x63\xb1\xd2\xbf\xba\x33\x18\xf3\xc5\xad\x2e\xfe\x81\xa3\x8d\xe9\x5b\x36\xb7\x65\xec\xdc\xd1\xc3\x3e\x79\x0d\xea\xee\x66\x1f\x3b\x3b\xd3\x5c\x82\xba\x13\xc2\x78\x74\x94\xb8\x6d\xb8\x3f\xf1\x93\xd1\xa1\xe8\x2b\x37\x07\x19\x97\xfe\x61\x66\x7d\x74\xaa\x28\xa6\x0d\x05\x2c\x0c\x9c\x51\xbf\x1c\x09\xe6\x62\x40\x40\x00\xc5\xdf\xdf\x9f\x02\xe4\xee\x3e\x1c\xc7\xb0\x71\x01\x86\x8d\xf9\x61\xd8\x05\x1c\xc3\xae\xfc\x1f\x86\xed\xc6\x31\x6c\xd7\xff\x60\xd8\xa9\x6a\x0c\x3b\x55\x86\x61\xbb\xff\xc7\xf6\x1d\xfc\x06\xf7\xdc\xf4\xb3\x95\x81\xb2\x30\x09\x16\x61\x18\x96\xe0\x19\xce\x50\x5c\x5c\x3b\xe6\x14\xd0\x3d\xe8\x3b\xcc\x53\xc7\xef\x3d\xb8\x76\x57\x3f\x16\x14\x14\x44\x4d\x17\x64\x04\xd5\xac\x6c\x91\xb6\x14\xae\xb7\xb4\x17\x6c\x5d\xd7\x26\xd9\x3c\xa8\x93\x58\x54\x79\xd9\x62\x7a\x44\x44\x04\x0d\xda\xf5\xa0\xef\x53\x52\x60\x60\x20\xa5\xb4\xa0\x9a\x63\x12\xee\x3b\x38\xc8\xb8\xf4\xeb\xaa\x88\xaf\x71\x98\x4b\xb6\xdc\x76\x6d\x8d\xba\x76\xa7\x3b\xf5\xf0\x79\x75\x61\x87\x6c\xf9\xf2\xe5\x34\x57\xf5\xb8\xea\x3f\x83\x11\xeb\xdd\x9a\x3f\xbc\x6e\x28\xea\xea\xb8\xd5\x5e\xa7\x95\xfe\xd5\x78\x7f\xe2\xd9\x6b\x3d\xec\xbf\x9c\xe9\x65\x9d\xb9\
2018-10-19 18:57:23 +00:00
func web_uiAssetsFaviconIcoBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsFaviconIco,
"web_ui/assets/favicon.ico",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsFaviconIco() (*asset, error) {
bytes, err := web_uiAssetsFaviconIcoBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/favicon.ico", size: 34494, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsLoadingCylonPinkSvg = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\xd3\xcf\x6b\xdb\x30\x14\x07\xf0\x7b\xfe\x8a\xc7\xdb\x65\xbb\xd8\xb2\xe2\x05\xb3\x58\x81\x6d\x97\x5d\xb2\xc3\x56\x72\x57\xec\x17\x5b\xd4\x96\x84\xf4\x6c\x27\xfd\xeb\x8b\xdd\x1f\x94\x52\xe8\x2d\xed\x41\x42\x42\x7c\xbf\x48\x1f\x50\x19\xc7\x06\xce\x7d\x67\xa3\xc2\x96\xd9\xff\x48\xd3\x69\x9a\x92\x69\x9d\xb8\xd0\xa4\x52\x08\x91\xc6\xb1\x41\x18\x0d\x4d\xbf\xdc\x59\xa1\x80\x2c\x87\xb5\x84\xac\x40\x98\x4c\xcd\xad\xc2\xb5\x44\x68\xc9\x34\x2d\x2b\xcc\x11\x4e\xa6\xeb\x14\x7e\xa9\x37\x85\x3e\x4a\x04\x1f\x28\x52\x18\xe9\x67\xf4\x54\xf1\x3f\xcd\xc6\x29\xb4\xce\x12\xee\x56\x00\xa5\xd7\xdc\x82\xf3\xba\x32\x7c\x51\x28\x92\x02\x81\x83\xb6\xf1\xe4\x42\xaf\x70\x59\x76\x9a\xe9\xab\x00\xf1\x0d\xa1\x56\xb8\x97\xf3\x0d\x0e\x59\x01\x7f\x36\x70\xc8\xf2\xbb\xa5\x07\xa0\xd4\xd6\xf4\x9a\xe9\xe6\x29\x0d\x9a\x39\x98\xe3\xc0\xf4\x57\xf7\xf4\xd8\x35\x1f\x20\xf0\xc5\xd3\x8b\x72\x84\x51\x77\x03\xc5\xf9\x75\x62\x0b\x32\x9f\x67\x01\x02\xa1\x1e\x82\x42\x19\x11\x8e\xd4\x18\xab\x50\x20\x04\xf2\xa4\xf9\xb7\x1b\x2c\x2b\x34\xb6\xa6\x93\xb1\x66\xee\xb8\xa5\xcb\x7f\xdf\x19\xbb\xf4\x24\x12\x1e\x46\x0e\x22\x29\xb6\xaf\xf6\x08\x95\xee\xaa\xbd\xab\x49\x61\x5c\x32\x08\xe9\xc2\x91\xce\x1e\x6f\xc2\x7c\x7f\x17\x46\x3c\xc3\x14\xd7\x87\x49\xb2\xf8\x71\x36\xf2\xb3\xe3\xc8\x6b\xe1\x94\xf3\x77\xdd\xad\xee\x03\x00\x00\xff\xff\x70\xd5\x10\x78\xd7\x03\x00\x00")
2018-10-19 18:57:23 +00:00
func web_uiAssetsLoadingCylonPinkSvgBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsLoadingCylonPinkSvg,
"web_ui/assets/loading-cylon-pink.svg",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsLoadingCylonPinkSvg() (*asset, error) {
bytes, err := web_uiAssetsLoadingCylonPinkSvgBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/loading-cylon-pink.svg", size: 983, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x3c\x40\xc3\xbf\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x90\x00\x00\x00\x90\x08\x06\x00\x00\x00\xe7\x46\xe2\xb8\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xec\xbd\x69\x90\x1c\x47\x76\x26\xf8\x3d\x8f\xc8\xc8\xb3\xb2\xb2\x32\x13\x75\x5f\x59\x28\x14\x0a\x27\x89\xb3\x41\x80\x40\x93\x68\x76\x83\x0d\x92\xad\x6e\xb5\x34\x23\x69\xa6\xa5\xde\x59\x8d\x64\x63\x2b\x8d\x6c\x4c\xbb\xa3\x95\xc9\xd6\xc6\x34\x63\x6b\xda\x31\x4d\x9b\x56\x1a\x69\x65\x52\x6b\xa5\xd6\x31\xad\xab\x4f\xb5\xd8\x64\xf3\x26\x01\x82\x47\x93\xe0\x01\xa0\x0a\xc4\x51\x55\x40\xdd\x57\x56\x56\xde\x19\x19\xe1\x6f\x7f\x64\x44\x66\x64\x56\x66\xa1\x00\xe2\xd2\xb6\xbc\xac\x2c\x22\x3c\xbe\x74\x7f\xee\xfe\xe2\xf9\xf3\xe7\xcf\xdd\x09\x80\x00\x20\xad\x6b\x6d\x90\xd6\x55\xd4\xc4\xd5\x3e\xd7\x62\x36\x92\xce\xad\x62\xd6\x7b\x7f\xb7\x31\xff\x1c\x1c\xe1\x76\x57\xd6\x46\xd2\xfb\xa7\x82\x11\x8e\x77\xa2\x4e\xdc\x8f\x2c\x86\x6a\xc0\x76\x70\x7e\x7d\xb5\x92\xc1\x7e\xe7\x8c\xbf\x1b\x12\xe6\x7e\x94\x3e\xf7\x1b\x4d\xf7\x1b\xe6\x9e\x86\x5a\xe2\xea\x11\x7b\xb7\x30\xf7\x83\x14\xbc\x2f\x31\xb6\x04\x92\x1b\xb8\xd6\x26\x5a\x4f\x32\xd5\xcb\xb4\x9e\x34\x5b\x0f\xe3\x7c\xae\x27\xed\xee\x05\xa6\x11\xb6\x5e\xf8\x51\xc6\xdc\x17\xe1\xbe\xf9\xba\x1c\x98\x5a\xbd\xa0\xf6\xb7\x3f\xb2\x18\x15\x6b\x25\x4c\xbd\x67\x34\xc0\xd4\x72\xe4\x7a\xa3\xb9\x9b\xc1\xd4\xe6\x71\xaf\x31\xf6\xfd\x7a\xdd\xdf\x8f\x24\x86\xea\x44\xde\xae\x50\xaf\xeb\xbb\x6f\x30\xdb\xb6\x6d\x13\x81\x40\x00\x2d\x2d\x2d\x65\x40\x30\x18\x44\x30\x18\xac\xfa\xd1\xd2\xd2\x12\xf2\xf9\x7c\xf9\x79\x75\x75\x15\xc9\x64\x12\xa3\xa3\xa3\xeb\xe5\x77\x5f\x97\xfd\x76\x62\xa8\x4e\xe4\xcd\x48\xa0\x3b\x89\xa9\x27\xe5\xea\x49\x85\xba\x57\x55\x55\x61\x18\x86\xdc\xbb\x77\xaf\x68\x69\x69\x41\x24\x12\x41\x73\x73\x33\x88\x48\x38\xf2\x72\xde\x83\x99\x05\x51\xdd\x6f\xca\xa6\x51\x32\x33\x88\x48\xda\x71\xc5\x62\x51\x66\x32\x19\xac\xac\xac\x20\x1e\x8f\xe3\xdd\x77\xdf\x5d\x4f\x57\x58\xaf\x3c\xff\x24\x31\xb5\x4a\x74\x6d\xb8\xdf\x86\x85\x0d\x31\x2e\x97\x0b\xe1\x70\x18\xb1\x58\x0c\x1d\x1d\x1d\x88\x46\xa3\x20\x22\x61\x31\x45\xa9\xab\x66\xa8\xaa\x24\xcd\x6d\x90\xcf\x53\x54\x42\xc1\xbc\x12\xf5\x18\x22\xec\x36\x44\xc8\xa7\x2b\x21\xcd\x24\xbf\xc2\xa4\x09\x49\x1a\x00\x48\x62\xc3\x14\xac\xe7\x55\xb9\x9a\x77\xc9\x64\xde\x25\x13\x39\x97\x5c\x4a\x6b\x66\x3c\xa7\x99\x89\x82\x22\xb3\xa6\x80\xce\x60\x03\x80\xe1\x60\x2c\xb9\xbc\xbc\x8c\xf1\xf1\x71\xcc\xcc\xcc\x60\x61\x61\x01\x52\xde\xe8\xe3\xfe\xa7\x19\x6e\xa6\x0b\xdb\xa8\x04\x91\x0d\xde\x6d\x14\xd3\x48\xaa\xac\xa1\x83\x88\x44\x4f\x4f\x0f\x06\x07\x07\xd1\xdd\xdd\x0d\x8f\xc7\x63\x4b\x15\x15\x0c\xcd\x25\xc9\x13\xca\xa9\xd1\xd6\x94\x36\x1c\x4d\xbb\x76\x45\xb2\xae\xe1\xe6\xbc\x3a\xe8\x29\x8a\x76\x55\x52\x50\x30\x3c\x25\x3c\x09\x80\x4b\xa9\x32\x50\x92\x42\x6c\xc7\xa0\x54\x4d\x6c\x97\x5d\x4a\x42\xde\x10\x9c\xc8\xb9\xcc\x99\x94\xc7\x9c\x58\xf4\x17\x2f\x2c\x05\x8a\xe7\x17\x02\xfa\xc5\x84\xd7\x88\x1b\x82\xf3\x20\xe8\x00\x0c\x00\x32\x93\xc9\xc8\xf9\xf9\x79\x8c\x8c\x8c\x60\x76\x76\x16\xcc\x7c\xcb\x92\xf5\x7e\xc3\x50\x0d\xb0\xb6\x11\x9d\x0d\xe6\x0c\xb5\x0c\xb0\x9e\xe4\x58\x2f\x9d\x9b\xc1\x94\x43\x38\x1c\xc6\xd0\xd0\x10\xfa\xfb\xfb\xd1\xd4\xd4\x64\x4b\x18\x55\x91\xf0\x85\xb3\xae\xce\xee\x84\xfb\xc1\xde\x15\xcf\x27\x37\xa5\xb5\xbd\xbe\xa2\x18\x24\x86\x0f\x20\x80\x19\x04\x02\x97\xf9\x81\x01\xa2\x12\x7b\x70\xe9\xbe\x1e\x86\x40\x16\x33\x55\x30\x00\x55\xd8\x0a\x5c\x4a\x9e\x90\xce\xba\xe4\x95\xf9\x26\xfd\xec\x64\x28\x7f\x6a\x3a\x54\x38\xbb\xec\x2b\xce\x98\xc4\x79\x94\x24\x94\x91\x4e\xa7\xe5\xd8\xd8\x18\x46\x46\x46\x90\x4c\x26\x37\x52\xdc\xfb\x3a\xdc\x09\x25\xfa\x46\x12\xe4\x46\x18\x27\x13\x95\xdf\x29\x8a\x22\x3a\x3b\x3b\xb1\x77\xef\x5e\x44\xa3\x51\xa1\x28\x8a\x60\x66\x4d\x61\xf2\x6d\x4a\x6b\xfd\x83\x4b\xde\xe3\x03\xcb\xde\xcf\x36\xe7\xd4\xdd\x0a\x23\x04\x26\x87\xe0\xc0\xc7\xbf\x87\xf5\x4c\x8e\x2b\xd6\xc1\x80\xa5\x49\x48\x26\x7c\xc5\xb3\x13\xe1\xfc\xf3\x97\x36\x65\x5f\x58\xf2\x17\xaf\x9b\xc4\x59\x00\xba\x94\x52\xce\xcc\xcc\xc8\x8b\x17\x2f\x62\x62\x62\xa2\xc4\xc0\xd5\x61\xbd\x7a\xb9\x6f\x30\xf7\xbd\x21\x51\x55\x5
2018-10-19 18:57:23 +00:00
func web_uiAssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng,
"web_ui/assets/mstile-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng() (*asset, error) {
bytes, err := web_uiAssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/mstile-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png", size: 20027, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPng = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x2b\x40\xd4\xbf\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x01\x0e\x00\x00\x01\x0e\x08\x06\x00\x00\x00\x78\xb1\xf9\xa5\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xd4\xbd\x69\x90\x24\xc7\x75\x26\xf8\xb9\x67\x64\x64\x56\x56\x56\x76\x76\xdd\x7d\x1f\xec\x1b\x40\xa3\x01\x36\x71\x11\x60\x13\x4d\x11\xa4\x00\x88\x12\x48\xd1\x48\x89\x43\xea\x22\x60\xab\x5d\x1b\x1b\x1b\xb3\x5d\x93\xc9\xd6\xc6\xf4\x63\x77\x6c\x6d\x7f\xec\xef\xb5\x05\x45\xdd\xd4\x90\x5a\x91\x14\x25\x82\x04\x41\x02\x24\x0e\x02\x20\xae\x06\x40\xa0\x81\xbe\x0b\x8d\x3e\xaa\xeb\x3e\xb2\xb2\xb2\x32\x23\xdc\xf7\x47\x84\x47\x7a\xbc\x74\xf7\x88\x6a\x60\x66\x77\xdd\xac\x2a\x23\xdc\x9f\x3f\x7f\xfe\xc2\xfd\x5d\xee\xe1\x01\x00\x3c\xfe\xd3\x93\x9e\xc7\x49\x3e\x85\x31\xd5\xa7\xc9\x56\x6e\x6a\xc7\xd4\xae\x0b\x5f\x56\xfb\x26\xbc\x94\x6e\x5b\x1f\x5d\xf4\xe6\xa1\x8b\xd6\x33\xfd\xe5\xc5\x9d\x45\x9f\xeb\x39\xae\xe7\x59\xe5\x69\xdf\x46\xff\x07\xf9\xa5\xf8\xf3\xb4\x49\x61\xb2\xf0\xe7\x19\x5b\xb6\x36\x5d\xf8\x5d\x30\x36\xba\xf3\xe2\xcb\x83\xe3\x7a\xe9\x36\xb5\x6b\x2a\x33\xa6\xeb\x1d\x5c\x79\x1e\x38\xc5\x9f\x37\xb9\x26\x60\x1e\x5a\xfe\x6b\x25\x13\x93\x5d\x70\xa6\xeb\xf5\x0a\xac\xac\x01\x90\x55\xdf\x05\x93\x97\x9f\x79\xda\xcc\x3b\xa1\xaf\xa7\x9d\xac\x3a\x59\x7d\xcf\x3b\xe9\x6c\x6d\xad\x77\xe2\xe6\x4d\xd7\xc3\x4f\x13\x7c\x16\xdf\x6c\x63\xee\x7a\xf1\xf6\xe0\x58\x8f\xc4\xf9\x30\x06\xae\xad\x6c\xbd\x82\x66\xbd\xed\xba\x04\xdc\xf5\xe0\x33\x95\xad\x97\x1f\x79\x06\xbf\x0d\xf6\xc3\xa2\xdd\x06\x9b\x45\xa7\xa9\xdc\x25\x14\xae\x47\xc8\xb8\xda\xb4\x95\xe7\x6d\xd3\xa5\xf4\x5c\x6d\xaf\xe7\x39\x5c\xcf\x7c\x59\x2f\x8e\xeb\x15\xaa\xb6\x7c\x6b\x3f\x3d\x02\x28\x2c\xc0\xea\x5a\x60\xfd\x0c\x16\x96\x3c\xbd\x8e\xb0\x94\x9b\xf0\x9a\xea\xda\xda\x57\x65\xfa\x2f\x6d\x2f\x6f\x9b\x80\x99\x27\xae\x94\x87\x7e\x13\x6f\x29\xdd\x59\xb0\xfa\xaf\xa9\x5d\x1b\x1e\xbd\xde\xf5\x3c\x63\xfa\x7c\x6d\x03\x59\x10\x38\x53\xff\x28\x1d\x9c\xe4\xb9\x78\x92\x05\xa7\x3f\x5b\x3a\x16\x40\x60\x6d\xf4\x50\x38\xda\x47\x57\x3b\xae\x71\x60\x2a\xa7\x34\xaa\xeb\x0f\xc2\x03\xda\xb7\xac\x3a\xa6\xf9\x90\xa2\x93\x93\x3f\x53\x5a\x8f\x86\x75\x49\xf9\xf5\x68\x89\x3c\xf9\x59\x34\xe5\x69\x33\x0f\x0e\x13\x2d\xb6\x36\xb2\x26\xdd\xf5\xf0\x38\x4f\x5a\x8f\x66\x31\x5d\x67\xe5\xb9\xda\x70\xf1\x24\x8f\x10\xba\x1e\xad\xe8\x1a\x67\x79\x68\xb0\xc1\xe4\x79\xae\xeb\xe9\x5b\x5e\x5c\x59\xf4\x5d\x0f\x6c\xde\x31\xb5\x5e\xfe\x71\xa6\x15\x98\xa4\x0f\x60\x97\x98\xae\x32\x57\x3e\x25\xc4\x94\x97\x27\x5f\x4f\x79\x24\xbc\x29\xad\x47\x4b\xbb\xca\x6c\x6d\xdb\xfa\x60\xab\x93\xa5\x85\x5c\x74\x9a\x2c\x07\x7a\x9f\xa5\x3d\x6d\x70\x7a\xca\x83\xcf\xf5\x9c\x4d\x78\x4c\xf9\x79\xeb\xb8\xc6\x87\xab\xbf\x36\xbe\x51\x5c\xb6\xe7\x6a\xe2\x43\x16\x2e\x64\xc0\x9a\xac\xa1\xf5\xf0\xc3\x35\x0e\x68\x3d\x17\xad\x2e\xfa\x8c\x84\xe5\x91\xbe\x59\xbf\xea\x3a\x8f\x56\xe3\x86\x32\x9a\x77\xbd\x52\x33\x8f\x96\xc9\x5b\x96\xb7\xcf\xf4\xd7\xa5\x65\x4c\x5a\xda\xd5\xa6\x0d\x26\x4f\x3b\x59\x34\xdb\xda\xb4\xe1\xb7\x3d\x2b\x13\x6d\x36\x7c\xae\xe7\xe5\xea\x53\x9e\x76\x5d\xed\xbb\xf0\xe4\xa5\xd9\x35\x46\x5d\xcf\x24\xcf\x33\x30\xd1\x66\x82\x75\xf1\xcb\x86\xcb\x35\xaf\xd6\xd5\x37\x0f\x66\x69\xe5\xf2\xf9\x60\xb8\xd7\x61\x75\x5f\x8c\x4a\xb6\xbc\xfe\xb4\xcd\xff\xcc\xab\xc9\x04\x7a\xdb\xb5\xf5\x8f\x5e\xbb\x7c\x4e\xda\x0f\x4a\x8b\x0e\x6b\xab\x63\x6a\xd7\xd6\x1f\x8a\x47\x2f\xa7\xfd\xb2\xf1\xd4\xe6\x97\xbb\x9e\xbb\x89\x4f\x34\x51\x3e\xd8\x68\x31\xf5\xc5\xa6\xed\x4c\xcf\xd9\xf6\x7c\xf3\x26\x13\xfd\xb6\xf1\xe4\x6a\x57\x95\xbb\x9e\xa5\x80\xb9\xcf\xb4\x6d\x93\x65\x41\xcb\xb3\x78\x60\xba\xa6\x34\x51\xba\xe9\xbd\x69\x5c\x65\x59\x22\x00\x20\x6c\x12\x90\x4e\x24\x1b\x41\xb6\x4e\x51\x01\x42\xcb\xf5\x32\x4a\xb0\x0e\x67\x6b\xc3\x04\x6f\xa2\xc1\x44\xa7\x4b\x3a\xbb\xfa\xee\x62\x6c\xd6\x64\xb7\xb5\xb5\xde\x32\xd3\x03\xd7\xdb\xb4\x09\x41\x93\xd0\xcf\x9a\x94\x2e\x61\x45\xfb\xeb\x9a\x40\x26\x21\x45\x71\x0b\xf4\xe2\xa5\x89\xb6\x91\xa5\x65\x75\xba\x4d\xf7\x79\x04\x1c\xa5\xd1\x25\xf4\x4c\xb4\xd2\x76\x6d\xfd\xb3\x09\x7a\x97\x90\xd4\x71\x52\xfa\x6c\x34\xd2\xfe\xeb\xf5\x75\x5a\xb2\x04\xab\xb1\x03\x26\x69\x96\x6
2018-10-19 18:57:23 +00:00
func web_uiAssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPng,
"web_ui/assets/mstile-150x150-6b13ab220a09a9e72328a3b05d5b9eec.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPng() (*asset, error) {
bytes, err := web_uiAssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/mstile-150x150-6b13ab220a09a9e72328a3b05d5b9eec.png", size: 64646, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x2a\x40\xd5\xbf\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x02\x2e\x00\x00\x01\x0e\x08\x06\x00\x00\x00\xae\x0e\x9c\x74\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xc4\xbd\xe9\x93\x25\x47\x75\x37\xfc\xcb\xba\x75\x97\xde\x7b\x7a\x7a\x7a\x46\xb3\x6b\x24\x84\x18\x09\x10\x20\x84\x8c\x81\x87\xc5\x38\xfc\x86\x03\xfc\x12\xc6\x38\xde\xf0\x27\xff\x61\xf6\x27\x47\xd8\x01\x26\xde\xb0\x43\xc6\x5b\x18\xb0\x10\x18\xa4\x07\x61\xd0\xc2\x68\xa6\x35\x9a\x7d\xed\xe9\xe9\xe9\xf5\xae\x99\xef\x87\x5b\x59\x75\xea\xdc\x73\x32\xf3\x8e\xf0\xf3\xe6\x44\xcf\xad\xca\x3a\x79\xf2\x64\xe6\xc9\x73\x7e\xb9\x54\x96\xc1\xff\xd9\x90\x01\xb0\xff\x3f\xa4\xcf\x00\xd8\x66\xb3\x99\xfd\xe5\x5f\xfe\xa5\xbf\xcf\x00\xe4\x00\x5a\xc5\x6f\x07\xc0\x6c\x7b\x90\xcd\x9f\xd9\xec\x3c\xfb\xd2\xf5\x85\xff\x67\x65\xaf\xf9\x87\x19\x4c\xcb\x39\x00\x66\xcc\xc8\x00\x80\x03\x9c\x71\x80\x33\x80\x29\x1f\xc1\x39\x07\x03\x03\x67\xc6\x34\x3e\x81\xbf\x35\x05\x1f\x07\x96\xb6\xba\xad\x78\x17\xa9\x4c\xc1\xdd\x39\x07\x63\x8a\x9c\x5c\xc1\x9e\xe4\x0d\xce\x1b\x80\x29\x1f\x8e\xe3\x4d\x45\x2d\xde\xf7\x72\xb7\x7f\x6b\xa9\x77\xf1\x17\x67\xb6\x5f\xbd\x37\xdf\xbf\xe9\x0c\x76\x81\xda\xdf\x3e\xf9\xeb\x03\xe8\x16\xbf\x7d\x8c\xdb\x65\x58\xfc\x5a\x00\x78\xe3\x8d\x37\xec\xaf\x7e\xf5\x2b\x14\xf7\xa1\xb6\xcb\x08\x0d\x18\x1d\x7d\xc6\x7f\x25\xde\x3c\x9f\x0c\x72\x90\x64\xd2\xe4\x48\x91\x01\xc2\xbd\x16\xb8\xbc\x21\x99\x78\x39\xb4\x7a\x92\xca\x20\xd5\x13\xcd\x2b\xc6\x3b\x54\x6e\xce\x8f\x87\xd4\x36\x08\xc9\x1d\xab\x0f\xa9\x4c\x9a\x0e\xf1\x38\xca\x83\xd3\xa4\xe6\x19\xaa\x53\x9e\x8e\xf3\x4e\xd1\x3d\x5e\x6f\xd3\xe8\x35\xa5\x97\xfa\x47\xa8\x1f\x69\x7d\x68\x5a\xdd\xd3\xe2\x78\x9a\xff\xa3\xbc\x9f\x78\xe2\x89\xec\x1b\xdf\xf8\x46\xf9\xdc\x39\x97\x19\x63\x72\xe7\x5c\x0e\x20\x37\xc6\xe4\x00\x5a\x9d\x41\x36\x7b\xfa\x61\xfb\xf8\xf9\x3b\x73\x9f\x3f\xba\xdb\xfa\x46\x7b\xd0\xf8\x44\x06\xcc\x7a\xe6\xc4\x2d\x54\x11\x20\xb6\x9c\x05\x4a\xef\xdc\xd8\x3e\xbb\xe2\xc2\xc1\x75\x07\x0d\x77\x6d\xa7\x3d\xfc\xe1\xfa\xda\xc1\x3f\xfc\x76\x6d\xef\xda\x76\x7b\xb4\xeb\x32\xf4\x9d\x73\x43\x63\x4c\xdf\x39\x67\x8d\x31\xd4\xc6\xda\xe1\x70\x88\xbf\xfe\xeb\xbf\x8e\xf5\x83\x69\xf4\x19\x0a\x7d\xac\x5f\x4d\x63\xc7\x52\xfa\x79\xd0\x66\x34\x94\x87\xff\x53\xc1\xc5\x49\xc4\x90\x15\x69\xa5\xf4\x99\x10\xcf\xe3\xcc\xc2\xc2\x82\xf9\xf6\xb7\xbf\x8d\x66\xb3\xe9\x41\x4b\x06\xa0\x89\x71\x1d\xb4\x01\xb4\x33\x8b\xce\xda\x6e\xf3\xc4\xf3\x77\xe7\xfe\xd7\xda\x6e\xeb\xeb\x0d\x67\x96\x00\x03\x53\x2a\xa2\x83\x29\x01\x87\x47\x32\x63\xa0\x60\x0c\x00\x33\x8e\x35\x06\x65\x1a\x53\xa0\x96\xf1\xf3\xb1\xc2\xc2\x98\x0a\x54\xb8\x82\xb7\xa1\x80\xc3\x54\x69\xca\x7c\x4c\xa9\xf9\x06\x55\x9a\x4a\x8e\x3a\x6f\x63\x48\xe7\x00\xc6\x32\xc2\xc1\x71\xde\x05\x50\xea\xe5\x76\xff\xd6\x62\xff\xe2\x7f\x9f\xd8\x7d\xfd\xee\x42\xef\xba\x35\xd8\x81\xd1\x41\x8b\x73\xae\x0b\xa0\x5f\x74\xa4\x11\x18\x68\xf9\xf9\xcf\x7f\x6e\xdf\x79\xe7\x1d\x58\x6b\x49\x21\x4a\xd1\xe9\x9f\x6f\x57\xde\x09\x4a\xbc\x57\xfc\x59\xc6\x83\xd2\xf2\x78\xc3\xd2\x39\x72\x4d\x79\x79\x1d\xc9\x58\x5a\x2e\x07\xcf\x87\x76\x34\xc7\xd2\xf3\xce\x27\x95\x99\xd2\x18\xe1\x9a\xd6\x0d\xe7\x2d\xd5\x13\xaf\x4b\x40\xae\x53\x28\x69\x6d\x80\x9e\xb6\x0f\xad\x37\x4a\x4b\xeb\x96\x96\x85\xb7\x95\x83\x5c\x4f\x9e\x9e\xeb\x02\xe9\x25\xb5\x3e\x4d\x65\x93\xe4\xa7\xfc\x80\x7a\x9b\x49\xed\xc0\xdb\x92\xc6\x6b\x79\xf2\xfc\x79\x9b\x69\x6d\xc7\xeb\x90\xca\x4d\x79\xd3\x74\xbc\x1e\x52\xf4\x9a\xca\xc2\xc1\x19\xd7\x69\x9a\x86\xeb\x27\x95\xc5\x61\x92\x37\x2d\x37\x6f\x43\x5e\x4f\xd4\x26\xd3\x72\xd0\xf4\xbc\x9d\xa4\xfa\xe1\xf9\x69\x75\xef\xeb\xaf\x2c\xc3\x99\x33\x67\xcc\x57\xbf\xfa\x55\x34\x1a\x8d\xcc\x18\x53\x82\x16\x8c\x01\x4b\xcb\x18\xd3\x04\xd0\x5e\xd9\xcb\x0f\x9d\xbf\x33\xf7\xfc\xf9\x3b\xf3\xff\xf7\xea\x5e\xeb\x5b\xed\x61\xf6\x8c\x81\x99\xe1\x19\x4e\xd4\x92\xa9\xdf\x7a\xa1\xe9\x20\x14\xa8\x06\x95\xa6\x30\xd4\xc6\x20\x6f\x38\xb3\xd4\x19\x36\x9e\x5e\xea\x36\x4e\xcd\xf6\xf3\xcd\xbd\xf6\x68\xb7\x9b\xdb\x91\x35\x70\xc6\x98\x6a\xe0\x0a\x38\xe7\xc6\x5c\xb3\x2c\x73\xe7\xcf\x9f\x37\xbf\xfd\xed\x6f\x61\xc7\xc6\x96\xea\xbc\xff\xf5\x75\x4a\xd
2018-10-19 18:57:23 +00:00
func web_uiAssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8PngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8Png,
"web_ui/assets/mstile-310x150-ccc673174b188a92f1e78bc25aa6f3f8.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8Png() (*asset, error) {
bytes, err := web_uiAssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8PngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/mstile-310x150-ccc673174b188a92f1e78bc25aa6f3f8.png", size: 112362, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsMstile310x31049242d1935854126c10457d1cdb1762bPng = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x23\x40\xdc\xbf\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x02\x2e\x00\x00\x02\x2e\x08\x06\x00\x00\x00\x98\x4a\x83\xdf\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xdc\xbd\xfb\x93\x25\xc7\x55\x3f\x78\x32\xab\x6e\xdd\xdb\xb7\x7b\x7a\x7a\x5a\x33\xa3\xb1\xa4\x19\x8d\x85\x2c\xc9\x46\x18\x61\x19\x6c\x8c\xbe\x0b\x18\xaf\xe1\xbb\x66\x59\x08\x82\x30\x8f\x20\x02\x47\x20\xfd\x51\xb2\x03\xfc\x03\x01\xf8\x07\xf8\x81\x0d\xff\xc0\x06\x0f\x47\x7c\xc1\xf1\x35\xeb\xd7\x1a\xfc\xc0\x36\xb2\x24\x8f\x47\xd2\xa8\xd5\xd3\xd3\xd3\x7d\xfb\x3e\xaa\x32\xf7\x87\xaa\xac\x3a\x79\xea\xe4\xab\xee\xed\xb1\x77\x53\x31\xea\xaa\xac\x93\xe7\x9c\x7c\x9d\xf3\xa9\x93\x59\x79\x01\xea\x24\x81\x4f\x32\xf2\xaf\x8f\x07\xe5\x67\xfe\x71\x79\x1c\x5f\x70\x94\xe1\xf4\x74\xf1\xf4\xd5\xcf\xf7\x7c\x9d\xe4\xaa\x4b\xec\xb3\x14\x19\x9b\x48\xa9\xbc\x5c\x7d\x30\xb4\x4e\x5c\x3f\xa4\xc8\x70\xf1\x0c\x3d\x0b\x8d\xfd\x18\x5e\x29\x72\x31\x8d\x6b\x5c\xfb\xe6\xd9\xba\xf2\x53\xdb\x6e\x9d\x76\x18\x9a\x5c\x63\x68\xd3\xb2\x63\xc6\xea\xba\x73\x74\xa8\x1e\x43\xf2\xcf\x2b\x6d\x4a\xde\x50\x3e\x3f\x6e\xf9\x9b\x96\xf7\xa0\xfa\xf5\x27\x69\x7c\x6f\x5c\x4e\x08\x7c\x84\x1c\x92\xcf\xd8\x86\x14\x0b\x19\x6e\x4c\x13\x03\x9a\x86\x00\xad\x14\xc3\x1c\xdb\x06\xbe\xb4\x69\x47\x70\x5e\x93\x71\x28\xd8\x48\xe1\x31\xd4\x31\xbb\xf4\xd8\x44\x5b\x84\xea\x73\x5e\x40\xd7\x27\xd3\xa7\xcb\x3a\x3c\xe8\xb3\x75\x78\x0e\x01\x57\xeb\x38\xb2\x07\x05\x1e\x62\x9f\xc7\x94\xdd\x04\x8f\xd8\xfc\xf3\xd0\x23\x75\xfc\xbb\x7c\xcb\xba\xe5\x63\x93\xcb\xbf\xa4\x94\x4f\x2d\x77\x9e\x7d\x7c\x1e\xbc\x63\x9f\x0f\x91\xf7\xc0\x80\x6a\x08\x15\xc5\x18\xf5\x18\x19\x2e\x70\x93\x0a\x00\x7c\x13\x23\x64\x58\xb9\x49\xb8\xae\x23\xde\x44\x99\x07\x8d\xc6\x1f\xd8\xe0\x5a\x93\xb7\xab\x3f\x87\x3a\xe5\xd8\x76\x1e\x02\xc0\x5d\xfc\x87\xf4\xed\x10\x30\x3c\x84\x87\x8b\xee\x3c\x0c\x5e\xe8\x45\xe2\x41\xcd\x81\x75\xd2\x4f\x92\x2e\x00\xeb\x83\xb9\x4d\xbd\x3c\x3c\x28\x79\x43\xe5\xae\x2b\x2b\xe6\x39\xf5\x71\xeb\xf0\x1c\x4a\xbb\x09\x19\xae\xb6\x4d\x7d\x69\x49\xf1\xd3\x49\xc9\xd5\xc8\xa9\x08\x9b\xe3\x1b\x02\x26\x21\xe7\x32\x04\x10\xb9\x64\xd1\x7c\x1f\xff\xd8\x4e\x7b\x50\x29\x76\x00\x6d\xda\x01\xa4\x38\xf8\x21\xfc\x63\xe5\xad\x4b\x9b\x5a\x6e\x13\x20\x75\xc8\xb8\x4a\xd5\x2d\x16\x58\xf9\x78\x0f\x9d\x63\xb1\x69\x88\x31\xa4\xf9\x31\xe3\x39\x96\x6f\x2c\x88\x8d\x95\xef\x93\xb9\xae\xfd\x5c\xe7\xf9\xba\xb2\x52\xe7\x74\x2c\x8f\x21\x7e\x61\xa8\x1e\xb1\x73\x70\x9d\x31\x4a\xcb\x85\xc6\x93\xcf\x6e\xaf\x9b\xd6\x99\x9f\xa9\x75\x4e\xf5\xcf\x3e\x7e\x6b\xd9\x64\xca\x9c\x2a\xe6\xba\xf7\x31\xa7\xf4\xa1\x67\xa1\x81\x96\xe2\x0c\x42\x7c\x62\x0c\xd6\x10\x39\x9b\x4e\xa9\x7a\x9e\x87\xcc\xa1\xc6\xc5\x65\x10\x36\x6d\xcc\x7d\xe3\x28\xd5\x90\x70\x65\x36\x09\x76\x42\x6d\x95\x0a\x62\xce\x73\x4c\xa6\xf2\x8e\x31\x4c\x31\x36\x81\x33\x8a\x43\xfa\x60\x48\xdf\x73\xe5\x5d\x3a\xfb\xe6\x49\x2c\x7d\xea\x1c\x49\x6d\x9f\x18\x9d\x62\xed\x76\xac\x4e\x9b\x6c\x57\xd7\x1c\x71\xf9\x25\xaa\x93\x4f\x8e\x8b\x96\xd3\x35\x96\x9e\xa3\x49\x29\x07\x01\x9a\x98\xf1\x14\xab\x5f\x48\xf6\x3a\xfa\xbb\xf8\xc4\xd4\x6d\x23\x76\x2d\x85\x81\x6b\x30\xb9\x1a\x34\x34\x71\x5d\xc6\xdc\x37\x69\x7d\x93\x3a\xc4\xdb\x25\x8f\x5e\x73\x3a\x70\x29\x66\x70\xa6\x94\x09\xd1\xc5\x18\xc6\x75\x53\x2a\xcf\x50\xdf\x70\xbc\x63\x8c\x07\xce\xf7\x19\xb7\xd8\x76\x0a\xd1\xc4\xea\xe3\xe2\xed\x1b\xe7\x3e\x1e\xdc\xdc\x19\x22\xd3\x77\xef\x9b\x33\x1c\x5d\x28\xf9\xf4\x8c\x31\x7c\x31\xfc\x52\xe8\x63\xfb\x72\x68\xdd\x7e\x5c\x69\x93\xba\xa4\xf6\x47\x4a\x1b\xa7\xf0\x4f\x75\x5a\x43\xda\x20\xa5\x9f\xd7\xb1\xc7\x9b\xa0\x5d\x27\x85\xec\xad\xab\x0c\x2e\x7b\x9e\xe9\x81\xb6\x59\xc8\xc1\x87\x04\xc7\x38\x2e\xae\x9c\xaf\x6c\x08\xc4\xb8\x74\x48\x35\xce\x31\x80\xc6\x55\x6e\x68\xd9\x94\xb4\x29\xe3\x10\xd3\xaf\x31\xed\xba\xe9\xc1\x7f\x1e\x20\xcc\x97\x9f\x32\xf1\x43\xbc\x62\xef\x5d\x3c\x42\x00\x28\xf4\x2c\x26\x85\x40\x94\x8f\x76\x28\x0d\xa6\xdb\xd4\x78\x89\x19\x27\x43\xe5\x6c\x9a\xb7\xab\xcf\x62\x41\x6a\x0a\x7f\x97\xcc\x75\xd3\x50\x3b\x9a\xc2\xcf\x77\x3d\x94\x37\xbe\x3f\xcf\x31\xe8\xca\xdf\xc4\x18\x34\xf7\x29\x7e\x2b\xd5\xae\xfb\xae\x87\xa6\xd0\xb
2018-10-19 18:57:23 +00:00
func web_uiAssetsMstile310x31049242d1935854126c10457d1cdb1762bPngBytes() ([]byte, error) {
2018-10-19 18:57:23 +00:00
return bindataRead(
_web_uiAssetsMstile310x31049242d1935854126c10457d1cdb1762bPng,
"web_ui/assets/mstile-310x310-49242d1935854126c10457d1cdb1762b.png",
2018-10-19 18:57:23 +00:00
)
}
func web_uiAssetsMstile310x31049242d1935854126c10457d1cdb1762bPng() (*asset, error) {
bytes, err := web_uiAssetsMstile310x31049242d1935854126c10457d1cdb1762bPngBytes()
2018-10-19 18:57:23 +00:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/mstile-310x310-49242d1935854126c10457d1cdb1762b.png", size: 201893, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2018-10-19 18:57:23 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsMstile70x7008e1368e84f412f6ad30279d849b1df9Png = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x92\x2b\x6d\xd4\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x80\x00\x00\x00\x80\x08\x06\x00\x00\x00\xc3\x3e\x61\xcb\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xed\x7d\x7b\x70\x1b\xd7\x79\xef\xef\x9c\x5d\xec\x02\x20\x16\x04\x01\x10\x24\x20\x3e\xa0\x17\x29\xcb\x90\x2c\x1b\x7e\x51\x71\x43\xc5\xb1\xe5\xc4\x95\xe3\x1b\xc5\x49\xa3\xb6\xa9\xfa\x98\xea\xf6\xde\x3e\x72\xd3\xde\x4e\xa6\xcd\x74\x32\x99\xde\x4e\x26\x93\xe9\x6d\xd3\xdb\x34\x13\xb5\x79\x28\x69\xea\x3c\x5a\x25\x8e\xed\xc4\xaf\xd8\x96\xe3\x48\x7e\x88\xb2\x1e\xb4\x2c\xc2\xa4\x44\x52\x14\x48\x42\x20\x08\xe2\xb9\xbb\xd8\x3d\xe7\xfe\xb1\x80\x44\x51\x7c\x80\x14\x5f\x4a\xf8\x9b\x59\x13\x23\x63\x1f\x38\xdf\x6f\xbf\xf3\x9d\xef\xfb\xce\xf7\x01\x6b\x58\xc3\x1a\xd6\xb0\x86\x35\xac\x61\x0d\x6b\x58\xc3\x1a\x7e\xb5\x40\x56\xfa\x01\x96\x0b\xd1\x68\x94\x02\x40\x30\x18\xbc\xe6\xdf\xc7\xc6\xc6\xa0\xeb\x3a\x00\xa0\xab\xab\x8b\x2d\xff\x93\xad\x2c\x7e\x69\x08\x10\x8d\x46\xa9\xcf\xe7\x83\xcf\xe7\x83\xa2\x28\x00\x40\xcb\xc7\xd4\xcf\x98\xf2\x99\x4d\xf3\x97\x01\x80\xa6\x69\x6c\x6c\x6c\x0c\x63\x63\x63\x38\x76\xec\xd8\x2f\x25\x39\x6e\x5a\x02\x74\x74\x74\xd0\x60\x30\x08\xbf\xdf\x5f\x11\x2e\x05\x20\x82\x43\x14\x19\x91\x6a\x74\xc1\xed\xd2\x84\x40\xad\x2a\x36\xc9\x06\xf1\x3b\x4a\x82\xd7\xa1\xd3\x5a\x91\x11\x3b\xe5\x44\x22\x1c\x94\x51\xae\x9b\x04\xba\x6a\x63\x19\xd5\x66\x4e\xa8\x22\x4b\xe6\x64\x73\x24\x2b\x9b\xf1\xac\x6c\xa4\x74\x91\xab\x9c\xc0\x00\xae\x1c\x4c\xd3\x34\xd6\xdf\xdf\x8f\x23\x47\x8e\xfc\x52\x10\xe2\xa6\x22\x40\x67\x67\x27\x0d\x87\xc3\x90\x65\xd9\x12\x36\x20\xd9\x4c\x62\xf7\xe5\x6d\x4d\x8d\x19\x69\x47\x63\x56\x8a\x7a\xf3\xb6\x2d\x1e\x55\xdc\x24\x9a\x24\x40\x40\xec\xf3\xfd\x81\xdc\xfa\xaf\x61\x12\xa4\x8b\x92\x39\x98\xac\x29\x9d\xbb\xec\x2a\x9d\x19\x51\xb4\xe3\x09\xa5\x14\xcb\x49\x66\x06\x04\x3a\xca\x84\x48\x26\x93\xac\xbb\xbb\x1b\xb1\x58\xec\xa6\x24\xc4\xaa\x27\x40\x34\x1a\xa5\x6d\x6d\x6d\x50\x14\x85\x02\x90\x00\x48\xb5\x45\x31\xb0\x3e\x65\xdf\xd9\x9a\xb2\xbf\x2f\x98\x91\xef\x93\x0d\xd2\x42\x40\xc4\xa5\x7c\x0e\x0e\xc0\x24\x3c\x35\xee\x2c\x9d\x18\xac\x53\x7f\x7e\xc1\xab\xbe\x38\x5c\xab\xc5\x4c\x8a\x02\x00\x1d\x00\xeb\xe9\xe9\x61\x37\x9b\x66\x58\xb5\x04\xe8\xec\xec\xa4\xed\xed\xed\x57\xde\xf4\x1a\x8d\xfa\xdb\x13\x35\xbb\x37\x5f\x76\x3c\x1a\xc8\x49\x3b\x05\x4e\xdc\x2b\xf9\x7c\x1c\xdc\x28\xd8\x58\xac\xcf\x5f\xfc\xc9\xb9\x40\xe1\x87\xc3\xb5\x5a\x8c\x13\x8b\x0c\xd9\x6c\x96\x75\x75\x75\xdd\x14\x5a\x61\xd5\x11\x60\xcf\x9e\x3d\x34\x14\x0a\x51\x00\x12\x61\x70\xb6\xa4\xed\x3b\xb6\x0d\xd7\x7c\x22\x9c\xb2\x3f\x2c\x30\xea\x5f\x75\x0f\x0c\x8b\x0c\xe3\x4e\xe3\x8d\xee\xc6\xfc\x77\xce\x35\xe4\x7f\x52\x90\x58\x0a\x80\x9a\xcd\x66\x8d\x58\x2c\xb6\xaa\x57\x17\xab\x66\x3c\x27\x0b\x5e\x30\x89\x7b\x4b\xc2\x79\xff\xed\x97\x5c\xff\xdd\x97\xb7\xed\x5c\x6a\xf5\xbe\x98\xd0\x04\x16\x3f\xd7\x90\xff\xd6\x5b\xeb\x72\xdf\x4e\x3b\x8d\x21\x94\x89\xb0\x5a\x35\xc2\x8a\x13\xa0\xa3\xa3\x83\x6e\xdb\xb6\x8d\x02\x90\x28\x83\xeb\x96\xd1\x9a\xdd\x77\x0d\x2a\x9f\xac\x55\xc5\x3b\xc9\xca\x3f\xde\x82\x61\x50\x9e\x7a\x27\x90\xff\xe6\x9b\xad\x99\x7f\xcd\xd8\xcd\x38\x00\x35\x99\x4c\x1a\x87\x0f\x1f\x5e\x55\x24\x58\xd1\x11\xde\xb7\x6f\x1f\x55\x14\x45\x02\x87\xb3\x75\xdc\x7e\xf7\x7d\xe7\x6b\x3f\xe3\xcf\xdb\xee\xbb\x99\x05\x3f\x15\x3a\x65\x89\xb7\x9a\xb2\x5f\x3a\xd1\x9c\xfd\x77\x4d\xe4\x49\x00\xfa\x99\x33\x67\xd8\x6a\xf1\x2b\xac\xc8\x48\xef\xde\xbd\x9b\x86\xc3\x61\x0a\xc0\xe9\x2e\x0a\x4d\x9d\x7d\x75\x9f\xde\x30\x66\xff\x38\x01\x91\x56\xe2\x79\x96\x1a\x1c\x40\x56\x36\xba\x5f\xdd\x90\xfe\x6c\xac\xbe\xf8\x0a\x08\x72\xd9\x6c\x56\x7f\xfc\xf1\xc7\x57\x9c\x04\xc2\x72\xdf\x70\xdf\xbe\x7d\xb4\xa1\xa1\x41\x22\x1c\x9e\x1d\x97\x5c\x8f\x3d\xfc\x8e\xff\x6b\xf5\x79\xe9\x3e\x02\xb2\xec\xcf\xb2\x5c\x20\x00\x64\x93\x06\x36\x25\x1d\x1f\x09\xe4\xa4\xa6\x78\xad\x76\x86\x38\x6d\xc5\x68\x34\xca\x00\x60\x78\x78\x98\xaf\xd4\xb3\x2d\xdb\xa0\x47\xa3\x51\xfa\xc8\x23\x8f\x08\xb2\x2c\x3b\x5c\xaa\x10\x7e\xf8\x1d\xdf\x17\x6f\x8b\xbb\xfe\x52\xe4\x74\x45\x97\x73\xcb\x09\x02\x42\xbd\x45\xdb\xf6\x2d\xa3\xce\x87\x27\xec\xc6\xf9\x94\xd3\
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
func web_uiAssetsMstile70x7008e1368e84f412f6ad30279d849b1df9PngBytes() ([]byte, error) {
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
return bindataRead(
_web_uiAssetsMstile70x7008e1368e84f412f6ad30279d849b1df9Png,
"web_ui/assets/mstile-70x70-08e1368e84f412f6ad30279d849b1df9.png",
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
)
}
func web_uiAssetsMstile70x7008e1368e84f412f6ad30279d849b1df9Png() (*asset, error) {
bytes, err := web_uiAssetsMstile70x7008e1368e84f412f6ad30279d849b1df9PngBytes()
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/mstile-70x70-08e1368e84f412f6ad30279d849b1df9.png", size: 11154, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiAssetsSafariPinnedTabSvg = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x56\x5d\x6f\x1c\xc9\x0d\x7c\x9f\x5f\x51\xd9\xbc\xe4\x00\xb7\xb6\x49\xf6\x67\x60\xf9\x90\xb3\x8d\x43\x80\x38\x31\x6c\xe7\x82\x7b\xdc\x48\x73\xd2\x22\xab\x0f\xec\x0e\x24\x27\xbf\x3e\x28\xf6\x48\x97\xc8\x67\x18\x9a\xd9\x9e\xee\x26\x59\x2c\x16\xf9\xfa\xfb\xaf\x37\x07\x3c\xcc\xc7\xd3\xfe\xee\xf6\x7c\x23\x67\x71\x83\xd3\xb2\xbb\xbd\xdc\x1d\xee\x6e\xe7\xf3\xcd\xed\xdd\xe6\xfb\x37\xd3\xeb\xdf\xbd\xfb\xdb\xdb\x2f\x3f\x7f\x7c\x8f\xd3\xc3\x15\x3e\xfe\xfd\x87\xbf\xfc\xf9\x2d\x36\x61\xbb\xfd\x87\xbd\xdd\x6e\xdf\x7d\x79\x87\xcf\x3f\xfd\x08\x8d\x51\x62\x8f\x69\xbb\x7d\xff\xd7\xcd\x84\xcd\xf5\xb2\xdc\xff\x71\xbb\x7d\x7c\x7c\x3c\x7b\xb4\xb3\xbb\xe3\xd5\xf6\xcb\xa7\x2d\x37\x6d\x3f\xbd\x7f\x1b\x3e\xff\xf4\x63\x78\x3e\xf1\xee\xcb\xbb\xed\xe9\xe1\x4a\xe2\xd9\xe5\x72\xb9\x79\x33\xbd\xa6\x9d\xff\xf7\xea\xeb\xcd\xe1\xf6\x74\xfe\x1b\x97\x6a\x8c\x91\x87\x37\x13\x1e\xf7\x97\xcb\xf5\xf9\x46\xca\x59\xf4\x7f\xf7\xcb\x06\xd7\xf3\xfe\xea\x7a\x79\xb1\xf8\xb0\x9f\x1f\x7f\xb8\xfb\x7a\xbe\x89\x88\x78\xfe\xf2\xeb\xdb\x66\xc2\xfd\x71\x3e\xcd\xc7\x87\xf9\x4f\xa7\xfb\xf9\x62\xf9\xb4\x5b\xf6\x77\xe7\x9b\xaf\x1f\xf6\x97\x3f\x7f\xd8\x5f\xe2\x66\x9e\x17\xfa\x79\x33\x2f\xbb\xcb\xdd\xb2\x7b\x33\xbd\x3d\xce\xbb\x65\xbe\xc4\x3f\xff\x8d\xfb\xbb\xe5\xb8\xbb\x98\x21\x67\x22\xaf\xf0\x78\xdc\x2f\xcb\x7c\xcb\x0f\x1f\xe7\x65\x3e\xe2\xf3\x7c\xd8\xdf\x5e\xcd\x47\x07\x2c\x68\x14\x9b\x5e\x6f\x7f\xbd\xe8\xf5\x15\x96\xe3\xee\xf6\xf4\xcb\xdd\xf1\xe6\x7c\xe3\xaf\x87\xdd\x32\xff\x21\xae\xbe\xbd\x7a\xf6\xf2\x3b\x9c\x2e\x76\x87\xf1\xc5\xa2\xc5\x57\xe1\xe9\xed\xbb\xcd\xf4\xcb\xfe\x70\x38\xdf\xfc\x7e\x8d\x07\xa7\xe5\x78\xf7\x2f\x4f\xe8\xed\x4c\xc7\xef\x77\xcb\x35\x2e\xcf\x37\x1f\x34\xe5\x8a\x1c\x35\xe1\x22\x08\xf8\x3f\x45\x84\x8c\xd0\x2a\x42\x43\x48\x15\xc1\x10\x7a\xf2\x5f\x12\x33\xff\x20\x88\x20\x28\x42\xd2\x29\x54\x84\x1a\xc7\xaa\x56\x84\x84\x90\x2b\x42\x47\x28\x79\xec\x6b\xbe\x55\x0b\x42\x19\xb7\x77\x84\x9c\xfd\x21\x9d\x26\x0a\x82\xa6\x38\x85\xc2\x4b\xc7\x87\xac\x08\xd2\x10\x0a\x6f\xe5\x11\x43\x50\x41\xb0\xca\x53\x5c\xcd\x92\x78\x6c\xbd\xcb\x0a\x3d\x30\x84\x52\xa6\x20\xb1\xf2\x85\xbe\x0c\x6b\x36\x1c\xa9\x1e\x1f\x77\x33\xa8\x8c\x50\x69\x81\xab\x31\x22\x34\x9a\xb2\x4e\x3b\x8a\x60\xb1\x4e\x41\x69\xd6\xc3\x5d\x03\x30\x19\xa6\x12\xd7\x33\x01\x69\x8d\xab\x09\x21\x65\x7e\xef\x8c\xbb\xa5\xb1\xb3\x29\x42\xcb\x3c\x29\x93\x23\x68\xb1\x38\x16\xdc\xdf\x11\x12\x2f\xa0\x1b\x74\xbe\x23\xf4\x3c\x82\xf6\x3b\xb9\xb3\xf4\x61\x5a\x18\x3a\xcd\x8a\x41\x64\x0a\x39\x66\x98\x5f\x43\xc0\x15\x74\xb1\x28\xfc\x5a\x03\xaf\x12\xa9\x60\x94\xf4\x8f\xa1\x27\x81\xd2\x1b\x83\xae\x9b\x98\x36\x9b\x3a\x03\xab\x11\x42\x5f\xac\x55\xa8\x32\x23\x2d\x22\xf7\x42\xef\x33\x24\xba\x1b\xb1\x0b\x9a\x0d\x73\xc4\xae\x14\x38\x02\x35\xb9\x2b\x13\x8d\x67\xe8\xe0\x07\x19\xa0\x09\x42\x9b\xa9\x42\x18\x4d\x8e\x20\xb8\xb0\xe6\xd9\x20\x3b\x34\x22\x8f\xd8\x35\xf1\x4a\x81\x49\x9f\x42\x15\xd0\x0b\x03\xef\x6f\x28\x4e\x3c\x88\xe7\xa6\x20\x91\x02\x1a\x51\x4a\x65\x68\x42\xfb\x29\xa2\x22\x77\x02\x21\x0d\x86\xec\x98\xd4\x3c\x49\x61\xdc\x05\x99\xe7\x51\x04\x92\x91\x12\x08\x8a\x42\x2b\x24\x29\x0f\x4b\x45\x23\x5e\x92\x90\x0c\x8e\x6b\x44\x4e\x90\x02\x89\x09\x56\x26\xe9\x05\xb5\xc3\x68\xb4\x1a\x72\x6a\xb0\xa8\x38\xf0\x99\x1c\xfd\x26\xb8\x08\x96\x90\x06\x38\xc4\xaa\x46\x30\xff\x09\x84\x1e\x1e\x8c\xe8\x14\x3d\x23\x0c\x47\x48\x0a\xa1\x6f\xac\x83\x4a\x20\x89\xb5\xad\x09\x74\x7e\x56\xcf\xbc\x3c\xd5\x5d\x1f\x4f\x67\xb6\xe4\x89\xdf\x74\x50\x21\xd8\x5a\x81\x46\x0e\x09\x51\xb3\x4c\x43\x55\x46\x05\x80\xde\xf9\x69\xd6\xab\x3a\xaf\xe2\xa8\x48\x8d\x79\x0a\x44\xdb\xeb\xcb\x6b\x4c\x56\x9e\x5a\x19\xa5\x9f\x5a\x81\xaf\x15\x46\x63\x1d\x23\xa5\x23\x99\x5c\xb1\x75\x45\xe2\xc4\x4d\xe6\x9b\xda\xba\xf4\xb4\x2b\x8d\x1f\x25\x3b\x01\x35\x93\xc0\x59\x98\x1b\xaa\x86\x47\xb9\x52\x3b\x21\xcb\x14\xa4\x1b\xaa\x79\xdc\xee\x9d\x6f\xe1\x25\xc5\xbd\xf3\x9d\x63\x87\x52\xc0\x23\x37\xa5\x0e\xe5\xed\x25\x66\x64\x86\x59\x9d\xe8\xc3\xba\x0b\x59\x81\x32\x2a\xc6\x98\xe8\x8e\x45\x4f\x2a\x91\x4c\x55\x79\x79\xa1\x87\x51\x91\x63\x45\x8a\x0d\x3d\x0b\x1a\x1d\x55\xb3\x49\x44\x50\x23\x8c\x84\x6b\x15\x2c\x7a\x3e\x1b\x9b\
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
func web_uiAssetsSafariPinnedTabSvgBytes() ([]byte, error) {
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
return bindataRead(
_web_uiAssetsSafariPinnedTabSvg,
"web_ui/assets/safari-pinned-tab.svg",
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
)
}
func web_uiAssetsSafariPinnedTabSvg() (*asset, error) {
bytes, err := web_uiAssetsSafariPinnedTabSvgBytes()
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/safari-pinned-tab.svg", size: 3798, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2019-05-08 18:34:08 +00:00
var _web_uiAssetsVendor9ea7d400c0cec7682e8871df14073823Css = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x58\xfb\x72\xe2\xb8\xd2\x7f\x15\xbe\x9a\xda\xda\x9d\x9a\x10\xcc\x2d\x04\xbb\xf6\xab\x15\x97\x64\x20\x84\x04\x12\x92\x90\xff\x64\x5b\xd8\x5a\xdb\x92\x47\x96\x31\x09\x95\x77\x3f\x25\xf9\x12\x0c\x22\x99\x39\xb5\xa7\xce\xa9\xa9\x0c\xd0\x6a\xb5\xba\x7f\xdd\xea\x8b\x4e\xfb\xd4\x46\xd7\x98\x31\xca\xb6\x2b\x4a\x78\x75\x05\x03\xec\xbf\xe8\x01\x25\x34\x0a\xa1\x85\x0c\x17\x61\xc7\xe5\x7a\x53\xd3\xc2\x8d\x61\x51\x9f\x32\xfd\x8b\xa6\x69\x6f\x3b\x3b\xab\x3e\x26\x28\xda\x86\xd0\xb6\x31\x71\xf4\x56\xb8\xa9\x94\xd6\x2b\x21\x43\xc5\xaa\x56\x69\x85\x9b\xd2\x6e\x27\xe6\x1c\xb1\xea\x0a\xfb\x3e\x62\x27\xbb\x2b\x91\xc5\xa8\xef\x9b\x30\x5f\xdc\x9a\xd0\xf2\x1c\x46\x63\x62\x57\x33\x55\x56\xab\x95\x42\x58\xb4\x35\x29\xb3\x11\xab\x32\xa9\x7c\x3d\xdc\x54\x22\xea\x63\xbb\xf2\xc5\xb6\x6d\x43\x21\xa5\x23\xfe\x19\x89\x8b\x39\xaa\x4a\xbb\x75\x42\x13\x06\xc3\x03\x33\x49\x1c\x98\x88\xed\x58\xd3\x14\xd6\x56\xda\xe1\xc6\x08\x30\xa9\x26\xd8\xe6\xae\xde\x10\x58\x71\xb4\xe1\x55\xe8\x63\x87\xe8\x52\x8b\x1c\xbc\x6e\xb7\xfb\xd9\x41\xa9\x11\x01\x64\x1e\x62\xdb\x23\x98\xef\xf2\x54\xa3\xd8\xe4\x3e\xda\xbe\x9f\x50\x62\xb5\x62\x16\x51\x96\x43\xe2\xa3\x55\x09\x11\x4d\xd3\x8c\x12\x5a\x84\x12\x64\xa4\x86\x94\xdd\x68\xe3\x75\xc9\x3b\xc8\xa2\xc4\x86\xec\xe5\x43\xf9\x11\xf6\xd7\x88\xbd\x9d\x5a\x41\x75\x05\x79\xa6\x4b\x45\xa1\x5e\x7a\x22\x8c\x39\xcd\xd4\xd1\xb5\xff\xc3\x41\x48\x19\x87\x84\xef\xf8\x4c\xff\xd2\x41\x9d\x7d\x79\x7b\xaa\xa5\xd4\x68\xfb\x5a\xc5\xc4\x46\x1b\xbd\x2e\xf9\x21\xc1\x01\xe4\x68\x67\x9f\xea\x50\xa3\x9a\x20\xd3\xc3\x3c\x63\xc7\x94\xe8\xa6\x8f\x89\x57\xa9\x9f\x6a\x67\x51\x25\xe2\x28\x8c\xfe\xa8\x7f\xad\x60\xb2\xc2\x04\x73\x64\xfc\x2c\xdf\x61\xd8\x09\x43\xfe\xca\x8f\xf3\xd0\xcb\x8a\xc1\x00\x45\x15\x29\x66\xdb\xd6\x7e\x3b\x8c\x77\xce\x20\x89\x42\xc8\x10\xe1\x6f\x6f\x7f\xfd\xfa\x16\x01\x03\x87\xe6\xd6\xc6\x51\xe8\xc3\x17\x1d\x13\x11\xd4\x55\xd3\xa7\x96\x97\x46\xac\x8d\x2c\xca\x52\x73\x30\x71\x11\xc3\xbc\x14\x4b\x2c\x96\xf7\x50\x1d\x4a\x96\x65\x19\x21\x8d\xb0\xdc\x0d\xcd\x88\xfa\x31\x47\xf2\xcc\xa8\x6a\xa3\x15\x8c\x7d\x5e\x11\xbf\x5c\x04\xed\xdd\xc8\x5e\x29\x78\x7e\xc4\x94\x17\x11\xad\x75\x35\xc9\x42\x90\x03\x39\x5e\x17\x74\xbb\xd5\x92\xf4\xf4\xd0\x77\x7a\xa3\xdb\x78\x7b\x3f\xe8\x44\x4a\xe7\x8c\x12\x27\x4d\x72\x49\x9a\xd3\x3a\x5a\x2a\x15\x05\x29\x39\xe2\x2f\x3e\xd2\x31\x87\x3e\xb6\xe4\x82\x04\x75\x1f\x95\x98\xd8\x88\x09\xd4\xde\x32\xb1\xd8\x43\xdc\x65\x34\x76\xdc\x03\x5e\x09\x6e\xb6\xa8\xb0\xd1\x43\x2f\x09\x65\x76\xae\x75\x47\x3b\x57\x30\x41\x4e\x83\xc2\xae\x7a\x57\xc1\x91\xe5\xa4\x8c\xa7\x7e\xd6\x52\xf0\xd8\x68\xf5\x31\xde\x6b\xc8\x30\x34\x7d\x54\x6d\x14\x7c\x6d\xf8\x11\x5f\xb3\xe0\x3b\x6f\x2b\xf8\x2c\x1a\x04\x88\xf0\x9c\x09\xb6\x35\x05\x93\x40\x8f\x38\x05\x4f\xbd\x7e\x94\xe7\x5d\xad\x95\x52\x52\x80\x38\x3c\x51\x45\x11\xf4\xf1\x0a\xbf\xa3\xd3\x6e\xab\x94\x35\x63\xec\x73\x4c\x72\xa6\xa6\xa6\xb2\xdc\x64\xd0\xf2\x10\x7f\xcf\xb2\x1d\x05\x13\x87\x85\x39\xf5\x8e\x4a\x51\xc8\x39\xc3\x66\xbc\x13\xdb\x9a\xa5\xba\x22\xac\x94\xcd\x0f\xd6\x65\x68\xee\x49\xc0\x64\x0d\x7d\x6c\x5b\x2e\x64\x0a\x28\x90\x2c\xf2\xe9\x16\x86\xec\x72\x85\xa0\x81\xb8\x42\xc4\xc9\x6f\xb6\x49\x39\xa7\x81\xde\xc8\xef\xf6\x5b\x39\xc1\x56\xa2\x10\x92\x5d\x01\x01\xe4\x96\x8b\x89\xb3\x87\x91\xb6\xd2\x3e\xdb\x49\x28\x39\xb2\x79\xd5\x68\xbc\xa9\xce\x10\x10\xef\x94\x03\xe6\x98\xf0\x8f\x46\xbb\x7d\x52\x6f\x6b\x27\xda\xc9\x69\xf3\x6b\x69\x17\xb4\x44\x62\x48\xb3\x5c\xb1\x69\x77\xff\x17\x74\xbe\x6a\x94\xbb\x88\x6d\x91\xc4\x18\xf2\x65\xc2\x31\xe8\x1a\xb1\x95\x4f\x13\xdd\xc5\xb6\x8d\x48\xa9\x1e\xed\xf7\x20\x69\xdb\xb2\x2d\xb6\xa4\xbf\x77\x8a\x59\x00\x99\x83\x49\x0e\x72\xb5\x29\xda\x85\x8c\x96\x96\xe0\x94\x94\x35\x19\x39\x9f\xa4\x65\xed\x58\x5d\xd3\x7e\x33\x68\xcc\x85\x5d\xba\x66\x1c\xe8\x5b\xd6\x07\xbf\x22\x95\x4d\xa5\xaa\x2f\xa4\x67\x79\x7c\xb7\x62\xfc\x5c\xa3\xe6\x16\x9d\xda\x87\xfd\x5b\x69\x71\x5d\xac\x6e\x0f\x6a\x86\x91\x17\xee\x33\x23\xaf\x54\xa2\x2b\x79\x3b\xb2\x3f\xb5\x40\x33\x38\x0d\x75\xad\x70\x55\x75\x93\x3b\xab\xa0\xbc\x64\xbe\x78\x53\x2b\xbf\xcd\x90\xd6\x0c\x59\xd9\xb4\xdd\x8d\xfb\xa2\x36\x
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
2019-05-08 18:34:08 +00:00
func web_uiAssetsVendor9ea7d400c0cec7682e8871df14073823CssBytes() ([]byte, error) {
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
return bindataRead(
2019-05-08 18:34:08 +00:00
_web_uiAssetsVendor9ea7d400c0cec7682e8871df14073823Css,
"web_ui/assets/vendor-9ea7d400c0cec7682e8871df14073823.css",
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
)
}
2019-05-08 18:34:08 +00:00
func web_uiAssetsVendor9ea7d400c0cec7682e8871df14073823Css() (*asset, error) {
bytes, err := web_uiAssetsVendor9ea7d400c0cec7682e8871df14073823CssBytes()
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/vendor-9ea7d400c0cec7682e8871df14073823.css", size: 8078, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2019-05-08 18:34:08 +00:00
var _web_uiAssetsVendorEb72c0b1a44ba20937ce35fd2ad2e8daJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\xbd\xe9\x76\xdb\x48\xba\x20\xf8\x5f\x4f\x41\xa0\x6b\x50\x11\xe6\x47\x08\xe0\x2a\x42\x0a\xb1\x9d\xb6\x5c\xe5\x5b\x99\xb6\x6f\xda\x99\x79\xeb\x22\x51\x2a\x88\x0c\x4a\x48\x93\x00\x0b\x08\x52\x56\x0a\xb8\x27\x7b\x66\x7a\xd6\x73\xe6\x01\xe6\xcf\xf4\x1b\xcc\x3b\xf4\x9b\x74\xce\x8b\xcc\x89\x0d\x0b\x09\xca\xce\xbc\xed\x1f\x16\x08\xc4\xbe\x7c\xfb\x72\x1f\xc5\x8b\xe4\xde\xbe\x5a\xdf\xd0\xf4\xea\xcd\xf7\xe4\xf1\xd5\xd5\xf3\x0f\xdf\x7d\x7b\xf5\xde\x7b\x34\x17\x59\x2f\x5a\x6f\xd2\x64\x47\x17\xbd\xf0\xa7\xf0\x93\xe9\x19\x4e\x01\x57\xff\xf2\xe1\xea\xcd\xcb\xeb\x77\xdf\xbe\xfd\xf0\xf6\xc3\x5f\xdf\xf1\x92\x2f\x43\x46\x3d\xc3\x2d\x8a\x93\x5d\x98\x76\x56\x49\xb8\xa0\x29\x2c\xe8\x32\x8a\x29\xa4\xf4\x1f\xdb\x28\xa5\xdf\x24\x8b\xed\xaa\xfc\xa5\xff\xfe\x94\x41\xba\x8d\xe3\x28\xbe\xfd\x40\x33\x96\x11\xc3\x3d\x59\x6e\xe3\x39\x8b\x92\xb8\x33\x4f\x69\xc8\xe8\x4b\xba\x49\xe9\x3c\x64\x74\x21\x5b\x40\x14\x3f\xca\x96\x11\x05\xdf\xa4\x9f\x36\x49\xca\x32\x13\x4c\xca\x67\xd0\x4b\x69\x96\xac\x76\x34\x3d\xd5\x0f\xfa\x8b\x19\x80\x6e\x19\x31\x48\x21\xc6\x8f\xb1\xbd\xa0\xcb\x70\xbb\x62\xf6\x42\x77\x82\xcc\xef\xb2\xf0\x96\x76\x92\x65\xe7\xef\x66\x97\x76\xcd\xbf\x77\xd6\xa2\xdb\x4e\x94\x75\xca\x52\x0b\xe8\x6c\x56\x34\xcc\x68\x67\xbb\x59\x84\x8c\x76\x58\xd2\xf9\x7b\xb3\xff\xbf\xdb\x26\x18\x2e\x3c\x46\x0b\x6f\x6f\x64\xf6\x8a\xde\x86\xf3\x87\x5e\x76\x17\xad\x33\x13\xb6\x31\x8b\x56\x9e\x39\xb0\x1d\xdb\x31\x0b\x0c\x4c\x0f\x8a\xa4\xfa\xa9\xc0\x05\x2a\xc7\x4e\xf1\xa3\xb9\xcd\x68\x27\x63\x69\x34\x67\x66\xb5\x5c\x0c\xe1\x47\xbe\xfa\x94\xbc\xbd\xf9\x89\xce\x99\x2d\xd7\x0f\xc5\xdb\xd5\x0a\x9f\xa4\x94\x6d\xd3\xb8\x43\xed\xeb\x6b\xb2\x4b\xa2\x45\xc7\x81\x05\x5d\x51\x46\xc5\x2b\xa0\x05\xaf\x9a\x92\x47\xb9\x77\x5e\x63\x0b\xbd\xb6\x9d\xf4\x5a\xf7\xd5\x3b\xd8\x5f\xaf\x7c\x2a\x4e\xca\x47\xa2\x9e\x48\xa3\x11\x52\x9f\xe4\x32\x49\x11\x1f\x13\x23\x7e\x00\x29\x59\x21\x0a\x26\x52\xc5\xb1\x09\x0c\x43\x4c\x98\xbd\xa2\xf1\x2d\xbb\xeb\xb9\xe7\xf1\x25\x71\xce\xe3\x5e\x0f\x33\x3f\x0e\x6c\x75\x2a\x50\x39\xef\xd4\x96\xdb\xa8\xbf\x14\x20\x67\x48\x1e\xe3\xe4\x45\x12\x2f\x57\xd1\x9c\x79\xd5\xf9\x90\x2b\x19\x43\x74\xc2\x87\x11\x77\xa2\xb8\xc3\x30\xb3\xef\xc2\xec\xed\x7d\xfc\x2e\x4d\x36\x34\x65\x0f\x28\xc6\x96\x95\xb6\xbd\x44\x11\xe1\xc3\x00\xea\x47\x01\xa1\xf2\x29\x0e\x48\xea\xc7\x01\x2e\x60\x1d\x7e\xa4\x2f\xe5\xce\x5e\x89\xd1\xf0\x5b\x25\x2e\x4e\x4c\x18\xc2\x10\x11\xc4\xff\x38\x58\xbc\x4b\x88\x6f\xaa\x69\xf3\xa3\x5c\x1e\x77\x39\x1f\x33\xa8\x0e\x40\x88\x28\xa8\x93\xcd\xee\xa2\xcc\xde\x6e\xa3\x05\x89\xba\x5d\x10\xbf\xa2\x05\xa1\xf2\x69\x41\x37\x19\x31\xf4\xda\xf1\x29\xc8\xa7\x59\xe2\x31\x59\x42\xb6\x4d\x1e\x55\x6f\xde\x63\x51\xc8\x0f\xf3\x70\xb5\xba\x09\xe7\x1f\x49\x2a\x7f\xdf\x85\x99\x9c\x42\xf6\x3c\x7b\x49\x37\xc4\x70\x55\x67\xd9\xf3\x55\x14\x66\x24\x96\x3f\x53\x1a\x2d\x23\xba\x20\x31\xbd\xef\x3c\x4f\xd3\xf0\x01\xe9\xde\xb1\x2c\x90\xb1\x90\x51\x62\xc6\xf4\xde\x2c\xca\xf9\x64\x08\x3f\x56\xbf\xb6\xfc\x50\x94\x33\xa9\xde\xaf\xe4\xac\xab\x03\x13\x91\xd8\xa7\x41\x9e\xc7\x3e\xed\x9a\xa7\x51\xbc\xa0\x9f\xcc\xe0\x3c\xb2\xac\x48\x0f\xeb\x1c\xf3\x32\x91\x1d\x2d\x44\x31\xfe\x50\x95\xd4\x27\x26\xca\xf3\xea\x38\x02\xe3\x7d\xa7\xc9\x7d\x87\x4f\xe1\x2a\x4d\x93\x14\x99\x2f\x92\xed\x6a\xd1\x89\x13\xd6\x59\x46\xf1\x42\xc3\x09\x0d\x36\xa2\x35\x5f\x17\xba\xe8\x2c\xd3\x64\xcd\xdf\xb2\xae\xf9\x77\x13\x17\xa2\x31\x48\x2d\xcb\xdc\xd0\x78\x11\xc5\xb7\xa6\x41\x48\x24\x57\xc0\xb2\xcc\x65\x14\x87\xab\xe8\x67\xba\x68\xbc\x46\x91\xcd\xfb\x78\x49\x37\x19\x4a\x31\xa4\xf6\x66\x9b\xdd\xa1\x08\x63\x88\xaa\x95\x98\xcb\x71\x46\x4b\x64\xda\xbc\x36\xb5\xe7\x77\x61\xfa\x9c\x21\x07\x63\x7d\xfd\x4f\xf4\x2a\xa5\x84\xda\xd9\x66\x15\x31\x64\x9e\x9a\xf2\x2e\x55\x3f\xed\x6c\x15\xcd\x29\x72\xa0\xe7\xf2\xe3\xe8\x40\x42\xf4\x21\x39\x8f\x2e\x92\xf3\xa8\xdb\x95\x37\x24\x24\xa9\x1f\x05\x27\xa2\x4b\xdb\x24\x84\x84\xa2\x7f\x87\x10\x12\xeb\x1d\x3e\x5c\xb7\x30\xe6\x8b\x16\xce\xe7\x34\xcb\x3a\x9b\x30\xa5\x31\xd3\xab\x97\x2c\x3b\x69\x92\x30\x13\x9f\xc4\xf6\x26\xd9\x20\x5c\xd0\x55\x46\xd5\x9c\x44\xfb\xf3\x24\x66\x51\xbc\xa5\xbc\x00\x5f\x84\x1
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
2019-05-08 18:34:08 +00:00
func web_uiAssetsVendorEb72c0b1a44ba20937ce35fd2ad2e8daJsBytes() ([]byte, error) {
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
return bindataRead(
2019-05-08 18:34:08 +00:00
_web_uiAssetsVendorEb72c0b1a44ba20937ce35fd2ad2e8daJs,
"web_ui/assets/vendor-eb72c0b1a44ba20937ce35fd2ad2e8da.js",
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
)
}
2019-05-08 18:34:08 +00:00
func web_uiAssetsVendorEb72c0b1a44ba20937ce35fd2ad2e8daJs() (*asset, error) {
bytes, err := web_uiAssetsVendorEb72c0b1a44ba20937ce35fd2ad2e8daJsBytes()
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/assets/vendor-eb72c0b1a44ba20937ce35fd2ad2e8da.js", size: 1336336, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
var _web_uiIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x58\x6d\x6f\xdb\xc6\x93\x7f\x9f\x4f\xb1\xd5\x9d\x91\x14\xf8\xef\x68\x77\xf6\xb9\xb5\x0c\xb8\x8e\xdb\xfa\x10\x27\x81\xe3\x04\xff\xbe\x0a\xf8\xb0\xb2\x98\xa3\x48\x1d\x49\xcb\x71\x8a\x7c\xf7\xc3\x2c\x29\x59\xce\x43\x8b\x43\xef\x85\x57\xc3\x9d\xd9\xdf\x3c\xcf\x92\x3e\xfe\xe1\xf9\xab\xb3\xeb\x3f\x5e\x9f\xb3\xd5\xb0\xae\x4f\x9e\x1c\xd3\x0f\x2b\xea\xac\xef\x17\xb3\xb8\xce\x63\xc7\xeb\x36\x2b\xab\xe6\x66\x76\xf2\x84\xb1\xe3\x55\xcc\x4a\x22\x18\x3b\x5e\xc7\x21\x63\xc5\x2a\xeb\xfa\x38\x2c\x66\xb7\xc3\x92\xfb\xd9\x21\x6b\x35\x0c\x1b\x1e\xff\xe7\xb6\xda\x2e\x66\xff\xe6\x6f\x4f\xf9\x59\xbb\xde\x64\x43\x95\xd7\x71\xc6\x8a\xb6\x19\x62\x33\x2c\x66\x17\xe7\x8b\x58\xde\xc4\xdd\xc9\xa1\x1a\xea\x78\x72\xd6\x36\xfd\x6d\xcd\xf2\x7b\xf6\x7b\xd6\xaf\xaa\xb3\xb6\xdb\x1c\xcf\x47\xd6\x81\x82\x26\x5b\xc7\xc5\xac\x8c\x7d\xd1\x55\x9b\xa1\x6a\x9b\x03\xd8\xd9\xd7\x82\xdb\x2a\xde\x6d\xda\x6e\x38\x90\xba\xab\xca\x61\xb5\x28\xe3\xb6\x2a\x22\x4f\x0f\xff\x62\x55\x53\x0d\x55\x56\xf3\xbe\xc8\xea\xb8\x90\xb3\x93\x27\x09\xe9\xc9\x21\x54\x91\xec\xe3\xb7\xd5\xbc\x68\x9b\x65\x75\x33\x8f\xcd\xb6\xea\xda\x66\x1d\x9b\x43\xf8\x23\xf7\xcb\x11\xe2\xba\x2d\x6f\xeb\xf8\xba\x8b\xcb\xea\xe3\x11\xe2\x91\x3a\x3d\x42\xdc\x23\xd0\x0e\x9e\x1d\x21\x1e\x40\xec\xa5\x36\x5d\x5b\xde\x16\xe4\xda\x5e\xac\x6b\xdb\xe1\xed\xd5\x8b\xbd\xc8\xfc\x08\x0d\xa9\x31\xee\x17\x38\x1b\x15\xbf\xce\x86\x15\x6d\x3c\x4f\xcb\x7c\x7f\xb4\x6e\x8b\x8c\xb0\xae\xef\x37\x71\x7f\x3e\xbb\x1d\xda\xbd\xc4\x39\x25\xfc\xfc\xe5\xbb\x89\x9b\xcc\xff\xf5\xfc\xf4\xfa\xed\xd5\xf9\x9b\xc3\xbd\xb2\xe7\xd5\x7a\xd3\xb5\xdb\x58\xf2\xec\x43\x36\xb9\x35\x74\xb7\xf1\x88\xb4\x26\xa8\x7f\x5f\x9f\xbf\x7c\xfe\xfe\xf5\xd5\xab\xeb\x57\x54\x5f\x8f\xce\x3f\xcf\x86\xc9\x82\x65\x56\xf7\xe9\xd0\xee\xdc\xe9\xeb\xd7\x87\x92\x14\xef\xbf\x08\xda\x36\x76\xfd\x14\x9d\x24\x81\x80\x20\xe8\x69\x07\xd7\xc5\xbe\xfa\x14\xdf\xc4\x8e\x52\xfc\x3c\x2e\xb3\xdb\x7a\xe8\x0f\x15\x54\xcd\x87\x98\x22\xfc\x6b\x56\x0c\x6d\x57\xc5\x1d\xd7\x10\x97\x6a\x66\xaf\x8c\xf2\xda\xb5\x75\x1d\xbb\x83\xad\xf5\xa6\x6d\xa6\x94\x99\x07\x2f\xce\x5e\xbd\x7c\xf3\xf6\xc5\xfb\xb7\x17\xef\x9f\x5f\xbc\x39\xfd\xe5\xc5\xf9\xfb\xab\xf3\xd3\x17\xd7\x17\x97\xe7\x87\x6e\x1f\x8a\xfe\x76\x71\xfd\xfe\xcd\xef\xa7\x7b\x4f\x82\x52\x36\x14\xb2\x2c\xf6\xba\x26\xc1\x77\xe7\x57\x6f\x2e\x5e\xbd\xdc\x0b\x6e\x25\x18\x90\x1c\xf9\xcd\xfe\x08\x2f\xe3\xf6\x08\xc5\x11\xfa\x03\x94\xf0\x25\xd0\x2f\x17\x2f\x4f\xaf\xfe\x78\x4f\xc9\xd9\x83\xb5\x7d\xff\xa5\xd8\xf3\x57\x67\x6f\x2f\xcf\x5f\x5e\x9f\x5e\x5f\xbc\x7a\xf9\xfe\xb0\xf4\xa8\xc1\xfb\x23\x75\x3a\x9f\xdf\xdd\xdd\xc1\x98\x1c\xa8\xda\x79\xd9\x16\x5f\xa1\x9c\xbd\x7a\xfd\xc7\xd5\xc5\x6f\xbf\x5f\xff\x05\xc2\x8a\x7a\xbd\x68\xbb\x0d\x14\xed\xfa\xfb\x00\x7f\x9c\x9f\x5e\x3d\x24\x5c\xc8\x07\xc7\xf2\xae\xbd\xeb\x63\x57\x2d\xef\x0f\x33\x3c\xc4\x7e\x97\xf2\x47\x15\x1a\x3f\xd2\x34\x38\xdd\x6c\xea\x6a\xec\x8b\xdf\xea\x36\xcf\xea\xc7\x75\x39\x63\xf3\x93\x27\xc7\x3f\x70\xce\x1e\x87\xff\x27\xf6\x9d\xb8\xb3\x67\xfb\xc7\x1f\x19\xe7\xd3\x18\xaa\xab\xe6\xbf\x59\x17\xeb\xc5\xac\x2a\x68\x4e\x0d\xf7\x9b\xb8\x98\x55\xeb\xec\x26\xce\x37\xcd\xcd\x8c\xad\xba\xb8\x5c\xcc\xfe\xfc\xf3\xb0\x87\x3f\x7f\xce\xfa\x3e\x0e\xfd\x7c\x99\x6d\xe9\x18\x57\xf8\x51\x21\xb7\xda\x3a\xa3\x32\x14\xa6\xb0\x99\x2d\x73\xb7\x0c\xaa\x14\xa5\xcc\x33\x25\xf2\x32\x28\x48\x80\x54\xf6\xfd\x62\x96\x8e\xcc\xfe\x5f\xad\x90\xf6\xa3\xb4\xdc\x3a\x2c\x94\x54\x4e\x5b\x6d\x73\xd4\x39\x2a\x93\x07\x23\xa5\x37\xae\x28\xb3\x32\x3e\xb2\x22\x1d\xd9\x4d\xd2\xd1\x8c\xaa\x19\xe2\x4d\x57\x0d\xf7\x8b\xd9\x6c\xb4\xa9\x1f\xee\xeb\xd8\xaf\x62\x1c\xfe\xc6\x90\x6d\x6c\xca\xb6\xe3\x21\x66\xae\xd4\x42\x14\xa2\x88\x85\xb3\x1e\xa3\xf7\x4e\x96\x4b\xa9\x85\x53\x1e\x15\x14\x7d\xff\xc8\xf3\x7f\xa0\x72\x3f\x79\x78\xbe\x2c\xac\x28\x97\x68\xcc\x32\xda\xcc\x8a\x0c\x73\xe1\x44\x59\x8a\xa8\xb2\x65\x16\xc2\xa4\x75\xbc\x33\x18\x3b\x9e\xef\x6e\xcc\xe3\xbc\x2d\xef\x27\x73\x9a\x76\xbc\xb3\xc6\xc7\xb4\x55\x56\x5b\x96\xcc\x59\xcc\xd6\x59\x77\x53\x35\x3f\x31\xc1\x68\x38\xff\x3c\x7b\x90\x4a\x92\x2b\x3c\xf9\xaf\x6c\x9b\xbd\x49\x08\xec\x8a\x6e\xd8\x2e\x96\xc7\xf3\x15\x7e\x21\xb8\x39\x79\x5d\xc7
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
func web_uiIndexHtmlBytes() ([]byte, error) {
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
return bindataRead(
_web_uiIndexHtml,
"web_ui/index.html",
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
)
}
func web_uiIndexHtml() (*asset, error) {
bytes, err := web_uiIndexHtmlBytes()
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/index.html", size: 6031, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiRobotsTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x52\x56\xc8\x28\x29\x29\xb0\xd2\xd7\x2f\x2f\x2f\xd7\x2b\xca\x4f\xca\x2f\x29\x2e\xa9\x28\xd1\xcb\x2f\x4a\xe7\x0a\x2d\x4e\x2d\xd2\x4d\x4c\x4f\xcd\x2b\xb1\x52\xd0\xe2\x72\xc9\x2c\x4e\xcc\xc9\xc9\x2f\xb7\x52\xd0\x02\x04\x00\x00\xff\xff\xb8\x0a\xce\x59\x34\x00\x00\x00")
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
func web_uiRobotsTxtBytes() ([]byte, error) {
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
return bindataRead(
_web_uiRobotsTxt,
"web_ui/robots.txt",
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
)
}
func web_uiRobotsTxt() (*asset, error) {
bytes, err := web_uiRobotsTxtBytes()
UI V2 (#4086) * Move settings to use the same service/route API as the rest of the app * Put some ideas down for unit testing on adapters * Favour `Model` over `Entity` * Move away from using `reopen` to using Mixins * Amend messages, comment/document some usage * Make sure the returns are consistent in normalizePayload, also Add some todo's in to remind me to think consider this further at a later date. For example, is normalizePayload to be a hook or an overridable method * Start stripping back the HTML to semantics * Use a variable rather than chaining * Remove unused helpers * Start picking through the new designs, start with listing pages * First draft HTML for every page * Making progress on the CSS * Keep plugging away at the catalog css * Looking at scrolling * Wire up filtering * Sort out filter counting, more or less done a few outstanding * Start knocking the forms into shape * Add in codemirror * Keep moving forwards with the form like layouts * Start looking at ACL editing page, add footer in * Pull the filters back in, look at an autoresizer for scroll views * First draft toggles * 2nd draft healthcheck icons * Tweak node healthcheck icons * Looking at healthcheck detail icons * Tweak the filter-bar and add selections to the in content tabs * Add ACL create, pill-like acl type highlight * Tweaking the main nav some more * Working on the filter-bar and freetext-filter * Masonry layout * Stick with `checks` instead of healthy/unhealthy * Fix up the filter numbers/counts * Use the thead for a measure * First draft tomography back in * First draft DC dropdown * Add a temporary create buttong to kv's * Move KV and ACL to use a create page * Move tags * Run through old tests * Injectable server * Start adding test attributes * Add some page objects * More test attributes and pages * Acl filter objects * Add a page.. page object * Clickable items in lists * Add rest/spread babel plugin, remove mirage for now * Add fix for ember-collection * Keep track of acl filters * ember-cli-page-object * ember-test-selectors * ui: update version of ui compile deps * Update static assets * Centralize radiogroup helper * Rejig KV's and begin to clean it up * Work around lack of Tags for the moment.. * Some little css tweaks and start to remove possibles * Working on the dc page and incidentals 1. Sort the datacenter-picker list 2. Add a selected state to the datacenter-picker 3. Make dc an {Name: dc} 4. Add an env helper to get to 'env vars' from within templates * Click outside stuff for the datacenter-picker, is-active on nav * Make sure the dropdown CTA can be active * Bump ember add pluralize helper * Little try at sass based custom queries * Rejig tablular collection so it deals with resizing, actions 1. WIP: start building actions dropdowns 2. Move tabular collection to deal with resizing to rule out differences * First draft actions dropdowns * Add ports, selectable IP's * Flash messages, plus general cleanup/consistency 1. Add ember-cli-flash for flash messages 2. Move everything to get() instead of item.get 3. Spotted a few things that weren't consistent * DOn't go lower than zero * First draft vertical menu * Missed a get, tweak dropmenu tick * Big cleanup 1. this.get(), this.set() > get(), set() 2. assign > {...{}, ...{}} 3. Seperator > separator * WIP: settings * Moved things into a ui-v2 folder * Decide on a way to do the settings page whilst maintaining the url + dc's * Start some error pages * Remove base64 polyfill * Tie in settings, fix atob bug, tweak layout css * Centralize confirmations into a component * Allow switching between the old and new UI with the CONSUL_UI_BETA env var Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two. * Attempt at some updates to integrate the v2 ui build into the main infrastructure * Add redirect to index.html for unknown paths * Allow redictor to /index.html for new ui when using -ui-dir * Take ACLs to the correct place on save * First pass breadcrumbs * Remove datacenter selector on the index page * Tweak overall layout * Make buttons 'resets' * Tweak last DC stuff * Validations plus kv keyname viewing tweaks * Pull sessions back in * Tweak the env vars to be more reusable * Move isAnon to the view * No items and disabled acl css * ACL and KV details 1. Unauthorized page 2. Make sure the ACL is always selected when it needs it 3. Check record deletion with a changeset * Few more acl tweaks/corrections * Add no items view to node > services * Tags for node > services * Make sure we have tags * Fix up the labels on the tomography graph * Add node link (agent) to kv sessions * Duplicate up `create` for KV 'root creation' * Safety check for health checks * Fix up the grids * Truncate td a's, fix kv columns * Watch for spaces in KV id's * Move actions to their own mixins for now at least * Link reset to settings incase I want to type it in * Tweak error page * Cleanup healthcheck icons in service listing * Centralize errors and make getting back easier * Nice numbers * Compact buttons * Some incidental css cleanups * Use 'Key / Value' for root * Tweak tomography layout * Fix single healthcheck unhealthy resource * Get loading screen ready * Fix healthy healthcheck tick * Everything in header starts white * First draft loader * Refactor the entire backend to use proper unique keys, plus.. 1. Make unique keys form dc + slug (uid) 2. Fun with errors... * Tweak header colors * Add noopener noreferrer to external links * Add supers to setupController * Implement cloning, using ember-data... * Move the more expensive down the switch order * First draft empty record cleanup.. * Add the cusomt store test * Temporarily use the htmlSafe prototype to remove the console warning * Encode hashes in urls * Go back to using title for errors for now * Start removing unused bulma * Lint * WIP: Start looking at failing tests * Remove single redirect test * Finish off error message styling * Add full ember-data cache invalidation to avoid stale data... * Add uncolorable warning icons * More info icon * Rearrange single service, plus tag printing * Logo * No quotes * Add a simple startup logo * Tweak healthcheck statuses * Fix border-color for healthchecks * Tweak node tabs * Catch 401 ACL errors and rethrow with the provided error message * Remove old acl unauth and error routes * Missed a super * Make 'All' refer to number of checks, not services * Remove ember-resizer, add autoprefixer * Don't show tomography if its not worth it, viewify it more also * Little model cleanup * Chevrons * Find a way to reliably set the class of html from the view * Consistent html * Make sure session id's are visible as long as possible * Fix single service check count * Add filters and searchs to the query string * Don't remember the selected tab * Change text * Eror tweaking * Use chevrons on all breadcrumbs even in kv's * Clean up a file * Tweak some messaging * Makesure the footer overlays whats in the page * Tweak KV errors * Move json toggle over to the right * feedback-dialog along with copy buttons * Better confirmation dialogs * Add git sha comment * Same title as old UI * Allow defaults * Make sure value is a string * WIP: Scrolling dropdowns/confirmations * Add to kv's * Remove set * First pass trace * Better table rows * Pull over the hashi code editor styles * Editor tweaks * Responsive tabs * Add number formatting to tomography * Review whats left todo * Lint * Add a coordinate ember data triplet * Bump in a v2.0.0 * Update old tests * Get coverage working again * Make sure query keys are also encoded * Don't test console.error * Unit test some more utils * Tweak the size of the tabular collections * Clean up gitignore * Fix copy button rollovers * Get healthcheck 'icon icons' onto the text baseline * Tweak healthcheck padding and alignment * Make sure commas kick in in rtt, probably never get to that * Improve vertical menu * Tweak dropdown active state to not have a bg * Tweak paddings * Search entire string not just 'startsWith' * Button states * Most buttons have 1px border * More button tweaks * You can only view kv folders * CSS cleanup reduction * Form input states and little cleanup * More CSS reduction * Sort checks by importance * Fix click outside on datacenter picker * Make sure table th's also auto calculate properly * Make sure `json` isn't remembered in KV editing * Fix recursive deletion in KV's * Centralize size * Catch updateRecord * Don't double envode * model > item consistency * Action loading and ACL tweaks * Add settings dependencies to acl tests * Better loading * utf-8 base64 encode/decode * Don't hang off a prototype for htmlSafe * Missing base64 files... * Get atob/btoa polyfill right * Shadowy rollovers * Disabled button styling for primaries * autofocuses only onload for now * Fix footer centering * Beginning of 'notices' * Remove the isLocked disabling as we are letting you do what the API does * Don't forget the documentation link for sessions * Updates are more likely * Use exported constant * Dont export redirectFS and a few other PR updates * Remove the old bootstrap config which was used for the old UI skin * Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
if err != nil {
return nil, err
}
ui: modify content path (#5950) * Add ui-content-path flag * tests complete, regex validator on string, index.html updated * cleaning up debugging stuff * ui: Enable ember environment configuration to be set via the go binary at runtime (#5934) * ui: Only inject {{.ContentPath}} if we are makeing a prod build... ...otherwise we just use the current rootURL This gets injected into a <base /> node which solves the assets path problem but not the ember problem * ui: Pull out the <base href=""> value and inject it into ember env See previous commit: The <base href=""> value is 'sometimes' injected from go at index serve time. We pass this value down to ember by overwriting the ember config that is injected via a <meta> tag. This has to be done before ember bootup. Sometimes (during testing and development, basically not production) this is injected with the already existing value, in which case this essentially changes nothing. The code here is slightly abstracted away from our specific usage to make it easier for anyone else to use, and also make sure we can cope with using this same method to pass variables down from the CLI through to ember in the future. * ui: We can't use <base /> move everything to javascript (#5941) Unfortuantely we can't seem to be able to use <base> and rootURL together as URL paths will get doubled up (`ui/ui/`). This moves all the things that we need to interpolate with .ContentPath to the `startup` javascript so we can conditionally print out `{{.ContentPath}}` in lots of places (now we can't use base) * fixed when we serve index.html * ui: For writing a ContentPath, we also need to cope with testing... (#5945) ...and potentially more environments Testing has more additional things in a separate index.html in `tests/` This make the entire thing a little saner and uses just javascriopt template literals instead of a pseudo handbrake synatx for our templating of these files. Intead of just templating the entire file this way, we still only template `{{content-for 'head'}}` and `{{content-for 'body'}}` in this way to ensure we support other plugins/addons * build: Loosen up the regex for retrieving the CONSUL_VERSION (#5946) * build: Loosen up the regex for retrieving the CONSUL_VERSION 1. Previously the `sed` replacement was searching for the CONSUL_VERSION comment at the start of a line, it no longer does this to allow for indentation. 2. Both `grep` and `sed` where looking for the omment at the end of the line. We've removed this restriction here. We don't need to remove it right now, but if we ever put the comment followed by something here the searching would break. 3. Added `xargs` for trimming the resulting version string. We aren't using this already in the rest of the scripts, but we are pretty sure this is available on most systems. * ui: Fix erroneous variable, and also force an ember cache clean on build 1. We referenced a variable incorrectly here, this fixes that. 2. We also made sure that every `make` target clears ember's `tmp` cache to ensure that its not using any caches that have since been edited everytime we call a `make` target. * added docs, fixed encoding * fixed go fmt * Update agent/config/config.go Co-Authored-By: R.B. Boyer <public@richardboyer.net> * Completed Suggestions * run gofmt on http.go * fix testsanitize * fix fullconfig/hcl by setting correct 'want' * ran gofmt on agent/config/runtime_test.go * Update website/source/docs/agent/options.html.md Co-Authored-By: Hans Hasselberg <me@hans.io> * Update website/source/docs/agent/options.html.md Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * remove contentpath from redirectFS struct
2019-06-26 11:43:30 -05:00
info := bindataFileInfo{name: "web_ui/robots.txt", size: 52, mode: os.FileMode(420), modTime: time.Unix(1559855141, 0)}
2015-11-30 11:24:39 -08:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
// Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func Asset(name string) ([]byte, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
}
return a.bytes, nil
}
return nil, fmt.Errorf("Asset %s not found", name)
}
// MustAsset is like Asset but panics when Asset would return an error.
// It simplifies safe initialization of global variables.
func MustAsset(name string) []byte {
a, err := Asset(name)
if err != nil {
panic("asset: Asset(" + name + "): " + err.Error())
}
return a
}
// AssetInfo loads and returns the asset info for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func AssetInfo(name string) (os.FileInfo, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
}
return a.info, nil
}
return nil, fmt.Errorf("AssetInfo %s not found", name)
}
// AssetNames returns the names of the assets.
func AssetNames() []string {
names := make([]string, 0, len(_bindata))
for name := range _bindata {
names = append(names, name)
}
return names
}
// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() (*asset, error){
"web_ui/assets/android-chrome-192x192-501b0811835ea92d42937aaf9edfbe08.png": web_uiAssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08Png,
"web_ui/assets/android-chrome-512x512-707625c5eb04f602ade1f89a8868a329.png": web_uiAssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329Png,
"web_ui/assets/apple-touch-icon-114x114-49e20f98710f64b0cae7545628a94496.png": web_uiAssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496Png,
"web_ui/assets/apple-touch-icon-120x120-c9cc4fc809a6cbff9b9c261c70309819.png": web_uiAssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819Png,
"web_ui/assets/apple-touch-icon-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png": web_uiAssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng,
"web_ui/assets/apple-touch-icon-152x152-08c9aa1c11a83650b824e3549b33a832.png": web_uiAssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832Png,
"web_ui/assets/apple-touch-icon-57x57-ae96d6d27e61e25514af459bc8b20960.png": web_uiAssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960Png,
"web_ui/assets/apple-touch-icon-60x60-522fca33a44f77c679561313def843b9.png": web_uiAssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9Png,
"web_ui/assets/apple-touch-icon-72x72-da5dd17cb4f094262b19223464fc9541.png": web_uiAssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541Png,
"web_ui/assets/apple-touch-icon-76x76-c5fff53d5f3e96dbd2fe49c5cc472022.png": web_uiAssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022Png,
"web_ui/assets/apple-touch-icon-d2b583b1104a1e6810fb3984f8f132ae.png": web_uiAssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePng,
"web_ui/assets/auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.js": web_uiAssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJs,
"web_ui/assets/codemirror/mode/javascript/javascript-a4c0d68244e6e74f9225801e5f9d724e.js": web_uiAssetsCodemirrorModeJavascriptJavascriptA4c0d68244e6e74f9225801e5f9d724eJs,
"web_ui/assets/codemirror/mode/ruby/ruby-61421add5f64c0fc261fe6049c3bd5d7.js": web_uiAssetsCodemirrorModeRubyRuby61421add5f64c0fc261fe6049c3bd5d7Js,
"web_ui/assets/codemirror/mode/yaml/yaml-48498cacbe2464bb47bdb3732d4e25cb.js": web_uiAssetsCodemirrorModeYamlYaml48498cacbe2464bb47bdb3732d4e25cbJs,
"web_ui/assets/consul-logo-707625c5eb04f602ade1f89a8868a329.png": web_uiAssetsConsulLogo707625c5eb04f602ade1f89a8868a329Png,
2019-05-22 20:19:12 +00:00
"web_ui/assets/consul-ui-0cc7f4e2a5bcf306897a58923befa74c.js": web_uiAssetsConsulUi0cc7f4e2a5bcf306897a58923befa74cJs,
"web_ui/assets/consul-ui-bfc60df255fe6a60a2b070dd0e3afa99.css": web_uiAssetsConsulUiBfc60df255fe6a60a2b070dd0e3afa99Css,
"web_ui/assets/encoding-5ed8e95353b97ff5dd41bf66212d118e.js": web_uiAssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJs,
"web_ui/assets/encoding-indexes-75eea16b259716db4fd162ee283d2ae5.js": web_uiAssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5Js,
"web_ui/assets/favicon-128-08e1368e84f412f6ad30279d849b1df9.png": web_uiAssetsFavicon12808e1368e84f412f6ad30279d849b1df9Png,
"web_ui/assets/favicon-16x16-672c31374646b24b235b9511857cdade.png": web_uiAssetsFavicon16x16672c31374646b24b235b9511857cdadePng,
"web_ui/assets/favicon-196x196-57be5a82d3da06c261f9e4eb972a8a3a.png": web_uiAssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPng,
"web_ui/assets/favicon-32x32-646753a205c6a6db7f93d0d1ba30bd93.png": web_uiAssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93Png,
"web_ui/assets/favicon-672c31374646b24b235b9511857cdade.png": web_uiAssetsFavicon672c31374646b24b235b9511857cdadePng,
"web_ui/assets/favicon-96x96-6f8f8393df02b51582417746da41b274.png": web_uiAssetsFavicon96x966f8f8393df02b51582417746da41b274Png,
"web_ui/assets/favicon.ico": web_uiAssetsFaviconIco,
"web_ui/assets/loading-cylon-pink.svg": web_uiAssetsLoadingCylonPinkSvg,
"web_ui/assets/mstile-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png": web_uiAssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng,
"web_ui/assets/mstile-150x150-6b13ab220a09a9e72328a3b05d5b9eec.png": web_uiAssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPng,
"web_ui/assets/mstile-310x150-ccc673174b188a92f1e78bc25aa6f3f8.png": web_uiAssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8Png,
"web_ui/assets/mstile-310x310-49242d1935854126c10457d1cdb1762b.png": web_uiAssetsMstile310x31049242d1935854126c10457d1cdb1762bPng,
"web_ui/assets/mstile-70x70-08e1368e84f412f6ad30279d849b1df9.png": web_uiAssetsMstile70x7008e1368e84f412f6ad30279d849b1df9Png,
"web_ui/assets/safari-pinned-tab.svg": web_uiAssetsSafariPinnedTabSvg,
"web_ui/assets/vendor-9ea7d400c0cec7682e8871df14073823.css": web_uiAssetsVendor9ea7d400c0cec7682e8871df14073823Css,
2019-05-08 18:34:08 +00:00
"web_ui/assets/vendor-eb72c0b1a44ba20937ce35fd2ad2e8da.js": web_uiAssetsVendorEb72c0b1a44ba20937ce35fd2ad2e8daJs,
"web_ui/index.html": web_uiIndexHtml,
"web_ui/robots.txt": web_uiRobotsTxt,
2015-11-30 11:24:39 -08:00
}
// AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the
// following hierarchy:
// data/
// foo.txt
// img/
// a.png
// b.png
// then AssetDir("data") would return []string{"foo.txt", "img"}
// AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
node := _bintree
if len(name) != 0 {
cannonicalName := strings.Replace(name, "\\", "/", -1)
pathList := strings.Split(cannonicalName, "/")
for _, p := range pathList {
node = node.Children[p]
if node == nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
}
}
if node.Func != nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
rv := make([]string, 0, len(node.Children))
for childName := range node.Children {
rv = append(rv, childName)
}
return rv, nil
}
type bintree struct {
Func func() (*asset, error)
Children map[string]*bintree
}
var _bintree = &bintree{nil, map[string]*bintree{
"web_ui": &bintree{nil, map[string]*bintree{
"assets": &bintree{nil, map[string]*bintree{
"android-chrome-192x192-501b0811835ea92d42937aaf9edfbe08.png": &bintree{web_uiAssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08Png, map[string]*bintree{}},
"android-chrome-512x512-707625c5eb04f602ade1f89a8868a329.png": &bintree{web_uiAssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329Png, map[string]*bintree{}},
"apple-touch-icon-114x114-49e20f98710f64b0cae7545628a94496.png": &bintree{web_uiAssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496Png, map[string]*bintree{}},
"apple-touch-icon-120x120-c9cc4fc809a6cbff9b9c261c70309819.png": &bintree{web_uiAssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819Png, map[string]*bintree{}},
"apple-touch-icon-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png": &bintree{web_uiAssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng, map[string]*bintree{}},
"apple-touch-icon-152x152-08c9aa1c11a83650b824e3549b33a832.png": &bintree{web_uiAssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832Png, map[string]*bintree{}},
"apple-touch-icon-57x57-ae96d6d27e61e25514af459bc8b20960.png": &bintree{web_uiAssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960Png, map[string]*bintree{}},
"apple-touch-icon-60x60-522fca33a44f77c679561313def843b9.png": &bintree{web_uiAssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9Png, map[string]*bintree{}},
"apple-touch-icon-72x72-da5dd17cb4f094262b19223464fc9541.png": &bintree{web_uiAssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541Png, map[string]*bintree{}},
"apple-touch-icon-76x76-c5fff53d5f3e96dbd2fe49c5cc472022.png": &bintree{web_uiAssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022Png, map[string]*bintree{}},
"apple-touch-icon-d2b583b1104a1e6810fb3984f8f132ae.png": &bintree{web_uiAssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePng, map[string]*bintree{}},
"auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.js": &bintree{web_uiAssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJs, map[string]*bintree{}},
"codemirror": &bintree{nil, map[string]*bintree{
"mode": &bintree{nil, map[string]*bintree{
"javascript": &bintree{nil, map[string]*bintree{
"javascript-a4c0d68244e6e74f9225801e5f9d724e.js": &bintree{web_uiAssetsCodemirrorModeJavascriptJavascriptA4c0d68244e6e74f9225801e5f9d724eJs, map[string]*bintree{}},
}},
"ruby": &bintree{nil, map[string]*bintree{
"ruby-61421add5f64c0fc261fe6049c3bd5d7.js": &bintree{web_uiAssetsCodemirrorModeRubyRuby61421add5f64c0fc261fe6049c3bd5d7Js, map[string]*bintree{}},
}},
"yaml": &bintree{nil, map[string]*bintree{
"yaml-48498cacbe2464bb47bdb3732d4e25cb.js": &bintree{web_uiAssetsCodemirrorModeYamlYaml48498cacbe2464bb47bdb3732d4e25cbJs, map[string]*bintree{}},
2018-10-19 18:57:23 +00:00
}},
}},
2018-06-14 10:07:03 -07:00
}},
"consul-logo-707625c5eb04f602ade1f89a8868a329.png": &bintree{web_uiAssetsConsulLogo707625c5eb04f602ade1f89a8868a329Png, map[string]*bintree{}},
2019-05-22 20:19:12 +00:00
"consul-ui-0cc7f4e2a5bcf306897a58923befa74c.js": &bintree{web_uiAssetsConsulUi0cc7f4e2a5bcf306897a58923befa74cJs, map[string]*bintree{}},
"consul-ui-bfc60df255fe6a60a2b070dd0e3afa99.css": &bintree{web_uiAssetsConsulUiBfc60df255fe6a60a2b070dd0e3afa99Css, map[string]*bintree{}},
"encoding-5ed8e95353b97ff5dd41bf66212d118e.js": &bintree{web_uiAssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJs, map[string]*bintree{}},
"encoding-indexes-75eea16b259716db4fd162ee283d2ae5.js": &bintree{web_uiAssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5Js, map[string]*bintree{}},
"favicon-128-08e1368e84f412f6ad30279d849b1df9.png": &bintree{web_uiAssetsFavicon12808e1368e84f412f6ad30279d849b1df9Png, map[string]*bintree{}},
"favicon-16x16-672c31374646b24b235b9511857cdade.png": &bintree{web_uiAssetsFavicon16x16672c31374646b24b235b9511857cdadePng, map[string]*bintree{}},
"favicon-196x196-57be5a82d3da06c261f9e4eb972a8a3a.png": &bintree{web_uiAssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPng, map[string]*bintree{}},
"favicon-32x32-646753a205c6a6db7f93d0d1ba30bd93.png": &bintree{web_uiAssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93Png, map[string]*bintree{}},
"favicon-672c31374646b24b235b9511857cdade.png": &bintree{web_uiAssetsFavicon672c31374646b24b235b9511857cdadePng, map[string]*bintree{}},
"favicon-96x96-6f8f8393df02b51582417746da41b274.png": &bintree{web_uiAssetsFavicon96x966f8f8393df02b51582417746da41b274Png, map[string]*bintree{}},
"favicon.ico": &bintree{web_uiAssetsFaviconIco, map[string]*bintree{}},
"loading-cylon-pink.svg": &bintree{web_uiAssetsLoadingCylonPinkSvg, map[string]*bintree{}},
"mstile-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png": &bintree{web_uiAssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng, map[string]*bintree{}},
"mstile-150x150-6b13ab220a09a9e72328a3b05d5b9eec.png": &bintree{web_uiAssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPng, map[string]*bintree{}},
"mstile-310x150-ccc673174b188a92f1e78bc25aa6f3f8.png": &bintree{web_uiAssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8Png, map[string]*bintree{}},
"mstile-310x310-49242d1935854126c10457d1cdb1762b.png": &bintree{web_uiAssetsMstile310x31049242d1935854126c10457d1cdb1762bPng, map[string]*bintree{}},
"mstile-70x70-08e1368e84f412f6ad30279d849b1df9.png": &bintree{web_uiAssetsMstile70x7008e1368e84f412f6ad30279d849b1df9Png, map[string]*bintree{}},
"safari-pinned-tab.svg": &bintree{web_uiAssetsSafariPinnedTabSvg, map[string]*bintree{}},
"vendor-9ea7d400c0cec7682e8871df14073823.css": &bintree{web_uiAssetsVendor9ea7d400c0cec7682e8871df14073823Css, map[string]*bintree{}},
2019-05-08 18:34:08 +00:00
"vendor-eb72c0b1a44ba20937ce35fd2ad2e8da.js": &bintree{web_uiAssetsVendorEb72c0b1a44ba20937ce35fd2ad2e8daJs, map[string]*bintree{}},
2015-11-30 11:24:39 -08:00
}},
"index.html": &bintree{web_uiIndexHtml, map[string]*bintree{}},
"robots.txt": &bintree{web_uiRobotsTxt, map[string]*bintree{}},
2015-11-30 11:24:39 -08:00
}},
}}
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
return err
}
info, err := AssetInfo(name)
if err != nil {
return err
}
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
if err != nil {
return err
}
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
if err != nil {
return err
}
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
if err != nil {
return err
}
return nil
}
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
// File
if err != nil {
return RestoreAsset(dir, name)
}
// Dir
for _, child := range children {
err = RestoreAssets(dir, filepath.Join(name, child))
if err != nil {
return err
}
}
return nil
}
func _filePath(dir, name string) string {
cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
}
func assetFS() *assetfs.AssetFS {
2016-08-09 19:03:10 -07:00
assetInfo := func(path string) (os.FileInfo, error) {
return os.Stat(path)
}
2015-11-30 11:24:39 -08:00
for k := range _bintree.Children {
2016-08-09 19:03:10 -07:00
return &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: assetInfo, Prefix: k}
2015-11-30 11:24:39 -08:00
}
panic("unreachable")
}