Skip to content

Commit 016993e

Browse files
authored
Merge branch 'dev' into master-into-dev/2.37.3-2.38.0-dev
2 parents c6f3859 + a6efe61 commit 016993e

File tree

338 files changed

+1700
-1791
lines changed

Some content is hidden

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

338 files changed

+1700
-1791
lines changed

Dockerfile.integration-tests-debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# code: language=Dockerfile
33

4-
FROM openapitools/openapi-generator-cli:v7.7.0@sha256:99924315933d49e7b33a7d2074bb2b64fc8def8f74519939036e24eb48f00336 AS openapitools
4+
FROM openapitools/openapi-generator-cli:v7.8.0@sha256:c409bfa9b276faf27726d2884b859d18269bf980cb63546e80b72f3b2648c492 AS openapitools
55
FROM python:3.11.9-slim-bookworm@sha256:8c1036ec919826052306dfb5286e4753ffd9d5f6c24fbc352a5399c3b405b57e AS build
66
WORKDIR /app
77
RUN \

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DefectDojo is licensed under the 3-Clause BSD License: https://github.com/DefectDojo/django-DefectDojo/blob/master/LICENSE.md
22

33

4-
However, DefectDojos dependencies may have different licensing requirements and terms.
4+
However, DefectDojo's dependencies may have different licensing requirements and terms.
55
Complete source code for DefectDojo dependencies are made available on PyPi: https://pypi.org/
66

