Skip to content

Commit 3c3dfd2

Browse files
authored
Merge pull request #628 from digitalfabrik/develop
Release 2025.11.0
2 parents 6de88cb + 06d0fee commit 3c3dfd2

81 files changed

Lines changed: 24860 additions & 810 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.

.circleci/config.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,20 @@ jobs:
191191
# Bump version to next alpha version
192192
echo "Bump to the next version"
193193
bumpver update -n -t alpha --no-commit
194+
- run:
195+
name: Generate SBOM
196+
command: |
197+
curl -sSfL https://get.anchore.io/syft | sudo sh -s -- -b /usr/local/bin
198+
export SYFT_SOURCE_VERSION=$(python -c "import lunes_cms; print(lunes_cms.__version__)")
199+
export SYFT_SOURCE_NAME="integreat-cms"
200+
export SYFT_FORMAT_SPDX_JSON_PRETTY=true
201+
syft scan . -o spdx-json=integreat_cms/_manifest/spdx_2.2/manifest.spdx.json
194202
- persist_to_workspace:
195203
root: .
196204
paths:
197-
- setup.cfg
205+
- pyproject.toml
198206
- lunes_cms/__init__.py
207+
- lunes_cms/_manifest
199208
bump-version:
200209
docker:
201210
- image: cimg/python:3.11
@@ -236,6 +245,16 @@ jobs:
236245
# Amend to bump version commit
237246
git add CHANGELOG.md
238247
git commit --amend --no-edit
248+
- run:
249+
name: Generate SBOM
250+
command: |
251+
curl -sSfL https://get.anchore.io/syft | sudo sh -s -- -b /usr/local/bin
252+
export SYFT_SOURCE_VERSION=$(python -c "import lunes_cms; print(lunes_cms.__version__)")
253+
export SYFT_SOURCE_NAME="integreat-cms"
254+
export SYFT_FORMAT_SPDX_JSON_PRETTY=true
255+
syft scan . -o spdx-json=integreat_cms/_manifest/spdx_2.2/manifest.spdx.json
256+
git add lunes_cms/_manifest
257+
git commit --amend --no-edit
239258
- run:
240259
name: Tag and push commit
241260
command: |
@@ -260,8 +279,9 @@ jobs:
260279
name: Build lunes-cms package
261280
command: |
262281
source .venv/bin/activate
263-
pip install wheel
264-
python setup.py sdist bdist_wheel
282+
pip install .
283+
python -m build --sdist .
284+
python -m build --wheel .
265285
- persist_to_workspace:
266286
root: .
267287
paths:
@@ -284,6 +304,7 @@ jobs:
284304
command: |
285305
source .venv/bin/activate
286306
pip install twine
307+
ls -lh ./dist/*
287308
twine upload --non-interactive --verbose ./dist/lunes*.tar.gz
288309
create-release:
289310
docker:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ docs/dist/
1313
docs/src/ref/
1414
docs/src/changelog.rst
1515
lunes_cms/lunes-cms.log
16+
.python-version

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
UNRELEASED
22
----------
33

4+
* [ [#601](https://github.com/digitalfabrik/lunes-cms/pull/601) ] Create APIv2 with words endpoint
5+
* [ [#607](https://github.com/digitalfabrik/lunes-cms/pull/607) ] Add endpoint for jobs
6+
* [ [#610](https://github.com/digitalfabrik/lunes-cms/pull/610) ] Add endpoint for units of a job
7+
* [ [#611](https://github.com/digitalfabrik/lunes-cms/pull/611) ] Add endpoint to get all words of a unit
8+
* [ [#616](https://github.com/digitalfabrik/lunes-cms/pull/616) ] Add API endpoint for all words of a given job
9+
* [ [#618](https://github.com/digitalfabrik/lunes-cms/pull/618) ] Add sponsors endpoint to api v2
10+
* [ [#619](https://github.com/digitalfabrik/lunes-cms/pull/619) ] Add cms v2 Feedback model and api v2 feedback endpoint
11+
* [ [#612](https://github.com/digitalfabrik/lunes-cms/pull/612) ] Add example sentence to Word and Unit-Word relationship
12+
* [ [#606](https://github.com/digitalfabrik/lunes-cms/pull/606) ] Add v1_id column for cmsv2 models migration
13+
* [ [#556](https://github.com/digitalfabrik/lunes-cms/pull/556) ] Fix overflow in sidebar
14+
* [ [#603](https://github.com/digitalfabrik/lunes-cms/pull/603) ] Replace setup.cfg with pyproject.toml
15+
* [ [#609](https://github.com/digitalfabrik/lunes-cms/pull/609) ] Add SBOM in dev and prod releases
16+
* [ [#578](https://github.com/digitalfabrik/lunes-cms/pull/578) ] Create SECURITY.md
17+
418

519
2025.10.0
620
---------

MANIFEST.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ global-exclude __pycache__
1414
# Exclude existing log file
1515
exclude lunes_cms/lunes-cms.log
1616

17-
# Exclude pyproject.toml
18-
exclude pyproject.toml
19-
2017
# Exclude source of translation files
2118
exclude lunes_cms/locale/de/LC_MESSAGES/django.po
2219
exclude lunes_cms/locale/de/LC_MESSAGES/djangojs.po

SECURITY.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Security
2+
3+
## Reporting Potential Security Issues
4+
5+
If you have encountered a potential security vulnerability in this project,
6+
please report it to us at <security@tuerantuer.org>. We will work with you to
7+
verify the vulnerability and patch it.
8+
9+
When reporting issues, please provide the following information:
10+
11+
- Component(s) affected
12+
- A description indicating how to reproduce the issue
13+
- A summary of the security vulnerability and impact
14+
15+
We request that you contact us via the email address above and give the
16+
project contributors a chance to resolve the vulnerability and issue a new
17+
release prior to any public exposure; this helps protect the project's
18+
users, and provides them with a chance to upgrade and/or update in order to
19+
protect their applications.
20+
21+
## Policy
22+
23+
If we verify a reported security vulnerability, our policy is:
24+
25+
- We will patch the default branch and immediately issue a new security fix release.
26+
27+
- A security advisory will be released on the project website detailing the
28+
vulnerability, as well as recommendations for end-users to protect themselves.

docs/src/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#: The project author
3939
author = "Lunes"
4040
#: The full version, including alpha/beta/rc tags
41-
release = "2025.10.0"
41+
release = "2025.10.1"
4242
#: GitHub username
4343
github_username = "digitalfabrik"
4444
#: GitHub repository name

lunes_cms/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""
22
Content Management System for the Lunes Vocabulary Trainer App
33
"""
4-
__version__ = "2025.10.0"
4+
5+
__version__ = "2025.10.1"

0 commit comments

Comments
 (0)