https://bugs.kde.org/show_bug.cgi?id=479179

Nicolas Fella <nicolas.fe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-nm/-/commit/3240d
                   |                            |991fb635976dcbf8a40b9fa1662
                   |                            |10bc6881

--- Comment #7 from Nicolas Fella <nicolas.fe...@gmx.de> ---
Git commit 3240d991fb635976dcbf8a40b9fa166210bc6881 by Nicolas Fella, on behalf
of Stephen Robinson.
Committed on 09/04/2024 at 21:46.
Pushed by nicolasfella into branch 'master'.

Add WireGuard config field for interface name

Fixes ~~BUG: 412795~~ BUG: 479179

Previously the WireGuard configuration took the connection name as the
interface name. This had a host of problems, especially that the default
connection name was not valid for an interface name, and that an invalid
interface
name would result in losing all of your changes.

This commit adds a required "Interface name" field (with proper validation).
This behavior mirrors `nm-connection-editor`.

![New connection
screenshot](/uploads/f4dbd88a73d207664ff1e096b30374e3/image.png)

M  +2    -0    libs/editor/CMakeLists.txt
M  +8    -3    libs/editor/connectioneditorbase.cpp
A  +38   -0    libs/editor/interfacenamevalidator.cpp     [License: GPL(3+eV)
GPL(v3.0) GPL(v2.0)]
A  +22   -0    libs/editor/interfacenamevalidator.h     [License: GPL(3+eV)
GPL(v3.0) GPL(v2.0)]
M  +24   -9    libs/editor/settings/ui/wireguardinterfacewidget.ui
M  +64   -4    libs/editor/settings/wireguardinterfacewidget.cpp
M  +6    -1    libs/editor/settings/wireguardinterfacewidget.h

https://invent.kde.org/plasma/plasma-nm/-/commit/3240d991fb635976dcbf8a40b9fa166210bc6881

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to