consul/agent/bindata_assetfs.go

1035 lines
5.2 MiB
Go
Raw Normal View History

2015-11-30 19:24:39 +00:00
// Code generated by go-bindata.
// sources:
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 18:52:53 +00:00
// pkg/web_ui/v2/assets/android-chrome-192x192-501b0811835ea92d42937aaf9edfbe08.png
// pkg/web_ui/v2/assets/android-chrome-512x512-707625c5eb04f602ade1f89a8868a329.png
// pkg/web_ui/v2/assets/apple-touch-icon-114x114-49e20f98710f64b0cae7545628a94496.png
// pkg/web_ui/v2/assets/apple-touch-icon-120x120-c9cc4fc809a6cbff9b9c261c70309819.png
// pkg/web_ui/v2/assets/apple-touch-icon-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png
// pkg/web_ui/v2/assets/apple-touch-icon-152x152-08c9aa1c11a83650b824e3549b33a832.png
// pkg/web_ui/v2/assets/apple-touch-icon-57x57-ae96d6d27e61e25514af459bc8b20960.png
// pkg/web_ui/v2/assets/apple-touch-icon-60x60-522fca33a44f77c679561313def843b9.png
// pkg/web_ui/v2/assets/apple-touch-icon-72x72-da5dd17cb4f094262b19223464fc9541.png
// pkg/web_ui/v2/assets/apple-touch-icon-76x76-c5fff53d5f3e96dbd2fe49c5cc472022.png
// pkg/web_ui/v2/assets/apple-touch-icon-d2b583b1104a1e6810fb3984f8f132ae.png
2018-10-11 16:54:11 +00:00
// pkg/web_ui/v2/assets/auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.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 18:52:53 +00:00
// pkg/web_ui/v2/assets/consul-logo-707625c5eb04f602ade1f89a8868a329.png
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
// pkg/web_ui/v2/assets/consul-ui-a4906f79ed84ea87f5f28e23fdde9580.js
// pkg/web_ui/v2/assets/consul-ui-eb2191f7fde75fdce9659f7db9d70d64.css
2018-10-11 16:54:11 +00:00
// pkg/web_ui/v2/assets/encoding-5ed8e95353b97ff5dd41bf66212d118e.js
// pkg/web_ui/v2/assets/encoding-indexes-75eea16b259716db4fd162ee283d2ae5.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 18:52:53 +00:00
// pkg/web_ui/v2/assets/favicon-128-08e1368e84f412f6ad30279d849b1df9.png
// pkg/web_ui/v2/assets/favicon-16x16-672c31374646b24b235b9511857cdade.png
// pkg/web_ui/v2/assets/favicon-196x196-57be5a82d3da06c261f9e4eb972a8a3a.png
// pkg/web_ui/v2/assets/favicon-32x32-646753a205c6a6db7f93d0d1ba30bd93.png
// pkg/web_ui/v2/assets/favicon-672c31374646b24b235b9511857cdade.png
// pkg/web_ui/v2/assets/favicon-96x96-6f8f8393df02b51582417746da41b274.png
// pkg/web_ui/v2/assets/favicon.ico
// pkg/web_ui/v2/assets/loading-cylon-pink.svg
// pkg/web_ui/v2/assets/mstile-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png
// pkg/web_ui/v2/assets/mstile-150x150-6b13ab220a09a9e72328a3b05d5b9eec.png
// pkg/web_ui/v2/assets/mstile-310x150-ccc673174b188a92f1e78bc25aa6f3f8.png
// pkg/web_ui/v2/assets/mstile-310x310-49242d1935854126c10457d1cdb1762b.png
// pkg/web_ui/v2/assets/mstile-70x70-08e1368e84f412f6ad30279d849b1df9.png
// pkg/web_ui/v2/assets/safari-pinned-tab.svg
2018-10-11 16:54:11 +00:00
// pkg/web_ui/v2/assets/vendor-76de132899793eca85d7043cb5b3efe4.js
2018-05-11 16:03:36 +00:00
// pkg/web_ui/v2/assets/vendor-c3a9380433ef2f2efb4ed437d3b54b31.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 18:52:53 +00:00
// pkg/web_ui/v2/index.html
// pkg/web_ui/v2/robots.txt
2015-11-30 19:24:39 +00: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
}
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 18:52:53 +00:00
var _web_uiV2AssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08Png = []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\x
func web_uiV2AssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08Png,
"web_ui/v2/assets/android-chrome-192x192-501b0811835ea92d42937aaf9edfbe08.png",
)
}
func web_uiV2AssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08Png() (*asset, error) {
bytes, err := web_uiV2AssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/android-chrome-192x192-501b0811835ea92d42937aaf9edfbe08.png", size: 18250, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329Png = []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\x
func web_uiV2AssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329Png,
"web_ui/v2/assets/android-chrome-512x512-707625c5eb04f602ade1f89a8868a329.png",
)
}
func web_uiV2AssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329Png() (*asset, error) {
bytes, err := web_uiV2AssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/android-chrome-512x512-707625c5eb04f602ade1f89a8868a329.png", size: 58433, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496Png = []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\
func web_uiV2AssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496Png,
"web_ui/v2/assets/apple-touch-icon-114x114-49e20f98710f64b0cae7545628a94496.png",
)
}
func web_uiV2AssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496Png() (*asset, error) {
bytes, err := web_uiV2AssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/apple-touch-icon-114x114-49e20f98710f64b0cae7545628a94496.png", size: 15576, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819Png = []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\
func web_uiV2AssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819Png,
"web_ui/v2/assets/apple-touch-icon-120x120-c9cc4fc809a6cbff9b9c261c70309819.png",
)
}
func web_uiV2AssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819Png() (*asset, error) {
bytes, err := web_uiV2AssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/apple-touch-icon-120x120-c9cc4fc809a6cbff9b9c261c70309819.png", size: 16251, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng = []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\
func web_uiV2AssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng,
"web_ui/v2/assets/apple-touch-icon-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png",
)
}
func web_uiV2AssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng() (*asset, error) {
bytes, err := web_uiV2AssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/apple-touch-icon-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png", size: 20027, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832Png = []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\
func web_uiV2AssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832Png,
"web_ui/v2/assets/apple-touch-icon-152x152-08c9aa1c11a83650b824e3549b33a832.png",
)
}
func web_uiV2AssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832Png() (*asset, error) {
bytes, err := web_uiV2AssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/apple-touch-icon-152x152-08c9aa1c11a83650b824e3549b33a832.png", size: 23769, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960Png = []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\xf
func web_uiV2AssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960Png,
"web_ui/v2/assets/apple-touch-icon-57x57-ae96d6d27e61e25514af459bc8b20960.png",
)
}
func web_uiV2AssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960Png() (*asset, error) {
bytes, err := web_uiV2AssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/apple-touch-icon-57x57-ae96d6d27e61e25514af459bc8b20960.png", size: 5158, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9Png = []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\xc
func web_uiV2AssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9Png,
"web_ui/v2/assets/apple-touch-icon-60x60-522fca33a44f77c679561313def843b9.png",
)
}
func web_uiV2AssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9Png() (*asset, error) {
bytes, err := web_uiV2AssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/apple-touch-icon-60x60-522fca33a44f77c679561313def843b9.png", size: 5522, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541Png = []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\xe
func web_uiV2AssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541Png,
"web_ui/v2/assets/apple-touch-icon-72x72-da5dd17cb4f094262b19223464fc9541.png",
)
}
func web_uiV2AssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541Png() (*asset, error) {
bytes, err := web_uiV2AssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/apple-touch-icon-72x72-da5dd17cb4f094262b19223464fc9541.png", size: 7289, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022Png = []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\x3
func web_uiV2AssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022Png,
"web_ui/v2/assets/apple-touch-icon-76x76-c5fff53d5f3e96dbd2fe49c5cc472022.png",
)
}
func web_uiV2AssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022Png() (*asset, error) {
bytes, err := web_uiV2AssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/apple-touch-icon-76x76-c5fff53d5f3e96dbd2fe49c5cc472022.png", size: 8031, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePng = []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
func web_uiV2AssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePng,
"web_ui/v2/assets/apple-touch-icon-d2b583b1104a1e6810fb3984f8f132ae.png",
)
}
func web_uiV2AssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePng() (*asset, error) {
bytes, err := web_uiV2AssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/apple-touch-icon-d2b583b1104a1e6810fb3984f8f132ae.png", size: 8285, mode: os.FileMode(420), modTime: time.Unix(1539613453, 0)}
2018-10-11 16:54:11 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x01\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00")
func web_uiV2AssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJsBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJs,
"web_ui/v2/assets/auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.js",
)
}
func web_uiV2AssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJs() (*asset, error) {
bytes, err := web_uiV2AssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJsBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.js", size: 0, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsConsulLogo707625c5eb04f602ade1f89a8868a329Png = []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
func web_uiV2AssetsConsulLogo707625c5eb04f602ade1f89a8868a329PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsConsulLogo707625c5eb04f602ade1f89a8868a329Png,
"web_ui/v2/assets/consul-logo-707625c5eb04f602ade1f89a8868a329.png",
)
}
func web_uiV2AssetsConsulLogo707625c5eb04f602ade1f89a8868a329Png() (*asset, error) {
bytes, err := web_uiV2AssetsConsulLogo707625c5eb04f602ade1f89a8868a329PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/consul-logo-707625c5eb04f602ade1f89a8868a329.png", size: 58433, mode: os.FileMode(420), modTime: time.Unix(1539613453, 0)}
2018-10-11 16:54:11 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
var _web_uiV2AssetsConsulUiA4906f79ed84ea87f5f28e23fdde9580Js = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x7b\x77\xdb\xb6\xf2\x28\xfa\xbf\x3f\x85\xcc\xb5\x8e\x4b\x6e\x43\x30\xa9\xb7\xd4\xb2\xb9\x69\x92\xee\x9d\xb3\xd3\x36\x27\x49\xfb\xbb\xbf\xeb\xe3\xd5\x03\x93\x90\xc4\x6d\x08\x54\x41\xc8\x8e\x63\xeb\xbb\xdf\x85\x07\xdf\xa4\x48\xd9\x4e\x1a\xf5\xb4\xab\x91\x25\x72\xf0\x98\xc1\x60\x66\x30\x18\x0c\x8c\x4d\x84\x3b\x11\x67\x81\xc7\x8d\x23\x1f\xcf\x03\x8a\x4d\xc3\x0b\x69\xb4\x21\xdd\x4d\x70\x86\x7c\xb4\xe6\x98\x45\x67\xc8\x23\x06\x38\x37\xf0\xc7\x75\xc8\x78\x64\x80\x4a\x98\xf5\x9a\x04\x1e\xe2\x41\x48\x73\x00\xab\xd0\xc7\x44\x57\x51\x7e\xec\x7b\xb9\xa7\x1b\x1e\x90\xe8\x6c\xc9\xf9\xfa\x6c\x85\xf9\x32\xf4\xeb\xde\x46\x1c\xf1\x4d\x54\xf1\x76\x85\xae\xf0\x73\xce\x19\xba\x24\xd8\xb8\x00\xf3\x0d\xf5\x44\x97\x4c\x0c\x38\xa0\x80\x01\x02\x22\x80\xac\xbb\xf8\x79\x27\x54\x6f\xac\x3b\x86\xf9\x86\xd1\x0e\xef\x04\xb4\x83\x9f\xfd\x72\xf9\x1f\xec\x71\xa8\x68\xf2\x96\x85\x6b\xcc\xf8\xad\x04\xbd\xbb\x46\x64\x83\x67\x14\x60\xba\x59\x61\xd9\xce\xec\xd8\x06\x5e\x48\xe7\xc1\x62\x93\xfc\xbe\x61\x01\xd7\xdf\xb7\xd6\x0c\x9f\xf3\x0b\x97\x02\xbc\xad\xab\xd7\xf8\xfd\x77\x1c\xfd\x14\xfa\x1b\x82\x8d\xb8\x09\x51\xf2\x08\x0b\x58\xb4\x21\xdc\xe5\xf1\x37\x88\x3f\x72\x4c\x7d\xf3\x6e\xc3\xc8\x8f\x21\xfb\x5f\x1b\xcc\x6e\x67\x29\xa2\x29\x2a\xcb\x20\x82\x68\xbd\xc6\xd4\xff\xf5\xdd\x1b\xd3\x40\x1e\x39\x23\x41\xc4\x0d\x70\x7e\x01\xe4\x4b\x8f\x60\x44\x65\x79\x13\x5b\xd6\x16\x64\x2a\x7c\x87\xbd\x90\xf9\xb9\x6a\x83\xb9\x79\x1d\x06\x7e\xc7\x76\x5d\x17\xc3\xc0\xb7\xf8\x92\x85\x37\x1d\x8a\x6f\x3a\xaf\x18\x0b\x99\x69\xfc\x77\xb8\xe9\xac\x36\x11\xef\x44\x6b\xec\x05\xf3\xdb\x0e\xa2\x9d\xc0\x37\xac\xa3\x1d\x3d\x0a\xe8\x3c\x34\xc0\xb9\xa8\x70\x67\xaf\x5e\x30\x8c\x38\x2e\x75\x2b\x3b\x74\x15\xb5\x7b\xb2\x94\xc4\x38\x34\xef\xb6\x80\xc3\x97\xcf\x3f\x3c\x7f\xf1\xea\xe7\x0f\xaf\xde\xfd\xfe\xbf\x7e\x7d\xf5\xee\xbf\x7f\x7f\xfb\xfc\xdd\xf3\x9f\x00\x85\x88\x73\x66\x32\xf8\xe3\x2f\xef\x5e\xbd\xfe\xe7\xcf\xbf\xff\xfb\xd5\x7f\x5b\x69\xeb\xbf\xae\xfd\xea\xd6\x01\xd9\xd9\xfe\x46\x96\x6b\xd1\x3e\xd9\xdd\xfe\x4b\x4c\x70\x55\xfb\x04\x44\x3b\xdb\xf7\x71\xc4\x59\x78\x6b\x80\xf3\x48\x35\x40\xe1\xfb\x37\xbf\xfe\x53\xd6\xde\xd4\xa5\x68\x77\x97\x5e\x90\x90\x56\xf5\x68\xf7\x78\x88\x42\x06\x38\x27\x7b\xf7\xa6\x81\x40\xef\xf0\x1f\x1b\x1c\xf1\x1c\xc3\x5e\x23\xd6\xe1\x2e\x86\xfc\x76\x8d\x01\x75\x31\x8c\x28\x5a\x47\xcb\x90\x1f\x45\x37\x01\xf7\x96\x26\x86\x4c\x15\xfb\x70\xbb\xc6\xd6\x9d\x87\x22\x6c\x78\x29\x5a\xc6\x2c\x8b\x49\x09\x6b\x93\x43\x29\xc5\x7e\x46\x2b\xc1\x86\xdb\x2c\xf0\xef\xd1\x66\x8d\x99\xc0\x9e\xdc\x9a\xe2\x09\x40\x6c\xb1\x59\x61\xca\x23\x6b\x0b\x64\x1b\xb3\xa2\x6c\x52\x1d\x26\xee\x5d\xc4\x43\x86\x67\x18\x88\x7e\xcf\x38\x08\xfc\x19\x05\x71\xd7\x67\x0c\x64\xfa\x3c\xcb\x75\x77\x0b\x22\xf7\x4e\xc9\xcd\x99\xec\x85\xfa\x9e\x52\xc7\x24\x96\x20\xd7\x2c\x83\x4f\xe6\xcd\x12\x23\x1f\xb3\x48\xbd\xd5\x3f\xf2\x10\x3e\xe2\x48\xbd\x16\xdf\x72\xef\xb6\xb9\x39\xfe\xbb\x10\xc3\xf1\x4b\x81\x71\x1e\xbe\x34\x4a\xd4\x6d\xa4\xda\x8e\x31\xeb\x70\xf8\xee\xd5\xff\xfa\xf5\xd5\xfb\x0f\xbf\xff\xfa\xf6\xe5\xf3\x0f\xaf\x66\x85\xa7\x2f\xde\xbd\x12\x4f\x75\x0f\x29\x44\x1e\x89\x47\x8b\x6e\x41\x91\x4a\xb9\xde\xb5\x6a\xf5\xe5\xab\x37\xaf\x6a\x5b\xad\xe5\x2a\x02\xdf\xfe\xfa\x61\x0f\xae\x09\xa2\x1a\x19\x98\xcc\x38\x0c\xd7\x88\x2f\x29\x5a\x61\xd7\x55\x14\x5d\x23\x16\x61\x31\xfb\xb2\x2c\x9c\xa9\x45\xce\x4a\x03\x98\x36\x40\xb1\x7a\xb1\x4c\x39\x11\x73\x13\x0d\x18\x86\x65\x59\x56\x52\xbd\xec\x4c\xe5\xfc\xd7\xb3\xee\x68\xbf\x1e\x65\x26\x55\x55\x87\x4c\xee\xde\x6d\x41\x68\x72\x90\x0a\x0c\xa5\x2b\x22\xb2\x59\xfc\xc8\xc2\x95\xa8\x10\x5b\x96\x84\x29\xf5\x1c\xf0\x52\xe7\x6b\xe4\xf9\x9e\x94\xcc\xd6\x62\xd2\x0d\x21\xe0\xa1\xe4\x5c\x22\xea\x13\xfc\x0e\x47\xeb\x90\x46\x05\xd1\xc0\x84\x4c\x15\x54\x45\x2e\x03\xa1\x4b\xf4\xb4\x3e\x0a\xe6\xa6\xe8\x5d\x04\x7f\xf9\xb7\x7a\x1f\x14\x7a\x4a\x44\x37\x93\x89\x73\x6c\x2b\xbe\x3d\x16\xfa\x1b\xcd\x90\x02\x56\x0d\xff\x10\x86\x42\xe9\xc6\xed\x9b\x01\x40\x80\xc2\xb7\xef\x5e\xff\xf4\xfc\xdd\x7f\xcb\x1e\x67\x24\xf5\xd1\x25\xc3\xe8\xea\x48\x71\xbb\xa8\x23\x88\x32\x26\x83\x19\x58\xf9\xba\xdf\x07\x74\x9
2018-10-11 16:54:11 +00:00
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
func web_uiV2AssetsConsulUiA4906f79ed84ea87f5f28e23fdde9580JsBytes() ([]byte, error) {
2018-10-11 16:54:11 +00:00
return bindataRead(
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
_web_uiV2AssetsConsulUiA4906f79ed84ea87f5f28e23fdde9580Js,
"web_ui/v2/assets/consul-ui-a4906f79ed84ea87f5f28e23fdde9580.js",
2018-10-11 16:54:11 +00:00
)
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
func web_uiV2AssetsConsulUiA4906f79ed84ea87f5f28e23fdde9580Js() (*asset, error) {
bytes, err := web_uiV2AssetsConsulUiA4906f79ed84ea87f5f28e23fdde9580JsBytes()
2018-10-11 16:54:11 +00:00
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/consul-ui-a4906f79ed84ea87f5f28e23fdde9580.js", size: 357440, mode: os.FileMode(420), modTime: time.Unix(1539613453, 0)}
2018-10-11 16:54:11 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
var _web_uiV2AssetsConsulUiEb2191f7fde75fdce9659f7db9d70d64Css = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xeb\x8e\xe3\x38\xd2\x20\xfa\x2a\x3c\x6e\x14\xa6\xb2\xca\x62\xe9\x2e\xd9\xee\x4c\xcc\x4c\xcd\x36\x6a\x81\x9a\x5d\x60\x67\xa7\xff\x0c\x0a\x0b\x5a\xa2\xd3\xfa\x4a\x17\x7f\x92\xec\xcc\x2c\xc3\xf3\x18\xe7\xf7\x79\xb6\xf3\x24\x07\x24\x75\x21\x29\x52\x92\x5d\xd9\xdd\xd3\xdf\x19\x54\xb7\xd3\xe6\x25\x78\x0b\x06\x83\x11\xc1\x88\x3f\x46\x7b\x54\x56\xb8\x06\x8b\xbf\xff\xef\x9f\x8c\x70\xb1\x41\x65\x9d\x44\x29\x5e\xa2\x2a\x89\xf1\x72\x97\x3c\x1e\x4b\xbc\xdc\x15\x45\x8d\xcb\xe5\x1e\xa3\x98\xfc\x79\x2c\x8b\xe3\x61\xb9\x2f\x97\x15\x8e\xea\xa4\xc8\xcf\x71\x52\x1d\x52\xf4\xb2\xde\xa6\x45\xf4\xf5\x02\x71\xb6\xc5\xa5\x71\x28\x9e\x70\x69\x54\x38\xc5\x51\x6d\x64\xc7\xb4\x4e\x0e\x29\x36\x4a\x9c\x15\x27\x6c\x6c\xeb\x7c\xa9\x2a\x57\x1c\x08\xc0\x25\x5a\x26\xf9\xe1\x58\xff\xa3\x7e\x39\xe0\xfb\x68\x8f\xa3\xaf\xdb\xe2\xf9\x0b\x9f\x58\xa2\x38\x29\xbe\x9c\xa3\x63\x59\x15\xe5\xfa\x50\x24\x79\x8d\xcb\xb6\xe9\x2d\xaa\x92\xc8\x88\xcb\xe2\x10\x17\x4f\xb9\x51\x97\xc9\xe3\x23\x2e\xff\x81\xca\x04\x19\xf8\xf9\x80\xf2\x18\xc7\xf7\x75\x79\xc4\x5f\x80\xaa\x13\x55\x8d\xea\x63\x65\x24\x51\x91\x2f\x6b\xb4\x4d\x31\x7c\x4a\xea\xbd\x11\xe3\x1a\x25\x69\x05\xea\x78\x5d\xe4\xe9\x8b\x11\xed\x93\x34\x7e\x88\x93\xd3\x43\x8a\xb6\x38\x5d\xaf\xb7\x78\x57\x94\xf8\x6c\x3c\xe1\xed\xd7\xa4\x36\xea\x12\xe5\xd5\xae\x28\xb3\x75\x59\xd4\xa8\xc6\x6f\xad\xd0\x8c\xf1\xe3\xdd\x46\x97\x71\x79\x77\xde\x16\x65\x8c\x4b\xe3\x29\x89\xeb\xfd\xda\xbc\xc0\xa8\x4c\xea\x24\x42\x29\xdc\x63\x94\xd6\x7b\x3a\x15\x4d\xff\x96\x70\x97\xa2\x6a\x6f\x64\xb8\xaa\xd0\x23\x06\x07\x88\xcb\xb2\x28\x87\xc9\xd5\x31\x8a\x70\x55\x2d\x61\x5e\xd4\x49\x84\xe1\x13\x2a\xf3\x24\x7f\x5c\xb6\x5f\x54\xb0\x11\x24\xb3\x6c\x44\x25\x46\x35\x16\x7f\xad\xe3\xa4\x22\x93\x12\x4b\xc9\xbb\x22\x92\x2b\xae\xf7\xc5\x09\x97\x6b\x14\xd5\xc9\x49\x86\xc2\xb2\xf2\xa2\x7e\xdb\x01\xbc\x63\x3f\x59\xf1\xbb\xe5\xf6\x58\xd7\x45\xce\x2a\xc5\x38\xc5\x35\x56\x24\xf5\xbd\x51\xe4\xb1\x2e\x29\x32\x84\x7e\x69\xf3\xa7\x3b\xc7\x70\xb1\x3a\x6e\xb3\xa4\xfe\xa2\x4a\x93\xbb\x27\x66\xf2\xfd\x13\x73\x14\x1d\x54\x15\x18\xeb\x61\x86\x92\x1c\xb0\x2d\x0b\x72\x74\x5a\xa7\xa8\xaa\x8d\x62\x67\x10\x30\xac\xe4\x2e\x29\xfb\xa4\x3b\x00\x19\xfa\xe3\x18\xa0\x16\x0f\xab\xfa\x25\xc5\xeb\xaa\x48\x93\xf8\x72\x05\xfa\x9c\xb7\x28\xfa\x4a\xa8\x44\x1e\x1b\x51\x91\x16\xe5\xfa\x87\xdd\x6e\xb7\xc5\xf1\xa6\x81\xdb\x26\xa2\xc8\x35\xed\x8b\x0e\x63\x15\x60\x70\xb4\x0b\x06\x60\x6c\xbc\x35\x9d\xd5\x46\xf8\x75\xd1\xe0\xec\xd8\x1a\x29\xda\x0b\xd1\xd6\xda\xed\xa4\xf6\x42\xbc\xf2\x91\xd3\xb6\xb7\x33\x77\xde\x6e\x77\x99\xbb\x19\xae\x44\xaa\x49\x1c\x19\x81\xa7\x18\x8f\x13\x06\x68\x30\x1e\x13\xd9\x71\xe0\x6e\xfa\x95\x12\x07\xa3\x6a\x5c\x01\xda\xf2\x7c\xe7\x5a\xd0\x73\xf1\x9c\x15\x50\x34\x6a\x62\xd7\x44\xce\x64\xa3\xc3\x2d\xae\x46\x51\x09\x50\x14\x38\xae\xeb\x6d\x84\x5f\xb7\xd0\x64\x55\x63\x2b\x1c\x61\x3c\xda\x9e\xb7\xb5\x42\xdb\x54\xf4\x7d\x0c\x61\xb1\x87\x6c\x84\xc6\x11\x56\x39\x21\x53\xc4\xf2\x3a\x3c\x6b\x46\x22\x76\x83\x0d\x68\xa2\x1b\x13\x0b\x1e\xec\x6c\xdb\x8e\x26\x01\x7f\x1f\xf1\x9b\x81\x1a\x2b\x6c\x5b\x5e\x47\x73\xd8\xaf\xcb\x2e\xc1\x69\x5c\xe1\x7a\xb9\x2f\x1b\x0a\xba\xce\x8b\x1c\xb3\xde\x30\x26\x62\x87\x71\x4c\xe0\x03\xd8\x7e\x33\xe2\x04\xa5\xc5\xa3\x51\x1c\xeb\x86\x66\x5b\xa0\x3a\xa0\x7c\xbd\x46\x3b\xc2\x75\x89\x69\x2a\x1e\x23\x21\x3c\x93\x71\x28\x8b\x03\x2e\xeb\x97\x75\x71\x40\x51\x52\xbf\x6c\xc6\xf2\x14\xf5\xe3\x63\x89\xc8\x97\x35\xb4\xaa\x8d\x2e\x5d\x51\xaf\x4e\xb2\x24\x7f\x34\x76\xc7\x9c\x32\x83\xeb\x34\xc9\x31\x2a\x37\xd3\x25\x9a\xbe\xac\xcd\x4d\xc3\xbe\x19\xf8\x84\xf3\xba\xe2\xe6\xac\x1d\x36\xc5\x4d\xe5\x84\x34\x39\x6c\x5a\xc4\x2c\x86\x49\xaa\x4a\x4d\x8e\x7e\x2e\xbb\x31\x9b\xca\x99\x30\x47\xe7\xef\x98\x57\xb8\x56\xd6\x63\x39\xed\xb8\x2d\x79\xdc\xe8\x58\x17\x17\xca\x43\xff\xe7\xb1\x20\x74\xb7\x88\x5f\x96\x71\xbc\x8c\xd3\x65\x5c\x2f\x3b\xe4\x6a\x98\xf2\xbd\xb5\xdc\xdb\xcb\xbd\xb3\xdc\xbb\xcb\xbd\xb7\xdc\xfb\x84\x23\xdf\xd7\x59\xba\x4c\x76\x25\xca\xf0\x32\xc5\x8f\x38\x8f\x97\x69\xb2\x2c\xd2\xe5\x61\x79\x28\xf1\xb2\xc6\xcf\x35\x2a\x31\x5a\x1e\xd3\x73\x86\xca\xc7\x84\x8c\x
2018-10-11 16:54:11 +00:00
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
func web_uiV2AssetsConsulUiEb2191f7fde75fdce9659f7db9d70d64CssBytes() ([]byte, error) {
2018-10-11 16:54:11 +00:00
return bindataRead(
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
_web_uiV2AssetsConsulUiEb2191f7fde75fdce9659f7db9d70d64Css,
"web_ui/v2/assets/consul-ui-eb2191f7fde75fdce9659f7db9d70d64.css",
2018-10-11 16:54:11 +00:00
)
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
func web_uiV2AssetsConsulUiEb2191f7fde75fdce9659f7db9d70d64Css() (*asset, error) {
bytes, err := web_uiV2AssetsConsulUiEb2191f7fde75fdce9659f7db9d70d64CssBytes()
2018-10-11 16:54:11 +00:00
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/consul-ui-eb2191f7fde75fdce9659f7db9d70d64.css", size: 82089, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2018-10-11 16:54:11 +00:00
var _web_uiV2AssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJs = []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\x5
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 18:52:53 +00:00
2018-10-11 16:54:11 +00:00
func web_uiV2AssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJsBytes() ([]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 18:52:53 +00:00
return bindataRead(
2018-10-11 16:54:11 +00:00
_web_uiV2AssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJs,
"web_ui/v2/assets/encoding-5ed8e95353b97ff5dd41bf66212d118e.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 18:52:53 +00:00
)
}
2018-10-11 16:54:11 +00:00
func web_uiV2AssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJs() (*asset, error) {
bytes, err := web_uiV2AssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJsBytes()
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 18:52:53 +00:00
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/encoding-5ed8e95353b97ff5dd41bf66212d118e.js", size: 18533, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2018-10-11 16:54:11 +00:00
var _web_uiV2AssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5Js = []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
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 18:52:53 +00:00
2018-10-11 16:54:11 +00:00
func web_uiV2AssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5JsBytes() ([]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 18:52:53 +00:00
return bindataRead(
2018-10-11 16:54:11 +00:00
_web_uiV2AssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5Js,
"web_ui/v2/assets/encoding-indexes-75eea16b259716db4fd162ee283d2ae5.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 18:52:53 +00:00
)
}
2018-10-11 16:54:11 +00:00
func web_uiV2AssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5Js() (*asset, error) {
bytes, err := web_uiV2AssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5JsBytes()
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 18:52:53 +00:00
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/encoding-indexes-75eea16b259716db4fd162ee283d2ae5.js", size: 529734, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsFavicon12808e1368e84f412f6ad30279d849b1df9Png = []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
func web_uiV2AssetsFavicon12808e1368e84f412f6ad30279d849b1df9PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsFavicon12808e1368e84f412f6ad30279d849b1df9Png,
"web_ui/v2/assets/favicon-128-08e1368e84f412f6ad30279d849b1df9.png",
)
}
func web_uiV2AssetsFavicon12808e1368e84f412f6ad30279d849b1df9Png() (*asset, error) {
bytes, err := web_uiV2AssetsFavicon12808e1368e84f412f6ad30279d849b1df9PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/favicon-128-08e1368e84f412f6ad30279d849b1df9.png", size: 11154, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsFavicon16x16672c31374646b24b235b9511857cdadePng = []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")
func web_uiV2AssetsFavicon16x16672c31374646b24b235b9511857cdadePngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsFavicon16x16672c31374646b24b235b9511857cdadePng,
"web_ui/v2/assets/favicon-16x16-672c31374646b24b235b9511857cdade.png",
)
}
func web_uiV2AssetsFavicon16x16672c31374646b24b235b9511857cdadePng() (*asset, error) {
bytes, err := web_uiV2AssetsFavicon16x16672c31374646b24b235b9511857cdadePngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/favicon-16x16-672c31374646b24b235b9511857cdade.png", size: 821, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPng = []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
func web_uiV2AssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPng,
"web_ui/v2/assets/favicon-196x196-57be5a82d3da06c261f9e4eb972a8a3a.png",
)
}
func web_uiV2AssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPng() (*asset, error) {
bytes, err := web_uiV2AssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/favicon-196x196-57be5a82d3da06c261f9e4eb972a8a3a.png", size: 37174, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93Png = []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\x
func web_uiV2AssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93Png,
"web_ui/v2/assets/favicon-32x32-646753a205c6a6db7f93d0d1ba30bd93.png",
)
}
func web_uiV2AssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93Png() (*asset, error) {
bytes, err := web_uiV2AssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/favicon-32x32-646753a205c6a6db7f93d0d1ba30bd93.png", size: 2075, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsFavicon672c31374646b24b235b9511857cdadePng = []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")
func web_uiV2AssetsFavicon672c31374646b24b235b9511857cdadePngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsFavicon672c31374646b24b235b9511857cdadePng,
"web_ui/v2/assets/favicon-672c31374646b24b235b9511857cdade.png",
)
}
func web_uiV2AssetsFavicon672c31374646b24b235b9511857cdadePng() (*asset, error) {
bytes, err := web_uiV2AssetsFavicon672c31374646b24b235b9511857cdadePngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/favicon-672c31374646b24b235b9511857cdade.png", size: 821, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsFavicon96x966f8f8393df02b51582417746da41b274Png = []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\x
func web_uiV2AssetsFavicon96x966f8f8393df02b51582417746da41b274PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsFavicon96x966f8f8393df02b51582417746da41b274Png,
"web_ui/v2/assets/favicon-96x96-6f8f8393df02b51582417746da41b274.png",
)
}
func web_uiV2AssetsFavicon96x966f8f8393df02b51582417746da41b274Png() (*asset, error) {
bytes, err := web_uiV2AssetsFavicon96x966f8f8393df02b51582417746da41b274PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/favicon-96x96-6f8f8393df02b51582417746da41b274.png", size: 10171, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsFaviconIco = []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\xb
func web_uiV2AssetsFaviconIcoBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsFaviconIco,
"web_ui/v2/assets/favicon.ico",
)
}
func web_uiV2AssetsFaviconIco() (*asset, error) {
bytes, err := web_uiV2AssetsFaviconIcoBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/favicon.ico", size: 34494, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsLoadingCylonPinkSvg = []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")
func web_uiV2AssetsLoadingCylonPinkSvgBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsLoadingCylonPinkSvg,
"web_ui/v2/assets/loading-cylon-pink.svg",
)
}
func web_uiV2AssetsLoadingCylonPinkSvg() (*asset, error) {
bytes, err := web_uiV2AssetsLoadingCylonPinkSvgBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/loading-cylon-pink.svg", size: 983, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng = []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\
func web_uiV2AssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng,
"web_ui/v2/assets/mstile-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png",
)
}
func web_uiV2AssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng() (*asset, error) {
bytes, err := web_uiV2AssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/mstile-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png", size: 20027, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPng = []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\
func web_uiV2AssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPng,
"web_ui/v2/assets/mstile-150x150-6b13ab220a09a9e72328a3b05d5b9eec.png",
)
}
func web_uiV2AssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPng() (*asset, error) {
bytes, err := web_uiV2AssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/mstile-150x150-6b13ab220a09a9e72328a3b05d5b9eec.png", size: 64646, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8Png = []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\
func web_uiV2AssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8Png,
"web_ui/v2/assets/mstile-310x150-ccc673174b188a92f1e78bc25aa6f3f8.png",
)
}
func web_uiV2AssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8Png() (*asset, error) {
bytes, err := web_uiV2AssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/mstile-310x150-ccc673174b188a92f1e78bc25aa6f3f8.png", size: 112362, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsMstile310x31049242d1935854126c10457d1cdb1762bPng = []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\
func web_uiV2AssetsMstile310x31049242d1935854126c10457d1cdb1762bPngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsMstile310x31049242d1935854126c10457d1cdb1762bPng,
"web_ui/v2/assets/mstile-310x310-49242d1935854126c10457d1cdb1762b.png",
)
}
func web_uiV2AssetsMstile310x31049242d1935854126c10457d1cdb1762bPng() (*asset, error) {
bytes, err := web_uiV2AssetsMstile310x31049242d1935854126c10457d1cdb1762bPngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/mstile-310x310-49242d1935854126c10457d1cdb1762b.png", size: 201893, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsMstile70x7008e1368e84f412f6ad30279d849b1df9Png = []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\xd
func web_uiV2AssetsMstile70x7008e1368e84f412f6ad30279d849b1df9PngBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsMstile70x7008e1368e84f412f6ad30279d849b1df9Png,
"web_ui/v2/assets/mstile-70x70-08e1368e84f412f6ad30279d849b1df9.png",
)
}
func web_uiV2AssetsMstile70x7008e1368e84f412f6ad30279d849b1df9Png() (*asset, error) {
bytes, err := web_uiV2AssetsMstile70x7008e1368e84f412f6ad30279d849b1df9PngBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/mstile-70x70-08e1368e84f412f6ad30279d849b1df9.png", size: 11154, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2AssetsSafariPinnedTabSvg = []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\x9
func web_uiV2AssetsSafariPinnedTabSvgBytes() ([]byte, error) {
return bindataRead(
_web_uiV2AssetsSafariPinnedTabSvg,
"web_ui/v2/assets/safari-pinned-tab.svg",
)
}
func web_uiV2AssetsSafariPinnedTabSvg() (*asset, error) {
bytes, err := web_uiV2AssetsSafariPinnedTabSvgBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/safari-pinned-tab.svg", size: 3798, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2018-10-11 16:54:11 +00:00
var _web_uiV2AssetsVendor76de132899793eca85d7043cb5b3efe4Js = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\xbd\xe9\x76\xdb\x48\xba\x20\xf8\x5f\x4f\x41\xa2\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\x83\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\xc6\xcb\xe4\xde\xba\x5a\xdf\xd0\xf4\xea\xcd\xf7\xe4\xf1\xd5\xd5\xf3\x0f\xdf\x7d\x7b\xf5\xde\x7d\x34\x96\x59\x3f\x5c\x6f\xd2\x64\x47\x97\xfd\xe0\xa7\xe0\x93\xe1\x76\xed\x02\xae\xfe\xe5\xc3\xd5\x9b\x97\xd7\xef\xbe\x7d\xfb\xe1\xed\x87\xbf\xbe\xe3\x25\x5f\x06\x8c\xba\x5d\xa7\x28\x4e\x76\x41\xda\x89\x92\x60\x49\x53\x58\xd2\x55\x18\x53\x48\xe9\x3f\xb6\x61\x4a\xbf\x49\x96\xdb\xa8\xfc\xa5\xff\xfe\x94\x41\xba\x8d\xe3\x30\xbe\xfd\x40\x33\x96\x91\xae\x73\xb2\xda\xc6\x0b\x16\x26\x71\x67\x91\xd2\x80\xd1\x97\x74\x93\xd2\x45\xc0\xe8\x52\xb6\x80\x28\x7e\x94\x2d\x23\x0a\x9e\x41\x3f\x6d\x92\x94\x65\x06\x18\x94\xcf\xa0\x9f\xd2\x2c\x89\x76\x34\x3d\xd5\x0f\xfa\x8b\xe1\x83\x6e\x19\x31\x48\x21\xc6\x8f\xb1\xb5\xa4\xab\x60\x1b\x31\x6b\xa9\x3b\x41\xc6\x77\x59\x70\x4b\x3b\xc9\xaa\xf3\x77\xa3\x47\x7b\xc6\xdf\x3b\x6b\xd1\x6d\x27\xcc\x3a\x65\xa9\x25\x74\x36\x11\x0d\x32\xda\xd9\x6e\x96\x01\xa3\x1d\x96\x74\xfe\xde\xec\xff\xef\x96\x01\x5d\x07\x1e\xc3\xa5\xbb\x37\x32\x2b\xa2\xb7\xc1\xe2\xa1\x9f\xdd\x85\xeb\xcc\x80\x6d\xcc\xc2\xc8\x35\x86\x96\x6d\xd9\x46\x81\x81\xe9\x41\x91\x54\x3f\x15\xb8\x40\xe5\xd8\x29\x7e\x34\xb6\x19\xed\x64\x2c\x0d\x17\xcc\xa8\x96\x8b\x21\xfc\xc8\x57\x9f\x92\xb7\x37\x3f\xd1\x05\xb3\xe4\xfa\xa1\x78\x1b\x45\xf8\x24\xa5\x6c\x9b\xc6\x1d\x6a\x5d\x5f\x93\x5d\x12\x2e\x3b\x36\x2c\x69\x44\x19\x15\xaf\x80\x16\xbc\x6a\x4a\x1e\xe5\xde\xb9\x8d\x2d\x74\xdb\x76\xd2\x6d\xdd\x57\xf7\x60\x7f\xdd\xf2\xa9\x38\x29\x1f\x89\x7a\x22\x8d\x46\x48\x7d\x92\xab\x24\x45\x7c\x4c\x8c\x78\x3e\xa4\x24\x42\x14\x0c\xa4\x8a\x63\x03\x18\x86\x98\x30\x2b\xa2\xf1\x2d\xbb\xeb\x3b\xe7\xf1\x25\xb1\xcf\xe3\x7e\x1f\x33\x2f\xf6\x2d\x75\x2a\x50\x39\xef\xd4\x92\xdb\xa8\xbf\x14\x20\x67\x48\x1e\xe3\xe4\x45\x12\xaf\xa2\x70\xc1\xdc\xea\x7c\xc8\x95\x8c\x21\x3c\xe1\xc3\x88\x3b\x61\xdc\x61\x98\x59\x77\x41\xf6\xf6\x3e\x7e\x97\x26\x1b\x9a\xb2\x07\x14\x63\xd3\x4c\xdb\x5e\xa2\x90\xf0\x61\x00\xf5\x42\x9f\x50\xf9\x14\xfb\x24\xf5\x62\x1f\x17\xb0\x0e\x3e\xd2\x97\x72\x67\xaf\xc4\x68\xf8\xad\x12\x17\x27\x26\x0c\x61\x08\x09\xe2\x7f\x6c\x2c\xde\x25\xc4\x33\xd4\xb4\xf9\x51\x2e\x8f\xbb\x9c\x8f\xe1\x57\x07\x20\x40\x14\xd4\xc9\x66\x77\x61\x66\x6d\xb7\xe1\x92\x84\xbd\x1e\x88\x5f\xe1\x92\x50\xf9\xb4\xa4\x9b\x8c\x74\xf5\xda\xf1\x29\xc8\xa7\x79\xe2\x32\x59\x42\xb6\x4d\x1e\x55\x6f\xee\x63\x51\xc8\x0f\x8b\x20\x8a\x6e\x82\xc5\x47\x92\xca\xdf\x77\x41\x26\xa7\x90\x3d\xcf\x5e\xd2\x0d\xe9\x3a\xaa\xb3\xec\x79\x14\x06\x19\x89\xe5\xcf\x94\x86\xab\x90\x2e\x49\x4c\xef\x3b\xcf\xd3\x34\x78\x40\xba\x77\x2c\x0b\x64\x2c\x60\x94\x18\x31\xbd\x37\x8a\x72\x3e\x19\xc2\x8f\xd5\xaf\x2d\x3f\x14\xe5\x4c\xaa\xf7\x91\x9c\x75\x75\x60\x42\x12\x7b\xd4\xcf\xf3\xd8\xa3\x3d\xe3\x34\x8c\x97\xf4\x93\xe1\x9f\x87\xa6\x19\xea\x61\x9d\x63\x5e\x26\xb4\xc2\xa5\x28\xc6\x1f\xaa\x92\xfa\xc4\x84\x79\x5e\x1d\x47\x60\xbc\xef\x34\xb9\xef\xf0\x29\x5c\xa5\x69\x92\x22\xe3\x45\xb2\x8d\x96\x9d\x38\x61\x9d\x55\x18\x2f\x35\x9c\xd0\x60\x23\x5c\xf3\x75\xa1\xcb\xce\x2a\x4d\xd6\xfc\x2d\xeb\x19\x7f\x37\x70\x21\x1a\x83\xd4\x34\x8d\x0d\x8d\x97\x61\x7c\x6b\x74\x09\x09\xe5\x0a\x98\xa6\xb1\x0a\xe3\x20\x0a\x7f\xa6\xcb\xc6\x6b\x14\x5a\xbc\x8f\x97\x74\x93\xa1\x14\x43\x6a\x6d\xb6\xd9\x1d\x0a\x31\x86\xb0\x5a\x89\x85\x1c\x67\xb8\x42\x86\xc5\x6b\x53\x6b\x71\x17\xa4\xcf\x19\xb2\x31\xd6\xd7\xff\x44\xaf\x52\x4a\xa8\x95\x6d\xa2\x90\x21\xe3\xd4\x90\x77\xa9\xfa\x69\x65\x51\xb8\xa0\xc8\x86\xbe\xc3\x8f\xa3\x0d\x09\xd1\x87\xe4\x3c\xbc\x48\xce\xc3\x5e\x4f\xde\x90\x80\xa4\x5e\xe8\x9f\x88\x2e\x2d\x83\x10\x12\x88\xfe\x6d\x42\x48\xac\x77\xf8\x70\xdd\x82\x98\x2f\x5a\xb0\x58\xd0\x2c\xeb\x6c\x82\x94\xc6\x4c\xaf\x5e\xb2\xea\xa4\x49\xc2\x0c\x7c\x12\x5b\x9b\x64\x83\x70\x41\xa3\x8c\xaa\x39\x89\xf6\x17\x49\xcc\xc2\x78\x4b\x79\x01\xbe\x08\x01\x2e\
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 18:52:53 +00:00
2018-10-11 16:54:11 +00:00
func web_uiV2AssetsVendor76de132899793eca85d7043cb5b3efe4JsBytes() ([]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 18:52:53 +00:00
return bindataRead(
2018-10-11 16:54:11 +00:00
_web_uiV2AssetsVendor76de132899793eca85d7043cb5b3efe4Js,
"web_ui/v2/assets/vendor-76de132899793eca85d7043cb5b3efe4.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 18:52:53 +00:00
)
}
2018-10-11 16:54:11 +00:00
func web_uiV2AssetsVendor76de132899793eca85d7043cb5b3efe4Js() (*asset, error) {
bytes, err := web_uiV2AssetsVendor76de132899793eca85d7043cb5b3efe4JsBytes()
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 18:52:53 +00:00
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/vendor-76de132899793eca85d7043cb5b3efe4.js", size: 1360997, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2018-09-13 15:22:25 +00:00
var _web_uiV2AssetsVendorC3a9380433ef2f2efb4ed437d3b54b31Css = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x58\xdf\x8e\xe3\x2a\x0f\x7f\x95\x7c\x1a\xad\x76\x57\x6a\x46\xb4\xd3\x6e\x77\x12\xe9\xd3\x4a\xe7\xfa\x3c\x04\x09\x4e\x82\x4a\x20\x07\x48\xff\x6c\xd4\x77\x3f\x02\x42\x1a\x1a\xda\x99\xbd\x3a\x1a\xcd\x45\x8d\x6d\xec\x1f\xc6\xfe\x91\xd7\xbf\x04\x81\xbf\xa9\x94\x42\x0e\x95\xe0\x3a\xad\x70\x4b\xd9\x25\x6b\x05\x17\xaa\xc3\x25\xe4\x0d\xd0\xba\xd1\xd9\x1b\x42\xdd\x39\x2f\x05\x13\x32\x7b\x41\x08\x5d\x67\x96\x29\xa3\x1c\xd4\xd0\x61\x42\x28\xaf\xb3\x6d\x77\x4e\x82\xf5\xa4\x93\x30\xad\xa2\x64\xdb\x9d\x03\xeb\xba\xd7\x1a\x64\x5a\x51\xc6\x40\xae\xe6\x2b\xaa\x94\x82\xb1\x02\xfb\xc5\xa1\xc0\xe5\xa1\x96\xa2\xe7\x24\x1d\x43\xa9\xaa\x2a\xe2\x4c\x0d\x85\x90\x04\x64\x2a\x6d\xf0\xeb\xee\x9c\x28\xc1\x28\x49\x5e\x08\x21\x79\xc4\xcb\xde\xfc\xe5\xa7\x86\x6a\x48\x6d\xde\x19\x17\x27\x89\xbb\x45\x9a\xbc\x6f\x0b\x90\xb3\x6c\xde\x4c\xb6\xc9\xae\x3b\xe7\x2d\xe5\xe9\x89\x12\xdd\x64\x1b\x83\x95\x86\xb3\x4e\x31\xa3\x35\xcf\x6c\x14\x1e\xbc\xf7\xf7\xf7\x8f\x36\x72\x49\xb4\x58\x1e\x40\x0e\x0f\x30\x9f\xeb\xa4\xaa\x2f\x34\x83\xe1\xb6\x43\xa0\x5a\xf6\x52\x09\xe9\x21\x61\x50\x05\x88\x20\x84\xf2\x00\x2d\x2e\x38\xe4\x2e\x91\xf0\x18\x09\x3d\x06\xa7\x03\xa5\xe0\x04\xcb\xcb\x53\xff\x8a\xb2\x23\xc8\xeb\x6b\xd9\xa6\x15\xd6\x63\x2c\x49\x24\x3c\xb7\x23\xee\xb5\x18\xc3\xc9\xd0\xff\x68\xdb\x09\xa9\x31\xd7\xb3\x33\xcb\x5e\xf6\xb0\xbf\xf7\x77\x17\x9a\x93\xaa\xe1\x77\x4a\x39\x81\x73\xb6\xb6\xfa\x98\xd3\x16\x6b\x98\xd9\xc5\x36\xcd\xd3\x13\x14\x07\xaa\x47\x75\x2a\x78\x56\x30\xca\x0f\xc9\xfa\x15\xfd\x50\x89\xd2\xd0\xa9\x6f\xeb\xef\x09\xe5\x15\xe5\x54\x43\xfe\x59\xbd\x65\xd9\x99\x44\x7e\xf9\xed\x0e\x70\xa9\x24\x6e\x41\x25\xd6\xcd\xb0\x43\x5f\x96\xf5\xae\x25\xe6\xaa\xc3\x12\xb8\xbe\x5e\x7f\xfd\xb9\x89\x81\x41\xe3\x62\x20\x54\x75\x0c\x5f\x32\xca\x4d\x51\xa7\x05\x13\xe5\xc1\x55\x2c\x81\x52\x48\x97\x0e\xe5\x0d\x48\xaa\x83\x5a\x92\xbd\xbd\x87\xf1\x52\x2a\xcb\x32\xef\x84\xa2\xd6\x1a\x17\x4a\xb0\x5e\x83\xdd\x53\xa5\x04\x2a\xdc\x33\x9d\x98\x5f\x0d\x60\x32\xaf\xec\x2a\xa2\xf3\x4f\x2f\xf4\x54\xd1\xe8\x1d\x59\x15\x0e\x35\xd6\xf4\x38\xc9\xc9\x76\x6b\xe5\x6e\xd3\x9b\x7c\xf3\xbe\xb9\xde\x36\x5a\x59\xef\x5a\x0a\x5e\xbb\x26\x77\x72\x3d\x6d\x8f\x9c\x57\x68\x9d\x58\xe9\x0b\x83\x8c\x6a\xcc\x68\x69\x17\x2c\xa8\xf7\xa8\xf4\x9c\x80\x34\xa8\x5d\x47\xb7\xf4\x00\xba\x91\xa2\xaf\x9b\x85\xae\x05\x77\x5c\x8c\xe4\x78\x80\xcb\x49\x48\xe2\xa3\xde\xa3\x9f\x11\x25\xac\x45\x3b\xe5\xb5\x7e\x8f\x68\x8c\x3d\x69\xd4\x59\xff\xd8\x46\x74\x08\x54\xcf\xf1\x3e\x62\x49\x71\xc1\x20\xdd\x4c\x7a\x3b\xfc\x4c\xef\x6d\xd2\xfb\xb9\x8b\xe8\x95\xa2\x6d\x81\x6b\xaf\x84\x77\x28\xa2\x64\xd0\xe3\xf5\xa4\xb3\x5e\x3f\xd4\xb9\x85\x55\x45\x3d\xb5\xa0\xf1\x2a\x56\x45\x98\xd1\x8a\xde\xd0\xd9\xed\x62\xc1\x16\x3d\x65\x9a\x72\xaf\xf4\x86\x62\x99\x17\x12\x97\x07\xd0\xb7\x2e\xbb\x8f\x28\x69\x3c\xa5\xb3\xde\xc7\x02\xc5\x5a\x4b\x5a\xf4\xb3\xda\x46\x65\xec\x8a\xc8\xa0\x9b\x2f\xd6\x6d\x69\xde\x79\xa0\xfc\x88\x19\x25\x65\x83\x65\x04\x0a\xb0\x43\xde\x99\x48\x20\xe1\x84\x10\xad\xb9\x42\xbc\xf6\x37\xbb\x10\x5a\x8b\x36\xdb\xf8\xbb\x7d\x0d\x1b\x6c\xa2\x3a\xcc\xe7\x0e\x5a\xac\xcb\x86\xf2\xfa\x0e\x23\x54\xa1\x8f\x2c\xb9\xe0\x0f\x8c\xab\xcd\xe6\x1a\xdb\xc3\x40\x3c\x1b\x07\xb2\x2e\xf0\xb7\xcd\x6e\xb7\x5a\xef\xd0\x0a\xad\x5e\xdf\xbe\x07\x56\xb8\x34\x8d\xc1\x75\xb9\xc9\x68\x6e\xff\x02\x3f\xab\x4d\xc8\x22\x86\xa9\x89\x49\x60\xb6\xe1\xe4\xe2\x08\xb2\x62\xe2\x94\x35\x94\x10\xe0\xc1\x3c\xba\xe7\x20\x8e\xb6\x0c\x93\x89\xfb\x3d\x1b\x66\x2d\x96\x35\xe5\x1e\xe4\xf4\xcd\xd0\x85\x51\xe6\x46\xb0\x13\x8d\x24\xc3\xeb\x59\xd9\x48\xc7\xd6\x08\x7d\xc9\x45\xaf\x4d\x5e\x19\xca\x17\xf1\x86\xf1\xd0\xdf\x10\xcb\x29\x98\xfa\xc6\xfb\xd8\xc7\xe7\x13\xe3\x73\x44\xad\x99\x98\xda\x53\xfe\x16\x2c\x1e\xa7\xd5\x61\x31\x33\x72\x3f\xb8\x7f\xe4\x7e\x52\x19\x56\x72\x7d\x60\xef\x32\x40\xb9\x16\x5d\x86\xa6\xa3\x4a\xcf\xfe\xb0\x26\xc9\x65\x3c\x8b\x6b\x3c\xf8\x61\x44\x1a\xe5\x76\xb2\xa1\xb9\xe1\xbd\xab\x73\xcc\xd5\x82\xb0\xfa\xc8\xbc\xe3\xc7\x78\x0e\xe3\x96\x4f\x34\x55\x04\xa8\xd1\xca\x65\x6e\x18\xe8\xbc\x40\x3c\x8a\x6f\x11\x67\x43\xc8\x41\x65\x8b\x59\x50\x5c\x51\x86\x70\x04\xa9\x69\x89
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 18:52:53 +00:00
2018-09-13 15:22:25 +00:00
func web_uiV2AssetsVendorC3a9380433ef2f2efb4ed437d3b54b31CssBytes() ([]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 18:52:53 +00:00
return bindataRead(
2018-09-13 15:22:25 +00:00
_web_uiV2AssetsVendorC3a9380433ef2f2efb4ed437d3b54b31Css,
"web_ui/v2/assets/vendor-c3a9380433ef2f2efb4ed437d3b54b31.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 18:52:53 +00:00
)
}
2018-09-13 15:22:25 +00:00
func web_uiV2AssetsVendorC3a9380433ef2f2efb4ed437d3b54b31Css() (*asset, error) {
bytes, err := web_uiV2AssetsVendorC3a9380433ef2f2efb4ed437d3b54b31CssBytes()
2018-06-14 17:07:03 +00:00
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/assets/vendor-c3a9380433ef2f2efb4ed437d3b54b31.css", size: 5357, mode: os.FileMode(420), modTime: time.Unix(1539613453, 0)}
2018-06-14 17:07:03 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
var _web_uiV2IndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x58\x5f\x6f\xdc\xc6\x11\x7f\xf7\xa7\xd8\xb0\x15\xec\x00\xdd\xb9\xdd\xd9\xff\x89\x4e\x80\x22\x2b\x89\x8b\xc8\x32\x64\xd9\x88\x9f\x0c\x1e\xb9\xa7\xa3\xcb\x23\xaf\x24\x75\xb2\x54\xe4\xbb\x17\xb3\xe4\x9d\x4e\xb6\x9b\xa2\xe8\x83\xf6\x86\x3b\xb3\xbf\xf9\x3f\x4b\xea\xf8\xbb\x97\x97\x67\xd7\x1f\xde\x9c\xb3\xd5\xb0\xae\x4f\x9e\x1d\xd3\x0f\x2b\xea\xbc\xef\xe7\x59\x5c\x2f\x62\xc7\xeb\x36\x2f\xab\xe6\x26\x3b\x79\xc6\xd8\xf1\x2a\xe6\x25\x11\x8c\x1d\xaf\xe3\x90\xb3\x62\x95\x77\x7d\x1c\xe6\xd9\xed\xb0\xe4\x3e\x3b\x64\xad\x86\x61\xc3\xe3\x3f\x6f\xab\xed\x3c\xfb\x9d\xbf\x3b\xe5\x67\xed\x7a\x93\x0f\xd5\xa2\x8e\x19\x2b\xda\x66\x88\xcd\x30\xcf\x5e\x9d\xcf\x63\x79\x13\x77\x27\x87\x6a\xa8\xe3\xc9\x59\xdb\xf4\xb7\x35\x5b\xdc\xb3\x5f\xf3\x7e\x55\x9d\xb5\xdd\xe6\x78\x36\xb2\x0e\x14\x34\xf9\x3a\xce\xb3\x32\xf6\x45\x57\x6d\x86\xaa\x6d\x0e\x60\xb3\xaf\x05\xb7\x55\xbc\xdb\xb4\xdd\x70\x20\x75\x57\x95\xc3\x6a\x5e\xc6\x6d\x55\x44\x9e\x1e\xfe\xc6\xaa\xa6\x1a\xaa\xbc\xe6\x7d\x91\xd7\x71\x2e\xb3\x93\x67\x09\xe9\xd9\x21\x54\x91\xec\xe3\xb7\xd5\xac\x68\x9b\x65\x75\x33\x8b\xcd\xb6\xea\xda\x66\x1d\x9b\x43\xf8\x23\xf7\xd3\x11\xe2\xba\x2d\x6f\xeb\xf8\xa6\x8b\xcb\xea\xf3\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\xdd\xd5\x6f\x7b\x91\xd9\x6d\x35\xdb\x33\xeb\xb6\xc8\x49\xfa\xfa\x7e\x13\xf7\x12\xf9\xed\xd0\xee\x25\xce\x29\xa5\xe7\xaf\xdf\x4f\xdc\x64\xe0\xcf\xe7\xa7\xd7\xef\xae\xce\xdf\x1e\xee\x95\x3d\xaf\xd6\x9b\xae\xdd\xc6\x92\xe7\x9f\xf2\xc9\xf0\xa1\xbb\x8d\x47\xee\xe5\x04\xf5\xfb\xf5\xf9\xeb\x97\x1f\xdf\x5c\x5d\x5e\x5f\x52\x05\x3d\x39\xff\x32\x1f\x26\x0b\x96\x79\xdd\xa7\x43\xbb\x73\xa7\x6f\xde\x1c\x4a\x52\x44\xff\x24\x2c\xdb\xd8\xf5\x93\xff\x49\x02\x01\x41\xd0\xd3\x0e\xae\x8b\x7d\xf5\x10\xdf\xc6\x8e\x92\xf8\x32\x2e\xf3\xdb\x7a\xe8\x0f\x15\x54\xcd\xa7\x98\x62\xf8\x73\x5e\x0c\x6d\x57\xc5\x1d\xd7\x10\x97\xaa\x62\xaf\x8c\x32\xd7\xb5\x75\x1d\xbb\x83\xad\xf5\xa6\x6d\xa6\xa4\x98\x47\x2f\xce\x2e\x5f\xbf\x7d\xf7\xdb\xc7\x5f\x5e\x5d\x7f\x7c\xfb\xeb\xe9\x63\xb0\x45\xb4\xb9\x2e\x85\xdb\x03\x4c\x82\xef\xcf\xaf\xde\xbe\xba\x7c\xbd\x17\xdc\x4a\x40\x50\x5c\x7a\xcd\x6f\xf6\x87\x78\x19\xb7\x47\x28\x8e\xd0\x1f\xe0\x84\x2f\xa1\x7e\x7a\xf5\xfa\xf4\xea\xc3\x47\x8a\xf9\x1e\xae\xed\xfb\x2f\xc5\x5e\x5e\x9e\xbd\xbb\x38\x7f\x7d\x7d\x7a\xfd\xea\xf2\xf5\xc7\xc3\x9a\xa1\xce\xec\x8f\xd4\xe9\x6c\x76\x77\x77\x07\x63\xcc\xa1\x6a\x67\x65\x5b\x7c\x85\x72\x76\xf9\xe6\xc3\xd5\xab\x5f\x7e\xbd\xfe\x13\x84\x15\x35\x69\xd1\x76\x1b\x28\xda\xf5\x7f\x06\xf8\x70\x7e\x7a\xf5\x98\x47\x21\xfd\x5e\x74\xd1\xb5\x77\x7d\xec\xaa\xe5\xfd\x61\xe2\x86\xd8\xef\x32\xf9\xa4\xf0\xe2\x67\x6a\xe3\xd3\xcd\xa6\xae\xc6\x72\xff\xa5\x6e\x17\x79\xfd\xb4\xdc\x32\x36\x9b\x46\x40\x5d\x35\xff\x60\x5d\xac\xe7\x59\x55\xd0\x8c\x18\xee\x37\x71\x9e\x55\xeb\xfc\x26\xce\x36\xcd\x4d\xc6\x56\x5d\x5c\xce\x33\x6a\xa4\xbc\xef\xe3\xd0\xcf\x96\xf9\x96\x44\xb9\xc2\xcf\x0a\xb9\xd5\xd6\x19\x95\xa3\x30\x85\xcd\x6d\xb9\x70\xcb\xa0\x4a\x51\xca\x45\xae\xc4\xa2\x0c\x0a\x12\x08\x15\x61\x3f\xcf\xd2\x91\xec\xff\xd6\x2c\xed\x67\x69\xb9\x75\x58\x28\xa9\x9c\xb6\xda\x2e\x50\x2f\x50\x99\x45\x30\x52\x7a\xe3\x8a\x32\x2f\xe3\x13\xcd\xe9\xc8\x6e\x5a\x8d\xaa\xab\x66\x88\x37\x5d\x35\xdc\xcf\xb3\x6c\xb4\xa3\x1f\xee\xeb\xd8\xaf\x62\x1c\xbe\xa1\x7c\x1b\x9b\xb2\xed\x78\xa1\xf2\xa0\xbc\xd0\x4a\xc5\x25\x2e\x31\x2e\x17\x3a\x96\x5a\xb9\x52\x2d\x8c\x5e\x28\x09\x45\xdf\x3f\xf1\xf0\x7f\x54\xb3\xef\x71\x1e\x17\x28\x83\x5c\xba\x65\x19\x9d\x59\x96\x45\x0c\xd6\x84\xa5\x2b\x17\xa1\x74\xa2\xb4\x7a\xd2\x34\xce\x5f\xc6\x8e\x67\xbb\xdb\xe7\x78\xd1\x96\xf7\x93\x09\x4d\x3b\xce\xff\xf1\x31\x6d\x95\xd5\x96\x25\x13\xe6\xd9\x3a\xef\x6e\xaa\xe6\x07\x26\x18\x8d\xc1\x1f\xb3\x47\xa9\x24\xb9\xc2\x93\xbf\xe7\xdb\xfc\x6d\x42\x60\x57\x74\x5b\x75\xb1\x3c\x9e\xad\xf0\x0b\xc1\xcd\xc9\x9b\x3a\xe6\x7d\x64\xb1\xc9\x17\x75\x64\x07\xa7\xaa\x86\xdd\xb7\xb7\x1d\xbb\x8b\x0b\x36\x15\x32\x1b\x5a\x76\xdb\x47\x36\xdd\x63\xef\x5e\xc1\xf1\x6c\x73\x60\xe0\xac\xac\xb6\x93\xf9\xb3\xa7\xf6\x1f\xf7\xdb\x1b\x36\x5e\x4b\x99\xb4\x3e\x63\xab\x58\xdd\xac\x86\x79\x66\x54\xc6\x3e\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 18:52:53 +00:00
func web_uiV2IndexHtmlBytes() ([]byte, error) {
return bindataRead(
_web_uiV2IndexHtml,
"web_ui/v2/index.html",
)
}
func web_uiV2IndexHtml() (*asset, error) {
bytes, err := web_uiV2IndexHtmlBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/index.html", size: 5235, mode: os.FileMode(420), modTime: time.Unix(1539613453, 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 18:52:53 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _web_uiV2RobotsTxt = []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\xe2\x02\x04\x00\x00\xff\xff\xa6\x16\xe6\xa9\x33\x00\x00\x00")
func web_uiV2RobotsTxtBytes() ([]byte, error) {
return bindataRead(
_web_uiV2RobotsTxt,
"web_ui/v2/robots.txt",
)
}
func web_uiV2RobotsTxt() (*asset, error) {
bytes, err := web_uiV2RobotsTxtBytes()
if err != nil {
return nil, err
}
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
info := bindataFileInfo{name: "web_ui/v2/robots.txt", size: 51, mode: os.FileMode(420), modTime: time.Unix(1539613453, 0)}
2015-11-30 19:24:39 +00: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){
2018-06-20 22:23:05 +00:00
"web_ui/v2/assets/android-chrome-192x192-501b0811835ea92d42937aaf9edfbe08.png": web_uiV2AssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08Png,
"web_ui/v2/assets/android-chrome-512x512-707625c5eb04f602ade1f89a8868a329.png": web_uiV2AssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329Png,
"web_ui/v2/assets/apple-touch-icon-114x114-49e20f98710f64b0cae7545628a94496.png": web_uiV2AssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496Png,
"web_ui/v2/assets/apple-touch-icon-120x120-c9cc4fc809a6cbff9b9c261c70309819.png": web_uiV2AssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819Png,
"web_ui/v2/assets/apple-touch-icon-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png": web_uiV2AssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng,
"web_ui/v2/assets/apple-touch-icon-152x152-08c9aa1c11a83650b824e3549b33a832.png": web_uiV2AssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832Png,
"web_ui/v2/assets/apple-touch-icon-57x57-ae96d6d27e61e25514af459bc8b20960.png": web_uiV2AssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960Png,
"web_ui/v2/assets/apple-touch-icon-60x60-522fca33a44f77c679561313def843b9.png": web_uiV2AssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9Png,
"web_ui/v2/assets/apple-touch-icon-72x72-da5dd17cb4f094262b19223464fc9541.png": web_uiV2AssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541Png,
"web_ui/v2/assets/apple-touch-icon-76x76-c5fff53d5f3e96dbd2fe49c5cc472022.png": web_uiV2AssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022Png,
"web_ui/v2/assets/apple-touch-icon-d2b583b1104a1e6810fb3984f8f132ae.png": web_uiV2AssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePng,
2018-10-11 16:54:11 +00:00
"web_ui/v2/assets/auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.js": web_uiV2AssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJs,
2018-06-20 22:23:05 +00:00
"web_ui/v2/assets/consul-logo-707625c5eb04f602ade1f89a8868a329.png": web_uiV2AssetsConsulLogo707625c5eb04f602ade1f89a8868a329Png,
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
"web_ui/v2/assets/consul-ui-a4906f79ed84ea87f5f28e23fdde9580.js": web_uiV2AssetsConsulUiA4906f79ed84ea87f5f28e23fdde9580Js,
"web_ui/v2/assets/consul-ui-eb2191f7fde75fdce9659f7db9d70d64.css": web_uiV2AssetsConsulUiEb2191f7fde75fdce9659f7db9d70d64Css,
2018-10-11 16:54:11 +00:00
"web_ui/v2/assets/encoding-5ed8e95353b97ff5dd41bf66212d118e.js": web_uiV2AssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJs,
"web_ui/v2/assets/encoding-indexes-75eea16b259716db4fd162ee283d2ae5.js": web_uiV2AssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5Js,
2018-06-20 22:23:05 +00:00
"web_ui/v2/assets/favicon-128-08e1368e84f412f6ad30279d849b1df9.png": web_uiV2AssetsFavicon12808e1368e84f412f6ad30279d849b1df9Png,
"web_ui/v2/assets/favicon-16x16-672c31374646b24b235b9511857cdade.png": web_uiV2AssetsFavicon16x16672c31374646b24b235b9511857cdadePng,
"web_ui/v2/assets/favicon-196x196-57be5a82d3da06c261f9e4eb972a8a3a.png": web_uiV2AssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPng,
"web_ui/v2/assets/favicon-32x32-646753a205c6a6db7f93d0d1ba30bd93.png": web_uiV2AssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93Png,
"web_ui/v2/assets/favicon-672c31374646b24b235b9511857cdade.png": web_uiV2AssetsFavicon672c31374646b24b235b9511857cdadePng,
"web_ui/v2/assets/favicon-96x96-6f8f8393df02b51582417746da41b274.png": web_uiV2AssetsFavicon96x966f8f8393df02b51582417746da41b274Png,
"web_ui/v2/assets/favicon.ico": web_uiV2AssetsFaviconIco,
"web_ui/v2/assets/loading-cylon-pink.svg": web_uiV2AssetsLoadingCylonPinkSvg,
"web_ui/v2/assets/mstile-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png": web_uiV2AssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng,
"web_ui/v2/assets/mstile-150x150-6b13ab220a09a9e72328a3b05d5b9eec.png": web_uiV2AssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPng,
"web_ui/v2/assets/mstile-310x150-ccc673174b188a92f1e78bc25aa6f3f8.png": web_uiV2AssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8Png,
"web_ui/v2/assets/mstile-310x310-49242d1935854126c10457d1cdb1762b.png": web_uiV2AssetsMstile310x31049242d1935854126c10457d1cdb1762bPng,
"web_ui/v2/assets/mstile-70x70-08e1368e84f412f6ad30279d849b1df9.png": web_uiV2AssetsMstile70x7008e1368e84f412f6ad30279d849b1df9Png,
"web_ui/v2/assets/safari-pinned-tab.svg": web_uiV2AssetsSafariPinnedTabSvg,
2018-10-11 16:54:11 +00:00
"web_ui/v2/assets/vendor-76de132899793eca85d7043cb5b3efe4.js": web_uiV2AssetsVendor76de132899793eca85d7043cb5b3efe4Js,
2018-06-20 22:23:05 +00:00
"web_ui/v2/assets/vendor-c3a9380433ef2f2efb4ed437d3b54b31.css": web_uiV2AssetsVendorC3a9380433ef2f2efb4ed437d3b54b31Css,
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
"web_ui/v2/index.html": web_uiV2IndexHtml,
"web_ui/v2/robots.txt": web_uiV2RobotsTxt,
2015-11-30 19:24:39 +00: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{
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 18:52:53 +00:00
"v2": &bintree{nil, map[string]*bintree{
"assets": &bintree{nil, map[string]*bintree{
"android-chrome-192x192-501b0811835ea92d42937aaf9edfbe08.png": &bintree{web_uiV2AssetsAndroidChrome192x192501b0811835ea92d42937aaf9edfbe08Png, map[string]*bintree{}},
"android-chrome-512x512-707625c5eb04f602ade1f89a8868a329.png": &bintree{web_uiV2AssetsAndroidChrome512x512707625c5eb04f602ade1f89a8868a329Png, map[string]*bintree{}},
"apple-touch-icon-114x114-49e20f98710f64b0cae7545628a94496.png": &bintree{web_uiV2AssetsAppleTouchIcon114x11449e20f98710f64b0cae7545628a94496Png, map[string]*bintree{}},
"apple-touch-icon-120x120-c9cc4fc809a6cbff9b9c261c70309819.png": &bintree{web_uiV2AssetsAppleTouchIcon120x120C9cc4fc809a6cbff9b9c261c70309819Png, map[string]*bintree{}},
"apple-touch-icon-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png": &bintree{web_uiV2AssetsAppleTouchIcon144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng, map[string]*bintree{}},
"apple-touch-icon-152x152-08c9aa1c11a83650b824e3549b33a832.png": &bintree{web_uiV2AssetsAppleTouchIcon152x15208c9aa1c11a83650b824e3549b33a832Png, map[string]*bintree{}},
"apple-touch-icon-57x57-ae96d6d27e61e25514af459bc8b20960.png": &bintree{web_uiV2AssetsAppleTouchIcon57x57Ae96d6d27e61e25514af459bc8b20960Png, map[string]*bintree{}},
"apple-touch-icon-60x60-522fca33a44f77c679561313def843b9.png": &bintree{web_uiV2AssetsAppleTouchIcon60x60522fca33a44f77c679561313def843b9Png, map[string]*bintree{}},
"apple-touch-icon-72x72-da5dd17cb4f094262b19223464fc9541.png": &bintree{web_uiV2AssetsAppleTouchIcon72x72Da5dd17cb4f094262b19223464fc9541Png, map[string]*bintree{}},
"apple-touch-icon-76x76-c5fff53d5f3e96dbd2fe49c5cc472022.png": &bintree{web_uiV2AssetsAppleTouchIcon76x76C5fff53d5f3e96dbd2fe49c5cc472022Png, map[string]*bintree{}},
"apple-touch-icon-d2b583b1104a1e6810fb3984f8f132ae.png": &bintree{web_uiV2AssetsAppleTouchIconD2b583b1104a1e6810fb3984f8f132aePng, map[string]*bintree{}},
2018-10-11 16:54:11 +00:00
"auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.js": &bintree{web_uiV2AssetsAutoImportFastbootD41d8cd98f00b204e9800998ecf8427eJs, map[string]*bintree{}},
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 18:52:53 +00:00
"consul-logo-707625c5eb04f602ade1f89a8868a329.png": &bintree{web_uiV2AssetsConsulLogo707625c5eb04f602ade1f89a8868a329Png, map[string]*bintree{}},
New ACLs (#4791) This PR is almost a complete rewrite of the ACL system within Consul. It brings the features more in line with other HashiCorp products. Obviously there is quite a bit left to do here but most of it is related docs, testing and finishing the last few commands in the CLI. I will update the PR description and check off the todos as I finish them over the next few days/week. Description At a high level this PR is mainly to split ACL tokens from Policies and to split the concepts of Authorization from Identities. A lot of this PR is mostly just to support CRUD operations on ACLTokens and ACLPolicies. These in and of themselves are not particularly interesting. The bigger conceptual changes are in how tokens get resolved, how backwards compatibility is handled and the separation of policy from identity which could lead the way to allowing for alternative identity providers. On the surface and with a new cluster the ACL system will look very similar to that of Nomads. Both have tokens and policies. Both have local tokens. The ACL management APIs for both are very similar. I even ripped off Nomad's ACL bootstrap resetting procedure. There are a few key differences though. Nomad requires token and policy replication where Consul only requires policy replication with token replication being opt-in. In Consul local tokens only work with token replication being enabled though. All policies in Nomad are globally applicable. In Consul all policies are stored and replicated globally but can be scoped to a subset of the datacenters. This allows for more granular access management. Unlike Nomad, Consul has legacy baggage in the form of the original ACL system. The ramifications of this are: A server running the new system must still support other clients using the legacy system. A client running the new system must be able to use the legacy RPCs when the servers in its datacenter are running the legacy system. The primary ACL DC's servers running in legacy mode needs to be a gate that keeps everything else in the entire multi-DC cluster running in legacy mode. So not only does this PR implement the new ACL system but has a legacy mode built in for when the cluster isn't ready for new ACLs. Also detecting that new ACLs can be used is automatic and requires no configuration on the part of administrators. This process is detailed more in the "Transitioning from Legacy to New ACL Mode" section below.
2018-10-19 16:04:07 +00:00
"consul-ui-a4906f79ed84ea87f5f28e23fdde9580.js": &bintree{web_uiV2AssetsConsulUiA4906f79ed84ea87f5f28e23fdde9580Js, map[string]*bintree{}},
"consul-ui-eb2191f7fde75fdce9659f7db9d70d64.css": &bintree{web_uiV2AssetsConsulUiEb2191f7fde75fdce9659f7db9d70d64Css, map[string]*bintree{}},
2018-10-11 16:54:11 +00:00
"encoding-5ed8e95353b97ff5dd41bf66212d118e.js": &bintree{web_uiV2AssetsEncoding5ed8e95353b97ff5dd41bf66212d118eJs, map[string]*bintree{}},
"encoding-indexes-75eea16b259716db4fd162ee283d2ae5.js": &bintree{web_uiV2AssetsEncodingIndexes75eea16b259716db4fd162ee283d2ae5Js, map[string]*bintree{}},
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 18:52:53 +00:00
"favicon-128-08e1368e84f412f6ad30279d849b1df9.png": &bintree{web_uiV2AssetsFavicon12808e1368e84f412f6ad30279d849b1df9Png, map[string]*bintree{}},
"favicon-16x16-672c31374646b24b235b9511857cdade.png": &bintree{web_uiV2AssetsFavicon16x16672c31374646b24b235b9511857cdadePng, map[string]*bintree{}},
"favicon-196x196-57be5a82d3da06c261f9e4eb972a8a3a.png": &bintree{web_uiV2AssetsFavicon196x19657be5a82d3da06c261f9e4eb972a8a3aPng, map[string]*bintree{}},
"favicon-32x32-646753a205c6a6db7f93d0d1ba30bd93.png": &bintree{web_uiV2AssetsFavicon32x32646753a205c6a6db7f93d0d1ba30bd93Png, map[string]*bintree{}},
"favicon-672c31374646b24b235b9511857cdade.png": &bintree{web_uiV2AssetsFavicon672c31374646b24b235b9511857cdadePng, map[string]*bintree{}},
"favicon-96x96-6f8f8393df02b51582417746da41b274.png": &bintree{web_uiV2AssetsFavicon96x966f8f8393df02b51582417746da41b274Png, map[string]*bintree{}},
2018-10-11 16:54:11 +00:00
"favicon.ico": &bintree{web_uiV2AssetsFaviconIco, map[string]*bintree{}},
"loading-cylon-pink.svg": &bintree{web_uiV2AssetsLoadingCylonPinkSvg, map[string]*bintree{}},
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 18:52:53 +00:00
"mstile-144x144-ac561ffa84c7e8ce1fe68d70f1c16d1d.png": &bintree{web_uiV2AssetsMstile144x144Ac561ffa84c7e8ce1fe68d70f1c16d1dPng, map[string]*bintree{}},
"mstile-150x150-6b13ab220a09a9e72328a3b05d5b9eec.png": &bintree{web_uiV2AssetsMstile150x1506b13ab220a09a9e72328a3b05d5b9eecPng, map[string]*bintree{}},
"mstile-310x150-ccc673174b188a92f1e78bc25aa6f3f8.png": &bintree{web_uiV2AssetsMstile310x150Ccc673174b188a92f1e78bc25aa6f3f8Png, map[string]*bintree{}},
"mstile-310x310-49242d1935854126c10457d1cdb1762b.png": &bintree{web_uiV2AssetsMstile310x31049242d1935854126c10457d1cdb1762bPng, map[string]*bintree{}},
"mstile-70x70-08e1368e84f412f6ad30279d849b1df9.png": &bintree{web_uiV2AssetsMstile70x7008e1368e84f412f6ad30279d849b1df9Png, map[string]*bintree{}},
"safari-pinned-tab.svg": &bintree{web_uiV2AssetsSafariPinnedTabSvg, map[string]*bintree{}},
2018-10-11 16:54:11 +00:00
"vendor-76de132899793eca85d7043cb5b3efe4.js": &bintree{web_uiV2AssetsVendor76de132899793eca85d7043cb5b3efe4Js, map[string]*bintree{}},
2018-05-11 16:03:36 +00:00
"vendor-c3a9380433ef2f2efb4ed437d3b54b31.css": &bintree{web_uiV2AssetsVendorC3a9380433ef2f2efb4ed437d3b54b31Css, map[string]*bintree{}},
2018-06-14 17:07:03 +00:00
}},
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 18:52:53 +00:00
"index.html": &bintree{web_uiV2IndexHtml, map[string]*bintree{}},
"robots.txt": &bintree{web_uiV2RobotsTxt, map[string]*bintree{}},
2015-11-30 19:24:39 +00: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-10 02:03:10 +00:00
assetInfo := func(path string) (os.FileInfo, error) {
return os.Stat(path)
}
2015-11-30 19:24:39 +00:00
for k := range _bintree.Children {
2016-08-10 02:03:10 +00:00
return &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: assetInfo, Prefix: k}
2015-11-30 19:24:39 +00:00
}
panic("unreachable")
}