network: Import from file type descriptions
The current 'Import from File...' does not actually tell uses what kind of files are supported. More so, any file can be selected and invalid files will generally result in a crash.
Design Tasks
-
Add a description, explaining what configurations are supported. This would be similar to the descriptions for all the other VPN types.
Development Tasks
-
Declare the proper mime-types when browsing for files: *.conf (WireGuard) and *.ovpn (OpenVPN) should be the only allowed types for the time being.
QA Tasks
-
Ensure that the application doesn't crash on invalid files
Edited by Kevin Degeling