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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
v=$(node -p "require('./package.json').version")
grep -q "Hornetsecurity Report Viewer v$v" "$f"
grep -q "office@chrive-solutions.at" "$f"
grep -q "PolyForm Shield 1.0.0" "$f"
grep -q "^# PolyForm Shield License 1.0.0$" LICENSE
! grep -q "__VERSION__\|/\*__CORE__\*/\|/\*__UI__\*/" "$f"
! grep -qE "<script[^>]+src=|<link[^>]+href=\"https?:" "$f"
echo "OK: $f (v$v) ist eigenständig, Version und Lizenzhinweis vorhanden."
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Versionierung nach [Semantic Versioning](https://semver.org/lang/de/).

## [Unreleased]

## [2.0.0] - 2026-10-23

Lizenzwechsel auf PolyForm Shield 1.0.0; dazu Linter, Doku-Gate und Abhängigkeitsprüfung als
Pull-Request-Checks. Die Auswertung selbst ist unverändert.

### Hinzugefügt

- Linter als Pull-Request-Check: ESLint, markdownlint und PSScriptAnalyzer (`npm run lint`).
Expand All @@ -17,6 +22,9 @@ Versionierung nach [Semantic Versioning](https://semver.org/lang/de/).

### Geändert

- **Lizenz:** PolyForm Shield License 1.0.0 statt MIT. Nutzung bleibt kostenlos, auch in Firmen und
in veränderter Form; Verkauf, Weitergabe oder Betrieb als konkurrierendes Produkt nur mit Vereinbarung.
Version 1.0.0 bleibt unter der MIT-Lizenz. Fußzeile, README und `package.json` angepasst.
- Entwicklung benötigt Node.js ≥ 22.13 (Linter); die ausgelieferte HTML-Datei bleibt ohne Abhängigkeiten.
- `build.ps1` als UTF-8 mit BOM gespeichert, damit Windows PowerShell 5.1 Umlaute in
Meldungen korrekt anzeigt; Statusausgabe über `Write-Output`.
Expand Down Expand Up @@ -48,5 +56,6 @@ Erste öffentliche Version.
- CI mit Gates: Daten-Gate gegen echte Reportdaten, Syntax-Prüfung, Tests, Build-Prüfung;
Release-Workflow mit SHA-256-Prüfsumme.

[Unreleased]: https://github.com/Computerhof/Hornetsecurity-Report-Viewer/compare/v1.0.0...HEAD
[Unreleased]: https://github.com/Computerhof/Hornetsecurity-Report-Viewer/compare/v2.0.0...HEAD
[2.0.0]: https://github.com/Computerhof/Hornetsecurity-Report-Viewer/releases/tag/v2.0.0
[1.0.0]: https://github.com/Computerhof/Hornetsecurity-Report-Viewer/releases/tag/v1.0.0
8 changes: 7 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,10 @@ Commit-Präfixe: `feat:`, `fix:`, `docs:`, `test:`, `refactor:`, `chore:`.
4. Schlägt der Release fehl, nach der Korrektur auf `main` neu starten, ohne den Tag zu verschieben:
`gh workflow run release.yml -f tag=v1.2.3`.

Mit dem Einreichen eines Beitrags stimmen Sie zu, dass er unter der [MIT-Lizenz](LICENSE) steht.
## Lizenz von Beiträgen

Das Projekt steht unter der [PolyForm Shield License 1.0.0](LICENSE). Mit dem Einreichen eines
Beitrags bestätigen Sie, dass Sie ihn selbst verfasst haben oder die Rechte daran besitzen, und
räumen chrive-solutions e.U. das unbefristete, unentgeltliche und nicht ausschließliche Recht ein,
den Beitrag zu nutzen, zu verändern und unter der PolyForm Shield License 1.0.0 oder einer anderen
Lizenz zu verbreiten.
124 changes: 103 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,103 @@
MIT License

Copyright (c) 2026 chrive-solutions e.U.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Required Notice: Copyright (c) 2026 chrive-solutions e.U. (https://chrive-solutions.at)
Licensor Line of Business: Hornetsecurity Report Viewer – Software zur Auswertung und Darstellung von Security-Awareness-Reports

Kurzfassung (unverbindlich, maßgeblich ist der englische Lizenztext unten):
Den Hornetsecurity Report Viewer darf jeder kostenlos nutzen, privat und in der Firma, auch verändert für eigene
Zwecke. Nicht erlaubt ist, ein Produkt anzubieten, das mit dem Viewer konkurriert, z. B. den Viewer oder eine
veränderte Fassung zu verkaufen, weiterzugeben oder als Dienst anzubieten, auch kostenlos. Wer das möchte, braucht
eine Vereinbarung mit chrive-solutions e.U. (office@chrive-solutions.at).

Versionen bis einschließlich 1.0.0 wurden unter der MIT-Lizenz veröffentlicht; für diese Versionen gilt weiterhin
die MIT-Lizenz. Diese Lizenz gilt für alle späteren Versionen.

------------------------------------------------------------------------------------------------------------------

# PolyForm Shield License 1.0.0

<https://polyformproject.org/licenses/shield/1.0.0>

## Acceptance

In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.

## Copyright License

The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license).

## Distribution License

The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license).

## Notices

You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:

> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)

## Changes and New Works License

The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.

## Patent License

The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.

## Noncompete

Any purpose is a permitted purpose, except for providing any product that competes with the software or any product the licensor or any of its affiliates provides using the software.

## Competition

