Alex Dadgar
702a3be41e
Generated files
2018-03-30 16:14:40 -07:00
Michael Lange
f9f9fbd62e
Merge pull request #4081 from hashicorp/b-ui-service-breadcrumbs
...
UI: Service job breadcrumbs + errant open connections
2018-03-29 15:08:14 -07:00
Michael Lange
c06e1f80bd
Track multiple xhrs per URL rather than overriding
...
It was possible for a url to be overridden then canceled, leaving the
open connection open and forgotten about.
2018-03-29 14:40:57 -07:00
Michael Lange
b6ae7da470
Merge pull request #4067 from hashicorp/ui-upgrade-ember
...
UI: Upgrade Ember to LTS + fix job summary issues
2018-03-29 12:43:54 -06:00
Michael Lange
8e6f561b8a
Add missing js class for System that extends AbstractJobPage
2018-03-28 16:46:35 -07:00
Michael Lange
18718a508e
Check for a case-sensitive or lowercase header value
2018-03-28 16:10:09 -07:00
Michael Lange
e1b7feef25
Remove now unnecessary summary fallback
...
Ember Data 2.18 fixed the underlying bug
2018-03-28 15:20:02 -07:00
Michael Lange
61385204d5
Correctly watch the job summary on the task group page
...
It changed from being a relationship to a model
2018-03-28 15:12:27 -07:00
Michael Lange
4f33ad5797
Upgrade to Ember 2.18
2018-03-28 14:57:03 -07:00
Michael Lange
5ab5a1cbb1
Make the job<->job-summary relationship reflective
...
The job summary needed a JobID
2018-03-28 14:56:15 -07:00
Michael Lange
e658a3a9a0
Clear out the localStorage namespace when it's no longer valid
...
In the event that a namespace in localStorage is not found in the
response for /namespaces, clear the localStorage value and assume
the default namespace.
2018-03-28 14:55:07 -07:00
Michael Lange
b1049854db
Don't allow the alloc status table cell to word-wrap at the swatch
2018-03-28 14:51:54 -07:00
Michael Lange
4361043718
Read the task event message from the DisplayMessage prop
2018-03-28 12:52:02 -07:00
Michael Lange
50ef5ede6e
Work around the dreaded broken relationship ED bug
...
Summary can unlink from a job when loaded in the wrong order. This
guarantees that the summary is bound to the job detail view by
falling back to the summary in the store.
2018-03-22 20:14:37 -07:00
Michael Lange
d722c6ba33
Never duplicate query params, always include query params
...
A couple more edge cases related to watching URLs with query params
2018-03-22 20:14:36 -07:00
Michael Lange
68e3a566f5
Allow child adapters specify special xhr keys
...
This is necessary for the namespace query param
2018-03-22 20:14:36 -07:00
Michael Lange
a30c60cc03
Always use the job plain id and job namespace in job links
2018-03-22 20:14:36 -07:00
Michael Lange
fc85a81a90
Poll for allocation stats
2018-03-22 14:34:57 -07:00
Michael Lange
286b3d9671
Refactor the way allocation stats are fetched
...
No longer treat it as a property for relationship, just ephemeral
data that can be fetched on demand.
2018-03-22 14:34:13 -07:00
Michael Lange
4be04510c5
Merge pull request #4017 from hashicorp/b-ui-error-message-for-force
...
Show an error message when forcing a periodic launch is forbidden
2018-03-22 11:17:14 -07:00
Michael Lange
8092625a55
Merge pull request #4026 from hashicorp/b-ui-use-native-fetch-in-prod
...
UI: Use native fetch in production when available
2018-03-22 11:16:37 -07:00
Michael Lange
3d052932fd
mirageEnabled alone doesn't capture whether or not mirage is enabled
...
Add an isProduction condition to ensure native fetch is used when
possible.
2018-03-21 22:09:10 -07:00
Michael Lange
44922c9d3a
The initial index value should be 1, not 0
2018-03-21 13:28:56 -07:00
Michael Lange
d53af6d037
Show an error message when forcing a periodic launch is forbidden
...
This will happen when ACLs allow for reading jobs but not submitting.
2018-03-21 12:12:17 -07:00
Michael Lange
80246b4deb
Perioidic and Parameterized jobs need to watch /jobs for child updates
2018-03-20 16:41:53 -07:00
Michael Lange
1c0d133f25
Always provide arguments instead of models to job links
...
This invoked the model hook, which will load the model and
redirect correctly based on permissions
2018-03-20 16:41:19 -07:00
Michael Lange
93471649eb
Guard against undefined properties in cancel requests
2018-03-20 16:41:19 -07:00
Michael Lange
a6e2f782b7
Treat job-summary like a typical relationship rather than a custom link
...
This way ED doesn't eagerly fetch the job summary even when it's already
in the store due to the jobs list endpoint
2018-03-20 16:41:18 -07:00
Michael Lange
8be0c5a999
Job row should denote when a parent job has no children
2018-03-20 16:41:18 -07:00
Michael Lange
b4fe0324cf
Alias the right property
2018-03-20 16:41:18 -07:00
Michael Lange
725f6b917b
Deployments should only be watched when the job type supports deployments
2018-03-20 16:23:03 -07:00
Michael Schurter
82fb214f93
Fix generating static assets
...
Broke due to a change in go-bindata-assetfs
2018-03-19 15:52:38 -07:00
Michael Lange
78b2c63836
Merge pull request #3989 from hashicorp/f-ui-read-job-summary-from-list-view
...
UI: Read job summary from Jobs.List
2018-03-16 12:37:05 -07:00
Michael Lange
9e961fe0ef
Ensure the task group is present whenever an allocation row is rendered
2018-03-15 14:03:14 -07:00
Michael Lange
030e229f5e
Update job row to no longer watch job-summary or reload the job
...
Now that job summary is pushed into the store from the list request
and the task group count is derived from the summary, the detailed
job information is no longer needed for a job row.
2018-03-15 10:48:37 -07:00
Michael Lange
415c6a0d3c
Use the job-summary information available from the jobs list
2018-03-15 10:28:34 -07:00
Michael Lange
6e88f3846c
Read task name off of the state rather than the task
...
It's possible for the task (derived from the job API response)
is nil, or has a nil name field.
Using the task state instead ensures a name every time.
2018-03-14 16:39:42 -07:00
Michael Lange
7ac2b8ebd6
Update tests to reflect new breadcrumbs
2018-03-13 16:36:26 -07:00
Michael Lange
c8693ba525
Make task page breadcrumbs extend the allocation breadcrumbs
2018-03-13 16:36:26 -07:00
Michael Lange
79ecf47936
Make allocation pages extend the job breadcrumb trail
2018-03-13 16:36:26 -07:00
Michael Lange
efeb5abbcb
Fix a bug where job links didn't always include the namespace QP
2018-03-13 16:34:01 -07:00
Michael Lange
54b1101989
QueryParams primitive ported with a helper
...
This QueryParams object is defined in Ember source, but it isn't
public, which means there is no out of the box way to construct
the query params arg for LinkTo in JavaScript
2018-03-13 16:34:01 -07:00
Michael Lange
6efca8400b
Correctly wire up job relationships
2018-03-13 16:34:01 -07:00
Michael Schurter
8da7335c16
non-Existent -> nonexistent
...
Reverting from #3963
https://www.merriam-webster.com/dictionary/existent
2018-03-12 11:59:33 -07:00
Josh Soref
af6d9ee479
spelling: rolling
2018-03-11 18:52:29 +00:00
Josh Soref
ac40c42533
spelling: existent
2018-03-11 18:30:37 +00:00
Josh Soref
399bc6d413
spelling: exhausted
2018-03-11 18:05:21 +00:00
Josh Soref
9d996f385e
spelling: details
2018-03-11 17:54:56 +00:00
Josh Soref
7872dca777
spelling: breadcrumb
2018-03-11 17:44:27 +00:00
Josh Soref
66f3903a76
spelling: appropriate
2018-03-11 17:39:47 +00:00