Commit Graph

1502 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
1d90cbff8c ui: external links open in new tabs 2022-02-25 09:24:37 -05:00
Michael Klein
02218c6c7c fix: linting issues and remove remainidn pauseTest 2022-02-17 16:06:49 +01:00
Michael Klein
23f1cb54b4 fix: breadcrumbs allocations due to recent namespace changes
* change the breadcrumbs generation to use `idWithNamespace`
* adapt tests to reflect new URLs for jobs with namespaces
2022-02-17 14:38:27 +01:00
Michael Klein
efbf42b36b fix: allocations page tests regarding job links
Default namespaced jobs don't append the `@default`-id anymore due
to recent `jobs.job#serialize` changes.
2022-02-17 11:56:29 +01:00
Michael Klein
a4244e63de fix: some test fixes module-for-job
* less clever™ metaprogramming when checking for expectedURL
* clicking slices job-client-status-summary needs to change its
  behavior and not pass the namespace query-param anymore.
2022-02-16 17:47:29 +01:00
Michael Klein
70f855e5da refact: don't pass namespace as query-param in job-subnav
The new ID handling gives us this behavior for free and we don't need
to drill the namespace down through all the route-layers anymore.
2022-02-16 17:44:16 +01:00
Michael Klein
4c38757436 refact: use idWithNamespace in serialize hook jobs.job
This will give us 'correct' URLs for free when we only pass a `job`-model
to a `LinkTo` that links to the `jobs.job.*`-routes.
2022-02-16 17:42:26 +01:00
Michael Klein
6b142f8b0d fix: job-dispatch tests after namespace changes 2022-02-16 15:22:41 +01:00
Michael Klein
134fdf9682 feat: improve namespace handling job-route 2022-02-16 15:03:02 +01:00
Michael Klein
12339d718a refact: use idWithNamespace in job-row links 2022-02-16 15:02:39 +01:00
Michael Klein
87e49559f8 refact: render jobs.index template again 2022-02-16 15:02:06 +01:00
Michael Klein
498187b2da feat: add idWithNamespace-getter job model 2022-02-16 15:01:25 +01:00
Jai Bhagat
793f9c26d3 temp: bug in region selector causing failing test 2022-02-10 10:55:32 -05:00
Jai Bhagat
898cda014e temp: csi refactor 2022-02-10 09:14:32 -05:00
Jai Bhagat
1a3bb326b7 temp: namespace model refact 2022-02-10 09:11:42 -05:00
ttys3
3fc73896a0 style: fix up very long tag word breaking the allocation service table width (#11995) 2022-02-04 19:40:03 -05:00
ttys3
09e68d1a6d correct task row memory unit (#11980) 2022-02-02 17:00:25 -05:00
Jai Bhagat
2af90d3228 fix: update eval serializer to latest changes 2022-01-28 10:16:23 -05:00
Jai Bhagat
0fb4ceba8f chore: fix js linting 2022-01-28 09:37:32 -05:00
Jai Bhagat
e8468ade79 style: add styling icons and padding to table footer buttons 2022-01-28 09:35:44 -05:00
Jai Bhagat
ef824b143f feat: add pagination and filtering to evaluations view 2022-01-28 09:35:44 -05:00
Jai Bhagat
2b4a9f7512 feat: add pagination to evaluations.index 2022-01-28 09:35:44 -05:00
Jai Bhagat
79d1c11e24 feat: add meta evaluations
To support pagination on evaluations queries.
2022-01-28 09:35:44 -05:00
Jai Bhagat
3d8486542f feat: extract status cell logic into component 2022-01-28 09:35:44 -05:00
Jai Bhagat
6ffee67500 fix: move evaluations template to index and inside page layout 2022-01-28 09:35:43 -05:00
Jai Bhagat
2ef93947d9 chore: run prettier on gutter-menu 2022-01-28 09:35:43 -05:00
Jai Bhagat
0b70c1a4cd feat: add evalutions view with table 2022-01-28 09:35:43 -05:00
André
045bcd7925 ui: move volume link to the source column and fix the link target (#11896)
The link target used the volume name instead of the volume id.
Fixes issue #11884.
2022-01-26 14:17:29 -05:00
Jai Bhagat
6c65966c16 refact: fix tests after contextual job page changes 2022-01-26 11:31:18 -05:00
Jai Bhagat
c1bb21da17 ui: prettify remaining files 2022-01-26 11:28:21 -05:00
Jai Bhagat
55d1dbb339 fix: protect route if not auth 2022-01-24 11:07:17 -05:00
Jai Bhagat
e536e800e2 feat: add conditional rendering logic to template for not auth concern 2022-01-24 11:07:15 -05:00
Jai Bhagat
e634a41ea4 fix: prevent async request for node relationship on alloc 2022-01-24 11:06:30 -05:00
Jai Bhagat
ecbc327231 fix: update component props for glimmer syntax 2022-01-24 11:06:10 -05:00
Jai Bhagat
c423bfe274 fix: update conditional rendering of clients tab 2022-01-24 11:06:08 -05:00
Jai Bhagat
1751f5b32b fix: move node loading to jobs.job route and add auth logic 2022-01-24 11:05:50 -05:00
Luiz Aoqui
0eff35dde0 ui: add "read client" ability 2022-01-24 11:05:48 -05:00
Jai Bhagat
1a9b70688a refact: move gotoClients logic down to component 2022-01-24 11:04:52 -05:00
Jai Bhagat
2778fa1ffa fix: remove debugger 2022-01-24 11:04:51 -05:00
Jai Bhagat
d64df8ba68 fix: router expect identifier instead of model for trans to job page 2022-01-24 11:04:51 -05:00
Jai Bhagat
9f1d22595c refact: move gotoJob to component 2022-01-24 11:04:51 -05:00
Jai Bhagat
6b26fe80df chore: prettify job/index controller 2022-01-24 11:04:51 -05:00
Jai Bhagat
2979538d13 chore: prettify children template 2022-01-24 11:04:51 -05:00
Jai Bhagat
6bbcc10182 chore: prettify jobs index template 2022-01-24 11:04:51 -05:00
Jai Bhagat
da2f574c45 chore: prettify job-row template 2022-01-24 11:04:51 -05:00
Jai Bhagat
432758916e refact: move gotoTaskGroup action to component
Previously, the router service was not available to components. Now that it is,
we no longer need to prop-drill this linking action.
2022-01-24 11:04:48 -05:00
Jai Bhagat
6f2e16cb2a chore: prettify task-groups template 2022-01-24 11:04:15 -05:00
Jai Bhagat
8c2ce12ef9 refactor: compute jobClientStatus in summary backing class component 2022-01-24 11:04:14 -05:00
Jai Bhagat
204cbea29d refact: move conditional rendering logic from job-page to job-client-status-summary 2022-01-24 11:04:12 -05:00