Jai Bhagat
2ec864c67e
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
458100a0f9
chore: prettify task-groups template
2022-01-24 11:04:15 -05:00
Jai Bhagat
179103f2b6
refactor: compute jobClientStatus in summary backing class component
2022-01-24 11:04:14 -05:00
Jai Bhagat
d130dea4e0
refact: move conditional rendering logic from job-page to job-client-status-summary
2022-01-24 11:04:12 -05:00
Jai Bhagat
28af157d35
refact: remove unused backing component classes and extend periodic and param-child to use Glimmer
2022-01-24 11:02:26 -05:00
Jai Bhagat
c6c334d5d5
refact: job-page/batch template to use contextual components
2022-01-24 11:02:06 -05:00
Jai Bhagat
b3ae93d51e
refact: job-page/parameterized-child template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
02311dae72
refact: job-page/parameterized template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
961b0178e1
refact: job-page/periodic-child template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
689b0d9fb7
refact: job-page/periodic template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
46754b2f65
refact: job-page/service template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
be0e624768
refact: job-page/sysbatch template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
c938f7d109
refact: job-page/system template to use contextual components
2022-01-24 11:02:05 -05:00
Jai Bhagat
d23dcc1ede
feat: create job-page contextual component
2022-01-24 11:02:04 -05:00
Jai Bhagat
89390b71ee
fix: remove sourceMaps false in ember-cli-build
...
There was previously a bug with sourceMaps that slowed down the build.
This issue has been resolved by Ember and now we can expect the default
behavior of sourceMaps being enabled in dev and disabled in prod.
2022-01-24 11:02:04 -05:00
Jai Bhagat
43a0983a23
ui: prepare rebase for contextual job-page
2022-01-24 10:58:28 -05:00
Jai
6a52932837
Merge pull request #11754 from hashicorp/b-ui/fix-linter
...
ui: fix linter and prettier
2022-01-24 09:08:47 -05:00
Jai Bhagat
08bf4498a5
fix: mirage fixtures are randomized so we cant assert.expect
2022-01-20 10:55:36 -05:00
Jai Bhagat
52cf998e2c
ui: fix remaining linting errors
2022-01-20 10:39:02 -05:00
Jai Bhagat
3350f3fb11
ui: apply new qunit linting rules to tests
...
Async tests should use in integrations tests.
Acceptance tests are using Mirage and can't use
since we can't know the number of assertions.
2022-01-20 10:01:35 -05:00
Jai Bhagat
3a9057a89c
ui: prettify js files
2022-01-20 09:54:56 -05:00
Jai Bhagat
3cf01877a0
ui: upgrade prettier to match 3.28 ember-new-output
2022-01-20 09:46:50 -05:00
Jai Bhagat
88dd72a2ad
ui: disable no-string-protype-extensions where its currently in use
2022-01-20 09:46:49 -05:00
Jai Bhagat
d8c4351e3f
ui: turn off tagless components linting error
...
Classic components still use tagName decorator
2022-01-20 09:46:49 -05:00
Jai Bhagat
5cb2013e3b
ui: turn off no-component-lifecycle-hooks
...
Classic components use lifecycle hooks.
2022-01-20 09:46:49 -05:00
Jai Bhagat
62f63e14d2
ui: turn off no-classic-components
...
This is a mixed codebase and still uses classic components
2022-01-20 09:46:49 -05:00
Jai Bhagat
b36f45a8b3
ui: storybook accesses private routing service
2022-01-20 09:46:49 -05:00
Jai Bhagat
c0aeb1803f
ui: replace this.render with render test-helper in tests
2022-01-20 09:46:49 -05:00
Jai Bhagat
645db53775
ui: disable linting on files that use controllerFor
2022-01-20 09:46:49 -05:00
Jai Bhagat
1e1f9957c8
ui: turn off no-computed-properties-in-native-classes
...
We have ~60 uses of computed properties across routes (for watcher system), components,
and models.
2022-01-20 09:46:48 -05:00
Jai Bhagat
8bf8a337c1
ui: turn off no-class-classes rule
...
We still use classic classes because this is a mixed
codebase between Octane and Classic.
2022-01-20 09:46:48 -05:00
Jai Bhagat
c4bc5ab352
ui: fix auto-fixable linting errors
2022-01-20 09:46:45 -05:00
Jai Bhagat
d281ef4d19
ui: match eslint script with ember-new-output
2022-01-20 09:29:10 -05:00
Jai Bhagat
e40a2bef97
ui: ignore cache for eslint, to speed up linting
2022-01-20 09:29:10 -05:00
Jai Bhagat
2c73698d54
ui: match eslintrc with ember-new-output
2022-01-20 09:29:10 -05:00
Jai Bhagat
bd2e9f0936
ui: match linting and prettier packages with ember-new-output 3.24
2022-01-20 09:29:10 -05:00
Jai Bhagat
4cd7c75f6c
chore: add jsconfig to stop experimental decorator warnings
2022-01-20 09:29:10 -05:00
Luiz Aoqui
2dc6eab5b1
Merge pull request #11887 from hashicorp/changelog-11793
...
changelog: manually add entry for #11793
2022-01-19 16:27:52 -05:00
Luiz Aoqui
a171d80f7b
changelog: manually add entry for #11793
2022-01-19 16:13:04 -05:00
Seth Hoenig
fe0ae2b85d
Merge pull request #11855 from hashicorp/deps-swap-pty
...
deps: pty has new home
2022-01-19 13:25:52 -06:00
Seth Hoenig
f2a71fd0d9
deps: pty has new home
...
github.com/kr/pty was moved to github.com/creack/pty
Swap this dependency so we can upgrade to the latest version
and no longer need a replace directive.
2022-01-19 12:33:05 -06:00
Seth Hoenig
d9c69a57ed
Merge pull request #11843 from hashicorp/deps-swap-gzip-handler
...
deps: replace gzip handler
2022-01-19 12:29:24 -06:00
Seth Hoenig
9a6988f55b
deps: adjust to gzip handler zero length response body
...
After swapping gzip handler to use the gorilla library, we
must account for a quirk in how zero/minimal length response
bodies are delivered.
The previous gzip handler was configured to compress all responses
regardless of size - even if the data was zero length or below the
network MTU. This behavior changed in [v1.1.0](c551b6c3b4 (diff-de723e6602cc2f16f7a9d85fd89d69954edc12a49134dab8901b10ee06d1879d)
)
which is why we could not upgrade.
The Nomad HTTP Client mutates the http.Response.Body object, making
a strong assumption that if the Content-Encoding header is set to "gzip",
the response will be readable via gzip decoder. This is no longer true
for the nytimes gzip handler, and is also not true for the gorilla gzip
handler.
It seems in practice this only makes a difference on the /v1/operator/license
endpoint which returns an empty response in OSS Nomad.
The fix here is to simply not wrap the response body reader if we
encounter an io.EOF while creating the gzip reader - indicating there
is no data to decode.
2022-01-19 11:52:19 -06:00
Seth Hoenig
2a5f7c0386
deps: swap gzip handler for gorilla
...
This has been pinned since the Go modules migration, because the
nytimes gzip handler was modified in version v1.1.0 in a way that
is no longer compatible.
Pretty sure it is this commit: c551b6c3b4
Instead use handler.CompressHandler from gorilla, which is a web toolkit we already
make use of for other things.
2022-01-19 11:52:19 -06:00
Seth Hoenig
314e907a51
Merge pull request #11872 from hashicorp/deps-upgrade-runc
...
deps: upgrade docker and runc
2022-01-19 11:38:28 -06:00
Luiz Aoqui
bfcc45b247
Merge pull request #11882 from hashicorp/merge-release-1.2.4-branch
...
Merge release 1.2.4 branch
2022-01-19 11:57:07 -05:00
Luiz Aoqui
3f84b6256b
prepare for next release
2022-01-19 11:51:59 -05:00
Luiz Aoqui
dbcae7d259
Merge remote-tracking branch 'origin/release-1.2.4' into merge-release-1.2.4-branch
2022-01-19 11:50:07 -05:00
Luiz Aoqui
b7dbae650a
update download to Nomad v1.2.4 ( #11880 )
2022-01-19 11:10:24 -05:00
Nomad Release Bot
e59cb8ae4e
remove generated files
2022-01-19 00:23:24 +00:00