Add QR code type "Wifi" + handle every request in index.php (#27)

QR codes types can now be chosen between the default text mode and the Wifi mode.

The WiFi form is on a dedicated page, and that has been implemented by managing every HTTP request from index.php

For more information about the format used for Wifi QR codes check https://github.com/zxing/zxing/wiki/Barcode-Contents#wi-fi-network-config-android-ios-11

Co-authored-by: Miraty <miraty+git@antopie.org>
Reviewed-on: #27 (https://code.antopie.org/miraty/libreqr/issues/27)
Reviewed-by: Miraty <miraty@noreply.code.antopie.org>
Co-authored-by: Denise <denisebitca@42l.fr>
Co-committed-by: Denise <denisebitca@42l.fr>

e4491752f2
This commit is contained in:
FbIN Support 2025-09-07 17:17:32 +05:30
commit 1df83b89a1
8 changed files with 362 additions and 156 deletions

View file

@ -8,6 +8,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
### Added
* Wifi QR code type (PR [#27](https://code.antopie.org/miraty/libreqr/pulls/27))<br>
**Breaking**: HTTP requests for `wifi` needs to be forwarded to the `index.php` endpoint.<br>
To ease with webserver configuration, `index.php` is now able to serve any HTTP ressource that is used in the LibreQR interface. This means that every request can be forwarded to `index.php`.
* German localization (PR [#25](https://code.antopie.org/miraty/libreqr/pulls/25))
## 2.0.1 - 2023-07-08