Public REST API implementation to handle peers, interfaces and users. It also includes some simple provisioning endpoints.
The Swagger API documentation is available under /api/v1/doc.html
* Added peers sorting for Interface and Profile views
* Use ip-address package to sort with IPv6 addresses only
* Add RX/TX column and fix add-peer button title
To fix that, the method peers.LoadStats() is simply also called together
with peers.LoadPeers() when the @change handler is activated on the
interface selector element.
Co-authored-by: Tim Dithmer <tim.dithmer@suresecure.de>
* refactor: add space for language title
* feat: add overflow-break to text-wrap class
* feat: add public key text wrapping for interfaces
* refactor: get rid of getlang function and set locale during initialization
fix: show english flag when locale does not match
* refactor: bind header logo alt attribute to companyName
* refactor: add language name to german
* refactor: add language name to russian
* refactor: add language name to english
Initial alpha codebase for version 2 of WireGuard Portal.
This version is considered unstable and incomplete (for example, no public REST API)!
Use with care!
Fixes/Implements the following issues:
- OAuth support #154, #1
- New Web UI with internationalisation support #98, #107, #89, #62
- Postgres Support #49
- Improved Email handling #47, #119
- DNS Search Domain support #46
- Bugfixes #94, #48
---------
Co-authored-by: Fabian Wechselberger <wechselbergerf@hotmail.com>