Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump eslint-plugin-react from 7.30.0 to 7.32.2 #6

Open
wants to merge 57 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
8ad331d
fix(build): allow running review, stage parallel (#86)
cdcabrera Jun 27, 2022
358fa82
feat(pf4-style): discovery-8 pf4 base css, scss (#86)
cdcabrera Jun 25, 2022
e5756a0
fix(style): discovery-8 css, scss vars for color (#86)
cdcabrera Jun 27, 2022
f387391
fix(build): discovery-174 adjust templates css (#157)
cdcabrera Sep 8, 2022
b22cde3
fix(testing): use i18n unit, remove integration check (#87)
cdcabrera Jun 28, 2022
72f766c
fix(helpers): discovery-8 consistent brand, getCurrentDate (#87)
cdcabrera Jun 25, 2022
3f8b336
refactor(aboutModal): discovery-148 pf4 conversion (#87)
cdcabrera Jun 25, 2022
e4e734f
chore(build): do not start with stored data, db volumes (#107)
ruda Jun 30, 2022
f77d4fa
chore(build): activate eslint jsdoc (#110)
cdcabrera Jun 28, 2022
0ab8f5b
fix(pf4-style): expose scss variables (#110)
cdcabrera Jun 30, 2022
e5ba797
feat(modal): discovery-148 pf4 modal wrapper (#110)
cdcabrera Jun 28, 2022
601c055
refactor(modal): discovery-148 pf4 modal wrapper (#88)
cdcabrera Jul 6, 2022
5061796
refactor(createCredentialDialog): discovery-148 pf4 alert(#108)
jenny-s51 Jul 6, 2022
9d4be02
refactor(authentication): discovery-148 pf4 alert, locale (#112)
cdcabrera Jul 6, 2022
940363a
fix(confirmationModal): expand behavior, allow children (#113)
cdcabrera Jul 6, 2022
dab26cd
refactor(authentication): discovery-148 replace empty-state (#113)
cdcabrera Jul 6, 2022
7bca8e8
refactor(credentials): discovery-148 pf4 empty-state (#116)
cdcabrera Jul 8, 2022
d105d68
refactor(refreshTimeButton): discovery-149 pf4 button, icon (#114)
andyyvo Jul 9, 2022
733f194
refactor(scans): discovery-148 pf4 empty-state (#117)
cdcabrera Jul 12, 2022
e8f75a5
refactor(toastNotificationsList): discovery-148, pf4 alert (#115)
jenny-s51 Jul 6, 2022
c5aaa26
fix(testing): expand toastNotificationsList snapshots (#115)
cdcabrera Jul 12, 2022
6caacf2
refactor(sources): discovery-148 pf4 empty-state (#120)
cdcabrera Jul 13, 2022
ee5d97a
refactor(creds,sources,scans): discovery-149 emptyState grid (#121)
cdcabrera Jul 13, 2022
17d9ee6
fix(i18n): discovery-8 partial context into keys (#124)
cdcabrera Jul 15, 2022
218d210
feat(wizard): discovery-153 pf4 wizard wrapper (#124)
cdcabrera Jul 15, 2022
f793ce1
refactor(addSourceWizard): discovery-153, pf4 wizard (#124)
cdcabrera Jul 15, 2022
72164e5
refactor(scanHostList): discovery-148, pf4 empty-state (#125)
cdcabrera Jul 21, 2022
48f3552
refactor(creds,sources,scans): discovery-149 pf4 grid, list (#126)
jenny-s51 Jul 27, 2022
74d2295
refactor(dropdownSelect): discovery-152 pf4 select, dropdown (#127)
cdcabrera Jul 27, 2022
8224f43
refactor(dropdownSelect): discovery-152 pf4 dropdown (#130)
cdcabrera Jul 28, 2022
c99cd39
feat(addCredentialType): discovery-152 button selector (#130)
cdcabrera Jul 15, 2022
5dbd5fc
refactor(credentials): discovery-152, pf4 dropdown (#130)
cdcabrera Jul 29, 2022
4f697ea
chore(deps): bump moment from 2.29.3 to 2.29.4 (#133)
dependabot[bot] Aug 2, 2022
2b70ceb
refactor(tooltip): discovery-148 pf4 tooltip, popover (#132)
andyyvo Aug 3, 2022
81230cf
refactor(pagination): discovery 154 pf4 pagination (#129)
jenny-s51 Aug 8, 2022
a93b163
refactor(buttons): discovery-149 sources pf4 buttons (#136)
jenny-s51 Aug 12, 2022
be05e7c
feat(table): discovery-154 pf4 table wrapper (#139)
cdcabrera Aug 12, 2022
eb7c92f
fix(table): discovery-154 key generation (#140)
cdcabrera Aug 16, 2022
79bcb99
refactor(buttons): discovery-149 scans,credentials pf buttons (#142)
jenny-s51 Aug 19, 2022
c64861e
refactor(createScanDialog): discovery-148, pf4 alert (#144)
jenny-s51 Aug 24, 2022
2ec54fa
fix(dropdownSelect): discovery-152 props, placeholder (#145)
cdcabrera Aug 19, 2022
847262d
fix(tooltip): discovery-148 hover content wrapper (#145)
cdcabrera Aug 18, 2022
c3aa061
fix(table): discovery-154 pass data, keys, styling (#145)
cdcabrera Aug 19, 2022
2ce43cf
fix(helpers): discovery-154 global poll interval (#145)
cdcabrera Aug 25, 2022
101f026
feat(useTimeout): discovery-154 setTimeout hook (#145)
cdcabrera Aug 25, 2022
8fdd854
fix(testing): mock react-redux (#145)
cdcabrera Aug 25, 2022
9cfb7e6
feat(contextIcon): discovery-154 programmatic icons (#145)
cdcabrera Aug 25, 2022
e60e952
refactor(sources): discovery-154, pf4 table (#141)
cdcabrera Aug 26, 2022
b2c9ef1
feat(textInput,formHelpers): discovery-151 pf4 textInput (#149)
cdcabrera Aug 4, 2022
b45deda
fix(dropdownSelect): discovery-151 undefined options (#149)
cdcabrera Aug 3, 2022
a52d9ef
chore(useTimeout): hook annotation (#152)
cdcabrera Aug 26, 2022
f5f34d9
feat(contextIconAction): discovery-154 action icons (#152)
cdcabrera Aug 30, 2022
0ed392b
refactor(scans): discovery-154, pf4 table (#152)
cdcabrera Aug 26, 2022
a8ec830
fix(scansTableCells,context): discovery-154 actions (#152)
cdcabrera Sep 6, 2022
3f42eb0
fix(poll,scanDownload): propTypes, node instead of string (#154)
jenny-s51 Sep 7, 2022
dbd6588
chore(build): actions for dev branches (#157)
cdcabrera Sep 8, 2022
b9482ef
chore(deps-dev): bump eslint-plugin-react from 7.30.0 to 7.32.2
dependabot[bot] Feb 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ REACT_APP_UI_BRAND=false
REACT_APP_AUTH_TOKEN=csrftoken
REACT_APP_AUTH_HEADER=X-CSRFToken
REACT_APP_AJAX_TIMEOUT=60000
REACT_APP_TOAST_NOTIFICATIONS_TIMEOUT=8000
REACT_APP_POLL_INTERVAL=120000

REACT_APP_CONFIG_SERVICE_LOCALES_DEFAULT_LNG=en
REACT_APP_CONFIG_SERVICE_LOCALES_DEFAULT_LNG_DESC=English
Expand Down
15 changes: 14 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"plugins": [
"import",
"jest",
"jsdoc",
"json",
"prettier",
"react"
Expand All @@ -21,7 +22,8 @@
"airbnb",
"airbnb/hooks",
"prettier",
"plugin:jest/recommended"
"plugin:jest/recommended",
"plugin:jsdoc/recommended"
],
"globals": {
"mountHook": "readonly",
Expand Down Expand Up @@ -57,6 +59,17 @@
"import/no-named-as-default-member": 0,
"jest/no-done-callback": 0,
"jest/prefer-to-have-length": 0,
"jsdoc/require-param-description": 0,
"jsdoc/require-property-description": 0,
"jsdoc/require-returns-description": 0,
"jsdoc/tag-lines": [
"warn",
"always",
{
"count": 0,
"noEndLines": true
}
],
"max-len": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build
on:
push:
branches: [master, main]
branches: [master, main, dev**]
tags:
- "*"
pull_request:
Expand Down
22 changes: 15 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"!src/components/app.js",
"!src/components/**/index.js",
"!src/common/index.js",
"!src/hooks/index.js",
"!src/redux/index.js",
"!src/redux/store.js",
"!src/redux/middleware/**",
Expand Down Expand Up @@ -79,9 +80,10 @@
"scripts": {
"api:build": "run-s -l build:pre build:js build:post",
"api:dev": "sh ./scripts/api.sh -p 5000 -t dev",
"api:docs": "sh ./scripts/api.sh -t docs",
"api:specs": "sh ./scripts/api.sh -t specs",
"api:review": "sh ./scripts/api.sh -p 9443 -t review",
"api:stage": "sh ./scripts/api.sh -p 5001 -t stage",
"api:stop": "sh ./scripts/api.sh -t stopApi",
"api:update": "npm run api:build; sh ./scripts/api.sh -t update",
"build": "run-s -l build:pre build:docs test:docs build:template-css build:js build:post test:integration",
"build:clean": "bash ./scripts/clean.sh",
Expand All @@ -91,12 +93,13 @@
"build:post": "bash ./scripts/post.sh; bash ./scripts/clean.sh",
"build:pre": "bash ./scripts/pre.sh",
"build:brand": "run-s -l 'build:pre -b' 'build:docs -b' test:docs build:template-css build:js build:post test:integration",
"build:template-css": "sass --no-source-map --load-path ./src --load-path ./node_modules ./src/styles/index.scss ./src/styles/.css/index.css",
"build:template-css": "sass --no-source-map --load-path ./src --load-path ./node_modules ./src/styles/template.scss ./src/styles/.css/index.css",
"release": "standard-version",
"start": "open http://localhost:5050/docs/api; run-p -l api:dev start:js",
"start": "run-p -l api:dev start:js",
"start:specs": "open http://localhost:5050/docs/api; run-s api:specs",
"start:js": "react-scripts start",
"start:dev": "npm start",
"start:review": "open https://localhost:9443/login/; run-s build && run-s -l api:review;",
"start:review": "open https://127.0.0.1:9443/login/; run-s build && run-s -l api:review;",
"start:stage": "open https://localhost:5001/login/; run-s api:build && run-p -l api:stage start:ui-stage",
"start:ui-stage": "sh -ac '. ./.env;. ./.env.staging; react-app-rewired start'",
"test": "run-s test:lint test:ci",
Expand All @@ -111,6 +114,12 @@
"test:unit": "react-scripts test --env=jsdom"
},
"dependencies": {
"@patternfly/patternfly": "4.196.7",
"@patternfly/react-core": "4.221.3",
"@patternfly/react-icons": "4.72.3",
"@patternfly/react-styles": "4.71.3",
"@patternfly/react-table": "4.71.37",
"@patternfly/react-tokens": "4.73.3",
"axios": "^0.27.2",
"bootstrap": "^5.1.3",
"classnames": "^2.3.1",
Expand All @@ -120,7 +129,7 @@
"i18next-xhr-backend": "^2.0.1",
"js-cookie": "^3.0.1",
"lodash": "^4.17.21",
"moment": "^2.29.3",
"moment": "^2.29.4",
"npm-run-all": "^4.1.5",
"patternfly": "3.59.5",
"patternfly-react": "2.40.0",
Expand Down Expand Up @@ -154,10 +163,9 @@
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"express": "^4.18.1",
"gettext-extractor": "^3.5.4",
"htmlhint": "^1.1.4",
"iso-639-1": "^2.1.15",
"jest": "26.6.0",
Expand Down
206 changes: 205 additions & 1 deletion public/locales/en.json
Original file line number Diff line number Diff line change
@@ -1 +1,205 @@
{}
{
"about-modal": {
"browser-os": "Browser OS",
"browser-version": "Browser Version",
"copy-button": "Copy application information",
"copy-confirmation": "Application information copied",
"copyright": "Copyright (c) {{year}} Red Hat Inc.",
"server-version": "Server Version",
"ui-version": "UI Version",
"username": "Username"
},
"form-dialog": {
"confirmation_body_add-source": "{{context}}",
"confirmation_body_add-source_edit": "{{context}}",
"confirmation_heading_add-source": "Are you sure you want to cancel adding this source?",
"confirmation_heading_add-source_edit": "Are you sure you want to cancel updating this source?",
"confirmation_title_add-source": "Cancel Add Source",
"confirmation_title_add-source_edit": "Cancel Updating Source",
"confirmation_body_add-source_exit": "The wizard is in a pending state and will continue adding this source.",
"confirmation_body_add-source_exit_edit": "The wizard is in a pending state and will continue updating this source.",
"confirmation_heading_add-source_exit": "Are you sure you want to exit this wizard?",
"confirmation_title_add-source_exit": "Exit Wizard",
"confirmation_title_delete-source": "Delete Source",
"confirmation_heading_delete-source": "Are you sure you want to delete the source <0>{{name}}</0>?",
"empty-state_description_add-source": "{{context}}",
"empty-state_description_add-source_error": "There are errors on a previous step. Use the Back button to review your settings and try again.",
"empty-state_description_add-source_pending": "Please wait while source {{name}} is being created.",
"empty-state_description_add-source_pending_edit": "Please wait while source {{name}} is being updated.",
"empty-state_title_add-source": "{{name}} was created.",
"empty-state_title_add-source_edit": "{{name}} was updated.",
"empty-state_title_add-source_error": "Error Creating Source",
"empty-state_title_add-source_error_edit": "Error Updating Source",
"empty-state_title_add-source_pending": "Creating Source...",
"empty-state_title_add-source_pending_edit": "Updating Source...",
"label": "{{context}}",
"label_add": "Add",
"label_add-credential": "Add a credential",
"label_cancel": "Cancel",
"label_close": "Close",
"label_delete": "Delete",
"label_no": "No",
"label_option_disableSsl": "Disable SSL",
"label_option_SSLv23": "SSLv23",
"label_option_TLSv1": "TLSv1",
"label_option_TLSv1_1": "TLSv1.1",
"label_option_TLSv1_2": "TLSv1.2",
"label_option_sshKey": "SSH Key",
"label_option_usernamePassword": "Username and Password",
"label_option_network": "Network Credential",
"label_option_satellite": "Satellite Credential",
"label_option_vcenter": "VCenter Credential",
"label_placeholder_add-credential": "Add Credential",
"label_placeholder_add-source_credential": "Select a credential",
"label_placeholder_add-source_credential_add": "Add a credential",
"label_placeholder_add-source_credential_multi": "Select one or more credentials",
"label_placeholder_add-source_credential_multi_add": "Add one or more credentials",
"label_submit": "Submit",
"label_submit_add-source": "Save",
"label_submit_confirmation": "Confirm",
"label_submit_create-credential": "Save",
"label_submit_create-scan": "Scan",
"label_submit_merge-reports": "Merge",
"label_yes": "Yes",
"title_add-source": "Add Source",
"title_add-source_edit": "Edit Source",
"title_add-source_step": "Source Type",
"title_add-source_step_two": "Credentials",
"title_add-source_step_three": "Confirm"
},
"modal": {
"aria-label-default": "Application modal"
},
"refresh-time-button": {
"refreshed": "Refreshed just now",
"refreshed_load": "Refreshed {{refresh}}"
},
"table": {
"header_credentials": "Credentials",
"header_description": "Description",
"header_failed": "Failed systems",
"header_failed_sources": "Failed hosts",
"header_scan": "Scan",
"header_scan-jobs": "Previous scans",
"header_sources": "Sources",
"header_success": "Successful systems",
"header_success_sources": "Ok hosts",
"header_unreachable": "Unreachable systems",
"header_unreachable_sources": "Unreachable hosts",
"label_network-range": "Network Range",
"label": "{{context}}",
"label_action_scan": "Start scan",
"label_action_scan_canceled": "Retry scan",
"label_action_scan_cancelled": "Retry scan",
"label_action_scan_completed": "Run scan",
"label_action_scan_created": "Pause scan",
"label_action_scan_download": "Download",
"label_action_scan_failed": "Retry scan",
"label_action_scan_running": "Pause scan",
"label_action_scan_paused": "Resume scan",
"label_action_scan_pending": "Cancel scan",
"label_add": "Add",
"label_delete": "Delete",
"label_edit": "Edit",
"label_merge-reports": "Merge reports",
"label_scan": "Scan",
"label_status": "{{context}}",
"label_status_scans": "Scan created",
"label_status_completed": "Last completed",
"label_status_failed": "Failed",
"label_status_canceled": "Canceled",
"label_status_cancelled": "Canceled",
"label_status_created": "In progress",
"label_status_pending": "In progress",
"label_status_running": "In progress",
"label_status_paused": "Paused",
"label_status_completed_sources": "Last connected",
"label_status_failed_sources": "Connection failed",
"label_status_canceled_sources": "Connection canceled",
"label_status_cancelled_sources": "Connection canceled",
"label_status_created_sources": "Connection in progress",
"label_status_pending_sources": "Connection in progress",
"label_status_running_sources": "Connection in progress",
"label_status_paused_sources": "Connection paused",
"label_status_completed_scans": "Last scanned",
"label_status_failed_scans": "Scan failed",
"label_status_canceled_scans": "Scan canceled",
"label_status_cancelled_scans": "Scan canceled",
"label_status_created_scans": "Scan in progress",
"label_status_pending_scans": "Scan in progress",
"label_status_running_scans": "Scan in progress",
"label_status_paused_scans": "Scan paused",
"label_status_cell": "<0/> <1>{{count}}</1>",
"label_status_tooltip": "{{count}}",
"label_status_tooltip_failed": "{{count}} Failed System",
"label_status_tooltip_failed_other": "{{count}} Failed Systems",
"label_status_tooltip_failed_sources": "{{count}} Failed Authentication",
"label_status_tooltip_failed_sources_other": "{{count}} Failed Authentications",
"label_status_tooltip_idCard": "{{count}} Credential",
"label_status_tooltip_idCard_other": "{{count}} Credentials",
"label_status_tooltip_scans": "{{count}} Previous scan",
"label_status_tooltip_scans_other": "{{count}} Previous scans",
"label_status_tooltip_sources": "{{count}} Source",
"label_status_tooltip_sources_other": "{{count}} Sources",
"label_status_tooltip_success": "{{count}} Successful System",
"label_status_tooltip_success_other": "{{count}} Successful Systems",
"label_status_tooltip_success_sources": "{{count}} Successful Authentication",
"label_status_tooltip_success_sources_other": "{{count}} Successful Authentications",
"label_status_tooltip_unreachable": "{{count}} Unreachable System",
"label_status_tooltip_unreachable_other": "{{count}} Unreachable Systems",
"tooltip_merge-reports": "Merge selected scan results into a single report"
},
"toast-notifications": {
"description": "{{context}}",
"description_add-source_hidden": "Source {{name}} was created",
"description_add-source_hidden_edit": "Source {{name}} was updated",
"description_add-source_hidden_error": "{{message}}",
"description_add-source_hidden_error_edit": "{{message}}",
"description_deleted-source": "Deleted source {{name}}.",
"description_error": "Application error",
"description_scan-report_canceled": "Scan <0>{{name}}</0> stopped",
"description_scan-report_download": "Report <0>{{name}}</0> downloaded",
"description_scan-report_paused": "Scan <0>{{name}}</0> paused",
"description_scan-report_restart": "Scan <0>{{name}}</0> resumed",
"description_scan-report_play": "Scan <0>{{name}}</0> started",
"description_warning": "Application warning",
"title": "Notification",
"title_add-source_hidden": "Success creating source",
"title_add-source_hidden_edit": "Success updating source",
"title_add-source_hidden_error": "Error creating source",
"title_add-source_hidden_error_edit": "Error updating source",
"title_deleted-source": "Success deleting source",
"title_error": "Error",
"title_warning": "Warning"
},
"view": {
"empty-state_description_credentials": "Credentials contain authentication information needed to scan a source. A credential includes a username and a password or SSH key. {{name}} uses SSH to connect to servers on the network and uses credentials to access those servers.",
"empty-state_description_scans": "Select a Source to scan from the Sources page.",
"empty-state_description_scans_zero": "$t(view.empty-state_description_sources)",
"empty-state_description_sources": "Begin by adding one or more sources. A source contains a collection of network information, including systems management solution information, IP addresses, or host names, in addition to SSH ports and credentials.",
"empty-state_filter_description": "The active filters are hiding all items.",
"empty-state_filter_title": "No Results Match the Filter Criteria",
"empty-state_label_clear": "Clear Filters",
"empty-state_label_sources": "Add Source",
"empty-state_label_source-navigate": "Go to Sources",
"empty-state_label_source-navigate_zero": "Add Source",
"empty-state_title": "Welcome to {{name}}",
"empty-state_title_scans": "No scans exist yet",
"empty-state_title_scans_zero": "Welcome to {{name}}",
"error_authentication": "Login error",
"error_credentials": "Credentials error",
"error_scan-hosts": "Scan hosts error",
"error_scan-jobs": "Scan jobs error",
"error_scans": "Scans error",
"error_sources": "Sources error",
"error-message_authentication": "{{message}} Please <0>login</0> to continue.",
"error-message_credentials": "Error retrieving credentials: {{message}}",
"error-message_scan-hosts": "Error retrieving scan results: {{message}}",
"error-message_scan-jobs": "Error retrieving scan jobs: {{message}}",
"error-message_scans": "Error retrieving scans: {{message}}",
"error-message_sources": "Error retrieving sources: {{message}}",
"loading": "Loading...",
"loading_authentication": "Logging in...",
"loading_credentials": "Loading credentials..."
}
}
Loading