Find a file
John Cowen e34c16a90c ui: Logout button (#7604)
* ui: Logout button

This commit adds an easier way to logout of the UI using a logout button

Notes:

- Added a Logout button to the main navigation when you are logged in,
meaning you have easy access to a way to log out of the UI.
- Changed all wording to use 'Log in/out' vocabulary instad of 'stop
using'.
- The logout button opens a panel to show you your current ACL
token and a logout button in order to logout.
- When using legacy ACLs we don't show the current ACL token as legacy
ACLs tokens only have secret values, whereas the new ACLs use a
non-secret ID plus a secret ID (that we don't show).
- We also added a new `<EmptyState />` component to use for all our
empty states. We currently only use this for the ACLs disabled screen to
provide more outgoing links to more readind material/documentation to
help you to understand and enable ACLs.
- The `<DataSink />` component is the sibling to our `<DataSource />`
component and whilst is much simpler (as it doesn't require polling
support), its tries to use the same code patterns for consistencies
sake.
- We had a fun problem with ember-data's `store.unloadAll` here, and in
the end went with `store.init` to empty the ember-data store instead due
to timing issues.
- We've tried to use already existing patterns in the Consul UI here
such as our preexisting `feedback` service, although these are likely to
change in the future. The thinking here is to add this feature with as
little change as possible.

Overall this is a precursor to a much larger piece of work centered on
auth in the UI. We figured this was a feature complete piece of work as
it is and thought it was worthwhile to PR as a feature on its own, which
also means the larger piece of work will be a smaller scoped PR also.
2020-05-12 17:14:24 +00:00
.circleci ui: Make a specific CI coverage make target ensuring use of CI cache (#7335) 2020-05-12 17:14:08 +00:00
.github
acl
agent Merge pull request #7689 from hashicorp/dnephin/remove-deadcode-1 2020-05-12 12:33:59 -04:00
api acl: add auth method for JWTs (#7846) 2020-05-11 20:59:29 -05:00
bench
build-support ui: Upgrade to node 12 LTS (#7248) 2020-05-12 17:13:53 +00:00
command acl: add auth method for JWTs (#7846) 2020-05-11 20:59:29 -05:00
connect
contributing
demo
internal/go-sso acl: add auth method for JWTs (#7846) 2020-05-11 20:59:29 -05:00
ipaddr
lib
logging Fix spelling of deregister (#7804) 2020-05-08 10:03:45 -04:00
sdk
sentinel
service_os
snapshot
terraform
test Merge pull request #7759 from hashicorp/ingress/tls-hosts 2020-05-11 09:18:43 -07:00
testrpc
tlsutil
types
ui-v2 ui: Logout button (#7604) 2020-05-12 17:14:24 +00:00
vendor acl: add auth method for JWTs (#7846) 2020-05-11 20:59:29 -05:00
version
website added files-to-consul-kv to tools 2020-05-12 08:30:16 -06:00
.dockerignore
.gitattributes
.gitignore
.golangci.yml
.hashibot.hcl
CHANGELOG.md update changelog 2020-05-11 22:21:02 -05:00
codecov.yml ui: Test Coverage Reporting (#7027) 2020-05-12 17:13:50 +00:00
GNUmakefile
go.mod acl: add auth method for JWTs (#7846) 2020-05-11 20:59:29 -05:00
go.sum acl: add auth method for JWTs (#7846) 2020-05-11 20:59:29 -05:00
INTERNALS.md
LICENSE
main.go
main_test.go
NOTICE.md
README.md
Vagrantfile

Consul CircleCI Discuss

Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable.

Consul provides several key features:

  • Service Discovery - Consul makes it simple for services to register themselves and to discover other services via a DNS or HTTP interface. External services such as SaaS providers can be registered as well.

  • Health Checking - Health Checking enables Consul to quickly alert operators about any issues in a cluster. The integration with service discovery prevents routing traffic to unhealthy hosts and enables service level circuit breakers.

  • Service Segmentation/Service Mesh - Consul Connect enables secure service-to-service communication with automatic TLS encryption and identity-based authorization. Applications can use sidecar proxies in a service mesh configuration to establish TLS connections for inbound and outbound connections without being aware of Connect at all.

  • Key/Value Storage - A flexible key/value store enables storing dynamic configuration, feature flagging, coordination, leader election and more. The simple HTTP API makes it easy to use anywhere.

  • Multi-Datacenter - Consul is built to be datacenter aware, and can support any number of regions without complex configuration.

Consul runs on Linux, Mac OS X, FreeBSD, Solaris, and Windows. A commercial version called Consul Enterprise is also available.

Please note: We take Consul's security and our users' trust very seriously. If you believe you have found a security issue in Consul, please responsibly disclose by contacting us at security@hashicorp.com.

Quick Start

A few quick start guides are available on the Consul website:

Documentation

Full, comprehensive documentation is available on the Consul website:

https://www.consul.io/docs

Contributing

Thank you for your interest in contributing! Please refer to CONTRIBUTING.md for guidance.