Drop Less support: The style.less and themes/libreqr/theme.php files are converted to plain CSS.
The main Less features used in LibreQR were variables and selector nesting, but since CSS custom properties and nesting are now widely supported across browsers, the less.php dependency can be ditched.
To read the background color for contrast improvement, a regex is used on the theme CSS file.
(5468a43a2f)
Format locales according to Weblate
(f3e2249a84)
Estonian Translation (eb0ea03857)
doc: Add link to Weblate + enhance markup
(49394ebd9b)
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