Goods and services compete even when they provide functionality through different kinds of interfaces or for different technical platforms. Applications can compete with services, libraries with plugins, frameworks with development tools, and so on, even if they're written in different programming languages or for different computer architectures. Goods and services compete even when provided free of charge. If you market a product as a practical substitute for the software or another product, it definitely competes.

## New Products

If you are using the software to provide a product that does not compete, but the licensor or any of its affiliates brings your product into competition by providing a new version of the software or another product using the software, you may continue using versions of the software available under these terms beforehand to provide your competing product, but not any later versions.

## Discontinued Products

You may begin using the software to compete with a product or service that the licensor or any of its affiliates has stopped providing, unless the licensor includes a plain-text line beginning with `Licensor Line of Business:` with the software that mentions that line of business. For example:

> Licensor Line of Business: YoyodyneCMS Content Management System (http://example.com/cms)

## Sales of Business

If the licensor or any of its affiliates sells a line of business developing the software or using the software to provide a product, the buyer can also enforce [Noncompete](#noncompete) for that product.

## Fair Use

You may have "fair use" rights for the software under the law. These terms do not limit them.

## No Other Rights

These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.

## Patent Defense

If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.

## Violations

The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.

## No Liability

***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***

## Definitions

The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.

A **product** can be a good or service, or a combination of them.

**You** refers to the individual or entity agreeing to these terms.

**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all its affiliates.

**Affiliates** means the other organizations than an organization has control over, is under the control of, or is under common control with.

**Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.

**Your licenses** are all the licenses granted to you for the software under these terms.

**Use** means anything you do with the software requiring one of your licenses.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![CI](https://github.com/Computerhof/Hornetsecurity-Report-Viewer/actions/workflows/ci.yml/badge.svg)](https://github.com/Computerhof/Hornetsecurity-Report-Viewer/actions/workflows/ci.yml)
[![Release](https://img.shields.io/github/v/release/Computerhof/Hornetsecurity-Report-Viewer)](https://github.com/Computerhof/Hornetsecurity-Report-Viewer/releases/latest)
[![Lizenz: MIT](https://img.shields.io/badge/Lizenz-MIT-blue.svg)](LICENSE)
[![Lizenz: PolyForm Shield 1.0.0](https://img.shields.io/badge/Lizenz-PolyForm%20Shield%201.0.0-blue.svg)](LICENSE)

Macht aus dem monatlichen Report des **Hornetsecurity Security Awareness Service** (ZIP mit vier
CSV-Dateien) ein übersichtliches, interaktives Dashboard. Es ist eine einzige HTML-Datei:
Expand Down Expand Up @@ -151,7 +151,18 @@ Mehr dazu in [CONTRIBUTING.md](CONTRIBUTING.md). Sicherheitsthemen: [SECURITY.md

## Lizenz und Kontakt

© 2026 **chrive-solutions e.U.**, veröffentlicht unter der [MIT-Lizenz](LICENSE).
© 2026 **chrive-solutions e.U.**, veröffentlicht unter der
[PolyForm Shield License 1.0.0](LICENSE).

- **Erlaubt:** den Viewer kostenlos nutzen, privat und in der Firma, auch verändert für eigene Zwecke.
- **Nicht erlaubt:** ein Produkt anbieten, das mit dem Viewer konkurriert, also den Viewer oder eine
veränderte Fassung verkaufen, weitergeben oder als Dienst anbieten, auch kostenlos. Dafür ist eine
Vereinbarung mit chrive-solutions e.U. nötig.

Diese Kurzfassung ist unverbindlich; maßgeblich ist der englische Lizenztext in [LICENSE](LICENSE).
Die PolyForm Shield License ist keine Open-Source-Lizenz im Sinne der OSI: Der Quelltext ist offen
einsehbar, die Weitergabe ist eingeschränkt. Version 1.0.0 wurde unter der MIT-Lizenz veröffentlicht
und bleibt unter dieser Lizenz.

Kontakt: [office@chrive-solutions.at](mailto:office@chrive-solutions.at) ·
[chrive-solutions.at](https://chrive-solutions.at)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "hornetsecurity-report-viewer",
"version": "1.0.0",
"version": "2.0.0",
"description": "Portabler Offline-Viewer für die monatlichen Reports des Hornetsecurity Security Awareness Service (ZIP mit 4 CSVs → HTML-Dashboard).",
"private": true,
"license": "MIT",
"license": "SEE LICENSE IN LICENSE",
"author": "chrive-solutions e.U. <office@chrive-solutions.at> (https://chrive-solutions.at)",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ <h2 id="report-title">Security-Awareness-Report</h2>
<span>Hornetsecurity Report Viewer v__VERSION__ · verarbeitet alles lokal im Browser, keine Internetverbindung nötig</span>
<button class="link-btn" id="btn-clear-history" hidden>Monats-Verlauf zurücksetzen</button>
<p class="footer-legal" id="footer-legal">
© 2026 chrive-solutions e.U. · Veröffentlicht unter der MIT-Lizenz ·
© 2026 chrive-solutions e.U. · Lizenz: PolyForm Shield 1.0.0 (kostenlos nutzbar, Weitervertrieb nur mit Vereinbarung) ·
Kontakt: <a href="mailto:office@chrive-solutions.at">office@chrive-solutions.at</a> ·
<a href="https://chrive-solutions.at" target="_blank" rel="noopener noreferrer">chrive-solutions.at</a> ·
Quellcode: <a href="https://github.com/Computerhof/Hornetsecurity-Report-Viewer" target="_blank" rel="noopener noreferrer">github.com/Computerhof/Hornetsecurity-Report-Viewer</a><br>
Expand Down
Loading