dependabot[bot]
aa02ad4e38
build(deps-dev): bump @types/react-redux from 7.1.33 to 7.1.34
...
Bumps [@types/react-redux](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-redux ) from 7.1.33 to 7.1.34.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-redux )
---
updated-dependencies:
- dependency-name: "@types/react-redux"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 09:16:18 +02:00
dependabot[bot]
26a972342e
build(deps-dev): bump eslint-plugin-react from 7.36.1 to 7.37.0
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.36.1 to 7.37.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.1...v7.37.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 08:08:55 +02:00
dependabot[bot]
1b775f50c4
build(deps-dev): bump eslint from 8.57.0 to 8.57.1
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.57.0 to 8.57.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v8.57.1 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-26 09:29:05 +02:00
dependabot[bot]
3c542b70af
build(deps-dev): bump @typescript-eslint/parser from 8.6.0 to 8.7.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.6.0 to 8.7.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.7.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-26 08:28:45 +02:00
regexowl
acbb07ad53
Wizard: OpenSCAP profile is not a mandatory field
...
OpenSCAP profile was marked as a mandatory field, this removes the red asterisk as the profile is optional.
2024-09-25 17:37:33 +02:00
Sanne Raymaekers
cbb9598f1d
Wizard: clear compliance data when switching between types
...
When switching between openscap and insights compliance, clear the data
so the profile information isn't showing anymore.
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
4c6d277ff1
test: add test for insights compliance step
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
5d2525b7eb
test: add mocks and fixtures for compliance
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
70635c8445
Wizard: adapt file system step to new compliance state
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
0908cd2ae9
Wizard: add compliance step to the wizard
...
The title is changed depending on the flag, to make it easier to change
the IQE tests.
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
e43357bf55
Wizard: add compliance step
...
The Insights compliance support reuses most of the existing OpenSCAP
step.
Depending on the state of the feature flag, it will show radio buttons
allowing users to switch between regular openscap and Insights
compliance.
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
571fe18861
Wizard: support compliance in Oscap/OscapProfileInformation
...
Let's reuse this component for the compliance step.
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
1a19684d97
Wizard: support compliance in review step
...
Reuses the existing oscap profile information.
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
110e1d7d75
Wizard: support openscap compliance customisation in state
...
Merges all the compliance related state into a single compliance object.
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
c6a9d0a17a
Wizard: adapt Oscap step to new openscap customisations
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
49829d5662
.eslintignore: ignore generated compliance api during linting
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
29b57cf9da
api: update image-builder api
...
Includes new compliance openscap customisation.
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
1f5790579a
store: add compliance api as store middleware
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
e16348eda4
api/compliance: add endpoints
...
Policies to query the list of policies, and policy to get the details of
a single policy.
2024-09-25 15:26:09 +02:00
Sanne Raymaekers
f5443ec819
api: add compliance api
2024-09-25 15:26:09 +02:00
dependabot[bot]
a796630de4
build(deps): bump rollup from 4.21.3 to 4.22.4
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.21.3 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.21.3...v4.22.4 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-25 10:11:46 +02:00
dependabot[bot]
19ea97d871
build(deps-dev): bump sass-loader from 16.0.1 to 16.0.2
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 16.0.1 to 16.0.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases )
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v16.0.1...v16.0.2 )
---
updated-dependencies:
- dependency-name: sass-loader
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-25 10:03:53 +02:00
dependabot[bot]
1f05bebcae
build(deps-dev): bump @types/react from 18.3.8 to 18.3.9
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.3.8 to 18.3.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-25 09:55:52 +02:00
regexowl
1d8067f1b0
Blueprints: Fix list of blueprint being replaced by empty state
...
Search input and list of blueprints could be previously temporarily replaced by an empty state.
How to reproduce previous behaviour:
1. start with some created blueprints
2. search for an existing blueprint
3. delete it
4. remove searchTerm from the blueprint search input
Before: the blueprint list and blueprint search input are temporarily replaced by an empty state, until re-fetch.
After: the list and search input persist throughout blueprint deletion and get replaced by an empty state only when there are no other blueprints
2024-09-24 17:48:50 +02:00
regexowl
49162e01f5
Blueprints: Set blueprintSearchInput as undefined with empty string
...
This dispatches changes to `blueprintSearchInput` and sets it as `undefined` when the value is an empty string.
2024-09-24 17:48:50 +02:00
regexowl
e051aa3f7f
requestMapper: Fix enabled services with firstboot
...
Previously used `.push()` method was limited by non-writable length of the enabled services array, ending up in the following error:
```
Uncaught (in promise) TypeError: can't define array index property past the end of an array with non-writable length
```
This fixes the problem by updating the array via spread operator.
Before: when creating an image with Oscap profile with enabled serviced and adding a firstboot script, the Create blueprint button at the Review step threw an error on click.
After fix: it's possible to create an image with Oscap profile that includes enabled services and a firstboot script.
2024-09-24 15:42:30 +02:00
dependabot[bot]
484d475bfe
build(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 8.6.0 to 8.7.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.7.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 14:36:41 +02:00
dependabot[bot]
6317b1188e
build(deps-dev): bump jsdom from 25.0.0 to 25.0.1
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 25.0.0 to 25.0.1.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/25.0.0...25.0.1 )
---
updated-dependencies:
- dependency-name: jsdom
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 13:26:18 +02:00
dependabot[bot]
8a041f7129
build(deps-dev): bump sass from 1.79.2 to 1.79.3
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.79.2 to 1.79.3.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.79.2...1.79.3 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 08:41:41 +02:00
dependabot[bot]
2fadbc4c40
build(deps-dev): bump @types/react from 18.3.7 to 18.3.8
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.3.7 to 18.3.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 08:33:59 +02:00
regexowl
bc0ad00aa7
Wizard: Temporarily disable fixed footer
...
There's a new bug that's at least partially caused by styling commented out in this PR: when zooming in or out while in Wizard, the Wizard shrunks it's height to an unusable value.
2024-09-23 09:25:41 +03:00
dependabot[bot]
34bdfa368f
build(deps): bump @patternfly/react-code-editor from 5.4.0 to 5.4.1
...
Bumps [@patternfly/react-code-editor](https://github.com/patternfly/patternfly-react ) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.4.0...@patternfly/react-code-editor@5.4.1 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-code-editor"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 09:01:51 +02:00
dependabot[bot]
107a536b10
build(deps-dev): bump @typescript-eslint/parser from 8.5.0 to 8.6.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.5.0 to 8.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.6.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 08:54:02 +02:00
dependabot[bot]
ba7f121b44
build(deps-dev): bump sass from 1.79.1 to 1.79.2
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.79.1 to 1.79.2.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.79.1...1.79.2 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 08:46:13 +02:00
regexowl
b46cedcd49
constants: Update documentation links
...
This updates other incorrect links on the page.
2024-09-20 08:38:16 +02:00
dependabot[bot]
4cc5a2e636
build(deps-dev): bump @redhat-cloud-services/frontend-components-config
...
Bumps [@redhat-cloud-services/frontend-components-config](https://github.com/RedHatInsights/frontend-components ) from 6.2.8 to 6.2.9.
- [Commits](https://github.com/RedHatInsights/frontend-components/commits )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-config"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 09:36:06 +02:00
dependabot[bot]
e0804027e8
build(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 8.4.0 to 8.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.6.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 09:28:10 +02:00
dependabot[bot]
ad7945325c
build(deps-dev): bump sass from 1.78.0 to 1.79.1
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.78.0 to 1.79.1.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.78.0...1.79.1 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 09:20:31 +02:00
Dominik Vagner
2c0d753d82
fix: unify snapshot date format
2024-09-19 09:12:16 +02:00
regexowl
003aa9df48
Wizard: Fix Registration bug
...
The second condition in `useRegistrationValidation` needs to be triggered only for `register-now` options, otherwise the Next button stays disabled on fetching and error even for `register-later`.
2024-09-18 16:16:32 +03:00
regexowl
39d2f91f03
Wizard: Add isPreview property to analytics tracking
...
This adds `isPreview` property to the analytics tracking with the use of chrome's `isBeta()`.
2024-09-18 12:47:22 +02:00
dependabot[bot]
77a57db014
build(deps): bump vite from 5.3.5 to 5.4.6
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.3.5 to 5.4.6.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 09:42:26 +02:00
dependabot[bot]
fa6921b913
build(deps-dev): bump @types/react from 18.3.5 to 18.3.7
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.3.5 to 18.3.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 09:34:42 +02:00
dependabot[bot]
3253e9cb5e
build(deps): bump react-router-dom from 6.26.1 to 6.26.2
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.26.1 to 6.26.2.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.26.2/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 09:27:04 +02:00
regexowl
3c1f8347eb
test: Update Edit wizard test
...
The content steps were surfaced from previously used Content section and we're now testing with all flags set to true. Updating the list of step nav items that should be enabled.
2024-09-16 12:14:34 +02:00
regexowl
c2f07b7585
Wizard: Update documentation link
...
This updates the documentation link.
2024-09-16 12:06:45 +02:00
regexowl
b3d7a1606c
Wizard: Validate registration with useValidation
...
This migrated Registration step validation to `useValidation`.
The scenarios in which the Next button and Create/Save button should be disabled are:
- any of "register now" options is chosen, but no activation key is selected
- activation key is selected, but it's invalid (information about it cannot be fetched)
2024-09-16 12:59:43 +03:00
dependabot[bot]
4468c0cf67
build(deps-dev): bump eslint-plugin-react from 7.35.2 to 7.36.1
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.35.2 to 7.36.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 11:52:39 +02:00
Sanne Raymaekers
0897257125
src/store: Remove server store hooks
...
Removing the server store makes the way we handle data going in and out
of the wizard state more consistent. Each customisation is mapped into
the wizard state and pulled out when generating the blueprint
payload.
When the services and kernel customisations are implemented, this
information will need to be stored inside of the wizard state anyway.
Lastly this will make implementing a compliance step easier for edit
mode, removing the need to write to the wizard state from within the
server store when only a compliance policy id is available (on the
review page), which would be used to fetch the profile ref id, which
would in turn be used to fetch the customisations not stored in the
wizard state.
2024-09-16 11:45:54 +02:00
dependabot[bot]
3038c0783b
build(deps): bump @scalprum/react-core from 0.8.0 to 0.9.1
...
Bumps [@scalprum/react-core](https://github.com/scalprum/scaffloding ) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/scalprum/scaffloding/releases )
- [Changelog](https://github.com/scalprum/scaffolding/blob/main/release.config.js )
- [Commits](https://github.com/scalprum/scaffloding/compare/@scalprum/react-core-0.8.0...@scalprum/react-core-0.9.1 )
---
updated-dependencies:
- dependency-name: "@scalprum/react-core"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 12:32:36 +03:00