Commit graph

5 commits

Author SHA1 Message Date
Oldřich Jedlička
7a42a6eaec luci-app-fwknopd: Show QR codes for custom configuration.
* Addsed /etc/fwknop/access.conf parsing to show QR codes.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2020-10-31 09:41:19 +01:00
Oldřich Jedlička
e24415ac12 luci-app-fwknopd: Client-side rendering and improvements/fixes.
* Use client-side rendering.
 * Asynchronous QR code generation and on-the-fly updates.
 * Added button to generate keys.
 * Added keys validation (empty, __CHANGEME__ and CHANGEME values are not
   valid).
 * Added SOURCE option non-empty validation (SOURCE is mandatory field).
 * Added network and DESTINATION options.
 * Use checkboxes for Y/N options instead of text fields.
 * Fix the qrencode tool, which currently has only `--inline` option, not
   `-I`. Use `--inline` instead.
 * Improve configuration handling by removing the key type from the config
   file. The key type is deduced from the actual values (normal/base64).
 * Provide migration script (clean-up of stale keytype/hkeytype values in
   config).
 * Fixed usage of translations.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2020-10-31 09:40:38 +01:00
Jo-Philipp Wich
8f34e105c0 treewide: add ACL annotations to menu entries
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 12:40:31 +02:00
Jo-Philipp Wich
43e872871a treewide: stage ACL rules for legacy applications
Fixes: #3866
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-10 23:21:35 +02:00
Jo-Philipp Wich
625abbfdbe treewide: convert simple Lua controllers to declarative JSON
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-05 16:52:58 +01:00