Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions .github/workflows/website-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
# Assignments, not an echo of $(…): a failed fetch fails the step. The tag is resolved
# once and pinned, so the tests, the image and the publish job read one release.
# The security feed with the token too (scripts/security_feed.py): a broken one fails here.
run: |
tag=$(python scripts/release_source.py --tag)
dir=$(OW_RELEASE_TAG="$tag" python scripts/release_source.py --relative)
{ echo "tag=$tag"; echo "dir=$dir"; } >> "$GITHUB_OUTPUT"
python scripts/security_feed.py .release/security.json
{ echo "tag=$tag"; echo "dir=$dir"; echo "feed=.release/security.json"; } >> "$GITHUB_OUTPUT"

- name: Set up Node 24
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
Expand All @@ -100,7 +102,10 @@ jobs:
- name: Build the image
env:
OW_APP_SOURCE: ${{ steps.release.outputs.dir }}
run: docker build -f website/Dockerfile --build-arg OW_APP_SOURCE -t openwhistle-website:test .
OW_SECURITY_FEED: ${{ steps.release.outputs.feed }}
run: |
docker build -f website/Dockerfile --build-arg OW_APP_SOURCE --build-arg OW_SECURITY_FEED \
-t openwhistle-website:test .

- name: Start it as it will run (read-only, unprivileged)
run: |
Expand Down Expand Up @@ -166,10 +171,12 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
OW_RELEASE_TAG: ${{ needs.test.outputs.tag }}
# Never the latest again: a release published while the tests ran was not tested.
# The security feed is fetched again: an advisory published meanwhile belongs in it.
run: |
test -n "$OW_RELEASE_TAG"
dir=$(python scripts/release_source.py --relative)
echo "dir=$dir" >> "$GITHUB_OUTPUT"
python scripts/security_feed.py .release/security.json
{ echo "dir=$dir"; echo "feed=.release/security.json"; } >> "$GITHUB_OUTPUT"

