Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opossum-tool/OpossumUI
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: OpossumUI-2024-12-17
Choose a base ref
...
head repository: opossum-tool/OpossumUI
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Dec 17, 2024

  1. Copy the full SHA
    609e3e2 View commit details

Commits on Dec 18, 2024

  1. Copy the full SHA
    512bebb View commit details

Commits on Dec 19, 2024

  1. fix(deps): update mui dependencies to ^6.2.1 (#2690)

    Signed-off-by: Maxim Stykow <maxim.stykow@tngtech.com>
    Co-authored-by: Maxim Stykow <maxim.stykow@tngtech.com>
    renovate[bot] and mstykow authored Dec 19, 2024
    Copy the full SHA
    776c1ac View commit details
  2. chore(deps): update dependency @types/react to ^19.0.2 (#2691)

    Signed-off-by: Maxim Stykow <maxim.stykow@tngtech.com>
    Co-authored-by: Maxim Stykow <maxim.stykow@tngtech.com>
    renovate[bot] and mstykow authored Dec 19, 2024
    Copy the full SHA
    33c3a86 View commit details

Commits on Dec 20, 2024

  1. Copy the full SHA
    07a4b3b View commit details
  2. Copy the full SHA
    0b64369 View commit details

Commits on Dec 21, 2024

  1. Copy the full SHA
    6a0f767 View commit details

Commits on Dec 22, 2024

  1. Copy the full SHA
    bade652 View commit details

Commits on Dec 23, 2024

  1. Merge pull request #2692 from opossum-tool/renovate/react-error-bound…

    …ary-5.x
    
    fix(deps): update dependency react-error-boundary to v5
    mstykow authored Dec 23, 2024
    Copy the full SHA
    e087f92 View commit details

Commits on Dec 24, 2024

  1. Copy the full SHA
    8bda4d8 View commit details
  2. Copy the full SHA
    cc17dcd View commit details

Commits on Dec 25, 2024

  1. Copy the full SHA
    6483e33 View commit details
  2. Copy the full SHA
    5c68873 View commit details
  3. fix(deps): update mui dependencies to ^6.3.0 (#2693)

    Signed-off-by: Maxim Stykow <maxim.stykow@tngtech.com>
    Co-authored-by: Maxim Stykow <maxim.stykow@tngtech.com>
    renovate[bot] and mstykow authored Dec 25, 2024
    Copy the full SHA
    8bdcb12 View commit details

Commits on Dec 27, 2024

  1. Copy the full SHA
    f1b2b22 View commit details
  2. chore: remove ts-node dependency

    ts-node was only needed to read the typescript jest config file but there are other ways to inject types there.
    
    Signed-off-by: Maxim Stykow <maxim.stykow@tngtech.com>
    mstykow committed Dec 27, 2024
    Copy the full SHA
    1519544 View commit details
  3. Merge pull request #2694 from opossum-tool/chore-remove-ts-node-depen…

    …dency
    
    chore: remove ts-node dependency
    mstykow authored Dec 27, 2024
    Copy the full SHA
    73ed2a7 View commit details

Commits on Dec 28, 2024

  1. Copy the full SHA
    bd504bf View commit details

Commits on Dec 29, 2024

  1. Copy the full SHA
    2edd722 View commit details

Commits on Dec 30, 2024

  1. Copy the full SHA
    1d3747c View commit details
  2. Merge pull request #2696 from opossum-tool/renovate/yarn-monorepo

    chore(deps): update yarn to v4.6.0
    mstykow authored Dec 30, 2024
    Copy the full SHA
    81d0493 View commit details
  3. fix(deps): update dependency @fontsource-variable/karla to ^5.1.1 (#2695

    )
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 30, 2024
    Copy the full SHA
    8e4f977 View commit details

Commits on Dec 31, 2024

  1. Copy the full SHA
    15c52a5 View commit details

Commits on Jan 1, 2025

  1. Copy the full SHA
    27a0580 View commit details

Commits on Jan 2, 2025

  1. Copy the full SHA
    58e68f2 View commit details

Commits on Jan 3, 2025

  1. fix: change field "license name" to "license expression"

    - Change the label for the license name field to license expression
    as it better describes the actual possibilities
    - Adapt and extend tests
    - Add myself to the CONTRIBUTORS.md
    
    Signed-off-by: Dominikus Hellgartner <dominikus.hellgartner@tngtech.com>
    Hellgartner committed Jan 3, 2025
    Copy the full SHA
    e2150d6 View commit details
  2. fix: remove unused constant

    Signed-off-by: Dominikus Hellgartner <dominikus.hellgartner@tngtech.com>
    Hellgartner committed Jan 3, 2025
    Copy the full SHA
    678ce0d View commit details
  3. Merge pull request #2701 from opossum-tool/fix-license-name-field-label

    fix: change field "license name" to "license expression"
    Hellgartner authored Jan 3, 2025
    Copy the full SHA
    9bb6811 View commit details
  4. Copy the full SHA
    87d5075 View commit details
  5. Copy the full SHA
    ed93b59 View commit details
  6. Copy the full SHA
    7f7d409 View commit details

Commits on Jan 4, 2025

  1. Copy the full SHA
    e89f9e4 View commit details
  2. Copy the full SHA
    55d39f9 View commit details
  3. Copy the full SHA
    709a0de View commit details
  4. Copy the full SHA
    1f38781 View commit details

Commits on Jan 5, 2025

  1. Copy the full SHA
    2f7f53c View commit details
  2. Copy the full SHA
    2c50307 View commit details
  3. Copy the full SHA
    b81516c View commit details

Commits on Jan 6, 2025

  1. Copy the full SHA
    47cf618 View commit details

Commits on Jan 7, 2025

  1. fix: fix ubuntu image for e2e tests

    Unfortunately this is required:
    * Ubuntu 20.04 no longer natively supports AppImages
      * If you need to access File System you
       might need to install libfuse2
      * Electron apps do have problems with the newly introduced
       sandboxing of Apps. You would need to run with `--no-sandbox`
    
    Signed-off-by: Dominikus Hellgartner <dominikus.hellgartner@tngtech.com>
    Hellgartner committed Jan 7, 2025
    Copy the full SHA
    97759b6 View commit details
  2. fix: use consistent ubuntu image across all pipelines

    Signed-off-by: Dominikus Hellgartner <dominikus.hellgartner@tngtech.com>
    Hellgartner committed Jan 7, 2025
    Copy the full SHA
    d589985 View commit details
  3. Merge pull request #2704 from opossum-tool/fix_fix_ubuntu_image_for_e…

    …2e_tests
    
    Fix fix ubuntu image for e2e tests
    mstykow authored Jan 7, 2025
    Copy the full SHA
    984ac31 View commit details
  4. chore(deps): update dependency @types/react to ^19.0.3 (#2705)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 7, 2025
    Copy the full SHA
    a83f6e4 View commit details
  5. fix(deps): update dependency uuid to ^11.0.4 (#2702)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 7, 2025
    Copy the full SHA
    3f1a429 View commit details

Commits on Jan 8, 2025

  1. Copy the full SHA
    ce25b0c View commit details
  2. chore(deps): ignore ubuntu dependency in renovate

    Ignore ubuntu dependency in renovate bot as this would
    currently break our e2e test
    Reason: AppImages containing Electron no longer work
    in Ubuntu24.0+
    
    See also 984ac31
    
    Signed-off-by: Dominikus Hellgartner <dominikus.hellgartner@tngtech.com>
    Hellgartner committed Jan 8, 2025
    Copy the full SHA
    d6940dd View commit details
  3. Copy the full SHA
    9c06489 View commit details
  4. Copy the full SHA
    f419c97 View commit details

Commits on Jan 9, 2025

  1. Copy the full SHA
    ee8e252 View commit details
  2. Merge pull request #2708 from opossum-tool/chore-deps-exclude-ubuntu-…

    …from-renovate
    
    chore(deps): ignore ubuntu dependency in renovate
    Hellgartner authored Jan 9, 2025
    Copy the full SHA
    3177642 View commit details
Showing with 104,843 additions and 6,876 deletions.
  1. +3 −0 {src/e2e-tests → }/.env.sample
  2. +4 −3 .github/workflows/build-and-e2e-test.yml
  3. +1 −0 .github/workflows/check-code-quality.yml
  4. +29 −10 .github/workflows/publish-release.yml
  5. +3 −0 .gitignore
  6. +0 −2 .husky/commit-msg
  7. +325 −324 .yarn/releases/{yarn-4.5.3.cjs → yarn-4.8.1.cjs}
  8. +1 −1 .yarnrc.yml
  9. +1 −1 CONTRIBUTING.md
  10. +3 −0 CONTRIBUTORS.md
  11. +57 −102 README.md
  12. +67 −21 USER_GUIDE.md
  13. +1 −1 commitlint.config.ts
  14. +52 −0 docs/FileFormats.md
  15. BIN docs/integration.png
  16. +7 −11 docs/integration.puml
  17. BIN docs/user_guide_screenshots/classification_icon.png
  18. BIN docs/user_guide_screenshots/criticality_icon.png
  19. BIN docs/user_guide_screenshots/exclude_from_notice_icon.png
  20. BIN docs/user_guide_screenshots/first_party_icon.png
  21. BIN docs/user_guide_screenshots/incomplete_information_icon.png
  22. BIN docs/user_guide_screenshots/needs_follow_up_icon.png
  23. BIN docs/user_guide_screenshots/preferred_icon.png
  24. BIN docs/user_guide_screenshots/previously_preferred_icon.png
  25. BIN docs/user_guide_screenshots/top_bar.png
  26. +32 −13 eslint.config.mjs
  27. +2 −2 jest.config.ts → jest.config.mjs
  28. +79 −66 package.json
  29. BIN public/assets/icons/import-black.png
  30. BIN public/assets/icons/import-white.png
  31. BIN public/assets/icons/merge-black.png
  32. BIN public/assets/icons/merge-white.png
  33. +31 −0 renovate.json
  34. +0 −153 renovate.json5
  35. +0 −44 src/ElectronBackend/errorHandling/__tests__/errorHandling.test.ts
  36. +32 −27 src/ElectronBackend/errorHandling/errorHandling.ts
  37. +21 −0 src/ElectronBackend/input/OpossumInputFileSchema.json
  38. +150 −41 src/ElectronBackend/input/__tests__/importFromFile.test.ts
  39. +6 −0 src/ElectronBackend/input/__tests__/parseFile.test.ts
  40. +14 −2 src/ElectronBackend/input/__tests__/parseInputData.test.ts
  41. +93 −0 src/ElectronBackend/input/__tests__/refineConfiguration.test.ts
  42. +37 −23 src/ElectronBackend/input/importFromFile.ts
  43. +15 −3 src/ElectronBackend/input/parseInputData.ts
  44. +54 −0 src/ElectronBackend/input/refineConfiguration.ts
  45. +58 −0 src/ElectronBackend/main/ProcessingStatusUpdater.ts
  46. +3 −2 src/ElectronBackend/main/__tests__/createWindowDev.test.ts
  47. +2 −2 src/ElectronBackend/main/__tests__/createWindowProd.test.ts
  48. +4 −4 src/ElectronBackend/main/__tests__/get-save-file-listener.test.ts
  49. +0 −47 src/ElectronBackend/main/__tests__/iconHelpers.test.ts
  50. +150 −285 src/ElectronBackend/main/__tests__/listeners.test.ts
  51. +73 −0 src/ElectronBackend/main/__tests__/menu.test.ts
  52. +14 −3 src/ElectronBackend/main/__tests__/openFileFromCliOrEnvVariableIfProvided.test.ts
  53. +154 −0 src/ElectronBackend/main/__tests__/user-settings-service.test.ts
  54. +18 −14 src/ElectronBackend/main/createWindow.ts
  55. +33 −7 src/ElectronBackend/main/dialogs.ts
  56. +12 −13 src/ElectronBackend/main/iconHelpers.ts
  57. +287 −264 src/ElectronBackend/main/listeners.ts
  58. +4 −1 src/ElectronBackend/main/logger.ts
  59. +39 −33 src/ElectronBackend/main/main.ts
  60. +21 −535 src/ElectronBackend/main/menu.ts
  61. +54 −0 src/ElectronBackend/main/menu/aboutMenu.ts
  62. +168 −0 src/ElectronBackend/main/menu/editMenu.ts
  63. +358 −0 src/ElectronBackend/main/menu/fileMenu.ts
  64. +62 −0 src/ElectronBackend/main/menu/helpMenu.ts
  65. +33 −0 src/ElectronBackend/main/menu/switchableMenuItem.ts
  66. +101 −0 src/ElectronBackend/main/menu/viewMenu.ts
  67. +4 −6 src/ElectronBackend/main/openFileFromCliOrEnvVariableIfProvided.ts
  68. +64 −0 src/ElectronBackend/main/user-settings-service.ts
  69. +0 −40 src/ElectronBackend/main/user-settings.ts
  70. +29 −0 src/ElectronBackend/opossum-file/ExternalFileConverter.ts
  71. +60 −0 src/ElectronBackend/opossum-file/FileConverter.ts
  72. +105 −0 src/ElectronBackend/opossum-file/LegacyFileConverter.ts
  73. +17 −0 src/ElectronBackend/opossum-file/__tests__/legacy.json
  74. BIN src/ElectronBackend/opossum-file/__tests__/merge_base.opossum
  75. +108 −0 src/ElectronBackend/opossum-file/__tests__/opossum-file.test.ts
  76. +301 −0 src/ElectronBackend/opossum-file/__tests__/owasp-dependency-check-report.json
  77. +45,473 −0 src/ElectronBackend/opossum-file/__tests__/scancode.json
  78. +42 −0 src/ElectronBackend/opossum-file/opossum-file.ts
  79. +17 −1 src/ElectronBackend/output/__tests__/writeCsvToFile.test.ts
  80. +7 −1 src/ElectronBackend/output/__tests__/writeSpdxFile.test.ts
  81. +1 −1 src/ElectronBackend/output/writeCsvToFile.ts
  82. +18 −11 src/ElectronBackend/preload.ts
  83. +2 −0 src/ElectronBackend/types/types.ts
  84. +0 −95 src/Frontend/Components/AccordionWithPieChart/AccordionWithPieChart.tsx
  85. +0 −63 src/Frontend/Components/AccordionWithPieChart/__tests__/AccordionWithPieChart.test.tsx
  86. +3 −2 src/Frontend/Components/App/App.tsx
  87. +209 −43 .../Components/AttributionCountPerSourcePerLicenseTable/AttributionCountPerSourcePerLicenseTable.tsx
  88. +101 −0 ...ponents/AttributionCountPerSourcePerLicenseTable/AttributionCountPerSourcePerLicenseTable.util.ts
  89. +66 −0 ...AttributionCountPerSourcePerLicenseTableFooter/AttributionCountPerSourcePerLicenseTableFooter.tsx
  90. +96 −0 ...ble/AttributionCountPerSourcePerLicenseTableHead/AttributionCountPerSourcePerLicenseTableHead.tsx
  91. +108 −0 ...Table/AttributionCountPerSourcePerLicenseTableRow/AttributionCountPerSourcePerLicenseTableRow.tsx
  92. +148 −0 ...ributionCountPerSourcePerLicenseTable/__tests__/AttributionCountPerSourcePerLicenseTable.test.tsx
  93. +120 −0 ...tionCountPerSourcePerLicenseTable/__tests__/AttributionCountPerSourcePerLicenseTable.util.test.ts
  94. +3 −2 src/Frontend/Components/AttributionForm/AuditingOptions/AuditingOptions.tsx
  95. +33 −8 src/Frontend/Components/AttributionForm/AuditingOptions/AuditingOptions.util.tsx
  96. +3 −2 src/Frontend/Components/AttributionForm/LicenseSubPanel/LicenseSubPanel.tsx
  97. +66 −36 src/Frontend/Components/AttributionForm/PackageAutocomplete/PackageAutocomplete.tsx
  98. +2 −1 src/Frontend/Components/AttributionForm/PackageSubPanel/PackageSubPanel.tsx
  99. +409 −217 src/Frontend/Components/AttributionForm/__tests__/AttributionForm.test.tsx
  100. +7 −11 src/Frontend/Components/AttributionPanels/AttributionPanels.tsx
  101. +2 −2 src/Frontend/Components/AttributionPanels/PackagesPanel/PackagesPanel.tsx
  102. +8 −4 src/Frontend/Components/AttributionPanels/SignalsPanel/IncludeExcludeButton/IncludeExcludeButton.tsx
  103. +3 −2 src/Frontend/Components/AttributionPanels/SignalsPanel/RestoreButton/RestoreButton.tsx
  104. +0 −99 src/Frontend/Components/AttributionPropertyCountTable/AttributionPropertyCountTable.tsx
  105. +0 −27 ...rontend/Components/AttributionPropertyCountTable/__tests__/AttributionPropertyCountTable.test.tsx
  106. +19 −17 src/Frontend/Components/Autocomplete/Autocomplete.tsx
  107. +44 −186 src/Frontend/Components/BackendCommunication/BackendCommunication.tsx
  108. +0 −72 src/Frontend/Components/BackendCommunication/__tests__/BackendCommunication.test.tsx
  109. +63 −0 src/Frontend/Components/BarChart/BarChart.tsx
  110. +0 −168 src/Frontend/Components/CriticalLicensesTable/CriticalLicensesTable.tsx
  111. +16 −0 src/Frontend/Components/DialogLogDisplay/DialogLogDisplay.style.ts
  112. +46 −0 src/Frontend/Components/FilePathInput/FilePathInput.tsx
  113. +0 −60 ...nd/Components/FileSupportDotOpossumAlreadyExistsPopup/FileSupportDotOpossumAlreadyExistsPopup.tsx
  114. +0 −24 ...ileSupportDotOpossumAlreadyExistsPopup/__tests__/FileSupportDotOpossumAlreadyExistsPopup.test.tsx
  115. +0 −61 src/Frontend/Components/FileSupportPopup/FileSupportPopup.tsx
  116. +0 −27 src/Frontend/Components/FileSupportPopup/__tests__/FileSupportPopup.test.tsx
  117. +20 −11 src/Frontend/Components/GlobalPopup/GlobalPopup.tsx
  118. +0 −18 src/Frontend/Components/GlobalPopup/__tests__/GlobalPopup.test.tsx
  119. +62 −8 src/Frontend/Components/Icons/Icons.tsx
  120. +56 −1 src/Frontend/Components/Icons/__tests__/Icons.test.tsx
  121. +143 −0 src/Frontend/Components/ImportDialog/ImportDialog.tsx
  122. +16 −0 src/Frontend/Components/LogDisplay/LogDisplay.style.ts
  123. +62 −0 src/Frontend/Components/LogDisplay/LogDisplay.tsx
  124. +108 −0 src/Frontend/Components/MergeDialog/MergeDialog.tsx
  125. +2 −3 src/Frontend/Components/NotSavedPopup/NotSavedPopup.tsx
  126. +19 −7 src/Frontend/Components/NotificationPopup/NotificationPopup.tsx
  127. +26 −6 src/Frontend/Components/PackageCard/PackageCard.tsx
  128. +22 −8 src/Frontend/Components/PackageCard/PackageCard.util.tsx
  129. +130 −0 src/Frontend/Components/PackageCard/__tests__/PackageCard.test.tsx
  130. +60 −72 src/Frontend/Components/PieChart/PieChart.tsx
  131. +6 −5 src/Frontend/Components/ProcessPopup/ProcessPopup.style.ts
  132. +15 −65 src/Frontend/Components/ProcessPopup/ProcessPopup.tsx
  133. +70 −28 src/Frontend/Components/ProcessPopup/__tests__/ProcessPopup.test.tsx
  134. +62 −17 src/Frontend/Components/ProgressBar/ProgressBar.tsx
  135. +116 −3 src/Frontend/Components/ProgressBar/ProgressBar.util.tsx
  136. +260 −31 src/Frontend/Components/ProgressBar/__tests__/ProgressBar.test.tsx
  137. +114 −4 src/Frontend/Components/ProgressBar/__tests__/ProgressBar.util.test.ts
  138. +0 −107 src/Frontend/Components/ProjectLicensesTable/ProjectLicensesTable.tsx
  139. +18 −0 src/Frontend/Components/ProjectStatisticsPopup/ProjectStatisticsPopup.style.ts
  140. +215 −77 src/Frontend/Components/ProjectStatisticsPopup/ProjectStatisticsPopup.tsx
  141. +158 −93 src/Frontend/Components/ProjectStatisticsPopup/ProjectStatisticsPopup.util.ts
  142. +209 −82 src/Frontend/Components/ProjectStatisticsPopup/__tests__/ProjectStatisticsPopup.test.tsx
  143. +81 −108 src/Frontend/Components/ProjectStatisticsPopup/__tests__/ProjectStatisticsPopup.util.test.tsx
  144. +4 −0 src/Frontend/Components/ReportTableItem/__tests__/ReportTableItem.test.tsx
  145. +13 −1 src/Frontend/Components/ReportTableItem/__tests__/ReportTableItem.util.test.tsx
  146. +4 −2 src/Frontend/Components/ReportView/__tests__/ReportView.test.tsx
  147. +6 −9 src/Frontend/Components/ResourceBrowser/ResourceBrowser.tsx
  148. +16 −0 src/Frontend/Components/ResourceBrowser/ResourcesTree/ResourcesTreeNode/ResourcesTreeNode.tsx
  149. +27 −1 src/Frontend/Components/ResourceBrowser/ResourcesTree/ResourcesTreeNode/ResourcesTreeNode.util.ts
  150. +17 −2 ...ResourceBrowser/ResourcesTree/ResourcesTreeNode/ResourcesTreeNodeLabel/ResourcesTreeNodeLabel.tsx
  151. +219 −43 .../ResourcesTree/ResourcesTreeNode/ResourcesTreeNodeLabel/__tests__/ResourcesTreeNodeLabel.test.tsx
  152. +88 −55 ...mponents/ResourceBrowser/ResourcesTree/ResourcesTreeNode/__tests__/ResourcesTreeNode.util.test.ts
  153. +38 −38 src/Frontend/Components/SortButton/SortButton.tsx
  154. +25 −3 src/Frontend/Components/SortButton/__tests__/SortButton.test.tsx
  155. +68 −0 src/Frontend/Components/SortButton/useSortingOptions.tsx
  156. +0 −27 src/Frontend/Components/SwitchWithTooltip/SwitchWithTooltip.tsx
  157. +124 −0 src/Frontend/Components/SwitchableProcessBar/SwitchableProcessBar.tsx
  158. +178 −0 src/Frontend/Components/SwitchableProcessBar/__tests__/SwitchableProcessBar.test.tsx
  159. +54 −0 src/Frontend/Components/TableCellWithSorting/TableCellWithSorting.tsx
  160. +84 −43 src/Frontend/Components/TextBox/TextBox.tsx
  161. +12 −62 src/Frontend/Components/TopBar/TopBar.tsx
  162. +0 −27 src/Frontend/Components/TopBar/__tests__/TopBar.test.tsx
  163. +2 −27 src/Frontend/enums/enums.ts
  164. +14 −3 src/Frontend/shared-constants.ts
  165. +19 −2 src/Frontend/shared-styles.ts
  166. +139 −51 src/Frontend/state/actions/popup-actions/__tests__/popup-actions.test.ts
  167. +113 −32 src/Frontend/state/actions/popup-actions/popup-actions.ts
  168. +25 −4 src/Frontend/state/actions/resource-actions/__tests__/all-views-simple-actions.test.ts
  169. +35 −0 src/Frontend/state/actions/resource-actions/__tests__/load-actions.test.ts
  170. +7 −1 src/Frontend/state/actions/resource-actions/__tests__/navigation-actions.test.ts
  171. +34 −4 src/Frontend/state/actions/resource-actions/__tests__/preference-actions.test.ts
  172. +96 −15 src/Frontend/state/actions/resource-actions/__tests__/save-actions.test.ts
  173. +7 −0 src/Frontend/state/actions/resource-actions/all-views-simple-actions.ts
  174. +155 −0 src/Frontend/state/actions/resource-actions/export-actions.ts
  175. +64 −1 src/Frontend/state/actions/resource-actions/load-actions.ts
  176. +1 −1 src/Frontend/state/actions/resource-actions/preference-actions.ts
  177. +2 −2 src/Frontend/state/actions/resource-actions/save-actions.ts
  178. +8 −0 src/Frontend/state/actions/resource-actions/types.ts
  179. +28 −0 src/Frontend/state/actions/user-settings-actions/__tests__/user-settings-actions.test.ts
  180. +14 −0 src/Frontend/state/actions/user-settings-actions/types.ts
  181. +21 −0 src/Frontend/state/actions/user-settings-actions/user-settings-actions.ts
  182. +19 −7 src/Frontend/state/actions/view-actions/__tests__/view-actions.test.ts
  183. +23 −1 src/Frontend/state/actions/view-actions/types.ts
  184. +39 −0 src/Frontend/state/actions/view-actions/view-actions.ts
  185. +238 −5 src/Frontend/state/helpers/__tests__/progress-bar-data-helpers.test.ts
  186. +55 −3 src/Frontend/state/helpers/__tests__/save-action-helpers.test.ts
  187. +100 −14 src/Frontend/state/helpers/progress-bar-data-helpers.ts
  188. +3 −0 src/Frontend/state/helpers/save-action-helpers.ts
  189. +2 −0 src/Frontend/state/reducer.ts
  190. +10 −0 src/Frontend/state/reducers/resource-reducer.ts
  191. +25 −0 src/Frontend/state/reducers/user-settings-reducer.ts
  192. +25 −0 src/Frontend/state/reducers/view-reducer.ts
  193. +4 −0 src/Frontend/state/selectors/__tests__/all-views-resource-selectors.test.ts
  194. +4 −0 src/Frontend/state/selectors/__tests__/audit-view-resource-selectors.test.ts
  195. +5 −0 src/Frontend/state/selectors/resource-selectors.ts
  196. +10 −0 src/Frontend/state/selectors/user-settings-selector.ts
  197. +17 −4 src/Frontend/state/selectors/view-selector.ts
  198. +0 −86 src/Frontend/state/variables/__tests__/use-user-setting.test.ts
  199. +0 −14 src/Frontend/state/variables/use-are-hidden-signals-visible.ts
  200. +5 −5 src/Frontend/state/variables/use-filtered-data.ts
  201. +13 −14 src/Frontend/state/variables/use-panel-sizes.ts
  202. +56 −78 src/Frontend/state/variables/use-user-setting.ts
  203. +5 −0 src/Frontend/test-helpers/general-test-helpers.ts
  204. +32 −5 src/Frontend/types/types.ts
  205. +152 −15 src/Frontend/util/__tests__/{get-attributions-with-resources.test.ts → attribution-utils.test.ts}
  206. +13 −1 src/Frontend/util/__tests__/get-card-labels.test.ts
  207. +3 −0 src/Frontend/util/__tests__/get-closest-parent-attribution.test.ts
  208. +4 −0 src/Frontend/util/__tests__/get-stripped-package-info.test.ts
  209. +4 −1 src/Frontend/util/__tests__/handle-purl.test.ts
  210. +5 −1 src/Frontend/util/__tests__/is-important-attribution-information-misssing.test.ts
  211. +5 −1 src/Frontend/util/__tests__/search-package-info.test.ts
  212. +3 −4 src/Frontend/util/__tests__/sort-attributions.test.tsx
  213. +20 −0 src/Frontend/util/{get-attributions-with-resources.ts → attribution-utils.ts}
  214. +3 −0 src/Frontend/util/ensure-array.ts
  215. +1 −0 src/Frontend/util/get-stripped-package-info.ts
  216. +5 −1 src/Frontend/util/package-search-api.ts
  217. +9 −2 src/Frontend/util/package-search-hooks.ts
  218. +9 −25 src/Frontend/util/sort-attributions.ts
  219. +21 −8 src/Frontend/util/use-ipc-renderer.ts
  220. +70 −0 src/Frontend/util/use-processing-status-updated.ts
  221. +4 −4 src/Frontend/web-workers/__tests__/signals-worker.test.ts
  222. +18 −18 src/Frontend/web-workers/scripts/__tests__/get-filtered-attributions.test.ts
  223. +3 −2 src/Frontend/web-workers/scripts/get-filtered-attributions.ts
  224. +8 −1 src/Frontend/web-workers/scripts/get-progress-data.ts
  225. +9 −5 src/Frontend/web-workers/signals-worker.ts
  226. +12 −2 src/Frontend/web-workers/use-signals-worker.ts
  227. +1 −0 src/e2e-tests/__tests__/confirming-preselected-attributions.test.ts
  228. +1 −1 src/e2e-tests/__tests__/creating-attributions.test.ts
  229. +0 −20 src/e2e-tests/__tests__/handling-file-deprecation-warnings.test.ts
  230. +128 −0 src/e2e-tests/__tests__/import-dialog.test.ts
  231. +109 −0 src/e2e-tests/__tests__/merge-dialog.test.ts
  232. +59 −0 src/e2e-tests/__tests__/open-files.test.ts
  233. +31 −6 src/e2e-tests/__tests__/project-statistics.test.ts
  234. +60 −0 src/e2e-tests/__tests__/sorting-signals.test.ts
  235. +67 −0 src/e2e-tests/__tests__/toggle-showing-classification-criticality.test.ts
  236. +66 −2 src/e2e-tests/__tests__/updating-attributions.test.ts
  237. +301 −0 src/e2e-tests/owasp-dependency-check-report.json
  238. +7 −10 src/e2e-tests/page-objects/AttributionForm.ts
  239. +52 −0 src/e2e-tests/page-objects/ImportDialog.ts
  240. +205 −5 src/e2e-tests/page-objects/MenuBar.ts
  241. +48 −0 src/e2e-tests/page-objects/MergeDialog.ts
  242. +11 −0 src/e2e-tests/page-objects/PackageCard.ts
  243. +69 −9 src/e2e-tests/page-objects/ProjectStatisticsPopup.ts
  244. +4 −0 src/e2e-tests/page-objects/SignalsPanel.ts
  245. +1 −1 src/e2e-tests/page-objects/TopBar.ts
  246. +1 −1 src/e2e-tests/playwright.config.ts
  247. +45,473 −0 src/e2e-tests/scancode.json
  248. +70 −28 src/e2e-tests/utils/fixtures.ts
  249. +13 −9 src/shared/ipc-channels.ts
  250. +22 −0 src/shared/shared-constants.ts
  251. +91 −29 src/shared/shared-types.ts
  252. +189 −3 src/shared/text.ts
  253. +21 −0 src/shared/write-file.ts
  254. +40 −0 src/testing/Faker.ts
  255. +8 −7 src/testing/setup-tests.ts
  256. +13 −0 tools/build_linux_release.sh
  257. +17 −0 tools/checkNotices.sh
  258. +85 −0 tools/downloadOpossumFile.mjs
  259. +0 −53 tools/generateNotices.js
  260. +35 −0 tools/generateNotices.mjs
  261. 0 tools/get_app_version_for_windows.bat
  262. +11 −0 tools/runScriptArch.mjs
  263. 0 tools/start_windows.bat
  264. +9 −0 tsconfig.eslint.json
  265. +2 −2 vite.config.mts
  266. +2,050 −1,804 yarn.lock
3 changes: 3 additions & 0 deletions src/e2e-tests/.env.sample → .env.sample
Original file line number Diff line number Diff line change
@@ -3,5 +3,8 @@
//
// SPDX-License-Identifier: Apache-2.0

# GitHub token to use when downloading releases.
GITHUB_TOKEN=gho_foobar

# Number of workers Playwright will use to run tests. Can also be set to, e.g., "50%" of the number of CPU cores.
WORKERS=1
7 changes: 4 additions & 3 deletions .github/workflows/build-and-e2e-test.yml
Original file line number Diff line number Diff line change
@@ -22,16 +22,17 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: ubuntu-latest
# https://github.com/microsoft/playwright/issues/11932
E2E: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:e2e:ci
- os: macos-13
- os: macos-latest
E2E: yarn test:e2e:ci
- os: windows-latest
E2E: yarn test:e2e:ci

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4

1 change: 1 addition & 0 deletions .github/workflows/check-code-quality.yml
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@ jobs:
env:
CI: true
TARGET_BRANCH: origin/${{ github.event_name == 'pull_request' && github.base_ref || 'main' }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
39 changes: 29 additions & 10 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -12,16 +12,26 @@ on:
jobs:
publish-release:
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
FILE: release/linux/OpossumUI-for-linux.AppImage
build-command: yarn ship-linux
FILES: |
release/linux/OpossumUI-for-linux.AppImage
release/linux/OpossumUI-for-linux.snap
- os: macos-latest
FILE: release/mac/OpossumUI-for-mac.zip
build-command: yarn ship-mac:x64
FILES: release/mac/OpossumUI-for-mac-intel.zip
- os: macos-latest
build-command: yarn ship-mac:arm64
FILES: release/mac-arm64/OpossumUI-for-mac-arm64.zip
- os: windows-latest
FILE: release/win/OpossumUI-for-win.exe
build-command: yarn ship-win
FILES: release/win/OpossumUI-for-win.exe

steps:
- uses: actions/checkout@v4
@@ -33,22 +43,31 @@ jobs:

- run: yarn install --immutable

- run: yarn ship:auto
- run: ${{ matrix.build-command }}

- name: Upload release asset
uses: softprops/action-gh-release@v2
with:
files: ${{ matrix.FILE }}
files: ${{ matrix.FILES }}

- name: Upload user guide
uses: softprops/action-gh-release@v2
upload-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
files: USER_GUIDE.md
cache: 'yarn'
node-version: 22

- run: yarn install --immutable

- name: Create SPDX document
run: yarn spdx

- name: Upload SPDX document
- name: Upload user guide and SPDX document
uses: softprops/action-gh-release@v2
with:
files: opossum-ui.spdx.json
files: |
USER_GUIDE.md
opossum-ui.spdx.json
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@
/src/e2e-tests/artifacts
playwright-report
/test-output
/bin

# production
/build
@@ -46,3 +47,5 @@ yarn-error.log*
/.run

.env

.gitconfig
2 changes: 0 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -5,6 +5,4 @@
#
# SPDX-License-Identifier: Apache-2.0

. "$(dirname -- "$0")/_/husky.sh"

yarn commitlint --edit ${1}
Loading