luci/protocols
Jo-Philipp Wich 9ba20645b0 luci-proto-wireguard: rewrite protocol handler
This commit rewrites large chunks of the WireGuard protocol handler in order
to simplify the process of importing and exporting configuration. The major
changes are:

1) The wireguard interface configuration tab (General Settings) gained an
   import assistant which allows dragging or pasting a native WireGuard
   configuration file in order to import required settrings into uci

2) The peer configuration tab gained a similar import assistant which allows
   importing the settings for a WireGuard peer from an existing native
   WireGuard configuration file

3) The QR code export feature has been rewritten to make the resulting codes
   actually useful for importing into a WireGuard client application.
   Additionally the plaintext native WireGuard configuration is displayed
   to allow copy-pasting it for use on a Linux or OS X system

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-05-17 15:45:20 +02:00
..
luci-proto-3g protocols: make APN option optional again 2021-08-19 08:59:17 +02:00
luci-proto-batman-adv luci-proto-batman-adv: add luci-proto-batman-adv 2022-04-14 15:08:09 +02:00
luci-proto-bonding Merge pull request #5190 from TDT-AG/pr/20210715-proto-bonding 2021-08-09 19:47:23 +02:00
luci-proto-gre protocols: unify TOS and TTL description strings 2021-06-07 13:59:03 +02:00
luci-proto-hnet treewide: drop MAC and MTU from interfaces (protocols) 2021-05-28 15:34:41 +02:00
luci-proto-ipip luci-proto-ipip: add nohostroute configurable 2022-01-19 23:09:00 +00:00
luci-proto-ipv6 treewide: drop MAC and MTU from interfaces (protocols) 2021-05-28 15:34:41 +02:00
luci-proto-modemmanager protocols: make APN option optional again 2021-08-19 08:59:17 +02:00
luci-proto-ncm protocols: make APN option optional again 2021-08-19 08:59:17 +02:00
luci-proto-openconnect treewide: remove rendundant proto handler options 2021-03-15 11:41:44 +01:00
luci-proto-openfortivpn luci-proto-openfortivpn: update config option names 2020-08-26 21:54:06 -04:00
luci-proto-ppp treewide: consolidate {IPv4,IPv6,MAC} {address,gateway} spellings 2021-06-07 12:48:08 +02:00
luci-proto-pppossh treewide: consolidate {IPv4,IPv6,MAC} {address,gateway} spellings 2021-06-07 12:48:08 +02:00
luci-proto-qmi protocols: make APN option optional again 2021-08-19 08:59:17 +02:00
luci-proto-relay treewide: move templates and libraries not used by the core to luci-compat 2019-11-03 17:56:58 +01:00
luci-proto-sstp protocols: fix interface.ipv6 vs. device.ipv6 option conflict 2021-03-29 22:35:46 +02:00
luci-proto-vpnc treewide: remove rendundant proto handler options 2021-03-15 11:41:44 +01:00
luci-proto-vxlan treewide: drop MAC and MTU from interfaces (protocols) 2021-05-28 15:34:41 +02:00
luci-proto-wireguard luci-proto-wireguard: rewrite protocol handler 2022-05-17 15:45:20 +02:00
luci-proto-xfrm luci-proto-xfrm: add xfrm proto support 2022-01-19 22:35:33 +08:00