Skip to content

Commit 70b93d0

Browse files
Merge upstream/dev into celery_set_prio
Resolved conflicts by: - Removing @dojo_async_task decorators that were removed in upstream - Keeping priority parameters from the PR - Adapting to refactored notification system (standalone task functions) - Using correct priority values (3 for notifications/jira, 1 for webhooks, 4 for cleanup tasks, 0 for status checks)
2 parents 161b919 + de0b39c commit 70b93d0

164 files changed

Lines changed: 13757 additions & 1201 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/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ exclude-labels:
5555

5656
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
5757
template: |
58-
Please consult the [Upgrade notes in the documentation ](https://docs.defectdojo.com/en/open_source/upgrading/upgrading_guide/) for specific instructions for this release, and general upgrade instructions. Below is an automatically generated list of all PRs merged since the previous release.
58+
Please consult the [Upgrade notes in the documentation](https://docs.defectdojo.com/releases/os_upgrading/upgrading_guide/) for specific instructions for this release, and general upgrade instructions. Below is an automatically generated list of all PRs merged since the previous release.
5959
6060
## Changes since $PREVIOUS_TAG
6161
$CHANGES

.github/renovate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"rebaseWhen": "conflicted",
99
"separateMinorPatch": true,
1010
"ignorePaths": [
11+
"docs/**",
1112
"requirements.txt",
1213
"requirements-lint.txt",
1314
"components/package.json",

.github/workflows/renovate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
uses: suzuki-shunsuke/github-action-renovate-config-validator@ca480cb7ec89a9e1cd8c214ad33bda1617184027 # v2.0.0
2222
with:
2323
strict: "true"
24-
validator_version: 42.92.5 # renovate: datasource=github-releases depName=renovatebot/renovate
24+
validator_version: 43.5.6 # renovate: datasource=github-releases depName=renovatebot/renovate

Dockerfile.django-alpine

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
# Dockerfile.nginx to use the caching mechanism of Docker.
66

77
# Ref: https://devguide.python.org/#branchstatus
8-
FROM python:3.13.11-alpine3.22@sha256:2fd93799bfc6381d078a8f656a5f45d6092e5d11d16f55889b3d5cbfdc64f045 AS base
8+
FROM python:3.13.12-alpine3.22@sha256:41351b07080ccfaa27bf38dde20de79ee6a0ac74a58c00c6d7a7d96ac4e69716 AS base
99
FROM base AS build
1010
WORKDIR /app
1111
RUN \
1212
apk update && \
13+
apk upgrade --no-cache && \
1314
apk add --no-cache \
1415
gcc \
1516
build-base \
@@ -40,6 +41,7 @@ ARG appuser=defectdojo
4041
ENV appuser=${appuser}
4142
RUN \
4243
apk update && \
44+
apk upgrade --no-cache && \
4345
apk add --no-cache \
4446
openjpeg \
4547
jpeg \

Dockerfile.django-debian

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
# Dockerfile.nginx to use the caching mechanism of Docker.
66

77
# Ref: https://devguide.python.org/#branchstatus
8-
FROM python:3.13.11-slim-trixie@sha256:51e1a0a317fdb6e170dc791bbeae63fac5272c82f43958ef74a34e170c6f8b18 AS base
8+
FROM python:3.13.12-slim-trixie@sha256:3de9a8d7aedbb7984dc18f2dff178a7850f16c1ae7c34ba9d7ecc23d0755e35f AS base
99
FROM base AS build
1010
WORKDIR /app
1111
RUN \
1212
apt-get -y update && \
13+
apt-get -y upgrade && \
1314
apt-get -y install --no-install-recommends \
1415
gcc \
1516
build-essential \
@@ -39,6 +40,7 @@ ARG appuser=defectdojo
3940
ENV appuser=${appuser}
4041
RUN \
4142
apt-get -y update && \
43+
apt-get -y upgrade && \
4244
# ugly fix to install postgresql-client without errors
4345
mkdir -p /usr/share/man/man1 /usr/share/man/man7 && \
4446
apt-get -y install --no-install-recommends \

Dockerfile.integration-tests-debian

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33

44
FROM openapitools/openapi-generator-cli:v7.19.0@sha256:b9e7ad71a9f9406bd810378a939755fad114747a767e29bbf83ef9364d5f9dc0 AS openapitools
55
# currently only supports x64, no arm yet due to chrome and selenium dependencies
6-
FROM python:3.13.11-slim-trixie@sha256:51e1a0a317fdb6e170dc791bbeae63fac5272c82f43958ef74a34e170c6f8b18 AS build
6+
FROM python:3.13.12-slim-trixie@sha256:3de9a8d7aedbb7984dc18f2dff178a7850f16c1ae7c34ba9d7ecc23d0755e35f AS build
77
WORKDIR /app
88
RUN \
99
apt-get -y update && \
10+
apt-get -y upgrade && \
1011
apt-get -y install \
1112
git \
1213
wget \
@@ -20,6 +21,7 @@ RUN \
2021
xvfb \
2122
&& \
2223
apt-get clean && \
24+
rm -rf /var/lib/apt/lists && \
2325
true
2426

2527
RUN pip install --no-cache-dir selenium==4.9.0 requests

Dockerfile.nginx-alpine

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
# Dockerfile.django-alpine to use the caching mechanism of Docker.
66

77
# Ref: https://devguide.python.org/#branchstatus
8-
FROM python:3.13.11-alpine3.22@sha256:2fd93799bfc6381d078a8f656a5f45d6092e5d11d16f55889b3d5cbfdc64f045 AS base
8+
FROM python:3.13.12-alpine3.22@sha256:41351b07080ccfaa27bf38dde20de79ee6a0ac74a58c00c6d7a7d96ac4e69716 AS base
99
FROM base AS build
1010
WORKDIR /app
1111
RUN \
1212
apk update && \
13+
apk upgrade --no-cache && \
1314
apk add --no-cache \
1415
gcc \
1516
build-base \
@@ -70,12 +71,14 @@ COPY --from=collectstatic /app/static/ /usr/share/nginx/html/static/
7071
COPY wsgi_params nginx/nginx.conf nginx/nginx_TLS.conf /etc/nginx/
7172
COPY docker/entrypoint-nginx.sh /
7273
RUN \
74+
apk upgrade --no-cache && \
7375
apk add --no-cache openssl && \
7476
chmod -R g=u /var/cache/nginx && \
7577
mkdir /var/run/defectdojo && \
7678
chmod -R g=u /var/run/defectdojo && \
7779
mkdir -p /etc/nginx/ssl && \
7880
chmod -R g=u /etc/nginx && \
81+
rm -rf /var/cache/apk/* && \
7982
true
8083
ENV \
8184
DD_UWSGI_PASS="uwsgi_server" \

components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"chosen-bootstrap": "https://github.com/dbtek/chosen-bootstrap",
1313
"chosen-js": "^1.8.7",
1414
"clipboard": "^2.0.11",
15-
"datatables.net": "^2.3.6",
15+
"datatables.net": "^2.3.7",
1616
"datatables.net-buttons-bs": "^3.2.6",
1717
"datatables.net-colreorder": "^2.1.2",
1818
"drmonty-datatables-plugins": "^1.0.0",

components/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ datatables.net@2.3.2:
162162
dependencies:
163163
jquery ">=1.7"
164164

165-
datatables.net@^2, datatables.net@^2.3.6:
166-
version "2.3.6"
167-
resolved "https://registry.yarnpkg.com/datatables.net/-/datatables.net-2.3.6.tgz#a11be57a2b50d7231cae2980a8ff1df3c18b7b17"
168-
integrity sha512-xQ/dCxrjfxM0XY70wSIzakkTZ6ghERwlLmAPyCnu8Sk5cyt9YvOVyOsFNOa/BZ/lM63Q3i2YSSvp/o7GXZGsbg==
165+
datatables.net@^2, datatables.net@^2.3.7:
166+
version "2.3.7"
167+
resolved "https://registry.yarnpkg.com/datatables.net/-/datatables.net-2.3.7.tgz#3cd34f6f5d1f40a46b5a20a4ba32604bdbcd6738"
168+
integrity sha512-AvsjG/Nkp6OxeyBKYZauemuzQCPogE1kOtKwG4sYjvdqGCSLiGaJagQwXv4YxG+ts5vaJr6qKGG9ec3g6vTo3w==
169169
dependencies:
170170
jquery ">=1.7"
171171

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,15 @@ services:
120120
source: ./docker/extra_settings
121121
target: /app/docker/extra_settings
122122
postgres:
123-
image: postgres:18.1-alpine@sha256:4eb15de8e7b692c02427a2df278d18eb89422a534e428efb6d43c968250334d4
123+
image: postgres:18.1-alpine@sha256:aa6eb304ddb6dd26df23d05db4e5cb05af8951cda3e0dc57731b771e0ef4ab29
124124
environment:
125125
POSTGRES_DB: ${DD_DATABASE_NAME:-defectdojo}
126126
POSTGRES_USER: ${DD_DATABASE_USER:-defectdojo}
127127
POSTGRES_PASSWORD: ${DD_DATABASE_PASSWORD:-defectdojo}
128128
volumes:
129129
- defectdojo_postgres:/var/lib/postgresql/data
130130
valkey:
131-
image: valkey/valkey:7.2.11-alpine@sha256:9e483e0fe4c98b631b166b41d530c7ff1b8009a44f261bff28e9d1e2e27db58d
131+
image: valkey/valkey:7.2.11-alpine@sha256:10328d00120dc14fbc87b2ed61b7677ddbb0d011e705361b4788329a0ec69a93
132132
volumes:
133133
# we keep using the redis volume as renaming is not possible and copying data over
134134
# would require steps during downtime or complex commands in the intializer

0 commit comments

Comments
 (0)