consul/ui-v2/tests/unit/mixins
John Cowen f65f001675
UI: Catch 500 error on token endpoint and revert to legacy tokens (#4874)
In some circumstances a consul 1.4 client could be running in an
un-upgraded 1.3 or lower cluster. Currently this gives a 500 error on
the new ACL token endpoint. Here we catch this specific 500 error/message
and set the users AccessorID to null. Elsewhere in the frontend we use
this fact (AccessorID being null) to decide whether to present the
legacy or the new ACL UI to the user.

Also:
- Re-adds in most of the old style ACL acceptance tests, now that we are keeping the old style UI
- Restricts code editors to HCL only mode for all `Rules` editing (legacy/'half legacy'/new style)
- Adds a [Stop using] button to the old style ACL rows so its possible to logout.
- Updates copy and documentation links for the upgrade notices
2018-11-02 14:44:36 +00:00
..
acl UI: Catch 500 error on token endpoint and revert to legacy tokens (#4874) 2018-11-02 14:44:36 +00:00
intention UI: Simplify/refactor the actions/notification layer (#4572) + (#4573) 2018-08-29 19:14:31 +01:00
kv UI: Simplify/refactor the actions/notification layer (#4572) + (#4573) 2018-08-29 19:14:31 +01:00
policy ui: Brings the new ACLs into line with the new repo folder structure (#4857) 2018-10-26 18:40:51 +01:00
token ui: Brings the new ACLs into line with the new repo folder structure (#4857) 2018-10-26 18:40:51 +01:00
click-outside-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
creating-route-test.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
with-blocking-actions-test.js UI: Simplify/refactor the actions/notification layer (#4572) + (#4573) 2018-08-29 19:14:31 +01:00
with-filtering-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
with-health-filtering-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
with-resizing-test.js UI: Fixes healthy node listing resize on large portrait screens (#4564) 2018-08-24 12:35:52 +02:00