This repository has been archived by the owner on Aug 9, 2020. It is now read-only.
Add switch to choose between OVPN and conf file extensions #11
Labels
enhancement
New feature or request
first-timers-only
good first issue
Good for newcomers
help wanted
Extra attention is needed
When you download (or send) the config file, it has extension
conf
. This works well for Linux, but Mac and Windows users expect profile files to have extensionovpn
. I believe this should be a configurable option.There is couple of things to do.
URL creation:
vpnathome.apps.openvpn.serializers.ClientSerializer
vpnathome.apps.openvpn.serializers.ServerSerializer
Filename is model attribute:
vpnathome.apps.openvpn.models.Client.filename
vpnathome.apps.openvpn.models.Server.filename
Filename generation should be probably moved to serializer and extension injected via context.
Frontend requires another settings page and file extension setting should be added to:
vpnathome.apps.management.models.Settings
.Unit tests are a must.
The text was updated successfully, but these errors were encountered: