Commit Graph

315 Commits

Author SHA1 Message Date
James Phillips c5cc1fdba6 Revert "UI: remove ACL ID from the left list" 2017-05-02 14:28:56 -07:00
Seth Vargo 0639e7c018 Merge pull request #2517 from bhuisgen/feature/ui-remove-acl-id-from-list
UI: remove ACL ID from the left list
2017-05-02 13:12:57 -07:00
James Phillips 6382f95898
Updates static assets to pick up #2712. 2017-05-02 10:52:06 -07:00
Jack efb905c707 Add JSON validation to update view
JSON validation has now been added to the update view following the same format
as create. Since 'valueDecoded' does not have the ability to check if the value
is base64 before decoding then this must be checked first; if it is base64 then
use the decoded one, if not just get the value.

Change incorrect trailing span close to label.
2017-05-02 17:20:36 +09:00
Jack a7d65fd3a2 Add JSON validation to UI
JSON validation added to UI. This has been implemented through the use of a flag
to enable/disable the functionality with a watcher on the value to set the
success/error class on the textarea itself.

No hard validation added to the field.
2017-05-02 17:20:35 +09:00
Brian Shumate f97051e269
ui: Add favicon.png for Chrome
- This completes all favicon related additions and
  completely resolves error in Chrome
2017-04-25 16:11:19 -04:00
Brian Shumate b5eadeb942 ui: Update index to fix #2945 (#2956) 2017-04-25 10:00:19 -07:00
Brian Shumate 2fc6541fd3 ui: Add and update favicons (#2948)
ui: Add and update favicons

* Add most popular device/size favicon combinations
* Update existing favicons
* Change permissions to 0644 on static assets

Fixes #2945
2017-04-25 09:23:34 -07:00
James Phillips 4de270326e
Updates static assets to pick up #2899. 2017-04-13 14:40:16 -07:00
Brian Shumate 6716a5b286
Everything is pink now 2017-04-13 09:27:32 -04:00
Brian Shumate c0b3e99c46
Pink cylon image! 2017-04-12 20:21:51 -04:00
Brian Shumate e9f97375bf
UI: use new pink hues for active/primary btns 2017-04-12 19:32:10 -04:00
Brian Shumate 6ab19b9f84
UI updates for new Consul logo
- Update consul-logo.png
- Update all favicons
- Update UI README
2017-04-12 18:58:06 -04:00
Terror e3c2c6ae08 Update index.html
Correct link to the ACL guide.
2017-04-10 13:32:33 +12:00
Seth Vargo 7779c5942c
Link to new api 2017-04-04 12:52:00 -04:00
Mary Nagle 8cd7fb54ed Add sticky scroll to side panel 2017-03-21 14:39:57 -04:00
Brian Shumate 256372b8b4
UI: add notification for disabled JavaScript 2017-01-05 09:10:58 -05:00
Brian Shumate f333392a3d
Remove Deregister from UI for #2541
- Remove Deregister button
- Remove Deregister functionality
2016-11-30 11:07:04 -05:00
Brian Shumate 967b777d2a
Bootstrap w/o Glyphicons (resolves #2485)
- Remove reference to Glyphicon Halflings @fontface
- Remove unused Glphyicon related classes
2016-11-21 18:08:17 -05:00
Boris HUISGEN 3036726ea1 Remove ACL ID from the left list 2016-11-18 03:18:37 +01:00
James Phillips c798e32d20 Merge pull request #2340 from kushniro/b-ui-tags-commas
UI: remove redundant commas in tags list (services view)
2016-11-17 16:36:15 -08:00
Blake Walters c3109072f5 properly escape session and acl data in UI (#2456)
* update libv8 gem to something that compiles

* properly escape session and acl data in UI

fixes an XSS vulnerability caused by having the sessionName, sessionMeta, and aclName blindly returning data as Handlebars.SafeStrings
2016-10-31 18:16:43 -07:00
Omer Kushnir 1bc030ecba UI: remove redundant commas in tags list (services view)
When some services had no tags(Tags is null) and some did have tags redundant commas were added to the tags list.
2016-09-15 11:37:45 +03:00
James Phillips 3f50b9599a
Updates built-in UI static assets to latest. 2016-08-12 18:01:59 -07:00
James Phillips ecd24b4171 Merge pull request #2055 from patrickbaber/master
Removes fixed height of node/service boxes.
2016-08-10 16:03:18 -07:00
James Phillips f23786cd5a
Fixes JS exception when there are no coordinates present. 2016-08-08 17:38:22 -07:00
James Phillips 518e122053 Updates web assets to pull in RTT viz. 2016-06-07 09:32:44 -07:00
Ross McFarland 5d564acfa3 Implement a first-pass of tomography node hover
Not at all using Emeber's facilities and no clue how to do so with this.
2016-05-18 10:05:16 -07:00
Ross McFarland 773db64ffc Rework sampling to avoid 0 case and always include min and max 2016-05-18 09:50:30 -07:00
Ross McFarland 73ac76bfe5 Sample tomography distances to cap number around 360 2016-05-17 12:57:02 -07:00
Ross McFarland 4062920969 Switch tomography to median rather than avg 2016-05-17 10:43:50 -07:00
Patrick Baber 9960b996cf remove fixed height 2016-05-16 11:29:40 +02:00
Ross McFarland 811c77c1b2 Handle no peers in tomography graph 2016-05-15 06:30:37 -07:00
Ross McFarland 885dd87fec Don't include self in tomography 2016-05-15 06:13:52 -07:00
Ross McFarland ba6d402e85 Implementation of a per-node tomography graph
Adds a new section to the node information, Network Tomography. There's a radar
plot of the distances (in ms) between the current node and its peers as well as
min, avg, and max.
2016-05-14 18:35:09 -07:00
James Phillips 043c031ad1 Merge pull request #1702 from far-blue/ui-configurable-api-url
Configurable consul host address
2016-03-18 21:05:00 -07:00
James Phillips 98784c6416 Updates to latest compiled ui assets. 2016-03-07 13:49:08 -08:00
captainill 293aba329f add announcement banner for Consul Enterprise launch 2016-03-03 12:23:30 -08:00
Robert Goldsmith 795554e7a4 Included support to override the assumed location of the consul so you can run the UI on a normal web server potentially on a different host to your consul servers. 2016-02-09 13:26:48 +00:00
Sean Chittenden 71d02d2a32 Acknowledge that we're using GNU make's dialect and rename appropriate
Makefiles to GNUmakefiles so that non-GNU make(1) will error out.  This
should be a transparent change to the universe of people using GNU make.
2016-02-05 14:24:26 -08:00
James Phillips f24a044755 Fixes the static asset generator for new pkg path, updates assets. 2016-01-15 10:21:42 -08:00
Seth Vargo cae0ff354a Use HTTPS + www. where appropriate 2016-01-13 17:44:01 -05:00
James Phillips 4a9a074f83 Fixes a bad merge in the UI. 2016-01-02 06:58:21 -08:00
James Phillips 4248e7659c Merge pull request #1422 from railsguru/master
Propagate token in UI
2016-01-02 06:55:14 -08:00
Ryan Uber c3e7c98da2 agent: compile web assets into consul binary 2015-12-24 22:21:34 -05:00
Mike Oswell c1803c5a48 Add the token to /v1/internal/ui/nodes. (issue #1071) 2015-12-16 12:32:56 -08:00
Matthew Irish fba54c3f7f ui: swap unicode glyph with inline svg for the settings icon 2015-12-04 10:36:55 -06:00
Andy Lo-A-Foe 85d0f4b9ef Propagate token in UI 2015-11-18 08:29:01 +01:00
James Phillips be4d2ff659 Moves the static assets into a subfolder where index.html expects them. 2015-10-27 18:19:17 -07:00
Matthew Irish 2aca5a94e2 Merge pull request #1338 from hashicorp/js-cleaning
Clean up the JS a bit and make Ember code more idiomatic
2015-10-26 13:24:06 -05:00
Matthew Irish 657b5b4a04 Show node status as failing if a service on the node is failing 2015-10-26 10:26:16 -05:00
Matthew Irish dd1796b99a Clean up the JS a bit and make Ember code more idiomatic 2015-10-26 09:39:18 -05:00
Seth Vargo 6c528f0ff2 Use gox for building 2015-10-22 14:16:01 -04:00
David Adams 75ded76e44 UI formatURL: render null token correctly
If the token argument to formatURL is null, it should be rendered as the
empty string and not the string 'null'.

Should fix #1316 in which Safari gets a 403 error when visiting the
key/value page in the web UI.
2015-10-19 22:18:19 -05:00
Ryan Uber 4adc0b5c66 website: document precedence of Atlas endpoint inputs 2015-08-27 17:54:56 -07:00
Jack Pearkes 00e35cdc41 revert 8bf8871, fc2aad3, 503d338.
some misplaced UI development changes
2015-08-07 16:40:49 -07:00
Jack Pearkes 8bf88712a1 ui: update development config to not use ACLs to simplify life 2015-08-07 16:36:39 -07:00
Jack Pearkes fc2aad3cf8 ui: update gems for development 2015-08-07 16:36:29 -07:00
Jack Pearkes 503d3384d4 ui: add 'map' route and button, tighten up the nav to give space 2015-08-07 16:36:02 -07:00
孔晨 6b4cdc3c4d fix base64 issue 2015-07-23 15:56:23 +08:00
孔晨 9e1106dda2 fix 中文乱码问题 2015-07-23 14:47:32 +08:00
Rafik Salama d3cf967977 UI: Fix restoring state for service names containing slashes 2015-05-29 18:35:39 -04:00
Blake Walters 02232c3aae make sure button text overflow is set to ellipsis
fixes #549
2015-03-10 10:48:02 -07:00
Ryan Breen b78eb40ef4 s/data center/datacenter/g 2015-02-19 17:45:47 -05:00
Jack Pearkes 2b7297c81d ui: fix listener on dc controller content
fixes #694
2015-02-19 11:48:03 -08:00
Armon Dadgar ee5153067a Change tabs to spaces 2015-02-18 15:09:48 -08:00
Armon Dadgar 39013bbe6a ui: Only set blank token if none set 2015-02-18 14:44:52 -08:00
Jack Pearkes a82bbb6561 ui: add session behavior and ttl to UI
fixes #649
2015-02-11 18:51:30 -08:00
Jack Pearkes 2f541b5ef7 ui: update gemfile 2015-02-11 18:41:40 -08:00
Jack Pearkes 255d358643 ui: add service address
fixes #686
2015-02-11 18:18:31 -08:00
Armon Dadgar f86d7c3a09 Merge pull request #558 from ceh/http-api-response-headers
add ability to specify response headers on the HTTP API
2015-01-05 11:36:08 -08:00
Seth Vargo 49d29bc937 Update titles to be consistent with other sites 2014-12-30 13:18:25 -05:00
Emil Hessman cb764c35e5 add ability to specify response headers on the HTTP API
Add an config object that allows adding HTTP header response fields to every
HTTP API response.

Each specified header is added to every response from all HTTP API endpoints.
Each individual endpoint may overwrite the specified header, which makes sure
that Consul headers such as 'X-Consul-Index' is enforced by the API.
2014-12-28 19:17:08 +01:00
Marin d0994d2fce ui: confirm dialog only when deleting key directories #521 2014-12-06 12:00:51 -08:00
Marin 99e572cffb ui: ask for confirmation before deleting keys #520 2014-12-05 17:14:11 -08:00
Veres Lajos 3b1068387a typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 23:25:06 +00:00
Jack Pearkes d24764dd83 ui: fix session name overflow
fixes #353
2014-10-15 16:19:14 -07:00
Jack Pearkes cc8c3bbd98 ui: reload acls after creating
fixes #323
2014-10-15 15:55:53 -07:00
William Tisäter 509820be45 Remove node from node list after deregristration 2014-10-04 18:14:36 +02:00
William Tisäter 68bf19dcdb Drop debug `console.log` 2014-10-04 11:52:27 +02:00
William Tisäter ce149be9a9 Fix leaking `objs` variables 2014-10-04 11:45:09 +02:00
William Tisäter d9d5e03188 Add deregister node button 2014-10-04 11:44:50 +02:00
William Tisäter e87504dbca Hide vertical scrollbar in Safari 2014-09-19 11:07:15 +02:00
William Tisäter 1856ee3104 UI fix for OS X when having scrollbars `always on`
Resolves #343.
2014-09-19 10:52:31 +02:00
lalyos 05cb20f829 Change default token to empty string instead of undefined
fixes #329
2014-09-08 15:21:54 +02:00
Jack Pearkes a4de2ef2ac ui: add footer 2014-09-05 15:56:50 -04:00
Armon Dadgar e47fbd34a8 website: implicit -> explicit 2014-09-02 20:48:25 -07:00
Jack Pearkes e6f9edffed ui: ambient dc failing checks 2014-08-25 12:40:53 -07:00
Jack Pearkes 29762e80bc ui: use ACLs everywhere 2014-08-25 11:48:42 -07:00
Jack Pearkes 62a5c89820 ui: don't uppercase acl id 2014-08-25 11:27:46 -07:00
Jack Pearkes 48ad11d599 ui: remove stray debugging 2014-08-22 17:31:07 -07:00
Jack Pearkes cfb11f7a6a ui: small acl mobile fix 2014-08-22 17:30:25 -07:00
Jack Pearkes 1d34ede602 ui: mobile fixes for acl 2014-08-22 17:22:21 -07:00
Jack Pearkes 2e088af833 ui: more touches on create acl 2014-08-22 17:22:14 -07:00
Jack Pearkes 9eedf3b001 ui: acl edit and creation 2014-08-22 17:22:10 -07:00
Jack Pearkes bc0339bd13 ui: add notification system 2014-08-22 17:22:06 -07:00
Jack Pearkes f581c94b39 ui: initial settings ui 2014-08-22 17:22:02 -07:00
Jack Pearkes e970ea8ddf ui: more acl integration, condensing top bar 2014-08-22 17:21:57 -07:00
Jack Pearkes a133d9ecba ui: use ember object to wrap localstorag 2014-08-22 17:21:48 -07:00
Jack Pearkes c2830c0f74 ui: update readme for dev confi 2014-08-22 17:21:27 -07:00