Commit Graph

13355 Commits

Author SHA1 Message Date
R.B. Boyer 85205a63e8 server: deletions of intentions by name using the intention API is now idempotent (#9278)
Restoring a behavior inadvertently changed while fixing #9254
2021-01-04 17:27:50 +00:00
John Cowen abd41b4ff2 ui: [BUGFIX] Request intention listing with ns parameter (#9432)
This PR adds the ns=* query parameter when namespaces are enabled to keep backwards compatibility with how the UI used to work (Intentions page always lists all intention across all namespace you have access to)

I found a tiny dev bug for printing out the current URL during acceptance testing and fixed that up while I was there.
2021-01-04 17:22:46 +00:00
John Cowen 464e0bcd0f ui: [BUGFIX] Ensure namespace is used for node API requests (#9410)
Nodes themselves are not namespaced, so we'd originally assumed we did not need to pass through the ns query parameter when listing or viewing nodes.

As it turns out the API endpoints we use to list and view nodes (and related things) return things that are namespaced, therefore any API requests for nodes do require a the ns query parameter to be passed through to the request.

This PR adds the necessary ns query param to all things Node, apart from the querying for the leader which only returns node related information.

Additionally here we decided to show 0 Services text in the node listing if there are nodes with no service instances within the namespace you are viewing, as this is clearer than showing nothing at all. We also cleaned up/standardized the text we use to in the empty state for service instances.
2021-01-04 16:43:40 +00:00
Mike Morris 5938623c28 Merge branch 'stable-website' into release/1.9.x 2021-01-04 10:45:43 -05:00
David Yu 1455fb9498 Update with 0.28 (#9450) 2020-12-21 21:25:08 +00:00
David Yu f8c4832f02 Update with 0.28 (#9450) 2020-12-21 21:25:03 +00:00
John Cowen 0f33700052 ui: Fuzzy and Regex searching (#9424)
Moves search things around to match an interface that can be switched in and out of fuzzy searching using fuse.js. We add both fuzzy searching and regex based searching to the codebase here, but it is not yet compiled in.
2020-12-18 10:41:42 +00:00
John Cowen b9a4171778 ui: Use InformedAction for KV table row delete confirmations (#9425) 2020-12-18 09:04:46 +00:00
Blake Covarrubias eaafe44cea docs: Remove beta tag for 1.8 and 1.9 features
Remove beta tag for 1.8 and 1.9 features which are now GA.
2020-12-18 00:53:40 +00:00
Blake Covarrubias f2bfbdb36e docs: Remove beta tag for 1.8 and 1.9 features
Remove beta tag for 1.8 and 1.9 features which are now GA.
2020-12-18 00:53:36 +00:00
Kenia fe58baae43 ui: Add Local flag to local dc in dropdown (#9419)
* Add Local flag to local dc in dropdown

* Remove brand color from the check

* Move styling to main-nav-horizonal styling sheets
2020-12-17 18:58:06 +00:00
John Cowen 2f54c78aa3 ui: Misc changes for Catalog area (#9414)
* Use DataLoader errors for Service Detail and Service Instance

* uiCfg > config use the repo-like async interface where possible

* Clean up node show

* Make sure you can put `=` in dev cookie values

* Never default to default

* Tweak chain variable

* Remove env service

* Pass chain through to the template for the tempalte to clean it up

* Delete controller tests

* Remove cleanup in Nodes show as this is still being used in another tab

* Use dc.Local
2020-12-17 16:35:32 +00:00
John Cowen 3cebe0ee63 ui: Change references to L7 to say Layer 7 (#9412) 2020-12-17 16:04:50 +00:00
John Cowen dd2b3919e9 ui: Show the No Dependencies message when a Topology has no streams (#9413)
Also changes the upstreams docs link
2020-12-17 15:28:29 +00:00
Kim Ngo 1655387817 nia/docs 0.1.0-techpreview2 (#9405)
Co-authored-by: Lorna Song <lorna@hashicorp.com>
2020-12-16 20:47:58 +00:00
Kim Ngo 35ef621a71 nia/docs 0.1.0-techpreview2 (#9405)
Co-authored-by: Lorna Song <lorna@hashicorp.com>
2020-12-16 20:47:54 +00:00
John Cowen 206b4e6f15 ui: Add new dev UI environment variables to the README (#9411) 2020-12-16 16:43:45 +00:00
Kenia 79bfa1d445 ui: Return empty state for no health check in Topology Cards (#9403) 2020-12-16 15:33:49 +00:00
John Cowen dff78d966c ui: Rearrange Service detail page to load Topology and Routing tabs separately (#9401) 2020-12-16 09:21:35 +00:00
John Cowen 442f5f8b08 ui: Set overflow: auto on the tab nav (#9402)
This ensures scroll bars are mainly hidden, yet visible on small screens
if the tabs are large enough for there to be an overflow
2020-12-16 09:19:36 +00:00
R.B. Boyer 1a5e203afb update comment to correctly reflect type of data in the oidc auth method config (#9364) 2020-12-15 22:26:42 +00:00
R.B. Boyer b6266d83b5 update comment to correctly reflect type of data in the oidc auth method config (#9364) 2020-12-15 22:26:37 +00:00
Daniel Nephin 6e91e84930 Merge pull request #9262 from hashicorp/dnephin/docs-deprecate-old-filters
docs: deprecate some old filter parameters
2020-12-15 22:12:13 +00:00
Daniel Nephin 7ec50a7043 Merge pull request #9262 from hashicorp/dnephin/docs-deprecate-old-filters
docs: deprecate some old filter parameters
2020-12-15 22:12:09 +00:00
kaitlincarter-hc a63ff96f7f Rotate Learn tutorials (#9404)
* update Learn tutorials on landing page

* add Vault image
2020-12-15 20:25:44 +00:00
kaitlincarter-hc 0ae3fde1ce Rotate Learn tutorials (#9404)
* update Learn tutorials on landing page

* add Vault image
2020-12-15 20:25:40 +00:00
Tenpo 70ca39c873 update example for tag_name (#9226)
* update example for tag_name

In the example for azure the "tag_name" field is wrong cause say "tag_key" and not "tag_name"

* change tag_key by tag_name in the description of azure
2020-12-15 20:09:52 +00:00
Tenpo abb3b443c9 update example for tag_name (#9226)
* update example for tag_name

In the example for azure the "tag_name" field is wrong cause say "tag_key" and not "tag_name"

* change tag_key by tag_name in the description of azure
2020-12-15 20:09:48 +00:00
Daniel Nephin 685d9b6540 Merge pull request #9369 from brd/typo-fix
Fix a typo in the CHANGELOG
2020-12-15 19:42:46 +00:00
Derek Strickland 2d751ea411 Fixed mesh gateway config instructions (#9396)
Added missing words to mesh gateway config instructions, and corrected punctuation a paragraph above. Please review for technical accuracy.
2020-12-15 19:08:58 +00:00
Derek Strickland 1f7ad3bcf5 Fixed mesh gateway config instructions (#9396)
Added missing words to mesh gateway config instructions, and corrected punctuation a paragraph above. Please review for technical accuracy.
2020-12-15 19:08:53 +00:00
John Cowen 461461d48c ui: Install ember-intl (#9399)
* ui: Install ember-intl

Also:

1. Removes our own format-number in order to use ember-intl's instead
2. Moves format-time to format-short-time so as to not clash with
ember-intls own format-time
2020-12-15 18:30:08 +00:00
John Cowen a625745dad ui: Lint get-environment.js (#9400) 2020-12-15 18:14:58 +00:00
John Cowen 6cd7ad3952 api: Ensure the internal/ui/service endpoint responds with an array (#9397)
In some circumstances this endpoint will have no results in it (dues to
ACLs, Namespaces or filtering).

This ensures that the response is at least an empty array (`[]`) rather
than `null`
2020-12-15 16:52:37 +00:00
John Cowen a8b4e606a4 ui: Use InformedAction for intention confirmation dialogs (#9398) 2020-12-15 16:33:45 +00:00
John Cowen 5996e8fdcd ui: Dev/Test environment configurable metrics (#9345)
In order to test certain setups for our metrics visualizations we need to be able to setup several different `ui_config` settings during development/testing. Generally in the UI, we use the Web Inspector to set various cookie values to configure the UI how we need to see it whilst developing, so this PR:

1. Routes `ui_config` through a dev time only `CONSUL_UI_CONFIG` env variable so we can change it via cookies vars.
2. Adds `CONSUL_METRICS_PROXY_ENABLE`, `CONSUL_METRICS_PROVIDER` and `CONSUL_SERVICE_DASHBOARD_URL` so it's easy to set/unset these only values during development.
3. Adds an acceptance testing step so we can setup `ui_config` to whatever we want during testing.
4. Adds an async 'repository-like' method to the `UiConfig` Service so it feels like a repository - incase we ever need to get this via an HTTP API+blocking query.
5. Vaguely unrelated: we allow cookie values to be set via the location.hash whilst in development only e.g. `/ui/services#CONSUL_METRICS_PROXY_ENABLE=1` so we can link to different setups if we ever need to.

All values added here are empty/falsey by default, so in order to see how it was previously you'll need to set the appropriate cookies values, but you can now also easily preview/test the the metrics viz in different/disabled states (with differing `ui_config`)
2020-12-15 15:36:32 +00:00
R.B. Boyer 37c9daea6b docs: call out intentions upgrade issue for 1.9.0+ (#9386) 2020-12-14 15:57:45 +00:00
R.B. Boyer 4acc2714bc docs: call out intentions upgrade issue for 1.9.0+ (#9386) 2020-12-14 15:57:40 +00:00
John Cowen 337e407a5e ui: Show local datacenter by default on first visit (#9377)
* Add `Local` property to Datacenters

* If you have not previous datacenter, redirect the user to the local dc

* Add an `is-local` class to the local datacenter in the DC picker
2020-12-14 15:30:15 +00:00
John Cowen 54ab9249dc ui: Move linting to the `node:test` script (#9385)
* Reconfigure linting to be a node-test

* Fixup linting across the project
2020-12-14 15:29:20 +00:00
John Cowen 1952b29931 ui: Add External Sources Filter to Node > Service Instances (#9368)
* Add service collections to get all ExternalServices

* Add a basic collection helper

* Use the collections to get all ExternalSources

* Remove old Controllers
2020-12-14 14:27:35 +00:00
Maksym ed47721c3c fix 'agent/check/pass/my-check-id' curl example in documentation (#9372) 2020-12-11 12:24:20 +00:00
Maksym 8dbfc2b39a fix 'agent/check/pass/my-check-id' curl example in documentation (#9372) 2020-12-11 12:24:16 +00:00
John Cowen 0a9f3c87d1 ui: Controller dead code removal (#9367)
* ui: Controller dead code removal

This commit removes a little code that became 'dead' as a result of
previous PRs/commits

* Remove a little more from the settings Controller

* Remove CSS related to being able to set the dashboard_url in settings
2020-12-11 11:43:46 +00:00
John Cowen 527ed5e196 ui: Improved Discovery Chain resizing (#9360)
* install on-resize modifier

* Rerrange things to use on-resize modifier for positioning
2020-12-11 09:39:08 +00:00
John Cowen 977e5fafc0 ui: Remove random undefined from codemod run (#9370) 2020-12-11 09:35:00 +00:00
hashicorp-ci 0342af78ee Putting source back into Dev Mode 2020-12-11 03:57:52 +00:00
hashicorp-ci ca5c389431
Release v1.9.1 2020-12-11 03:26:04 +00:00
hashicorp-ci 8b9b803589
update bindata_assetfs.go 2020-12-11 03:26:04 +00:00
Mike Morris 2de43740c0 deps: consul/api v1.8.1 2020-12-10 18:25:08 -05:00