- id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
Expand All @@ -184,7 +191,9 @@ jobs:
with:
context: .
file: website/Dockerfile
build-args: OW_APP_SOURCE=${{ steps.release.outputs.dir }}
build-args: |
OW_APP_SOURCE=${{ steps.release.outputs.dir }}
OW_SECURITY_FEED=${{ steps.release.outputs.feed }}
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
2 changes: 1 addition & 1 deletion docs-tech/local-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ the build reads the latest app release (`scripts/release_source.py`); with it, t
| `/404.html` | Not-found page (noindex); open any missing path on the served site. |
| `/en/changelog/` | Changelog, rendered from the release's `CHANGELOG.md` — check the version nav in the sidebar. |
| `/en/changelog/older/` | The releases before the newest five, from the series without a page of their own — the version nav, the link back. |
| `/en/changelog/1.x/`, `/en/changelog/0.x/` | One page per closed series — the version nav, the links to the other series and back. |
| `/en/changelog/2.0.x/`, `/en/changelog/1.x/`, `/en/changelog/0.x/` | One page per closed series — the version nav, the links to the other series and back. |
| `/de/blog/` | Blog index. |
| `/de/blog/hinschg-compliance-leitfaden/` | Article. |
| `/de/blog/hinweisgebersystem-dsgvo-eu-hosting/` | Article. |
Expand Down
4 changes: 2 additions & 2 deletions docs-tech/mutations/v2.1.2-site-p4.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@
{
"id": "HEALTHZ-LOGGED",
"file": "website/nginx.conf",
"old": " access_log off;\n",
"new": "",
"old": " location = /healthz {\n access_log off;\n",
"new": " location = /healthz {\n",
"tests": "CONFIG"
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs-tech/mutations/v2.2.0-site-bug-bounty.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
{
"id": "CLAIM-CURRENT-RELEASE",
"file": "docs/de/blog/whistleblower-software-vergleich.html",
"old": "data-label=\"OpenWhistle\">2.4.2, 4. November 2026",
"old": "data-label=\"OpenWhistle\">2.5.1, 4. November 2026",
"new": "data-label=\"OpenWhistle\">2.1.0, 27. September 2026",
"tests": "CLAIMS"
},
Expand Down
4 changes: 2 additions & 2 deletions docs-tech/mutations/v2.2.0-site-split.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@
{
"id": "IMAGE-BUILDS-ANOTHER-RELEASE",
"file": ".github/workflows/website-image.yml",
"old": "--build-arg OW_APP_SOURCE -t",
"new": "-t",
"old": "--build-arg OW_APP_SOURCE --build-arg",
"new": "--build-arg",
"tests": "WEBSITE_WF"
},
{
Expand Down
4 changes: 2 additions & 2 deletions docs-tech/mutations/v2.2.1-changelog-series.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
{
"id": "OLDER-KEEPS-ARCHIVED",
"file": "scripts/render_changelog.py",
"old": " and not (older and _major(v) in ARCHIVED)\n",
"old": " and not (older and _series(v) is not None)\n",
"new": "",
"tests": "SPLIT"
},
{
"id": "ARCHIVE-ANY-MAJOR",
"file": "scripts/render_changelog.py",
"old": "v.name not in on_main and _major(v) == major]",
"old": "v.name not in on_main and _series(v) == major]",
"new": "v.name not in on_main]",
"tests": "SPLIT"
},
Expand Down
69 changes: 69 additions & 0 deletions docs-tech/mutations/v2.5.0-site-security-feed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"timeout_seconds": 600,
"test_groups": {
"FEED": [
"tests/test_security_feed.py",
"-k",
"refused"
],
"BUILT": [
"tests/test_security_feed.py",
"-k",
"publishes_the_feed"
],
"CONFIG": [
"tests/test_website_config.py",
"-k",
"log_holds_no_address"
],
"WF": [
"tests/test_website_workflow.py",
"-k",
"security_feed"
]
},
"mutations": [
{
"id": "FEED-ANY-SCHEMA",
"file": "scripts/security_feed.py",
"old": " if not isinstance(feed, dict) or feed.get(\"schema\") != 1:",
"new": " if not isinstance(feed, dict):",
"tests": "FEED"
},
{
"id": "FEED-HTTP-LINK",
"file": "scripts/security_feed.py",
"old": "not url.startswith(\"https://\")",
"new": "not url.startswith(\"http\")",
"tests": "FEED"
},
{
"id": "FEED-ANY-RANGE",
"file": "scripts/security_feed.py",
"old": " or not all(CONSTRAINT.fullmatch(part.strip()) for part in value.split(\",\"))",
"new": " or False",
"tests": "FEED"
},
{
"id": "FEED-NOT-BUILT",
"file": "scripts/build_site.py",
"old": " write_security_feed(out)\n",
"new": "",
"tests": "BUILT"
},
{
"id": "FEED-LOGGED",
"file": "website/nginx.conf",
"old": " location = /security.json {\n access_log off;\n",
"new": " location = /security.json {\n",
"tests": "CONFIG"
},
{
"id": "FEED-UNTOKENED",
"file": ".github/workflows/website-image.yml",
"old": "--build-arg OW_SECURITY_FEED \\",
"new": "\\",
"tests": "WF"
}
]
}
23 changes: 23 additions & 0 deletions docs-tech/mutations/v2.5.1-changelog-2-0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"test_groups": {
"C": [
"tests/test_changelog_page.py"
]
},
"mutations": [
{
"id": "SERIES-2-0-NOT-ARCHIVED",
"file": "scripts/render_changelog.py",
"old": "ARCHIVED = (\"2.0\", \"1\", \"0\")",
"new": "ARCHIVED = (\"1\", \"0\")",
"tests": "C"
},
{
"id": "SERIES-MATCHES-PREFIX-ONLY",
"file": "scripts/render_changelog.py",
"old": "version.name.startswith(f\"{s}.\")",
"new": "version.name.startswith(s)",
"tests": "C"
}
]
}
9 changes: 5 additions & 4 deletions docs/_data/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,11 @@ groups:
default: <code>json</code>
- name: UPDATE_CHECK_ENABLED
need: optional
description: Set to <code>true</code> to let OpenWhistle check GitHub once a day for a newer release,
shown on the <strong>Admin → System</strong> page. Off by default (no external calls); sends no
instance data to GitHub — only a standard request.
default: <code>false</code>
description: Once a day OpenWhistle fetches <code>openwhistle.net/security.json</code>, the latest
release and the published security advisories, shown on <strong>Admin → System</strong> and the
dashboard. The site sees the server's IP address and logs nothing; no instance data is sent. Set
<code>false</code> for an air-gapped server.
default: <code>true</code>
- name: TELEMETRY_ENABLED
need: optional
description: 'The daily <a href="/en/docs/install-count/">installation count</a>. Unset or empty:
Expand Down
2 changes: 1 addition & 1 deletion docs/_diagrams/architecture.de.drawio
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<mxCell id="outbound" value="ausgehend" style="ow:group" vertex="1" parent="1">
<mxGeometry x="500" y="350" width="380" height="112" as="geometry"/>
</mxCell>
<mxCell id="github" value="GitHub-API&#xa;Update-Prüfung, opt-in" style="ow:step" vertex="1" parent="outbound">
<mxCell id="github" value="openwhistle.net&#xa;Update-Prüfung" style="ow:step" vertex="1" parent="outbound">
<mxGeometry x="16" y="42" width="190" height="52" as="geometry"/>
</mxCell>
<mxCell id="telemetry" value="telemetry.wdkro.de&#xa;opt-in" style="ow:step" vertex="1" parent="outbound">
Expand Down
2 changes: 1 addition & 1 deletion docs/_diagrams/architecture.drawio
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<mxCell id="outbound" value="outbound" style="ow:group" vertex="1" parent="1">
<mxGeometry x="500" y="350" width="380" height="112" as="geometry"/>
</mxCell>
<mxCell id="github" value="GitHub API&#xa;update check, opt-in" style="ow:step" vertex="1" parent="outbound">
<mxCell id="github" value="openwhistle.net&#xa;update check" style="ow:step" vertex="1" parent="outbound">
<mxGeometry x="16" y="42" width="190" height="52" as="geometry"/>
</mxCell>
<mxCell id="telemetry" value="telemetry.wdkro.de&#xa;opt-in" style="ow:step" vertex="1" parent="outbound">
Expand Down
8 changes: 4 additions & 4 deletions docs/de/blog/hinweisgebersystem-dsgvo-eu-hosting.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
translation_key: whistleblowing-system-gdpr-eu-hosting
og_type: article
published: '2026-09-27'
modified: '2026-10-27'
modified: '2026-11-04'
css:
- post
js:
Expand All @@ -19,7 +19,7 @@
'@type': WebPage
'@id': https://openwhistle.net/de/blog/hinweisgebersystem-dsgvo-eu-hosting/
datePublished: '2026-09-27'
dateModified: '2026-10-27'
dateModified: '2026-11-04'
author:
'@type': Organization
name: OpenWhistle Contributors
Expand Down Expand Up @@ -58,7 +58,7 @@ <h1 class="article-title">Hinweisgebersystem mit EU-Hosting und DSGVO: wo die Da
<p class="article-subtitle">Selbst gehostet liegen alle Meldungen auf dem Server des Betreibers, in der EU, wenn er sie dort betreibt. Was OpenWhistle verschlüsselt, was es nie speichert und was die DSGVO beim Betreiber lässt.</p>
<div class="article-meta">
<span>27. September 2026</span>
<span>Aktualisiert am 27. Oktober 2026</span>
<span>Aktualisiert am 4. November 2026</span>
<span>5 Min. Lesezeit</span>
<span>OpenWhistle Contributors</span>
</div>
Expand Down Expand Up @@ -123,7 +123,7 @@ <h2>Was OpenWhistle nie speichert</h2>
<ul>
<li><strong>IP-Adressen.</strong> nginx entfernt die IP-Header und schreibt kein Zugriffsprotokoll <a class="cite" href="#q3">[3]</a>. Die App verwirft die Adresse, die Datenbank hat keine IP-Spalte.</li>
<li><strong>Uhrzeiten der meldenden Person.</strong> Meldung, Nachrichten und Anhänge tragen nur das Datum.</li>
<li><strong>Daten für Dritte.</strong> Jede Anfrage nach außen ist optional und <a href="/en/docs/outbound/" hreflang="en">in der Dokumentation aufgelistet</a>. Update-Prüfung und Installationszählung sind aus, bis Sie sie einschalten.</li>
<li><strong>Daten für Dritte.</strong> Jede Anfrage nach außen ist optional und <a href="/en/docs/outbound/" hreflang="en">in der Dokumentation aufgelistet</a>. Die Installationszählung ist aus, bis Sie sie einschalten. Die Update-Prüfung ruft täglich eine Datei von openwhistle.net ab und lässt sich abschalten.</li>
</ul>

