* Add dynamic Mikrotik peer support & UI/i18n
Introduce handling for dynamically created Mikrotik peers: add Dynamic/IsDynamic fields to domain, peer and interface models and API models; include "dynamic" in Mikrotik queries; skip updates/deletes for dynamic peers; sync dynamic flag when restoring state. Prevent modifying/deleting dynamic peers in manager. UI: disable selection/edit for dynamic peers and show badge. Implement Mikrotik interface hook execution. Add i18n keys/translations for dynamic-peer messages across languages.
* Fix Mikrotik hooks implementation and UI visibility
* 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>