-
Notifications
You must be signed in to change notification settings - Fork 95
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
Opensight UI #4000
base: main
Are you sure you want to change the base?
Opensight UI #4000
Commits on Jun 6, 2024
-
Add: Add opensight-ui-components and mantine for new UI
Start to implement new UI components for GSA.
Configuration menu - View commit details
-
Copy full SHA for b18c422 - Browse repository at this point
Copy the full SHA b18c422View commit details -
Add: Add new components for row and column layouts
Both components are based on mantine and flexbox. They are intended to replace Layout especially in dialogs.
Configuration menu - View commit details
-
Copy full SHA for cf751df - Browse repository at this point
Copy the full SHA cf751dfView commit details -
Add: Add useValueChange hook for form components
All form components should be able to call the onChange handler with the value, name pair. Therefore introduce a generic hook to abstract the event handling.
Configuration menu - View commit details
-
Copy full SHA for 0d0e5f2 - Browse repository at this point
Copy the full SHA 0d0e5f2View commit details -
Provide userEvent from @testing-library/user-event@14
Use latest release of userEvent.
Configuration menu - View commit details
-
Copy full SHA for ccb064d - Browse repository at this point
Copy the full SHA ccb064dView commit details -
Render theme provider for opensight-ui in tests
The theme provider is required to be able to test components based on opensight-ui and mantine.
Configuration menu - View commit details
-
Copy full SHA for f781093 - Browse repository at this point
Copy the full SHA f781093View commit details -
The useDownload hook in conjunction with the Download component should replace the withDownload HOC in future.
Configuration menu - View commit details
-
Copy full SHA for 17c66e9 - Browse repository at this point
Copy the full SHA 17c66e9View commit details -
Setup ResizeObserver for components based on opensight-ui/mantine
The ResizeObserver is required to be able to run the tests for opensight based components.
Configuration menu - View commit details
-
Copy full SHA for 411b94c - Browse repository at this point
Copy the full SHA 411b94cView commit details -
Add: Add a hook to load the user's capabilities from the backend
The capabilities of the user are provided via a react context and therefore it should be able to load them independently from the redux store.
Configuration menu - View commit details
-
Copy full SHA for 53b033e - Browse repository at this point
Copy the full SHA 53b033eView commit details -
Add: Add hooks for handling the filter dialog state
Using the new hooks allows to rewrite all filter dialogs to function components more easily.
Configuration menu - View commit details
-
Copy full SHA for 9cea0cf - Browse repository at this point
Copy the full SHA 9cea0cfView commit details -
Add theme provider for opensight-ui based components
When rendering the react app the theme provider for mantine is required.
Configuration menu - View commit details
-
Copy full SHA for 066583d - Browse repository at this point
Copy the full SHA 066583dView commit details -
Change: Refactor all form UI components
Use opensight-ui and mantine for all form components. With this change all the form components are refreshed in their visual appearance.
Configuration menu - View commit details
-
Copy full SHA for 43601a4 - Browse repository at this point
Copy the full SHA 43601a4View commit details -
Change: Rework dialog components to use Modal as base
Update Dialog component to use the Model component from opensight for improved UI.
Configuration menu - View commit details
-
Copy full SHA for 2abf16e - Browse repository at this point
Copy the full SHA 2abf16eView commit details -
Use opensight AppNavigation to implement a new menu.
Configuration menu - View commit details
-
Copy full SHA for db3e57b - Browse repository at this point
Copy the full SHA db3e57bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d50deb - Browse repository at this point
Copy the full SHA 9d50debView commit details -
Fix rendering of list page content
Align the content of list pages at the top.
Configuration menu - View commit details
-
Copy full SHA for f26958b - Browse repository at this point
Copy the full SHA f26958bView commit details -
Change: Adjust login page for new UI
Use new form components for updated UI at the login page.
Configuration menu - View commit details
-
Copy full SHA for 82ef032 - Browse repository at this point
Copy the full SHA 82ef032View commit details -
Change: Update DialogNotification for new Dialog UI
Adjust the DialogNotification component for new Dialog.
Configuration menu - View commit details
-
Copy full SHA for 37f1394 - Browse repository at this point
Copy the full SHA 37f1394View commit details -
Change: Refactor TrashCan page to function component with new UI
Adjust TrashCan page for new UI.
Configuration menu - View commit details
-
Copy full SHA for 27acf47 - Browse repository at this point
Copy the full SHA 27acf47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a43c21 - Browse repository at this point
Copy the full SHA 0a43c21View commit details -
Change: Update wizards for new UI
Adjust layout of wizard dialogs for new UI.
Configuration menu - View commit details
-
Copy full SHA for beaf28a - Browse repository at this point
Copy the full SHA beaf28aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68e39d9 - Browse repository at this point
Copy the full SHA 68e39d9View commit details -
Change: Adjust performance page for new UI
Fix the layout of the performance page.
Configuration menu - View commit details
-
Copy full SHA for 38e75bf - Browse repository at this point
Copy the full SHA 38e75bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for fae7989 - Browse repository at this point
Copy the full SHA fae7989View commit details -
Change: Update create and edit dialog to new UI layout
Adjust create and edit dialogs for new UI components and layout.
Configuration menu - View commit details
-
Copy full SHA for 8c4d8a0 - Browse repository at this point
Copy the full SHA 8c4d8a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cd26aa - Browse repository at this point
Copy the full SHA 2cd26aaView commit details -
Change: Update all filter dialogs for new UI
Adjust the filter dialogs of all list pages.
Configuration menu - View commit details
-
Copy full SHA for de0c769 - Browse repository at this point
Copy the full SHA de0c769View commit details -
Fix the CPE icon and update the menu entries to use contain necessary object properties.
Configuration menu - View commit details
-
Copy full SHA for b592292 - Browse repository at this point
Copy the full SHA b592292View commit details -
Fix issue with using opensight-ui as CJS but shipping with ESM
``` SyntaxError: Unexpected token 'export' Module <snip>/node_modules/@greenbone/opensight-ui-components/lib/utils/compareHelper.js:1 seems to be an ES Module but shipped in a CommonJS package. You might want to create an issue to the package "@greenbone/opensight-ui-components" asking them to ship the file in .mjs extension or add "type": "module" in their package.json. As a temporary workaround you can try to inline the package by updating your config: // vitest.config.js export default { test: { server: { deps: { inline: [ "@greenbone/opensight-ui-components" ] } } } } ```
Configuration menu - View commit details
-
Copy full SHA for ae98727 - Browse repository at this point
Copy the full SHA ae98727View commit details -
Add JSDOM as direct development dependency because it is required to run the UI unit tests. Regenerate the package lock file to remove obsolete dependencies.
Configuration menu - View commit details
-
Copy full SHA for 7e4c115 - Browse repository at this point
Copy the full SHA 7e4c115View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92ae608 - Browse repository at this point
Copy the full SHA 92ae608View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b26cad - Browse repository at this point
Copy the full SHA 7b26cadView commit details -
Remove obsolete dialog components
These components are obsolete since we are using the Modal component from opensight-ui/mantine now.
Configuration menu - View commit details
-
Copy full SHA for b94394a - Browse repository at this point
Copy the full SHA b94394aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe9e1b1 - Browse repository at this point
Copy the full SHA fe9e1b1View commit details -
Update to latest version of opensight-ui
This will allow to use an own language switcher component.
Configuration menu - View commit details
-
Copy full SHA for 53980a8 - Browse repository at this point
Copy the full SHA 53980a8View commit details -
Change: Don't require the to prop for Link component
Actually it is optional and it is set to an empty string by default already.
Configuration menu - View commit details
-
Copy full SHA for bb6aadc - Browse repository at this point
Copy the full SHA bb6aadcView commit details -
Extract opensight-ui and its dependencies into an own chunk
Split the required js code for opensigth-ui into an own chunk bundle for production builds.
Configuration menu - View commit details
-
Copy full SHA for e989a08 - Browse repository at this point
Copy the full SHA e989a08View commit details -
Provide a mock implementation for window.matchMedia
It seems window.matchMedia is required for the Select components now. Thus implement a mock of the API for being able to test the select components.
Configuration menu - View commit details
-
Copy full SHA for 79f93a4 - Browse repository at this point
Copy the full SHA 79f93a4View commit details -
Change: Remove obsolete TitleBar component
The TitleBar is not used anymore.
Configuration menu - View commit details
-
Copy full SHA for a23b26f - Browse repository at this point
Copy the full SHA a23b26fView commit details -
Fix, update and improve dialog tests
Get the tests for the dialog components running again, drop all snapshots because with mantine they aren't stable anymore and improve testing specific component parts by adding getter functions.
Configuration menu - View commit details
-
Copy full SHA for e99bd95 - Browse repository at this point
Copy the full SHA e99bd95View commit details -
Update form tests for new testing functions
The getters for specific components were extracted into a testing module.
Configuration menu - View commit details
-
Copy full SHA for de06924 - Browse repository at this point
Copy the full SHA de06924View commit details -
Update all powerfilter component tests
Fix and update all powerfilter tests by adapting to new form components and using the testing getters.
Configuration menu - View commit details
-
Copy full SHA for 63a2e81 - Browse repository at this point
Copy the full SHA 63a2e81View commit details -
Configuration menu - View commit details
-
Copy full SHA for b882fc2 - Browse repository at this point
Copy the full SHA b882fc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 421247f - Browse repository at this point
Copy the full SHA 421247fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35a99b3 - Browse repository at this point
Copy the full SHA 35a99b3View commit details -
Rename function method from clickItem to clickElement
clickElement is more generic because the function allows to send a click event on arbitrary HTML elements not only select items.
Configuration menu - View commit details
-
Copy full SHA for 2b890d7 - Browse repository at this point
Copy the full SHA 2b890d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f8b5a5 - Browse repository at this point
Copy the full SHA 1f8b5a5View commit details -
Make component testing functions more flexible
Allow for querying within a specific parent element. This will allow for easier usage of the testing functions within pages tests where components like select boxes may be rendered at several places.
Configuration menu - View commit details
-
Copy full SHA for 42454f2 - Browse repository at this point
Copy the full SHA 42454f2View commit details -
Extend the testing functions for querying pages tests components
We need to be able to test the bulk actions. Therefore is is required to query for the table footer, the table and the check boxes within and the bulk action icons.
Configuration menu - View commit details
-
Copy full SHA for cc16b4d - Browse repository at this point
Copy the full SHA cc16b4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfcafac - Browse repository at this point
Copy the full SHA cfcafacView commit details -
Add testing function for getting action items
Action items are icons that cause some action on use clicks.
Configuration menu - View commit details
-
Copy full SHA for 9e3af9e - Browse repository at this point
Copy the full SHA 9e3af9eView commit details -
Testing clicking on export, start and resume for the detailspage doesn't work at the moment. The click handler is just not called.
Configuration menu - View commit details
-
Copy full SHA for d16e8b8 - Browse repository at this point
Copy the full SHA d16e8b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87c45e3 - Browse repository at this point
Copy the full SHA 87c45e3View commit details -
Define where to find the
@gsa/testing
moduleAllow completion for expect, etc. in VS code.
Configuration menu - View commit details
-
Copy full SHA for d1eefc0 - Browse repository at this point
Copy the full SHA d1eefc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d13044 - Browse repository at this point
Copy the full SHA 4d13044View commit details -
Fix getting the options of select components
It seems queryAllByRole doesn't return the desired elements under some circumstances. Therefore use an easier query for getting the options.
Configuration menu - View commit details
-
Copy full SHA for cd95a64 - Browse repository at this point
Copy the full SHA cd95a64View commit details -
Add a changeInputValue testing method
Abstract fireEvent for changing the value of an input element.
Configuration menu - View commit details
-
Copy full SHA for 5bd1546 - Browse repository at this point
Copy the full SHA 5bd1546View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc6b341 - Browse repository at this point
Copy the full SHA cc6b341View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2bfb30 - Browse repository at this point
Copy the full SHA b2bfb30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ec4f80 - Browse repository at this point
Copy the full SHA 5ec4f80View commit details -
Drop snapshot test for dialog closebutton
The snapshot test are not very useful and prone for changes which get applied without a deeper review.
Configuration menu - View commit details
-
Copy full SHA for 0990d81 - Browse repository at this point
Copy the full SHA 0990d81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 846c59c - Browse repository at this point
Copy the full SHA 846c59cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38ccd5e - Browse repository at this point
Copy the full SHA 38ccd5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a08fc85 - Browse repository at this point
Copy the full SHA a08fc85View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccbfb6c - Browse repository at this point
Copy the full SHA ccbfb6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb8a1c1 - Browse repository at this point
Copy the full SHA fb8a1c1View commit details -
Drop snapshot of StartTimeSelection tests
Snapshots are flacky and not really useful.
Configuration menu - View commit details
-
Copy full SHA for 625a232 - Browse repository at this point
Copy the full SHA 625a232View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82c26bb - Browse repository at this point
Copy the full SHA 82c26bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d58752a - Browse repository at this point
Copy the full SHA d58752aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd8a2d5 - Browse repository at this point
Copy the full SHA bd8a2d5View commit details -
Allow for easier testing of multiselect components
Add testing function for easier testing the behavior of multiselect components.
Configuration menu - View commit details
-
Copy full SHA for a6ba59e - Browse repository at this point
Copy the full SHA a6ba59eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b274e68 - Browse repository at this point
Copy the full SHA b274e68View commit details -
Configuration menu - View commit details
-
Copy full SHA for c710739 - Browse repository at this point
Copy the full SHA c710739View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d552a3 - Browse repository at this point
Copy the full SHA 9d552a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5e9804 - Browse repository at this point
Copy the full SHA b5e9804View commit details -
Add a testing function for getting a table header
Besides getting the footer and body also allow to get the header of a table.
Configuration menu - View commit details
-
Copy full SHA for d3d14a0 - Browse repository at this point
Copy the full SHA d3d14a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a16076 - Browse repository at this point
Copy the full SHA 8a16076View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42be556 - Browse repository at this point
Copy the full SHA 42be556View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1a2ff6 - Browse repository at this point
Copy the full SHA c1a2ff6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0229d5e - Browse repository at this point
Copy the full SHA 0229d5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31fb8d3 - Browse repository at this point
Copy the full SHA 31fb8d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for caceaca - Browse repository at this point
Copy the full SHA caceacaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab5f35d - Browse repository at this point
Copy the full SHA ab5f35dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2100832 - Browse repository at this point
Copy the full SHA 2100832View commit details -
Avoid issues causing flaky tests with pointer events
When clicking on multiselects sometimes user event complained about `pointer-events` css property being `none`. Avoid this issue by not checking for `pointer-event` at all.
Configuration menu - View commit details
-
Copy full SHA for 815a854 - Browse repository at this point
Copy the full SHA 815a854View commit details -
Fix warning about emotion css-in-js library already loaded during tests
The emotion library has a check if global vi or jest is set to detect if it is running in a testing environment. Therefore just an empty vi object for the tests to keep it quiet.
Configuration menu - View commit details
-
Copy full SHA for e9d8588 - Browse repository at this point
Copy the full SHA e9d8588View commit details -
Use an own language switcher component for the app header
Add a draft for toggling the language between en and de via a language switcher in the app header.
Configuration menu - View commit details
-
Copy full SHA for cad3144 - Browse repository at this point
Copy the full SHA cad3144View commit details -
Mark asset-management link as external
asset-mangement is an external application and therefore internal links can't be used.
Configuration menu - View commit details
-
Copy full SHA for e9372a2 - Browse repository at this point
Copy the full SHA e9372a2View commit details
Commits on Jun 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9970de6 - Browse repository at this point
Copy the full SHA 9970de6View commit details -
Configuration menu - View commit details
-
Copy full SHA for eebf2a3 - Browse repository at this point
Copy the full SHA eebf2a3View commit details
Commits on Jun 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d08e8f5 - Browse repository at this point
Copy the full SHA d08e8f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 971cb77 - Browse repository at this point
Copy the full SHA 971cb77View commit details
Commits on Jul 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e2b65ad - Browse repository at this point
Copy the full SHA e2b65adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b46f3b - Browse repository at this point
Copy the full SHA 9b46f3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7810a80 - Browse repository at this point
Copy the full SHA 7810a80View commit details
Commits on Jul 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d856dc5 - Browse repository at this point
Copy the full SHA d856dc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b38f9c - Browse repository at this point
Copy the full SHA 8b38f9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3f4536 - Browse repository at this point
Copy the full SHA e3f4536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 804ea7c - Browse repository at this point
Copy the full SHA 804ea7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c7e4ef - Browse repository at this point
Copy the full SHA 9c7e4efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55a3114 - Browse repository at this point
Copy the full SHA 55a3114View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94af841 - Browse repository at this point
Copy the full SHA 94af841View commit details
Commits on Jul 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 871e248 - Browse repository at this point
Copy the full SHA 871e248View commit details
Commits on Jul 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 39f389f - Browse repository at this point
Copy the full SHA 39f389fView commit details
Commits on Aug 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3fb6c23 - Browse repository at this point
Copy the full SHA 3fb6c23View commit details
Commits on Aug 23, 2024
-
* Add: Add a react hook for storing instance variables An instance variable stores the value directly and doesn't cause re-renders if it is changed. Variables returned from this hooks are comparable to instance variables for class components. * Add a test for useInstanceVariable hook * CI: Allow the dependency review workflow to write a message to the PR The dependency review workflow is able to write a summary message to the PR if it is allowed to write to the workflow. * Add: Add a useShallowEqualSelector hook The useShallowEqualSelector hooks allows to avoid re-renders if an object is selected from the redux store but its value(s) didn't change. With the standard selector which uses `===` comparison even updating an object's value to the same value will cause a re-render (because a new state object is created). This pattern can be found at https://react-redux.js.org/api/hooks#recipe-useshallowequalselector * Add: Add a usePageFilter hook to get the applied filter of a page The new usePageFilter hook allows to get the current applied filter of a page from the redux store. * Allow to change, reset and remove a page filter Update the usePageFilter hook to add additional functions to change, reset and remove a page filter. * Use useShallowEqualSelector in usePageFilter The selectors where invented for usage with mapStateToProps therefore they return objects at the moment. To avoid unnecessary re-renders the returned objects need to be compared with shallow equal. * Add tests for usePageFilter hook * Refactor FilterProvider to use usePageFilter internally At the end FilterProvider should be replaced with usePageFilter completely. * Reorder variable and hook definitions Allow for better reading flow where variables and hooks are defined at the top. * Add: CVSS 4.0 Calculator (#4036) * Add: CVSS 4.0 Calculator * Add: test for CvssV4Point0Calculator * Apply: review comments * Add: German translations * Add: Add a usePreviousValue hook Add a new hooks that allows to get the previous value after the value is changed. For example this hook can be used to check whether a filter has changed. * Add: Eslint rules * fix header * fix header in jsx files * fix gpl 2 * ignore specific year in header * adjust rule for files * Add: Support CVSS 4.0 fields in CVEs. CVSS 4.0 metrics can now be displayed in CVE details. * Add more tests. * Capitalize first letter in metric values instead of all caps for translation and consistency with the calculator. * Add: Implement a useTiming hook The hook can be used to run a function after a specific amount of time for example for doing a reload of data. * Change: withIconSize HOC to hook (#4060) * Change: withIconSize HOC to hook * add tests * improve test coverage * remove snapshot test * Bump braces from 3.0.2 to 3.0.3 Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](micromatch/braces@3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * Add: Add a useReload hook to make the Reload component obsolete The new useReload hook is based in useTiming. It calls a timing function before every reload to calculate the timeout before the reload. This timing function gets a isVisible argument passed. Using the argument the timing function can decide to extend the timeout when the current browser window is not visible. * Add: Add a useFilterSortBy hook The hook determines the sort field and direction of a filter and allows to change both via a returned function. The hook can be used to implement the filter changes when clicking on the different header columns of a entities list. * Add: Add a usePagination hook The hook returns functions the update a filter for getting the next, previous, first and last page for a list of entities. * Add: Add a useSelection hook The useSelection hook implements the entity selection at a entities list table. It is possible to select/deselect specific entities from the list/table, to select all entities displayed at the page or all entities for the current filter (filter without rows value applied). * Add: eslint rule camelCase * create exeptions * Add: Add new hook to determine the loading interval for entities pages Add a useEntitiesReloadInterval hook to replace in conjunction with the useReload hook the Reload component. useEntitiesReloadInterval calculates the timeout for the next reload and useReload actually calls a function after this timeout to allow reloading data. * Add: Add a BulkTags component for handling tagging of entities The BulkTags component provides dialogs and functions for tagging several entities with an existing or new tag. * Fix: Don't pass gmp object to TagDialog onSave handle The gmp object is not part of saving a tag. Therefore it shouldn't be put into the state of the TagDialog and passed to the onSave handler. * Change: Allow to show errors in the TagsDialog Allow to show errors in the TagsDialog. This may be necessary for example if a new tag can't be created. * Add: Add a useDownload hook The useDownload hook in conjunction with the Download component should replace the withDownload HOC in future. * Add a simple test for useDownload hook Combine Download with useDownload in a simple test. * Bump ws from 8.16.0 to 8.17.1 Bumps [ws](https://github.com/websockets/ws) from 8.16.0 to 8.17.1. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@8.16.0...8.17.1) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * Add: Toggle to enable EPSS fields The EPSS fields for CVEs and VTs can now be toggled with an option in the config.js file. This is done because no EPSS feed is provided yet, so the new fields should only be enabled for testing. * Clean up EPSS on CVE and NVT pages A superfluous fragment has been removed and consts are used for the EPSS scores and percentiles in tables for better readability. * Remove .jsx suffix from useGmp and cvelink imports * Add enableEPSS to readme * Use camelCase for EPSS local variables * Change: Use `.js` as file suffix for hooks Hooks usually don't contain JSX and therefore should use `.js` for the file suffix. Currently this is mixed up between `.jsx` and `.js`. * Change: Extract ErrorMarker from useFormValidation hook module Hooks should not contain JSX code and should be plain JS only. Therefore extract the ErrorMarker component from the useFormValidation module and use `js` file suffix for the module. * Simplify ErrorMarker component Just support the actual prop in use (`isVisible`) and drop passing a child. * Change: Refactor PortLists page to a HOC less entities page Use the PortLists page as an example on howto refactor an entities page to use the new hooks instead of the withEntitiesContainer HOC. Despite having some more lines of code it should be easier to understand then before. * Add: EPSS scoring info to results Scan results now show EPSS scores, percentiles and CVEs of their VTs if the enableEPSS option is set to true. * Change: Move useCapabilities hook to hooks directory * Remove: Remove unused useUserIsLoggedIn hook * Change: Move useUserName hook to hooks directory * Change: Move useUserSessionTimeout hook to hooks directory * Change: Move useUserTimezone hook to hooks directory * Change: Move useLicense hook to hooks directory The license feature is unused and could possibly removed completely. But until now we should get a consistent directory layout. * Change: Move useGmp hook to hooks directory * fix: dates inconsistencies in new task wizard and schedules * Automatic release to 23.1.0 * Automatic adjustments after release [skip ci] * Update to version 23.1.1-dev1 * Fix: Allow applying report configs to delta reports. * Automatic release to 23.1.1 * Automatic adjustments after release [skip ci] * Update to version 23.1.2-dev1 * Change: Update node version for build in release-pontos * Automatic release to 23.1.1 * Automatic adjustments after release [skip ci] * Update to version 23.1.2-dev1 * Deps: Bump docker/build-push-action from 5 to 6 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@v5...v6) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Add: Push workflow for greenbone registry #4075 * Remove debug statement * Update useGmp import in results table and row * Add: Available optional features in Capabilities The Capabilities object now has a featureEnabled method that checks if an optional feature is enabled according to the new GET_FEATURES GMP command. This will allow toggling/modifying UI elements for these features without a redundant setting in the GSA config. * Use camelCase for capabilities, update exceptions Attributes in Capabilities now use camelCase and exceptions for snake_case in the GMP responses have been added. * Add: conditional route component for feature flag * add test * Update ConditionalRoute.jsx * Deps: Bump @testing-library/react from 15.0.6 to 16.0.0 (#4091) Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 15.0.6 to 16.0.0. - [Release notes](https://github.com/testing-library/react-testing-library/releases) - [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md) - [Commits](testing-library/react-testing-library@v15.0.6...v16.0.0) --- updated-dependencies: - dependency-name: "@testing-library/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: daniele-mng <[email protected]> * Deps: Bump uuid from 9.0.1 to 10.0.0 (#4086) Bumps [uuid](https://github.com/uuidjs/uuid) from 9.0.1 to 10.0.0. - [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md) - [Commits](uuidjs/uuid@v9.0.1...v10.0.0) --- updated-dependencies: - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: daniele-mng <[email protected]> * Deps: Bump @sentry/react from 8.7.0 to 8.13.0 (#4089) Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 8.7.0 to 8.13.0. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](getsentry/sentry-javascript@8.7.0...8.13.0) --- updated-dependencies: - dependency-name: "@sentry/react" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: daniele-mng <[email protected]> * Deps: Bump prettier from 3.2.5 to 3.3.2 (#4090) Bumps [prettier](https://github.com/prettier/prettier) from 3.2.5 to 3.3.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.2.5...3.3.2) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: daniele-mng <[email protected]> * Deps: Bump the patch-updates group across 1 directory with 7 updates (#4096) Bumps the patch-updates group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) | `2.2.5` | `2.2.6` | | [qs](https://github.com/ljharb/qs) | `6.12.1` | `6.12.3` | | [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.24.6` | `7.24.7` | | [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) | `6.4.5` | `6.4.6` | | [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `4.3.0` | `4.3.1` | | [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) | `7.34.2` | `7.34.3` | | [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) | `0.4.7` | `0.4.8` | Updates `@reduxjs/toolkit` from 2.2.5 to 2.2.6 - [Release notes](https://github.com/reduxjs/redux-toolkit/releases) - [Commits](reduxjs/redux-toolkit@v2.2.5...v2.2.6) Updates `qs` from 6.12.1 to 6.12.3 - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](ljharb/qs@v6.12.1...v6.12.3) Updates `@babel/cli` from 7.24.6 to 7.24.7 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-cli) Updates `@testing-library/jest-dom` from 6.4.5 to 6.4.6 - [Release notes](https://github.com/testing-library/jest-dom/releases) - [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md) - [Commits](testing-library/jest-dom@v6.4.5...v6.4.6) Updates `@vitejs/plugin-react` from 4.3.0 to 4.3.1 - [Release notes](https://github.com/vitejs/vite-plugin-react/releases) - [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.1/packages/plugin-react) Updates `eslint-plugin-react` from 7.34.2 to 7.34.3 - [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](jsx-eslint/eslint-plugin-react@v7.34.2...v7.34.3) Updates `eslint-plugin-react-refresh` from 0.4.7 to 0.4.8 - [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases) - [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md) - [Commits](ArnaudBarre/eslint-plugin-react-refresh@v0.4.7...v0.4.8) --- updated-dependencies: - dependency-name: "@reduxjs/toolkit" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: qs dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: "@babel/cli" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: "@testing-library/jest-dom" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: "@vitejs/plugin-react" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: eslint-plugin-react dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: eslint-plugin-react-refresh dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: daniele-mng <[email protected]> * Deps: Bump vite from 5.2.12 to 5.3.3 (#4100) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.2.12 to 5.3.3. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.3.3/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: daniele-mng <[email protected]> * Deps: Bump typescript from 5.4.5 to 5.5.3 (#4101) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.4.5...v5.5.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Deps: Bump @typescript-eslint/eslint-plugin from 7.12.0 to 7.16.0 (#4099) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.12.0 to 7.16.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/v7.16.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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Deps: Bump @typescript-eslint/parser from 7.12.0 to 7.16.0 (#4097) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.12.0 to 7.16.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/v7.16.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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix: bug loading status button in download report dialog * Fix: Make report configs optional in alerts and reports If the report configs are not available, the report export and alert dialogs will hide the report config fields. This will make the dialogs work as expected if the report config commands are disabled. * Use withCapabilities in alert method parts Instead of passing the capabilities as a prop, use withCapabilities in the dialog part components for the alert methods SCP, Send, SMB and Verinice. * Use useCapabilities hook in alert method parts Instead of using the withCapabilities HOC, the alert method parts now use the useCapabilities hook. * Automatic release to 23.2.0 * Automatic adjustments after release [skip ci] * Update to version 23.2.1-dev1 * Fix: Disable mangling in production build minify The production build now uses terser with the "mangle" option deactivated. This addresses a false positive Lintian warning from a mangled variable name. * Automatic release to 23.2.1 * Automatic adjustments after release [skip ci] * Update to version 23.2.2-dev1 * Bump fast-xml-parser from 4.3.6 to 4.4.1 Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.3.6 to 4.4.1. - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](NaturalIntelligence/fast-xml-parser@v4.3.6...v4.4.1) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * add: cvss 4 calculator missing de translation * Deps: Bump eslint-plugin-react from 7.34.3 to 7.35.0 (#4118) Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.34.3 to 7.35.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](jsx-eslint/eslint-plugin-react@v7.34.3...v7.35.0) --- updated-dependencies: - dependency-name: eslint-plugin-react dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Deps: Bump @typescript-eslint/parser from 7.16.0 to 7.18.0 (#4114) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.16.0 to 7.18.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/v7.18.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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: daniele-mng <[email protected]> * Deps: Bump i18next from 23.11.5 to 23.12.2 (#4117) Bumps [i18next](https://github.com/i18next/i18next) from 23.11.5 to 23.12.2. - [Release notes](https://github.com/i18next/i18next/releases) - [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md) - [Commits](i18next/i18next@v23.11.5...v23.12.2) --- updated-dependencies: - dependency-name: i18next dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Deps: Bump @typescript-eslint/eslint-plugin from 7.16.0 to 8.0.0 (#4113) * Deps: Bump @typescript-eslint/eslint-plugin from 7.16.0 to 8.0.0 Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.16.0 to 8.0.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.0.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * update ts eslint parser version --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: daniele-mng <[email protected]> * Deps: Bump @sentry/react from 8.13.0 to 8.22.0 (#4119) Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 8.13.0 to 8.22.0. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](getsentry/sentry-javascript@8.13.0...8.22.0) --- updated-dependencies: - dependency-name: "@sentry/react" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Deps: Bump the patch-updates group with 9 updates (#4112) Bumps the patch-updates group with 9 updates: | Package | From | To | | --- | --- | --- | | [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) | `2.2.6` | `2.2.7` | | [downshift](https://github.com/downshift-js/downshift) | `9.0.6` | `9.0.7` | | [styled-components](https://github.com/styled-components/styled-components) | `6.1.11` | `6.1.12` | | [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.24.7` | `7.24.8` | | [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) | `6.4.6` | `6.4.8` | | [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) | `0.4.8` | `0.4.9` | | [prettier](https://github.com/prettier/prettier) | `3.3.2` | `3.3.3` | | [typescript](https://github.com/Microsoft/TypeScript) | `5.5.3` | `5.5.4` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.3` | `5.3.5` | Updates `@reduxjs/toolkit` from 2.2.6 to 2.2.7 - [Release notes](https://github.com/reduxjs/redux-toolkit/releases) - [Commits](reduxjs/redux-toolkit@v2.2.6...v2.2.7) Updates `downshift` from 9.0.6 to 9.0.7 - [Release notes](https://github.com/downshift-js/downshift/releases) - [Changelog](https://github.com/downshift-js/downshift/blob/master/CHANGELOG.md) - [Commits](downshift-js/downshift@v9.0.6...v9.0.7) Updates `styled-components` from 6.1.11 to 6.1.12 - [Release notes](https://github.com/styled-components/styled-components/releases) - [Commits](styled-components/styled-components@v6.1.11...v6.1.12) Updates `@babel/cli` from 7.24.7 to 7.24.8 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.24.8/packages/babel-cli) Updates `@testing-library/jest-dom` from 6.4.6 to 6.4.8 - [Release notes](https://github.com/testing-library/jest-dom/releases) - [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md) - [Commits](testing-library/jest-dom@v6.4.6...v6.4.8) Updates `eslint-plugin-react-refresh` from 0.4.8 to 0.4.9 - [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases) - [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md) - [Commits](ArnaudBarre/eslint-plugin-react-refresh@v0.4.8...v0.4.9) Updates `prettier` from 3.3.2 to 3.3.3 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.3.2...3.3.3) Updates `typescript` from 5.5.3 to 5.5.4 - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.5.3...v5.5.4) Updates `vite` from 5.3.3 to 5.3.5 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.3.5/packages/vite) --- updated-dependencies: - dependency-name: "@reduxjs/toolkit" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: downshift dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: styled-components dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: "@babel/cli" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: "@testing-library/jest-dom" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: eslint-plugin-react-refresh dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: vite dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Deps: Bump @vitest/ui from 1.6.0 to 2.0.5 (#4116) * Deps: Bump @vitest/ui from 1.6.0 to 2.0.5 Bumps [@vitest/ui](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui) from 1.6.0 to 2.0.5. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.0.5/packages/ui) --- updated-dependencies: - dependency-name: "@vitest/ui" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * update dep --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: daniele-mng <[email protected]> * Add: Add opensight-ui-components and mantine for new UI Start to implement new UI components for GSA. * Add: Add new components for row and column layouts Both components are based on mantine and flexbox. They are intended to replace Layout especially in dialogs. * Add: Add useValueChange hook for form components All form components should be able to call the onChange handler with the value, name pair. Therefore introduce a generic hook to abstract the event handling. * Provide userEvent from @testing-library/user-event@14 Use latest release of userEvent. * Render theme provider for opensight-ui in tests The theme provider is required to be able to test components based on opensight-ui and mantine. * Setup ResizeObserver for components based on opensight-ui/mantine The ResizeObserver is required to be able to run the tests for opensight based components. * Add: Add a hook to load the user's capabilities from the backend The capabilities of the user are provided via a react context and therefore it should be able to load them independently from the redux store. * Add: Add hooks for handling the filter dialog state Using the new hooks allows to rewrite all filter dialogs to function components more easily. * Add theme provider for opensight-ui based components When rendering the react app the theme provider for mantine is required. * Change: Refactor all form UI components Use opensight-ui and mantine for all form components. With this change all the form components are refreshed in their visual appearance. * Change: Rework dialog components to use Modal as base Update Dialog component to use the Model component from opensight for improved UI. * Add: Implement new Menu Use opensight AppNavigation to implement a new menu. * Add: Implement new Menubar Use new AppBar from opensight. * Fix rendering of list page content Align the content of list pages at the top. * Change: Adjust login page for new UI Use new form components for updated UI at the login page. * Change: Update DialogNotification for new Dialog UI Adjust the DialogNotification component for new Dialog. * Change: Refactor TrashCan page to function component with new UI Adjust TrashCan page for new UI. * Improve dialog footer layout * Change: Update wizards for new UI Adjust layout of wizard dialogs for new UI. * Change: Adjust dashboard dialogs for new UI * Change: Adjust performance page for new UI Fix the layout of the performance page. * Change: Adjust powerfilter components for new UI elements * Change: Update create and edit dialog to new UI layout Adjust create and edit dialogs for new UI components and layout. * Change: Update usersettings dialog to new UI * Change: Update all filter dialogs for new UI Adjust the filter dialogs of all list pages. * Update menu entries Fix the CPE icon and update the menu entries to use contain necessary object properties. * Fix issue with using opensight-ui as CJS but shipping with ESM ``` SyntaxError: Unexpected token 'export' Module <snip>/node_modules/@greenbone/opensight-ui-components/lib/utils/compareHelper.js:1 seems to be an ES Module but shipped in a CommonJS package. You might want to create an issue to the package "@greenbone/opensight-ui-components" asking them to ship the file in .mjs extension or add "type": "module" in their package.json. As a temporary workaround you can try to inline the package by updating your config: // vitest.config.js export default { test: { server: { deps: { inline: [ "@greenbone/opensight-ui-components" ] } } } } ``` * Deploy compose file automatically * Deploy compose file automatically * Remove obsolete dialog components These components are obsolete since we are using the Modal component from opensight-ui/mantine now. * Use react-i18next to initialize translations for opensight-ui * Change: Don't require the to prop for Link component Actually it is optional and it is set to an empty string by default already. * Extract opensight-ui and its dependencies into an own chunk Split the required js code for opensigth-ui into an own chunk bundle for production builds. * Provide a mock implementation for window.matchMedia It seems window.matchMedia is required for the Select components now. Thus implement a mock of the API for being able to test the select components. * Change: Remove obsolete TitleBar component The TitleBar is not used anymore. * Fix, update and improve dialog tests Get the tests for the dialog components running again, drop all snapshots because with mantine they aren't stable anymore and improve testing specific component parts by adding getter functions. * Update form tests for new testing functions The getters for specific components were extracted into a testing module. * Update all powerfilter component tests Fix and update all powerfilter tests by adapting to new form components and using the testing getters. * Fix remaining web/component tests * Fix additional tests and components * Update and improve layout of alert dialog * Rename function method from clickItem to clickElement clickElement is more generic because the function allows to send a click event on arbitrary HTML elements not only select items. * Fix typo for flexbox layout `stetch` -> `stretch` * Make component testing functions more flexible Allow for querying within a specific parent element. This will allow for easier usage of the testing functions within pages tests where components like select boxes may be rendered at several places. * Extend the testing functions for querying pages tests components We need to be able to test the bulk actions. Therefore is is required to query for the table footer, the table and the check boxes within and the bulk action icons. * Fix the alert page tests * Add testing function for getting action items Action items are icons that cause some action on use clicks. * Update audit tests Testing clicking on export, start and resume for the detailspage doesn't work at the moment. The click handler is just not called. * Update cpe pages tests * Define where to find the `@gsa/testing` module Allow completion for expect, etc. in VS code. * Add testing functions for getting the dialog buttons * Fix getting the options of select components It seems queryAllByRole doesn't return the desired elements under some circumstances. Therefore use an easier query for getting the options. * Add a changeInputValue testing method Abstract fireEvent for changing the value of an input element. * Update and fix credential pages tests * Update and fix cve pages tests * Update and fix cvss calculator page tests * Drop snapshot test for dialog closebutton The snapshot test are not very useful and prone for changes which get applied without a deeper review. * Update and fix about page tests * Update and fix LDAP page tests * Update and fix tests for hosts list page * Update and fix radius page tests * Update and fix notes list page tests * Update and fix NVT list page tests * Update and fix overrides list page tests * Update and improve policies pages * Allow for easier testing of multiselect components Add testing function for easier testing the behavior of multiselect components. * Update and fix report config pages tests * Allow to display a menu entry for asset management * Update and fix report pages tests * Update and fix result pages tests * Add a testing function for getting a table header Besides getting the footer and body also allow to get the header of a table. * Update and fix scan config pages tests * Update and fix scanner dialog tests * Update and fix schedule pages tests * Update and fix ticket pages tests * Update and fix task pages tests * Update and fix tls cert list page tests * Add a testing function for getting file inputs * Update and fix target pages tests * Avoid issues causing flaky tests with pointer events When clicking on multiselects sometimes user event complained about `pointer-events` css property being `none`. Avoid this issue by not checking for `pointer-event` at all. * Fix warning about emotion css-in-js library already loaded during tests The emotion library has a check if global vi or jest is set to detect if it is running in a testing environment. Therefore just an empty vi object for the tests to keep it quiet. * Use an own language switcher component for the app header Add a draft for toggling the language between en and de via a language switcher in the app header. * Mark asset-management link as external asset-mangement is an external application and therefore internal links can't be used. * Change: powerFilter width and select loading state * fix test * add: new UI error * add dependency lucide-react * Add: ci job to run on opensight-ui branch (#4105) * Change: opensight version 0.3.0 * Add: Session timer * Add: opensight date picker * add tests * remove unused dep * split date and time components * add test * fix imports * add missing props to select timezone * Fix: Error panel in dialog (#4106) * fix: Select component label (#4107) * rebase fix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Björn Ricks <[email protected]> Co-authored-by: Ahmed Abdelsalam <[email protected]> Co-authored-by: Ahmed <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Timo Pollmeier <[email protected]> Co-authored-by: Greenbone Bot <[email protected]> Co-authored-by: pascalholthaus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42e0689 - Browse repository at this point
Copy the full SHA 42e0689View commit details
Commits on Aug 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a8c2435 - Browse repository at this point
Copy the full SHA a8c2435View commit details -
Add confirmation dialog for table bulk trashand delete (#4133)
* ADD: confirmation dialog for bulk trashcan or delete Update footer.jsx Update footer.jsx * add prop for genericDialog * add translation * fix test * fix test and add eslint rules
Configuration menu - View commit details
-
Copy full SHA for 653d6da - Browse repository at this point
Copy the full SHA 653d6daView commit details -
Fix app header language flag doesn't set the user preference in BE (#…
…4132) * fix: setting language in from app header flag in the backend * fix: useLocale hook to return currentLocale on first render
Configuration menu - View commit details
-
Copy full SHA for 07f468f - Browse repository at this point
Copy the full SHA 07f468fView commit details
Commits on Sep 5, 2024
-
Add feedback notification for feed sync (#4120)
* ADD: notification when feed is syncing * add test
Configuration menu - View commit details
-
Copy full SHA for 49657d7 - Browse repository at this point
Copy the full SHA 49657d7View commit details
Commits on Sep 6, 2024
-
Icons and main menu and active tabs (#4098)
* Add: main menu icons and active tabs * Update menu.jsx * change: update icons * address comments
Configuration menu - View commit details
-
Copy full SHA for 299125a - Browse repository at this point
Copy the full SHA 299125aView commit details
Commits on Sep 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 638cf34 - Browse repository at this point
Copy the full SHA 638cf34View commit details
Commits on Sep 10, 2024
-
* fix: lucide svg width and height * change panel close icon
Configuration menu - View commit details
-
Copy full SHA for 2cce73f - Browse repository at this point
Copy the full SHA 2cce73fView commit details
Commits on Sep 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 28cac79 - Browse repository at this point
Copy the full SHA 28cac79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60f2739 - Browse repository at this point
Copy the full SHA 60f2739View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82e0a08 - Browse repository at this point
Copy the full SHA 82e0a08View commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 956c893 - Browse repository at this point
Copy the full SHA 956c893View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6b9506 - Browse repository at this point
Copy the full SHA a6b9506View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89efc29 - Browse repository at this point
Copy the full SHA 89efc29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e4c81e - Browse repository at this point
Copy the full SHA 3e4c81eView commit details
Commits on Sep 25, 2024
-
Merge pull request #4159 from greenbone/update-from-main
Update opensight from main
Configuration menu - View commit details
-
Copy full SHA for 40e19d4 - Browse repository at this point
Copy the full SHA 40e19d4View commit details
Commits on Sep 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4d67f0a - Browse repository at this point
Copy the full SHA 4d67f0aView commit details -
Merge pull request #4165 from greenbone/improve-empty-trashcan-btn-op…
…ensight Improve empty trashcan btn opensight
Configuration menu - View commit details
-
Copy full SHA for 4664dea - Browse repository at this point
Copy the full SHA 4664deaView commit details -
Configuration menu - View commit details
-
Copy full SHA for bebbf43 - Browse repository at this point
Copy the full SHA bebbf43View commit details -
Merge pull request #4167 from greenbone/update-packages
deps: bump dependencies and devDependencies (11)
Configuration menu - View commit details
-
Copy full SHA for 674a388 - Browse repository at this point
Copy the full SHA 674a388View commit details
Commits on Sep 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 830cc44 - Browse repository at this point
Copy the full SHA 830cc44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f78c72 - Browse repository at this point
Copy the full SHA 1f78c72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6301c72 - Browse repository at this point
Copy the full SHA 6301c72View commit details
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 546254c - Browse repository at this point
Copy the full SHA 546254cView commit details -
Merge pull request #4150 from greenbone/Add-Appliance-logo-in-the-app…
…-header Add: Appliance logo in the app header and page title - opensight
Configuration menu - View commit details
-
Copy full SHA for 48a2292 - Browse repository at this point
Copy the full SHA 48a2292View commit details
Commits on Oct 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a2534c6 - Browse repository at this point
Copy the full SHA a2534c6View commit details
Commits on Oct 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5fabb0a - Browse repository at this point
Copy the full SHA 5fabb0aView commit details
Commits on Oct 9, 2024
-
Merge pull request #4182 from greenbone/fix-add-loading-state-to-hand…
…le-authentication-status-check fix: add loading state to handle authentication status check
Configuration menu - View commit details
-
Copy full SHA for a0de56d - Browse repository at this point
Copy the full SHA a0de56dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed32a25 - Browse repository at this point
Copy the full SHA ed32a25View commit details -
Merge pull request #4181 from greenbone/deps-bump-dependencies-and-de…
…vDependencies-(19) deps: bump dependencies and devDependencies (19)
Configuration menu - View commit details
-
Copy full SHA for 23dc9df - Browse repository at this point
Copy the full SHA 23dc9dfView commit details
Commits on Oct 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for daeac9a - Browse repository at this point
Copy the full SHA daeac9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3988553 - Browse repository at this point
Copy the full SHA 3988553View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d64a3f - Browse repository at this point
Copy the full SHA 2d64a3fView commit details
Commits on Oct 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d872a7e - Browse repository at this point
Copy the full SHA d872a7eView commit details
Commits on Oct 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4079463 - Browse repository at this point
Copy the full SHA 4079463View commit details -
Automatic adjustments after release [skip ci]
* Update to version 24.0.1-dev1
Configuration menu - View commit details
-
Copy full SHA for d5c6502 - Browse repository at this point
Copy the full SHA d5c6502View commit details -
Configuration menu - View commit details
-
Copy full SHA for 532c646 - Browse repository at this point
Copy the full SHA 532c646View commit details -
Configuration menu - View commit details
-
Copy full SHA for d974f68 - Browse repository at this point
Copy the full SHA d974f68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44d3778 - Browse repository at this point
Copy the full SHA 44d3778View commit details -
Configuration menu - View commit details
-
Copy full SHA for 721f75f - Browse repository at this point
Copy the full SHA 721f75fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fea5b36 - Browse repository at this point
Copy the full SHA fea5b36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 109bba5 - Browse repository at this point
Copy the full SHA 109bba5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7b3f4b - Browse repository at this point
Copy the full SHA c7b3f4bView commit details -
Merge pull request #4144 from greenbone/Add-user-setting-time-date-fo…
…rmat Add user setting time date format
Configuration menu - View commit details
-
Copy full SHA for f49afb2 - Browse repository at this point
Copy the full SHA f49afb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e71a454 - Browse repository at this point
Copy the full SHA e71a454View commit details -
Merge pull request #4184 from greenbone/enable-epss-toggle
Change: Enable EPSS toggle
Configuration menu - View commit details
-
Copy full SHA for d5579dd - Browse repository at this point
Copy the full SHA d5579ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab016a6 - Browse repository at this point
Copy the full SHA ab016a6View commit details -
Automatic adjustments after release [skip ci]
* Update to version 24.0.2-dev1
Configuration menu - View commit details
-
Copy full SHA for a0d5ec2 - Browse repository at this point
Copy the full SHA a0d5ec2View commit details
Commits on Oct 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f4393fb - Browse repository at this point
Copy the full SHA f4393fbView commit details -
Merge pull request #4183 from greenbone/add-enhance-error-feed-for-mi…
…ssing-detials Enhance error message feed for missing details
Configuration menu - View commit details
-
Copy full SHA for bfbd85a - Browse repository at this point
Copy the full SHA bfbd85aView commit details
Commits on Oct 28, 2024
-
Remove: Removed feature toggle for compliance report views.
Removed the feature toggle for the dedicated compliance report views.
Configuration menu - View commit details
-
Copy full SHA for 0ec8956 - Browse repository at this point
Copy the full SHA 0ec8956View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aa27a7 - Browse repository at this point
Copy the full SHA 9aa27a7View commit details
Commits on Nov 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 15ef6bd - Browse repository at this point
Copy the full SHA 15ef6bdView commit details
Commits on Nov 7, 2024
-
Merge pull request #4187 from greenbone/GEA-712_Remove_feature_toggle…
…_COMPLIANCE_REPORTS_opensight Removed feature toggle for compliance report views.
Configuration menu - View commit details
-
Copy full SHA for f355cbf - Browse repository at this point
Copy the full SHA f355cbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f491d7f - Browse repository at this point
Copy the full SHA f491d7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39bce34 - Browse repository at this point
Copy the full SHA 39bce34View commit details -
Merge pull request #4201 from greenbone/deps-bump-dependencies-and-de…
…vDependencies-26 deps: bump-dependencies-and-devDependencies-26
Configuration menu - View commit details
-
Copy full SHA for 4058a79 - Browse repository at this point
Copy the full SHA 4058a79View commit details
Commits on Nov 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 304fa57 - Browse repository at this point
Copy the full SHA 304fa57View commit details
Commits on Nov 12, 2024
-
Merge pull request #4200 from greenbone/fix/filter-cause-error-in-cre…
…ate-display-on-first-render fix: filtering error on first render for create display
Configuration menu - View commit details
-
Copy full SHA for df141ba - Browse repository at this point
Copy the full SHA df141baView commit details
Commits on Nov 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a47182b - Browse repository at this point
Copy the full SHA a47182bView commit details -
Merge pull request #4203 from greenbone/remove-delta-report-version-f…
…rom-user-settings Remove: Remove delta reports version from user settings
Configuration menu - View commit details
-
Copy full SHA for 72f6060 - Browse repository at this point
Copy the full SHA 72f6060View commit details