<h2>Ist ein Hinweisgebersystem DSGVO-konform?</h2>
Expand Down
10 changes: 5 additions & 5 deletions docs/de/blog/interne-meldestelle-kostenlos.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
translation_key: free-internal-reporting-channel
og_type: article
published: '2026-09-27'
modified: '2026-10-27'
modified: '2026-11-04'
section: Praxis
css:
- post
Expand All @@ -20,7 +20,7 @@
'@type': WebPage
'@id': https://openwhistle.net/de/blog/interne-meldestelle-kostenlos/
datePublished: '2026-09-27'
dateModified: '2026-10-27'
dateModified: '2026-11-04'
author:
'@type': Organization
name: OpenWhistle Contributors
Expand Down Expand Up @@ -59,7 +59,7 @@ <h1 class="article-title">Interne Meldestelle kostenlos: was „kostenlos“ wir
<p class="article-subtitle">Die Software für eine interne Meldestelle kostenlos zu bekommen, ist leicht. Die Pflichten des HinSchG bleiben trotzdem. Was an Server, Betrieb und Arbeit übrig bleibt, welche Optionen es gibt und wie Sie mit OpenWhistle anfangen.</p>
<div class="article-meta">
<span>27. September 2026</span>
<span>Aktualisiert am 27. Oktober 2026</span>
<span>Aktualisiert am 4. November 2026</span>
<span>6 Min. Lesezeit</span>
<span>OpenWhistle Contributors</span>
</div>
Expand Down Expand Up @@ -103,8 +103,8 @@ <h2>Was Sie selbst betreiben</h2>
<p>So sieht der Stack aus, den OpenWhistle mit Docker Compose startet. Pflicht sind App, PostgreSQL und Redis hinter nginx. ClamAV und S3 sind optional.</p>

