Commit Graph

182 Commits

Author SHA1 Message Date
Michael Schurter
4c859dc0aa Include credentials in fetch requests
Fixes #3701

Relevant spec section:
https://fetch.spec.whatwg.org/#concept-request-credentials-mode
2018-01-08 12:18:03 -08:00
Michael Lange
bd23d4989b Lock down nodejs version
The new Travis Trusty image uses node 8 (latest LTS) as the default.
Node 8 is incompatible with some modules used for the UI.
2017-12-15 10:50:06 -08:00
Michael Lange
b09974e221 Merge pull request #3631 from hashicorp/b-ui-expand-definition
UI Show full job definition by default
2017-12-07 14:42:01 -08:00
Michael Lange
a78a2e333c Merge pull request #3607 from hashicorp/f-ui-modify-time-over-modify-index
UI Use ModifyTime instead of ModifyIndex in allocation lists
2017-12-07 14:25:28 -08:00
Michael Lange
f75123026d Expand the entire job definition by default 2017-12-07 14:06:51 -08:00
Michael Lange
5acb3e8c6f Merge pull request #3621 from hashicorp/b-ui-timezones
UI: Drop timezones from timestamps
2017-12-06 14:16:08 -08:00
Michael Lange
289b52aa21 Merge pull request #3623 from hashicorp/f-ui-warn-uncaught-exceptions
UI: Warn uncaught exceptions to console
2017-12-06 14:11:22 -08:00
Michael Lange
b1cc6280b0 Make sure the code element within a cli-window takes the full height 2017-12-06 13:36:18 -08:00
Michael Lange
19d900e896 A short guide for proxying to a different nomad cluster
when developing the UI
2017-12-06 12:38:38 -08:00
Michael Lange
ee7faa5561 Warn errors in prod 2017-12-06 10:33:03 -08:00
Michael Lange
e982951f98 Use ModifyTime instead of ModifyIndex 2017-12-06 10:17:12 -08:00
Michael Lange
a034708196 Remove UTC timezone tag 2017-12-05 19:12:18 -08:00
Michael Lange
b4ee45a2d6 Acceptance tests for evaluations 2017-11-29 20:12:45 -08:00
Michael Lange
46d25b771c Fixes an off by one bug in the ipv6 generator function
Sigh.
2017-11-29 20:12:13 -08:00
Michael Lange
98fb10f9ad Mirage magic for evaluations 2017-11-29 20:12:13 -08:00
Michael Lange
f30772556e Be clear about what the placment failures number next to task groups is 2017-11-29 20:12:12 -08:00
Michael Lange
a7b0541676 List placement failures on the job detail page 2017-11-29 20:12:12 -08:00
Michael Lange
3f3b31614c Add a table of evaluations to the job detail page 2017-11-29 20:12:12 -08:00
Michael Lange
0af56f3af4 Associate jobs, task groups, and evaluations 2017-11-29 20:12:12 -08:00
Michael Lange
c72cb2ee4f Models evaluation data 2017-11-29 20:12:12 -08:00
Michael Lange
ad6307933c Revert "UI Placement failures""
This reverts commits
141ecd8d91
d2d838c2de
8099db4336
86262b3cef
eb4104ec52
0e0e23e238
6d45658d77
b52a8176e8
2017-11-29 20:03:39 -08:00
Michael Lange
b52a8176e8 Acceptance tests for evaluations 2017-11-29 19:46:28 -08:00
Michael Lange
6d45658d77 Fixes an off by one bug in the ipv6 generator function
Sigh.
2017-11-29 19:46:27 -08:00
Michael Lange
0e0e23e238 Mirage magic for evaluations 2017-11-29 16:30:33 -08:00
Michael Lange
eb4104ec52 Be clear about what the placment failures number next to task groups is 2017-11-29 16:30:33 -08:00
Michael Lange
86262b3cef List placement failures on the job detail page 2017-11-29 16:30:33 -08:00
Michael Lange
8099db4336 Add a table of evaluations to the job detail page 2017-11-29 16:30:33 -08:00
Michael Lange
d2d838c2de Associate jobs, task groups, and evaluations 2017-11-29 16:30:33 -08:00
Michael Lange
141ecd8d91 Models evaluation data 2017-11-29 16:30:33 -08:00
Michael Lange
981c34ba84 Explain the magical logging constant 2017-11-21 15:05:28 -08:00
Michael Lange
cca4bc94e0 Move the stream support check to the stream logger 2017-11-21 14:57:19 -08:00
Michael Lange
d930180c06 Unit tests for the log util 2017-11-21 11:22:43 -08:00
Michael Lange
bc3f02b227 Use the b64 log format to track offsets for pause/play support 2017-11-21 11:22:42 -08:00
Michael Lange
6447785861 Use offset numbers in the polling mechanism 2017-11-21 11:22:42 -08:00
Michael Lange
a822849254 Fixes intermittent test failures 2017-11-21 11:22:42 -08:00
Michael Lange
0dce1ec659 Integration tests for the task-log component 2017-11-21 11:22:42 -08:00
Michael Lange
0193e05834 Rename allocation-log to task-log 2017-11-21 11:22:42 -08:00
Michael Lange
249d2a3a01 Acceptance tests for task logs 2017-11-21 11:22:42 -08:00
Michael Lange
37653a95c3 Crude log mocking
This will need to get better for testing the offset stitching
logic in the polling case.
2017-11-21 11:22:42 -08:00
Michael Lange
f283287d40 Prevent using fetch or ReadableStream in tests
Until they can be mocked, they can't be used
2017-11-21 11:22:42 -08:00
Michael Lange
80e925467f Microscopic refactor for style reasons 2017-11-21 11:22:42 -08:00
Michael Lange
0faacf2fa8 New eslint rule for ember-concurrency infinite loop pattern 2017-11-21 11:22:42 -08:00
Michael Lange
b3abd78316 Let the log component fill all available height 2017-11-21 11:22:42 -08:00
Michael Lange
efc3b53f74 Updated styles for the cli-window component 2017-11-21 11:22:42 -08:00
Michael Lange
5c8ba294cb New icons for pausing and playing 2017-11-21 11:22:42 -08:00
Michael Lange
20ac6c07df Move logging logic from the controller to a component 2017-11-21 11:22:42 -08:00
Michael Lange
72d84f6922 First pass at the logs page
Just verifying the log code works
2017-11-21 11:22:42 -08:00
Michael Lange
5735fca9cf Log class for interfacing with log APIs
Supports:
  - Reading the head of a log
  - Reading the tail of a log
  - Following a log in one of two ways:
    - Streaming the HTTP request (using fetch res.getReader)
    - Polling the log endpoint (using EC timeouts)
2017-11-21 11:22:41 -08:00
Michael Lange
0d299b60df Provides a slim TextDecoder polyfill for Edge 2017-11-21 11:22:41 -08:00
Michael Lange
c87bc96b23 Add ember-concurrency dependency 2017-11-21 11:22:41 -08:00