Compare commits
No commits in common. "b7f13d8fac9de7d592bf8fe9f566cce2d3f3ef20" and "068f6c08f9e1f2adfc8bb1b6f2f8a9030dc85339" have entirely different histories.
b7f13d8fac
...
068f6c08f9
2 changed files with 5 additions and 59 deletions
53
Readme.md
53
Readme.md
|
|
@ -11,8 +11,7 @@ Entwickelt von **[Loheide.eu](https://loheide.eu)**
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
[](https://git.loheide.cloud/friloo/Unifi-Voucher-Tool)
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -143,8 +142,8 @@ Entwickelt von **[Loheide.eu](https://loheide.eu)**
|
||||||
## 🚀 Installation
|
## 🚀 Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://git.loheide.cloud/friloo/Unifi-Voucher-Tool.git
|
git clone https://github.com/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
|
||||||
|
|
@ -515,52 +514,10 @@ Tests und statische Analyse:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
composer install
|
composer install
|
||||||
vendor/bin/phpunit # 29 Tests (Crypto, TOTP, API-Keys, Upload, Ui)
|
vendor/bin/phpunit
|
||||||
vendor/bin/phpstan analyse # Level 5
|
vendor/bin/phpstan analyse
|
||||||
```
|
```
|
||||||
|
|
||||||
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,17 +2,6 @@
|
||||||
"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