<figure class="diagram">
<img class="diagram-light" src="/img/diagrams/architecture.de-light.svg" alt="Aufbau: Ein Browser erreicht nginx über TLS auf Port 443, Port 80 leitet um. Tor Browser erreicht den Onion-Zugang auf 8080, nur an 127.0.0.1 gebunden. Beide führen zur zustandslosen FastAPI-App. Sie braucht PostgreSQL und Redis, kann ClamAV und S3 nutzen und stellt zwei abschaltbare Anfragen nach außen: die GitHub-Update-Prüfung und die Installationszählung." width="905" height="487" loading="lazy">
<img class="diagram-dark" src="/img/diagrams/architecture.de-dark.svg" alt="Aufbau: Ein Browser erreicht nginx über TLS auf Port 443, Port 80 leitet um. Tor Browser erreicht den Onion-Zugang auf 8080, nur an 127.0.0.1 gebunden. Beide führen zur zustandslosen FastAPI-App. Sie braucht PostgreSQL und Redis, kann ClamAV und S3 nutzen und stellt zwei abschaltbare Anfragen nach außen: die GitHub-Update-Prüfung und die Installationszählung." width="905" height="487" loading="lazy">
<img class="diagram-light" src="/img/diagrams/architecture.de-light.svg" alt="Aufbau: Ein Browser erreicht nginx über TLS auf Port 443, Port 80 leitet um. Tor Browser erreicht den Onion-Zugang auf 8080, nur an 127.0.0.1 gebunden. Beide führen zur zustandslosen FastAPI-App. Sie braucht PostgreSQL und Redis, kann ClamAV und S3 nutzen und stellt zwei abschaltbare Anfragen nach außen: die Update-Prüfung bei openwhistle.net und die Installationszählung." width="905" height="487" loading="lazy">
<img class="diagram-dark" src="/img/diagrams/architecture.de-dark.svg" alt="Aufbau: Ein Browser erreicht nginx über TLS auf Port 443, Port 80 leitet um. Tor Browser erreicht den Onion-Zugang auf 8080, nur an 127.0.0.1 gebunden. Beide führen zur zustandslosen FastAPI-App. Sie braucht PostgreSQL und Redis, kann ClamAV und S3 nutzen und stellt zwei abschaltbare Anfragen nach außen: die Update-Prüfung bei openwhistle.net und die Installationszählung." width="905" height="487" loading="lazy">
<figcaption>Der OpenWhistle-Stack. Beide Anfragen nach außen sind aus, bis Sie sie einschalten.</figcaption>
</figure>

Expand Down
2 changes: 1 addition & 1 deletion docs/de/blog/whistleblower-software-vergleich.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ <h2>GlobaLeaks: die ausgereifte Referenz</h2>
</thead>
<tbody>
<tr><td>Seit</td><td data-label="GlobaLeaks">2011 <a class="cite" href="#q1">[1]</a></td><td class="col-ow" data-label="OpenWhistle">April 2026 (0.1.0)</td></tr>
<tr><td>Aktuelles Release</td><td data-label="GlobaLeaks">5.0.99, 26. Juli 2026 <a class="cite" href="#q3">[3]</a></td><td class="col-ow" data-label="OpenWhistle">2.4.2, 4. November 2026</td></tr>
<tr><td>Aktuelles Release</td><td data-label="GlobaLeaks">5.0.99, 26. Juli 2026 <a class="cite" href="#q3">[3]</a></td><td class="col-ow" data-label="OpenWhistle">2.5.1, 4. November 2026</td></tr>
<tr><td>Lizenz</td><td data-label="GlobaLeaks">AGPL-3.0 <a class="cite" href="#q2">[2]</a></td><td class="col-ow" data-label="OpenWhistle">GPL-3.0</td></tr>
<tr><td>Programmiersprache</td><td data-label="GlobaLeaks">Python, TypeScript <a class="cite" href="#q2">[2]</a></td><td class="col-ow" data-label="OpenWhistle">Python</td></tr>
<tr><td>Installation</td><td data-label="GlobaLeaks">Debian, Ubuntu; Docker <a class="cite" href="#q4">[4]</a> <a class="cite" href="#q5">[5]</a></td><td class="col-ow" data-label="OpenWhistle">Docker Compose, Helm</td></tr>
Expand Down
4 changes: 2 additions & 2 deletions docs/de/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
price: '0'
priceCurrency: EUR
license: https://www.gnu.org/licenses/gpl-3.0.html
softwareVersion: 2.4.2
softwareVersion: 2.5.1
downloadUrl: https://github.com/openwhistle/OpenWhistle/releases/latest
installUrl: https://openwhistle.net/en/docs/install/
softwareHelp:
Expand Down Expand Up @@ -179,7 +179,7 @@ <h1 class="hero-headline" id="hero-heading">
</div>

<div class="hero-meta" role="list">
<span class="hero-meta-item" role="listitem">Version 2.4.2</span>
<span class="hero-meta-item" role="listitem">Version 2.5.1</span>
<span class="hero-meta-item" role="listitem">GPL-3.0</span>
<span class="hero-meta-item" role="listitem">Python 3.15</span>
<span class="hero-meta-item" role="listitem">Docker</span>
Expand Down
Loading
Loading