Commit graph

1825 commits

Author SHA1 Message Date
Tim Gross 39acac33a0
ui: change Consul/Vault base URL field name (#11589)
Give ourselves some room for extension in the UI configuration block
by naming the field `ui_url`, which will let us have an `api_url`.
Fix the template path to ensure we're getting the right value from the
API.
2021-11-30 13:20:29 -05:00
Jai Bhagat 0341171a53 feat: 🎸 add consul and vault links to global header 2021-11-22 16:59:22 -05:00
Tim Gross e729133134
api: return 404 for alloc FS list/stat endpoints (#11482)
* api: return 404 for alloc FS list/stat endpoints

If the alloc filesystem doesn't have a file requested by the List
Files or Stat File API, we currently return a HTTP 500 error with the
expected "file not found" error message. Return a HTTP 404 error
instead.

* update FS Handler

Previously the FS handler would interpret a 500 status as a 404
in the adapter layer by checking if the response body contained
the text  or is the response status
was 500 and then throw an error code for 404.

Co-authored-by: Jai Bhagat <jaybhagat841@gmail.com>
2021-11-17 11:15:07 -05:00
Luiz Aoqui 94b7071c98
ui: upgrade xterm 4.10.0 -> 4.15.0 and xterm-addon-fit 0.3.0 -> 0.5.0 2021-11-05 18:09:20 -04:00
Luiz Aoqui 532d6219df
ui: upgrade testem 3.2.0 -> 3.6.0 2021-11-05 18:09:19 -04:00
Luiz Aoqui 521acf688e
ui: upgrade sass 1.32.6 -> 1.43.4 2021-11-05 18:09:19 -04:00
Luiz Aoqui c6d3950a90
ui: upgrade qunit-dom 1.6.0 -> 2.0.0 2021-11-05 18:09:18 -04:00
Luiz Aoqui 044153275a
ui: upgrade query-string 5.1.1 -> 7.0.1 2021-11-05 18:09:18 -04:00
Luiz Aoqui f3ad191962
ui: upgrade pretender 3.4.3 -> 3.4.7 2021-11-05 18:09:17 -04:00
Luiz Aoqui f96f8ea6f0
ui: upgrade lru_map 0.3.3 -> 0.4.1 2021-11-05 18:09:17 -04:00
Luiz Aoqui 09893b86bb
ui: upgrade lint-staged 10.5.3 -> 11.2.6 2021-11-05 18:09:17 -04:00
Luiz Aoqui ef6b16454f
ui: upgrade glob 4.5.3 -> 7.2.0 2021-11-05 18:09:16 -04:00
Luiz Aoqui a45ef5d47f
ui: minor fixes 2021-11-05 18:09:16 -04:00
Luiz Aoqui 38791ad142
ui: upgrade flat 4.1.1 -> 5.0.2 2021-11-05 18:09:16 -04:00
Luiz Aoqui 6183e22ae2
ui: fix after ugrading d3-selection 2021-11-05 18:09:15 -04:00
Luiz Aoqui beadf3dbe5
ui: upgrade d3-selection 1.4.2 -> 3.0.0 2021-11-05 18:09:14 -04:00
Luiz Aoqui fc3a92102a
ui: upgrade dependency d3-transition 1.3.2 -> 3.0.1 2021-11-05 18:09:14 -04:00
Luiz Aoqui 5d8e08dd7a
ui: upgrade dependency d3-time-format 2.3.0 -> 4.0.0 2021-11-05 18:09:14 -04:00
Luiz Aoqui e21dd8c256
ui: fix tests broken by d3-format upgrade 2021-11-05 18:09:13 -04:00
Luiz Aoqui 6cdc5f349a
ui: upgrade dependency d3-shape 1.3.7 -> 3.0.1 2021-11-05 18:09:13 -04:00
Luiz Aoqui 2288f33e38
ui: fix tests broken by d3-format upgrade 2021-11-05 18:09:13 -04:00
Luiz Aoqui b876b4cad2
ui: upgrade d3-scale 1.0.7 -> 4.0.2 2021-11-05 18:09:12 -04:00
Luiz Aoqui 2f2c65e546
ui: upgrade d3-format 1.4.5 -> 3.0.1 2021-11-05 18:09:12 -04:00
Luiz Aoqui 0c6d95c59c
ui: upgrade d3-axis 1.0.12 -> 3.0.0 2021-11-05 18:09:11 -04:00
Luiz Aoqui b5329b3b5f
ui: upgrade d3-array 2.11.0 -> 3.1.1 2021-11-05 18:09:11 -04:00
Luiz Aoqui eda0ef7aff
ui: upgrade core-js 3.0.0 -> 3.19.1 2021-11-05 18:09:11 -04:00
Luiz Aoqui d47a9f7226
up: upgrade code-js 2.6.12 -> 3.0.0 2021-11-05 18:09:10 -04:00
Luiz Aoqui f9ce6cc536
ui: upgrade codemirror 5.59.2 -> 5.63.3 2021-11-05 18:09:10 -04:00
Luiz Aoqui 86f246e251
ui: upgrade bulma 0.8.2 -> 0.9.3 2021-11-05 18:09:10 -04:00
Luiz Aoqui 5496aa9461
ui: upgrade bulma 0.7.5 -> 0.8.2 2021-11-05 18:09:09 -04:00
Luiz Aoqui 4bbf6fce8d
ui: upgrade bulma 0.6.1 -> 0.7.5 2021-11-05 18:09:09 -04:00
Luiz Aoqui 54870d99ea
ui: update babel-loader 8.2.2 -> 8.2.3 2021-11-05 18:09:08 -04:00
Luiz Aoqui d532479dbc
ui: upgrade anser 1.4.10 -> 2.1.0 2021-11-05 18:09:08 -04:00
Luiz Aoqui a96d43c1ba
upgrade @hashicorp/structure-icons 1.8.1 -> 1.9.2 2021-11-05 18:09:07 -04:00
Luiz Aoqui 0bf0410f3b
ui: upgrade @ember/optional-features 1.3.0 -> 2.0.0 2021-11-05 18:09:07 -04:00
Luiz Aoqui 31dd87a05a
ui: upgrade @babel/plugin-proposal-object-rest-spread @babel/plugin-transform-member-expression-literals 7.12.1 -> 7.16.0 2021-11-05 18:09:06 -04:00
pangratz baabf1cb7f chore: upgrade ember-data to 3.24 2021-11-04 16:27:42 +01:00
pangratz 4623d7d2d0 chore: upgrade ember-data to 3.20 2021-11-04 16:27:42 +01:00
pangratz 021adc5af2 chore: upgrade ember-data to 3.16 (and ember-data-model-fragments to 5.0.0-beta.2) 2021-11-04 16:27:42 +01:00
pangratz 0fdedc344b fix: ensure reloading an allocation doesn't result in an infinite loop
`allocation.reload()` has differnt semantics for reloading, as it will
reload the record in the background and immediately resolve [1].

By using the stores' findRecord and specifying `backgroundReload:
false`, we make sure we await the response from the server and hereby
have the complete record once we continue in the code.

Using `allocation.reoad()` causes and infinite loop when we upgrade
ember-data to 3.16 (and model fragments to 5.0.0-beta.2).

[1] This is, unless `shouldBackgroundReload` on the adapter returns
false, but it's true by default.
2021-11-04 16:27:40 +01:00
pangratz 0978685e71 test: ensure we return a valid JSON response
An empty string is not a valid JSON response which is expected by this
endpoint.
2021-11-04 16:07:06 +01:00
Luiz Aoqui 645a87f6b3
ui: update task group alloc summary chart to use new SummaryLegendItem component (#11375) 2021-10-25 11:14:01 -04:00
Luiz Aoqui 2c7bfb7000
ui: persist node drain settings (#11368) 2021-10-22 10:51:31 -04:00
Luiz Aoqui dc5222f6e5
ui: display Nomad version in the Clients and Servers table (#11366) 2021-10-22 10:33:06 -04:00
Luiz Aoqui a7eb72f7d1
ui: use get to access job meta value (#11370) 2021-10-22 10:05:48 -04:00
Luiz Aoqui b73ecf684b
ui: update favicon (#11371) 2021-10-22 09:40:38 -04:00
Luiz Aoqui fce1a03897
ui: create tooltip component (#11363) 2021-10-21 13:12:33 -04:00
Luiz Aoqui 362c8c54f4
ui: set * as the default namespace selector (#11357) 2021-10-21 10:24:07 -04:00
Luiz Aoqui dceeccfc5d
ui: add client name tooltip when displaying client ID in tables (#11358) 2021-10-21 10:23:06 -04:00
Luiz Aoqui c0023c6c85
Update job details box (#11288) 2021-10-12 16:36:10 -04:00