diff --git a/package.json b/package.json index 2de21a508b5..5dc46e70bfd 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "dependencies": { "@module-federation/utilities": "^1.7.0", "@patternfly/patternfly": "^5.1.0", - "@patternfly/react-charts": "^5.3.22", + "@patternfly/react-charts": "^7.3.0", "@patternfly/react-core": "^5.1.1", "@patternfly/react-icons": "^5.1.1", "@patternfly/react-styles": "^5.1.1", @@ -64,7 +64,7 @@ "style-loader": "^1.3.0", "stylelint": "^9.3.0", "stylelint-config-standard": "^18.0.0", - "tabbable": "~5.2.0", + "tabbable": "^6.2.0", "victory-core": "~36.8.6", "victory-pie": "~36.8.6", "webpack": "^5.75.0", diff --git a/red_hat_inventory/uploads/report_for_1.tar.xz b/red_hat_inventory/uploads/report_for_1.tar.xz new file mode 100644 index 00000000000..dafa6c5f03d Binary files /dev/null and b/red_hat_inventory/uploads/report_for_1.tar.xz differ diff --git a/red_hat_inventory/uploads/report_for_3.tar.xz b/red_hat_inventory/uploads/report_for_3.tar.xz new file mode 100644 index 00000000000..2fe9f678745 Binary files /dev/null and b/red_hat_inventory/uploads/report_for_3.tar.xz differ diff --git a/red_hat_inventory/uploads/uploader.sh b/red_hat_inventory/uploads/uploader.sh new file mode 100755 index 00000000000..f9e1b8669ea --- /dev/null +++ b/red_hat_inventory/uploads/uploader.sh @@ -0,0 +1,49 @@ +#! /bin/bash + +DEST=https://cert.cloud.redhat.com/api/ingress/v1/upload +RH_USERNAME= + +if [ -z "$FILES" ] +then + FILES=./*.tar.gz +fi + +if [ -n "$CER_PATH" ] +then + AUTH_KEY="--cert" + AUTH_VAL="$CER_PATH" +else + if [ -z "$RH_USERNAME" ] + then + IFS= read -rp "Enter username: " RH_USERNAME + fi + + if [ -z "$RH_PASSWORD" ] + then + IFS= read -rsp "Enter password: " RH_PASSWORD + fi + + AUTH_KEY="-u" + AUTH_VAL="\"$RH_USERNAME\":\"$RH_PASSWORD\"" +fi + +# /tmp/a b/x.pem +# curl --cert /tmp/a\ b/x.pem + +SCRIPT_DIR=$(realpath "$(dirname "${BASH_SOURCE:-0}")") +DONE_DIR="$SCRIPT_DIR/done/" +mkdir -p $DONE_DIR + +for f in $FILES +do + curl -k -vvv -# --fail -F "file=@$f;type=application/vnd.redhat.qpc.tar+tgz" $DEST "$AUTH_KEY" "$AUTH_VAL" + status=$? + if [ $status -eq 0 ]; then + mv $f $DONE_DIR + echo "Done: $f" + fi +done +echo "Uploaded files moved to done/ folder" + +# return the error code from the curl command +exit $status diff --git a/webpack/assets/javascripts/react_app/common/colors.scss b/webpack/assets/javascripts/react_app/common/colors.scss index 826c0dd44b5..5f7b68861c8 100644 --- a/webpack/assets/javascripts/react_app/common/colors.scss +++ b/webpack/assets/javascripts/react_app/common/colors.scss @@ -7,7 +7,7 @@ $pf-gold-400: #f0ab00; $pf-green-400: #3f9c35; $pf-green-600: #1e4f18; $pf-blue-400: #0088ce; -$pf-v5-color-white: #fff; +$pf-color-white: #fff; $pf-border-gray: #d1d1d1; $nav-pf-vertical-active-bg-color: #026991; diff --git a/webpack/assets/javascripts/react_app/components/notifications/notifications.scss b/webpack/assets/javascripts/react_app/components/notifications/notifications.scss index 3f59def52ab..db08d4621bd 100644 --- a/webpack/assets/javascripts/react_app/components/notifications/notifications.scss +++ b/webpack/assets/javascripts/react_app/components/notifications/notifications.scss @@ -91,7 +91,7 @@ Added flexbox functionality to resize the drawer if the window gets resized. position: -o-sticky; bottom: 0; z-index: 10; - background-color: $pf-v5-color-white; + background-color: $pf-color-white; border-top: 1px solid $pf-border-gray; } diff --git a/webpack/assets/javascripts/react_app/components/users/PersonalAccessTokens/PersonalAccessTokenModal.test.js b/webpack/assets/javascripts/react_app/components/users/PersonalAccessTokens/PersonalAccessTokenModal.test.js index 8810ff08b80..60ef60ffb0e 100644 --- a/webpack/assets/javascripts/react_app/components/users/PersonalAccessTokens/PersonalAccessTokenModal.test.js +++ b/webpack/assets/javascripts/react_app/components/users/PersonalAccessTokens/PersonalAccessTokenModal.test.js @@ -61,7 +61,6 @@ describe('Personal access token modal', () => { }); }); - screen.getByText('Cannot be in the past'); expect(screen.queryAllByText('Cannot be in the past')).toHaveLength(1); await act(async () => {