mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
feat: awg 2 support (#1836)
* Add updated awg container * add missing files * Hide uninstalled AwgLegacy container * Fix resources file * Add role for allowed for installation containers * Add native config sharing for new Awg container * Fix not opening awg settings * Remove AwgLegacy from wizard manual installation page * Fix AmneziaWG settings * chore: update link to submodule * refactor: remove j1-j3 and itime * chore: return s3 s4 fields to ui * fix: awg2 native config compatability * chore: update packet size validation * feat: add awg2 support in self-hosted containers * fix: delete parameters from server config * feat: add H-parameters validation as a strings * chore: update link to submodule * chore: add containers type for awg 1.5 and awg 2 * chore: fixed s3/s4 visibility for awg 1 --------- Co-authored-by: aiamnezia <ai@amnezia.org>
This commit is contained in:
@@ -20,6 +20,7 @@ public:
|
||||
DetailedDescriptionRole,
|
||||
ServiceTypeRole,
|
||||
ConfigRole,
|
||||
IsThirdPartyConfigRole,
|
||||
DockerContainerRole,
|
||||
|
||||
IsEasySetupContainerRole,
|
||||
@@ -27,6 +28,7 @@ public:
|
||||
EasySetupDescriptionRole,
|
||||
EasySetupOrderRole,
|
||||
|
||||
IsInstallationAllowedRole,
|
||||
IsInstalledRole,
|
||||
IsCurrentlyProcessedRole,
|
||||
IsDefaultRole,
|
||||
@@ -57,6 +59,8 @@ public slots:
|
||||
bool hasInstalledServices();
|
||||
bool hasInstalledProtocols();
|
||||
|
||||
static bool isInstallationAllowed(DockerContainer container);
|
||||
|
||||
protected:
|
||||
QHash<int, QByteArray> roleNames() const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user