Skip to content

Commit 01cbf57

Browse files
Merge dev into devgrega/os-message-opt-out (resolve conflicts)
# Conflicts: # dojo/announcement/ui/views.py # dojo/models.py
2 parents 2a8321a + 7a79d67 commit 01cbf57

296 files changed

Lines changed: 26221 additions & 24122 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
node-version: '24.18.0' # TODO: Renovate helper might not be needed here - needs to be fully tested
2828

2929
- name: Cache dependencies
30-
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
30+
uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
3131
with:
3232
path: ~/.npm
3333
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- name: Create Release
2929
id: create_release
30-
uses: release-drafter/release-drafter@693d20e7c1ce1a81d3a41962f85914253b518449 # v7.3.1
30+
uses: release-drafter/release-drafter@4d75298e00d9e34c483e5ff8c68d0ea1c1940c1e # v7.5.1
3131
with:
3232
version: ${{ inputs.version }}
3333
env:

.github/workflows/validate_docs_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
node-version: '24.18.0' # TODO: Renovate helper might not be needed here - needs to be fully tested
2323

2424
- name: Cache dependencies
25-
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
25+
uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
2626
with:
2727
path: ~/.npm
2828
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

AGENTS.md

Lines changed: 131 additions & 26 deletions
Large diffs are not rendered by default.

docs/content/issue_tracking/jira/OS__jira_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Here is an example of a **jira\_full** Issue:
159159

160160
#### Component
161161

162-
If you manage your Jira Space using Components, you can assign the appropriate Component for DefectDojo here.
162+
If you manage your Jira Space using Components, you can assign the appropriate Component for DefectDojo here. To assign more than one Component, enter a comma-separated list (for example, `Security, DevSecOps`); each value is sent to Jira as a separate component.
163163

164164
**Custom fields**
165165

docs/content/issue_tracking/jira/PRO__jira_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Here is an example of a **jira\_full** Issue:
126126

127127
#### Component
128128

129-
If you manage your Jira Space using Components, you can assign the appropriate Component for DefectDojo here.
129+
If you manage your Jira Space using Components, you can assign the appropriate Component for DefectDojo here. To assign more than one Component, enter a comma-separated list (for example, `Security, DevSecOps`); each value is sent to Jira as a separate component.
130130

131131
#### Custom fields
132132

docs/content/releases/os_upgrading/3.1.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: 'Upgrading to DefectDojo Version 3.1.x'
33
toc_hide: true
44
weight: -20260617
5-
description: Blank Finding components are now normalized to NULL so component-less findings group together.
5+
description: Blank Finding components are now normalized to NULL so component-less findings group together; JIRA project configurations now support multiple comma-separated components.
66
---
77

88
## Blank Finding components normalized to NULL
@@ -14,3 +14,11 @@ Findings without a component now consistently store `NULL`. Blank values are nor
1414
### What you need to do
1515

1616
Nothing — the change is applied automatically by the database migration included in this release. After upgrading, component-less findings will group together under a single "None" entry.
17+
18+
## Multiple JIRA components per project
19+
20+
The `Component` field on a JIRA project configuration now supports assigning more than one Jira component. Separate multiple component names with a comma (for example, `Security,DevSecOps`), and each name is sent to Jira as a distinct component. A single value without commas continues to behave as before.
21+
22+
### What you need to do
23+
24+
Nothing is required. Note that a component name that legitimately contains a comma will be split into separate components — component names rarely contain commas, so this is an accepted limitation.

dojo/announcement/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import dojo.announcement.admin # noqa: F401

dojo/announcement/admin.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.contrib import admin
2+
3+
from dojo.announcement.models import Announcement, UserAnnouncement
4+
5+
admin.site.register(Announcement)
6+
admin.site.register(UserAnnouncement)

dojo/announcement/api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
path = "announcements" # noqa: RUF067

0 commit comments

Comments
 (0)