77
THIRD-PARTY SOFTWARE NOTICES FOR DEFECTDOJO

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Moderators can help you with pull requests or feedback on dev ideas:
144144
* Valentijn Scholten ([@valentijnscholten](https://github.com/valentijnscholten) |
145145
[Sponsor](https://github.com/sponsors/valentijnscholten) |
146146
[LinkedIn](https://www.linkedin.com/in/valentijn-scholten/)) - Valentijn served as a core moderator for 3 years.
147-
Valentijns contributions were numerous and extensive. He overhauled, improved, and optimized many parts of the
147+
Valentijn's contributions were numerous and extensive. He overhauled, improved, and optimized many parts of the
148148
codebase. He consistently fielded questions, provided feedback on pull requests, and provided a helping hand wherever
149149
it was needed.
150150
* Fred Blaise ([@madchap](https://github.com/madchap) | [LinkedIn](https://www.linkedin.com/in/fredblaise/)) - Fred

components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"metismenu": "~3.0.7",
3636
"moment": "^2.30.1",
3737
"morris.js": "morrisjs/morris.js",
38-
"pdfmake": "^0.2.10",
38+
"pdfmake": "^0.2.12",
3939
"startbootstrap-sb-admin-2": "1.0.7"
4040
},
4141
"engines": {

components/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -824,10 +824,10 @@ path-parse@^1.0.7:
824824
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
825825
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
826826

827-
pdfmake@^0.2.10:
828-
version "0.2.10"
829-
resolved "https://registry.yarnpkg.com/pdfmake/-/pdfmake-0.2.10.tgz#a8a0ee8a5acca8f5d728e0dfe4db8be5f1b9ec6b"
830-
integrity sha512-doipFnmE1UHSk+Z3wfQuVweVQqx2pE/Ns2G5gCqZmWwqjDj+mZHnZYH/ryXWoIfD+iVdZUAutgI/VHkTCN+Xrw==
827+
pdfmake@^0.2.12:
828+
version "0.2.12"
829+
resolved "https://registry.yarnpkg.com/pdfmake/-/pdfmake-0.2.12.tgz#5156f91ff73797947942aa342423bedaa0c0bc93"
830+
integrity sha512-TFsqaG6KVtk+TWermmJNNwom3wmB/xiz07prM74KBhdM+7pz3Uwq2b0uoqhhQRn6cYUTpL8lXZY6xF011o1YcQ==
831831
dependencies:
832832
"@foliojs-fork/linebreak" "^1.1.1"
833833
"@foliojs-fork/pdfkit" "^0.14.0"

docker-compose.override.debug.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

docker-compose.override.dev.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,30 @@ services:
55
volumes:
66
- '.:/app:z'
77
environment:
8-
PYTHONWARNINGS: always # We are strict during development so Warnings needs to be more verbose
8+
PYTHONWARNINGS: error # We are strict about Warnings during development
9+
DD_DEBUG: 'True'
910
DD_ADMIN_USER: "${DD_ADMIN_USER:-admin}"
1011
DD_ADMIN_PASSWORD: "${DD_ADMIN_PASSWORD:-admin}"
1112
DD_EMAIL_URL: "smtp://mailhog:1025"
1213
celeryworker:
1314
volumes:
1415
- '.:/app:z'
1516
environment:
16-
PYTHONWARNINGS: always # We are strict during development so Warnings needs to be more verbose
17+
PYTHONWARNINGS: error # We are strict about Warnings during development
18+
DD_DEBUG: 'True'
1719
DD_EMAIL_URL: "smtp://mailhog:1025"
1820
celerybeat:
1921
volumes:
2022
- '.:/app:z'
2123
environment:
22-
PYTHONWARNINGS: always # We are strict during development so Warnings needs to be more verbose
24+
PYTHONWARNINGS: error # We are strict about Warnings during development
25+
DD_DEBUG: 'True'
2326
initializer:
2427
volumes:
2528
- '.:/app:z'
2629
environment:
27-
PYTHONWARNINGS: always # We are strict during development so Warnings needs to be more verbose
30+
PYTHONWARNINGS: error # We are strict about Warnings during development
31+
DD_DEBUG: 'True'
2832
DD_ADMIN_USER: "${DD_ADMIN_USER:-admin}"
2933
DD_ADMIN_PASSWORD: "${DD_ADMIN_PASSWORD:-admin}"
3034
nginx:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ services:
103103
source: ./docker/extra_settings
104104
target: /app/docker/extra_settings
105105
postgres:
106-
image: postgres:16.3-alpine@sha256:36ed71227ae36305d26382657c0b96cbaf298427b3f1eaeb10d77a6dea3eec41
106+
image: postgres:16.4-alpine@sha256:492898505cb45f9835acc327e98711eaa9298ed804e0bb36f29e08394229550d
107107
environment:
108108
POSTGRES_DB: ${DD_DATABASE_NAME:-defectdojo}
109109
POSTGRES_USER: ${DD_DATABASE_USER:-defectdojo}

docker/install_chrome_dependencies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def find_packages(library_name):
1818

1919

2020
def run_command(cmd, cwd=None, env=None):
21-
result = subprocess.run(cmd, cwd=cwd, env=env, capture_output=True, text=True)
21+
result = subprocess.run(cmd, cwd=cwd, env=env, capture_output=True, text=True, check=False)
2222
return result.stdout
2323

2424

@@ -27,7 +27,7 @@ def ldd(file_path):
2727
# For simplicity, I'm assuming if we get an error, the code is non-zero.
2828
try:
2929
result = subprocess.run(
30-
["ldd", file_path], capture_output=True, text=True,
30+
["ldd", file_path], capture_output=True, text=True, check=False,
3131
)
3232
stdout = result.stdout
3333
code = result.returncode

docker/setEnv.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
target_dir="${0%/*}/.."
66
override_link='docker-compose.override.yml'
77
override_file_dev='docker-compose.override.dev.yml'
8-
override_file_debug='docker-compose.override.debug.yml'
98
override_file_unit_tests='docker-compose.override.unit_tests.yml'
109
override_file_unit_tests_cicd='docker-compose.override.unit_tests_cicd.yml'
1110
override_file_integration_tests='docker-compose.override.integration_tests.yml'
@@ -77,19 +76,6 @@ function set_dev {
7776
fi
7877
}
7978

80-
function set_debug {
81-
get_current
82-
if [ "${current_env}" != debug ]
83-
then
84-
docker compose down
85-
rm -f ${override_link}
86-
ln -s ${override_file_debug} ${override_link}
87-
echo "Now using 'debug' configuration."
88-
else
89-
echo "Already using 'debug' configuration."
90-
fi
91-
}
92-
9379
function set_unit_tests {
9480
get_current
9581
if [ "${current_env}" != unit_tests ]

0 commit comments

Comments
 (0)