README: Projekt liegt auf Forgejo, nicht mehr auf GitHub
Some checks are pending
CI / PHP Lint (push) Waiting to run
CI / PHP Lint-1 (push) Waiting to run
CI / Unit Tests & Static Analysis (push) Waiting to run
CI / PHP Lint (pull_request) Waiting to run
CI / PHP Lint-1 (pull_request) Waiting to run
CI / Unit Tests & Static Analysis (pull_request) Waiting to run
Some checks are pending
CI / PHP Lint (push) Waiting to run
CI / PHP Lint-1 (push) Waiting to run
CI / Unit Tests & Static Analysis (push) Waiting to run
CI / PHP Lint (pull_request) Waiting to run
CI / PHP Lint-1 (pull_request) Waiting to run
CI / Unit Tests & Static Analysis (pull_request) Waiting to run
- CI-Badge von github.com entfernt (zeigte ins Leere); stattdessen ein statisches Test-Badge und ein Link zum Repository - Clone-Befehl in der Installation auf git.loheide.cloud umgestellt - neuer Abschnitt "Repository & Mitwirken" mit HTTPS-/SSH-Adressen, Hinweis auf Issues und Pull Requests sowie der tea-CLI - vermerkt, dass .github/workflows von Forgejo Actions mitgelesen wird und docker-publish.yml (ghcr.io) noch aus der GitHub-Zeit stammt - klargestellt, dass der Auto-Updater unabhängig davon über update.loheide.eu läuft - Entwicklungs-Abschnitt nennt jetzt auch die CI-Prüfungen der Sprachdateien - composer.json: homepage, authors und support-Links ergänzt Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
068f6c08f9
commit
5f7c503dff
2 changed files with 59 additions and 5 deletions
53
Readme.md
53
Readme.md
|
|
@ -11,7 +11,8 @@ Entwickelt von **[Loheide.eu](https://loheide.eu)**
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|
[](https://git.loheide.cloud/friloo/Unifi-Voucher-Tool)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -142,8 +143,8 @@ Entwickelt von **[Loheide.eu](https://loheide.eu)**
|
||||||
## 🚀 Installation
|
## 🚀 Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/friloo/unifi-voucher-tool.git
|
git clone https://git.loheide.cloud/friloo/Unifi-Voucher-Tool.git
|
||||||
cd unifi-voucher-tool
|
cd Unifi-Voucher-Tool
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Dateien auf den Webserver hochladen
|
1. Dateien auf den Webserver hochladen
|
||||||
|
|
@ -514,10 +515,52 @@ Tests und statische Analyse:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
composer install
|
composer install
|
||||||
vendor/bin/phpunit
|
vendor/bin/phpunit # 29 Tests (Crypto, TOTP, API-Keys, Upload, Ui)
|
||||||
vendor/bin/phpstan analyse
|
vendor/bin/phpstan analyse # Level 5
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Die Pipeline (`.github/workflows/ci.yml`) führt zusätzlich einen
|
||||||
|
Syntax-Check über alle PHP-Dateien aus und prüft, ob `lang/de.php` und
|
||||||
|
`lang/en.php` dieselben Schlüssel enthalten und jeder im Code verwendete
|
||||||
|
Schlüssel existiert. Dieselben Schritte lassen sich lokal ausführen.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📦 Repository & Mitwirken
|
||||||
|
|
||||||
|
Der Quellcode liegt auf der eigenen Forgejo-Instanz – **nicht** auf GitHub:
|
||||||
|
|
||||||
|
**<https://git.loheide.cloud/friloo/Unifi-Voucher-Tool>**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# HTTPS
|
||||||
|
git clone https://git.loheide.cloud/friloo/Unifi-Voucher-Tool.git
|
||||||
|
|
||||||
|
# SSH (Port 2222)
|
||||||
|
git clone ssh://git@git.loheide.cloud:2222/friloo/Unifi-Voucher-Tool.git
|
||||||
|
```
|
||||||
|
|
||||||
|
Fehlerberichte und Änderungsvorschläge laufen über die **Issues** und **Pull
|
||||||
|
Requests** dort. Für die Kommandozeile eignet sich [`tea`](https://gitea.com/gitea/tea),
|
||||||
|
die Gitea-/Forgejo-CLI:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
tea pr create # Pull Request öffnen
|
||||||
|
tea issues ls # offene Tickets ansehen
|
||||||
|
```
|
||||||
|
|
||||||
|
> Die Workflows unter `.github/workflows/` werden von Forgejo Actions
|
||||||
|
> mitgelesen; das Badge oben ist bewusst statisch, solange kein Runner
|
||||||
|
> registriert ist. `docker-publish.yml` veröffentlicht nach `ghcr.io` und
|
||||||
|
> stammt noch aus der GitHub-Zeit – für den Forgejo-Betrieb entweder auf die
|
||||||
|
> eigene Registry umstellen oder entfernen.
|
||||||
|
|
||||||
|
Der **Auto-Updater** ist davon unabhängig: er zieht seine Pakete über
|
||||||
|
`update.loheide.eu` (Channels `stable` und `development`) und nicht direkt aus
|
||||||
|
dem Git-Hoster.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## 🗺️ Roadmap
|
## 🗺️ Roadmap
|
||||||
|
|
||||||
- [x] Voucher-Templates (vordefinierte Laufzeiten)
|
- [x] Voucher-Templates (vordefinierte Laufzeiten)
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,17 @@
|
||||||
"name": "friloo/unifi-voucher-tool",
|
"name": "friloo/unifi-voucher-tool",
|
||||||
"description": "Webbasiertes WLAN-Voucher-Management für UniFi OS",
|
"description": "Webbasiertes WLAN-Voucher-Management für UniFi OS",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"homepage": "https://git.loheide.cloud/friloo/Unifi-Voucher-Tool",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Friederich Loheide",
|
||||||
|
"homepage": "https://loheide.eu"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://git.loheide.cloud/friloo/Unifi-Voucher-Tool/issues",
|
||||||
|
"source": "https://git.loheide.cloud/friloo/Unifi-Voucher-Tool"
|
||||||
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.4"
|
"php": ">=7.4"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue