Skip to content

Commit 17e2db0

Browse files
committed
Merge branch 'main' into 446-vcio-v3-advisories
Signed-off-by: tdruez <tdruez@aboutcode.org>
2 parents a51845a + dccedaf commit 17e2db0

159 files changed

Lines changed: 3842 additions & 2030 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.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "DejaCode Demo (Codespaces only)",
3+
"dockerComposeFile": "../../compose.demo.yml",
4+
"service": "web",
5+
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
6+
"overrideCommand": false,
7+
"forwardPorts": [8000],
8+
"portsAttributes": {
9+
"8000": {
10+
"label": "DejaCode",
11+
"onAutoForward": "notify"
12+
}
13+
},
14+
"customizations": {
15+
"codespaces": {
16+
"openFiles": []
17+
},
18+
"vscode": {
19+
"settings": {
20+
"chat.disableAIFeatures": true,
21+
"workbench.startupEditor": "none",
22+
"workbench.tips.enabled": false,
23+
"git.openRepositoryInParentFolders": "never"
24+
}
25+
}
26+
}
27+
}

.env.demo

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
POSTGRES_DB=dejacode_demo_db
2+
POSTGRES_USER=dejacode
3+
POSTGRES_PASSWORD=dejacode
4+
POSTGRES_INITDB_ARGS="--encoding=UTF-8 --lc-collate=en_US.UTF-8 --lc-ctype=en_US.UTF-8"
5+
6+
DATABASE_HOST=db
7+
DATABASE_NAME=dejacode_demo_db
8+
DATABASE_USER=dejacode
9+
DATABASE_PASSWORD=dejacode
10+
11+
SECRET_KEY=insecure-demo-key
12+
DEJACODE_DEBUG=True
13+
ALLOWED_HOSTS=*
14+
CSRF_TRUSTED_ORIGINS="https://*.app.github.dev,http://localhost:8000"
15+
X_FRAME_OPTIONS=SAMEORIGIN
16+
SECURE_CROSS_ORIGIN_OPENER_POLICY=None
17+
18+
DEJACODE_ASYNC=False
19+
CLAMD_ENABLED=False
20+
21+
DJANGO_SUPERUSER_USERNAME=demo
22+
DJANGO_SUPERUSER_EMAIL=demo@example.com
23+
DJANGO_SUPERUSER_PASSWORD=demo
24+
LOGIN_FORM_ALERT='<div class="alert alert-success">Username: demo<br>Password: demo</div>'
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Run unit tests
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
branches:
8+
- main
9+
10+
jobs:
11+
check-code-and-docs-validation:
12+
runs-on: ubuntu-24.04
13+
permissions:
14+
contents: read
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
with:
20+
persist-credentials: false # do not keep the token around
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
24+
with:
25+
python-version: "3.14"
26+
27+
- name: Install uv from vendored wheel
28+
run: pip install --no-index --find-links=./thirdparty/dist uv
29+
30+
- name: Validate code format
31+
run: make check
32+
33+
- name: Build the documentation
34+
run: make docs

.github/workflows/run-unit-tests.yml

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ include
1616
.settings
1717
TAGS
1818
.idea
19+
.vscode
1920
Include
2021
Lib
2122
.env

CHANGELOG.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
Release notes
22
=============
33

4+
### Version 5.8.0
5+
6+
* feat: [five-c] Compliance dashboard export/report by @tdruez in https://github.com/aboutcode-org/dejacode/pull/522
7+
* feat: [five-c] Compliance extended report set by @tdruez in https://github.com/aboutcode-org/dejacode/pull/523
8+
* feat: [five-c] User experience (UX) enhancements by @tdruez in https://github.com/aboutcode-org/dejacode/pull/524
9+
* feat: [five-c] Compliance dashboards improved by @tdruez in https://github.com/aboutcode-org/dejacode/pull/532
10+
* feat: [five-c] Compliance dashboards extended by @tdruez in https://github.com/aboutcode-org/dejacode/pull/537
11+
* fix: REQUESTS_TIMEOUT by converting to int by @rogu-beta in https://github.com/aboutcode-org/dejacode/pull/526
12+
* feat: replace pip install by uv and lock file by @tdruez in https://github.com/aboutcode-org/dejacode/pull/529
13+
* chore: upgrade multiple dependencies by @tdruez in https://github.com/aboutcode-org/dejacode/pull/530
14+
* chore: upgrade django-registration to latest version by @tdruez in https://github.com/aboutcode-org/dejacode/pull/531
15+
* chore: upgrade dependencies by @tdruez in https://github.com/aboutcode-org/dejacode/pull/538
16+
* chore: remove the dependency on gitpython by @tdruez in https://github.com/aboutcode-org/dejacode/pull/539
17+
* feat: add create_dependencies option to all import forms by @tdruez in https://github.com/aboutcode-org/dejacode/pull/540
18+
* chore: update seed data and add instructions by @tdruez in https://github.com/aboutcode-org/dejacode/pull/541
19+
* feat: add a set_key method on AbstractAPIToken by @tdruez in https://github.com/aboutcode-org/dejacode/pull/521
20+
421
### Version 5.7.1
522

623
- feat: Product compliance tab

0 commit comments

Comments
 (0)