Commit Graph

159 Commits

Author SHA1 Message Date
Michael Klein
fe6cbbf078 Upgrade Ember and friends 3.28 (#12215)
* chore: upgrade forward compatible packages

* chore: v3.20.2...v3.24.0

* chore: silence string prototype extension deprecation

* refact: don't test clicking disabled button job-list

Recent test-helper upgrades will guard against clicking disabled buttons
as this is not something that real users can do. We need to change our
tests accordingly.

* fix: await async test helper `expectError`

We have to await this async test function otherwise the test's
rendering context will be torn down before we run assertions
against it.

* fix: don't try to click disabled two-step-button

Recent test-helper updates prohibit clicking disabled buttons. We need
to adapt the tests accordingly.

* fix: recommendation-accordion

Use up-to-date semantics for handling list-accordion closing
in recommendation-accordion.

* fixes toggling recommendation-accordion toggle.

* fix: simple-unless linting error application.hbs

There's no reason to use unless here - we can use if instead.

* fix: no-quoteless-attributes recommendation accordion

* fix: no-quoteless-attributes recommendation-chart

* fix: allow `unless` - global-header.hbs

This is a valid use of unless in our opinion.

* fix: allow unless in job-diff

This is not a great use for unless but we don't want to change this
behavior atm.

* fix: no-attrs-in-components list-pager

There is no need to use this.attrs in classic components. When we
will convert to glimmer we will use `@`-instead.

* fix: simple-unless job/definition

We can convert to a simple if here.

* fix: allow inline-styles stats-box component

To make linter happy.

* fix: disable no-action and no-invalid-interactive

Will be adressed in follow-up PRs.

* chore: update ember-classic-decorator to latest

* chore: upgrade ember-can to latest

* chore: upgrade ember-composable-helpers to latest

* chore: upgrade ember-concurrency

* fix: recomputation deprecation `Trigger`

schedule `do` on actions queue to work around recomputation deprecation
when triggering Trigger on `did-insert`.

* chore: upgrade ember-cli-string-helpers

* chore: upgrade ember-copy

* chore: upgrade ember-data-model-fragments

* chore: upgrade ember-deprecation-workflow

* chore: upgrade ember-inline-svg

* chore: upgrade ember-modifier

* chore: upgrade ember-truth-helpers

* chore: upgrade ember-moment & ember-cli-moment-shim

* chore: upgrade ember-power-select

* chore: upgrade ember-responsive

* chore: upgrade ember-sinon

* chore: upgrade ember-cli-mirage

For now we will stay on 2.2 - upgrades > 2.3 break the build.

* chore: upgrade 3.24.0 to 3.28.5

* fix: add missing classic decorators on adapters

* fix: missing classic decorators to serializers

* fix: don't reopen Ember.Object anymore

* fix: remove unused useNativeEvents

ember-cli-page-objects doesn't provide this method anymore

* fix: add missing attributeBindings for test-selectors

ember-test-selectors doesn't provides automatic bindings for
data-test-* attributes anymore.

* fix: classic decorator for application serializer test

* fix: remove `removeContext` from tests.

It is unneeded and ember-cli-page-objects doesn't provides
this method anymore.

* fix: remove deprecations `run.*`-invocations

* fix: `collapseWhitespace` in optimize test

* fix: make sure to load async relationship before access

* fix: dependent keys for relationship computeds

We need to add `*.isFulfilled` as dependent keys for computeds that
access async relationships.

* fix: `computed.read`-invocations use `read` instead

* chore: prettify templates

* fix: use map instead of mapBy ember-cli-page-object

Doesn't work with updated ember-cli-page-object anymore.

* fix: remove remaining deprecated `run.*`-calls

* chore: add more deprecations deprecation-workflow

* fix: `implicit-injection`-deprecation

All routes that add watchers will need to inject the store-service
as the store service is internally used in watchers.

* fix: more implicit injection deprecations

* chore: silence implicit-injection deprecation

We can tackle the deprecation when we find the time.

* fix: new linting errors after upgrade

* fix: remove merge conflicts prettierignore

* chore: upgrade to run node 12.22 when building binaries
2022-03-08 12:28:36 -05:00
Jai Bhagat
757799d469 ui: replace qunit start tests with ember-exam start 2022-01-26 13:35:59 -05:00
Jai Bhagat
765c04c40d ui: add ember-exam 2022-01-26 13:06:00 -05:00
Jai Bhagat
635e937033 ui: upgrade prettier to match 3.28 ember-new-output 2022-01-20 09:46:50 -05:00
Jai Bhagat
dc3186068a ui: match linting and prettier packages with ember-new-output 3.24 2022-01-20 09:29:10 -05:00
Jai Bhagat
b1002d6839 feat: create trigger component
Create Trigger Component and deprecate Breadcrumb-Utils pattern.
2021-12-21 07:46:25 -05:00
Luiz Aoqui
8e7c00b899 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
fa198833e7 ui: upgrade testem 3.2.0 -> 3.6.0 2021-11-05 18:09:19 -04:00
Luiz Aoqui
551e3940ca ui: upgrade sass 1.32.6 -> 1.43.4 2021-11-05 18:09:19 -04:00
Luiz Aoqui
6525cea274 ui: upgrade qunit-dom 1.6.0 -> 2.0.0 2021-11-05 18:09:18 -04:00
Luiz Aoqui
f0f2fe1e0d ui: upgrade query-string 5.1.1 -> 7.0.1 2021-11-05 18:09:18 -04:00
Luiz Aoqui
56e2a7b3d0 ui: upgrade pretender 3.4.3 -> 3.4.7 2021-11-05 18:09:17 -04:00
Luiz Aoqui
7f2788de6a ui: upgrade lru_map 0.3.3 -> 0.4.1 2021-11-05 18:09:17 -04:00
Luiz Aoqui
434ae2b30a ui: upgrade lint-staged 10.5.3 -> 11.2.6 2021-11-05 18:09:17 -04:00
Luiz Aoqui
0612060cf7 ui: upgrade glob 4.5.3 -> 7.2.0 2021-11-05 18:09:16 -04:00
Luiz Aoqui
f53ae4b4fe ui: upgrade flat 4.1.1 -> 5.0.2 2021-11-05 18:09:16 -04:00
Luiz Aoqui
fae21507d5 ui: upgrade d3-selection 1.4.2 -> 3.0.0 2021-11-05 18:09:14 -04:00
Luiz Aoqui
96341daf61 ui: upgrade dependency d3-transition 1.3.2 -> 3.0.1 2021-11-05 18:09:14 -04:00
Luiz Aoqui
decacb2f9f ui: upgrade dependency d3-time-format 2.3.0 -> 4.0.0 2021-11-05 18:09:14 -04:00
Luiz Aoqui
37211c96da ui: upgrade dependency d3-shape 1.3.7 -> 3.0.1 2021-11-05 18:09:13 -04:00
Luiz Aoqui
25ab79b20c ui: upgrade d3-scale 1.0.7 -> 4.0.2 2021-11-05 18:09:12 -04:00
Luiz Aoqui
c50cefb704 ui: upgrade d3-format 1.4.5 -> 3.0.1 2021-11-05 18:09:12 -04:00
Luiz Aoqui
f8d723bfdf ui: upgrade d3-axis 1.0.12 -> 3.0.0 2021-11-05 18:09:11 -04:00
Luiz Aoqui
745058b04b ui: upgrade d3-array 2.11.0 -> 3.1.1 2021-11-05 18:09:11 -04:00
Luiz Aoqui
73be54badc ui: upgrade core-js 3.0.0 -> 3.19.1 2021-11-05 18:09:11 -04:00
Luiz Aoqui
4290a9a5ef up: upgrade code-js 2.6.12 -> 3.0.0 2021-11-05 18:09:10 -04:00
Luiz Aoqui
6b3dbae50f ui: upgrade codemirror 5.59.2 -> 5.63.3 2021-11-05 18:09:10 -04:00
Luiz Aoqui
d911c38395 ui: upgrade bulma 0.8.2 -> 0.9.3 2021-11-05 18:09:10 -04:00
Luiz Aoqui
8acfa33818 ui: upgrade bulma 0.7.5 -> 0.8.2 2021-11-05 18:09:09 -04:00
Luiz Aoqui
b4fb4b055d ui: upgrade bulma 0.6.1 -> 0.7.5 2021-11-05 18:09:09 -04:00
Luiz Aoqui
6a99ae87fb ui: update babel-loader 8.2.2 -> 8.2.3 2021-11-05 18:09:08 -04:00
Luiz Aoqui
8003bb0d7e ui: upgrade anser 1.4.10 -> 2.1.0 2021-11-05 18:09:08 -04:00
Luiz Aoqui
ac838f1646 upgrade @hashicorp/structure-icons 1.8.1 -> 1.9.2 2021-11-05 18:09:07 -04:00
Luiz Aoqui
3d39b0147b ui: upgrade @ember/optional-features 1.3.0 -> 2.0.0 2021-11-05 18:09:07 -04:00
Luiz Aoqui
fa2bd4a9fe 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
82726052b6 chore: upgrade ember-data to 3.24 2021-11-04 16:27:42 +01:00
pangratz
e885298566 chore: upgrade ember-data to 3.20 2021-11-04 16:27:42 +01:00
pangratz
c533e03153 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
Michael Lange
51d2873c3d Override the app rootURL for storybook
Hopefully this work gets merged into ember-cli-storybook. For the time
being, we get a fork instead.
2021-10-06 14:05:32 -07:00
Michael Lange
f9bc9ca6f7 Upgrade storybook from 5 to 6 2021-10-06 11:06:57 -07:00
dependabot[bot]
573ebd5cf4 build(deps): bump postcss from 7.0.35 to 7.0.36 in /ui (#10771)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:44:11 -04:00
dependabot[bot]
8bbae4e622 build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /ui (#10737)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

---
updated-dependencies:
- dependency-name: hosted-git-info
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:43:23 -04:00
dependabot[bot]
fd2a429055 build(deps): bump ws from 7.4.3 to 7.4.6 in /ui (#10669)
Bumps [ws](https://github.com/websockets/ws) from 7.4.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.3...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:40:31 -04:00
dependabot[bot]
5676ab2504 build(deps): bump ssri from 6.0.1 to 6.0.2 in /ui (#10398)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:39:12 -04:00
dependabot[bot]
d0084ff299 build(deps): bump path-parse from 1.0.6 to 1.0.7 in /ui (#11028)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 18:01:59 -04:00
dependabot[bot]
4eb3ca8948 build(deps): bump url-parse from 1.5.1 to 1.5.3 in /ui (#11030)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 17:59:45 -04:00
Nicholas Cioli
801a7324a3 ui: add parameterized dispatch interface (#10675)
* ui: add parameterized dispatch interface

This commit adds a new interface for dispatching parameteried jobs, if
the user has the right permissions. The UI can be accessed by viewing a
parameterized job and clicking on the "Dispatch Job" button located in
the "Job Launches" section.

* fix failing lint test

* clean up dispatch and remove meta

This commit cleans up a few things that had typos and
inconsistent naming. In line with this, the custom
`meta` view was removed in favor of using the
included `AttributesTable`.

* ui: encode dispatch job payload and start adding tests

* ui: remove unused test imports

* ui: redesign job dispatch form

* ui: initial acceptance tests for dispatch job

* ui: generate parameterized job children with correct id format

* ui: fix job dispatch breadcrumb link

* ui: refactor job dispatch component into glimmer component and add form validation

* ui: remove unused CSS class

* ui: align job dispatch button

* ui: handle namespace-specific requests on job dispatch

* ui: rename payloadMissing to payloadHasError

* ui: don't re-fetch job spec on dispatch job

* ui: keep overview tab selected on job dispatch page

* ui: fix task and task-group linting

* ui: URL encode job id on dispatch job tests

* ui: fix error when job meta is null

* ui: handle job dispatch from adapter

* ui: add more tests for dispatch job page

* ui: add "job dispatch" capability check

* ui: update job dispatch from code review

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2021-07-20 18:27:41 -04:00
dependabot[bot]
2c2ad32fdc ui: build(deps): bump underscore from 1.12.0 to 1.13.1 in /ui (#10525)
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.12.0 to 1.13.1.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.12.0...1.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 09:38:16 -05:00
dependabot[bot]
9df1c2ee54 ui: build(deps): bump url-parse from 1.4.7 to 1.5.1 in /ui (#10528)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 09:35:07 -05:00
dependabot[bot]
6da38b4959 ui: build(deps): bump lodash from 4.17.20 to 4.17.21 in /ui (#10526)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 15:34:39 -05:00