After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 767614 - VPN bug fixes
VPN bug fixes
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Network
unspecified
Other All
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-13 16:38 UTC by Bastien Nocera
Modified: 2016-06-24 15:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
network: Fix crash creating a VPN (1.69 KB, patch)
2016-06-13 16:38 UTC, Bastien Nocera
committed Details | Review
network: Remove the first page of the "Add Connection" wizard (3.49 KB, patch)
2016-06-13 16:38 UTC, Bastien Nocera
none Details | Review
network: Fix VPN UI not showing up (1.29 KB, patch)
2016-06-13 16:38 UTC, Bastien Nocera
committed Details | Review
network: Remove the first page of the "Add Connection" wizard (3.78 KB, patch)
2016-06-13 21:07 UTC, Bastien Nocera
committed Details | Review
network: Simplify complete_connection_for_type() (3.34 KB, patch)
2016-06-13 21:07 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2016-06-13 16:38:10 UTC
Fallout from libnm 1.2 port
Comment 1 Bastien Nocera 2016-06-13 16:38:17 UTC
Created attachment 329708 [details] [review]
network: Fix crash creating a VPN

The listing of VPN plugins was done using the nm-glib API instead of the
new libnm 1.2 one.
Comment 2 Bastien Nocera 2016-06-13 16:38:26 UTC
Created attachment 329709 [details] [review]
network: Remove the first page of the "Add Connection" wizard

We still offered to add Bond, Team, Bridge and VLAN connections even
though we don't support them any more. Remove the first page as we only
offer to add VPN connections.
Comment 3 Bastien Nocera 2016-06-13 16:38:33 UTC
Created attachment 329710 [details] [review]
network: Fix VPN UI not showing up

The VPN editor API changed as well.
Comment 4 Dan Williams 2016-06-13 18:55:52 UTC
Review of attachment 329708 [details] [review]:

LGTM
Comment 5 Dan Williams 2016-06-13 18:58:29 UTC
Review of attachment 329709 [details] [review]:

There's only one element in the connection_types struct now, so couldn't that just be removed?
Comment 6 Dan Williams 2016-06-13 19:05:42 UTC
Review of attachment 329710 [details] [review]:

LGTM
Comment 7 Bastien Nocera 2016-06-13 21:07:35 UTC
Created attachment 329724 [details] [review]
network: Remove the first page of the "Add Connection" wizard

We still offered to add Bond, Team, Bridge and VLAN connections even
though we don't support them any more. Remove the first page as we only
offer to add VPN connections.
Comment 8 Bastien Nocera 2016-06-13 21:07:54 UTC
Created attachment 329725 [details] [review]
network: Simplify complete_connection_for_type()

Now that there's only one type to be added (VPNs).
Comment 9 Bastien Nocera 2016-06-13 21:09:24 UTC
Review of attachment 329709 [details] [review]:

I've done that in a separate commit. Also removed an unused variable in the new version of the patch.
Comment 10 Bastien Nocera 2016-06-24 15:26:30 UTC
Attachment 329708 [details] pushed as 2a7b192 - network: Fix crash creating a VPN
Attachment 329710 [details] pushed as 7adfaf1 - network: Fix VPN UI not showing up
Attachment 329724 [details] pushed as d0fcd58 - network: Remove the first page of the "Add Connection" wizard
Attachment 329725 [details] pushed as c6f1b3a - network: Simplify complete_connection_for_type()