Discussion:
Review Request: Add systemwide connection support for NM 0.8
Andrey Borzenkov
2011-03-25 18:43:50 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------

Review request for Network Management.


Summary
-------

The patch is based on work of G?k?en Eraslan and extends it by retrofitting user connections support. Design summary:

kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings

Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.

KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.

Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.

The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.

Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.

As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.


Diffs
-----

applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp 80f5ca6402db0e7ccd7142ceacc11d2a15ba5459
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 6c266baee3a1d593cb3701ded5f3c4315b2c34e6
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 78909e0a2e5c5f1e52413061b2ac4dcd767baff6
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417

Diff: http://git.reviewboard.kde.org/r/100947/diff


Testing
-------

I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.


Thanks,

Andrey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110325/52e6a240/attachment.htm
Andrey Borzenkov
2011-03-27 08:37:03 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------

(Updated March 27, 2011, 8:37 a.m.)


Review request for Network Management.


Changes
-------

Updated diff to correctly inform kded modlue about changes after connection was edited (updateService() was called with empty connections list).

Rediff against current master.


Summary
-------

The patch is based on work of G?k?en Eraslan and extends it by retrofitting user connections support. Design summary:

kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings

Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.

KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.

Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.

The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.

Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.

As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.


Diffs (updated)
-----

applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp fce537afe3f8e598d556733e18560c8aa803919d
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 82e015a9206ce3c1167e5728eaa1dd8959230d94
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 15a6251f086a679e26eb212697c004de2b532ebd
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417

Diff: http://git.reviewboard.kde.org/r/100947/diff


Testing
-------

I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.


Thanks,

Andrey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110327/ed4ac050/attachment.htm
Lamarque Vieira Souza
2011-03-29 02:55:42 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/#review2182
-----------------------------------------------------------



backends/NetworkManager/nmdbussettingsconnectionprovider.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1810>

Should not you pass the object path here?



backends/NetworkManager/nmdbussettingsconnectionprovider.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1811>

Please remove this extra line.



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1809>

this should be kDebug() instead of qDebug



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1812>

kDebug()



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1813>

kDebug()



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1814>

kDebug()



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1815>

kDebug()



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1816>

Please remove this extra line.



backends/NetworkManager/settings/802-1xdbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1817>

Please remove extra line.



libs/internals/connection.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1818>

Please remove extra line.



libs/internals/settings/802-11-wireless.h
<http://git.reviewboard.kde.org/r/100947/#comment1819>

Please remove extra line.



applet/networkmanager.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1842>

I think notice in this patch is that it writes the wireless encryption keys in kwallet using the suffix 802-1x instead of 802-11-wireless-security. Is that really necessary? Users will have to re-enter all their encryption keys because of this change.

Even if it is really necessary it would great if we could automatically rename the kwallet entry to avoid users re-entering the keys.



backends/NetworkManager/nmdbussettingsconnectionprovider.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1835>

Please remove this extra line.



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1836>

This should be kDebug instead of qDebug.



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1837>

kDebug instead of qDebug.



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1838>

This should be kDebug instead of qDebug.



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1839>

kDebug instead of qDebug.



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1840>

kDebug instead of qDebug.



backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1841>

Please remove those two extra lines.


- Lamarque Vieira
Post by Andrey Borzenkov
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------
(Updated March 27, 2011, 8:37 a.m.)
Review request for Network Management.
Summary
-------
kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings
Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.
KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.
Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.
The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.
Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.
As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.
Diffs
-----
applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp fce537afe3f8e598d556733e18560c8aa803919d
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 82e015a9206ce3c1167e5728eaa1dd8959230d94
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 15a6251f086a679e26eb212697c004de2b532ebd
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417
Diff: http://git.reviewboard.kde.org/r/100947/diff
Testing
-------
I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.
Thanks,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110329/513ced40/attachment-0001.htm
Andrey Borzenkov
2011-03-30 05:50:59 UTC
Permalink
Post by Andrey Borzenkov
applet/networkmanager.cpp, line 232
<http://git.reviewboard.kde.org/r/100947/diff/3/?file=13048#file13048line232>
I think notice in this patch is that it writes the wireless encryption keys in kwallet using the suffix 802-1x instead of 802-11-wireless-security. Is that really necessary? Users will have to re-enter all their encryption keys because of this change.
Even if it is really necessary it would great if we could automatically rename the kwallet entry to avoid users re-entering the keys.
Do you mean this one?

commit f91f6698a5e861b9dbdfc9144e306800bfb0686f
Author: G?kcen Eraslan <gokcen at pardus.org.tr>
Date: Mon Nov 29 14:29:51 2010 +0000

Fix Dynamic WEP (ieee802.1x)connections.

If user selects Dynamic WEP, we should use Ieee8021x as key-mgmt value[1], not wpa-eap.

[1] http://projects.gnome.org/NetworkManager/developers/settings-spec-08.html

Well ... this appears to be bug fix indeed. It does not affect secrets store, just single parameter that is returned. I am rather reluctant to change anything as I cannot test it myself; unless there is but report we can assume nobody ever used it :)

But WEP case was broken indeed (secrets were never saved), should be fixed in next patch version.

BTW 802.1x is always added although it is disabled ... probably it should check whether it is enabled in the first place before returning secrets.
Post by Andrey Borzenkov
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp, line 137
<http://git.reviewboard.kde.org/r/100947/diff/2/?file=12954#file12954line137>
Should not you pass the object path here?
No, that is really just "something happened". It is used only in manageconnectionwidget to refresh connections list in UI, and it does it by completely rebuilding from scratch, so object is useless.

[Hmm ... was it never published?]

Replying to your other comment - I suggest to wait until at least one more consumer appears before changing it. In this case we probably want to signal actual event (i.e. connectionAdded, connectionRemoved etc), not just "something happened with this connection".


- Andrey


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/#review2182
-----------------------------------------------------------
Post by Andrey Borzenkov
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------
(Updated March 29, 2011, 7:36 p.m.)
Review request for Network Management.
Summary
-------
kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings
Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.
KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.
Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.
The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.
Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.
As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.
This addresses bug 204340.
http://bugs.kde.org/show_bug.cgi?id=204340
Diffs
-----
applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless-securitypersistence.cpp f223d92213d33fc1970e6f153a8e84accd2350b3
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/service/connectionlistpersistence.cpp b90e8cf3bb866445b81b03ec8a28475cd36df309
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp fce537afe3f8e598d556733e18560c8aa803919d
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 82e015a9206ce3c1167e5728eaa1dd8959230d94
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
monolithic/tooltipbuilder.cpp a09734a5d5f17ddebd679dc3941b1ef232a87b74
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 15a6251f086a679e26eb212697c004de2b532ebd
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417
Diff: http://git.reviewboard.kde.org/r/100947/diff
Testing
-------
I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.
Thanks,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110330/f2ad4b69/attachment-0001.htm
Lamarque Vieira Souza
2011-03-30 13:02:52 UTC
Permalink
Post by Andrey Borzenkov
applet/networkmanager.cpp, line 232
<http://git.reviewboard.kde.org/r/100947/diff/3/?file=13048#file13048line232>
I think notice in this patch is that it writes the wireless encryption keys in kwallet using the suffix 802-1x instead of 802-11-wireless-security. Is that really necessary? Users will have to re-enter all their encryption keys because of this change.
Even if it is really necessary it would great if we could automatically rename the kwallet entry to avoid users re-entering the keys.
Do you mean this one?
commit f91f6698a5e861b9dbdfc9144e306800bfb0686f
Author: G?kcen Eraslan <gokcen at pardus.org.tr>
Date: Mon Nov 29 14:29:51 2010 +0000
Fix Dynamic WEP (ieee802.1x)connections.
If user selects Dynamic WEP, we should use Ieee8021x as key-mgmt value[1], not wpa-eap.
[1] http://projects.gnome.org/NetworkManager/developers/settings-spec-08.html
Well ... this appears to be bug fix indeed. It does not affect secrets store, just single parameter that is returned. I am rather reluctant to change anything as I cannot test it myself; unless there is but report we can assume nobody ever used it :)
But WEP case was broken indeed (secrets were never saved), should be fixed in next patch version.
BTW 802.1x is always added although it is disabled ... probably it should check whether it is enabled in the first place before returning secrets.
I have only tested wpa. This problem is related to the one below where I always have to enter my wpa key to connect.


- Lamarque Vieira


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/#review2182
-----------------------------------------------------------
Post by Andrey Borzenkov
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------
(Updated March 29, 2011, 7:36 p.m.)
Review request for Network Management.
Summary
-------
kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings
Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.
KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.
Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.
The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.
Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.
As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.
This addresses bug 204340.
http://bugs.kde.org/show_bug.cgi?id=204340
Diffs
-----
applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless-securitypersistence.cpp f223d92213d33fc1970e6f153a8e84accd2350b3
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/service/connectionlistpersistence.cpp b90e8cf3bb866445b81b03ec8a28475cd36df309
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp fce537afe3f8e598d556733e18560c8aa803919d
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 82e015a9206ce3c1167e5728eaa1dd8959230d94
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
monolithic/tooltipbuilder.cpp a09734a5d5f17ddebd679dc3941b1ef232a87b74
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 15a6251f086a679e26eb212697c004de2b532ebd
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417
Diff: http://git.reviewboard.kde.org/r/100947/diff
Testing
-------
I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.
Thanks,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110330/365592f1/attachment-0001.htm
Andrey Borzenkov
2011-03-29 19:28:14 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------

(Updated March 29, 2011, 7:28 p.m.)


Review request for Network Management.


Changes
-------

b56f60a update connections list in editor after system connection is deleted
8f0be4c correctly set "enabled" flag for wireless security in user connections
6ac063e enable wireless security settings when static WEP was selected
9748b72 remove extraneous blank lines
a3c4186 replace qDebug with kDebug


Summary
-------

The patch is based on work of G?k?en Eraslan and extends it by retrofitting user connections support. Design summary:

kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings

Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.

KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.

Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.

The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.

Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.

As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.


Diffs (updated)
-----

applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless-securitypersistence.cpp f223d92213d33fc1970e6f153a8e84accd2350b3
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/service/connectionlistpersistence.cpp b90e8cf3bb866445b81b03ec8a28475cd36df309
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp fce537afe3f8e598d556733e18560c8aa803919d
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 82e015a9206ce3c1167e5728eaa1dd8959230d94
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
monolithic/tooltipbuilder.cpp a09734a5d5f17ddebd679dc3941b1ef232a87b74
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 15a6251f086a679e26eb212697c004de2b532ebd
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417

Diff: http://git.reviewboard.kde.org/r/100947/diff


Testing
-------

I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.


Thanks,

Andrey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110329/01715213/attachment.htm
Andrey Borzenkov
2011-03-29 19:36:57 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------

(Updated March 29, 2011, 7:36 p.m.)


Review request for Network Management.


Summary
-------

The patch is based on work of G?k?en Eraslan and extends it by retrofitting user connections support. Design summary:

kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings

Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.

KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.

Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.

The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.

Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.

As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.


This addresses bug 204340.
http://bugs.kde.org/show_bug.cgi?id=204340


Diffs
-----

applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless-securitypersistence.cpp f223d92213d33fc1970e6f153a8e84accd2350b3
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/service/connectionlistpersistence.cpp b90e8cf3bb866445b81b03ec8a28475cd36df309
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp fce537afe3f8e598d556733e18560c8aa803919d
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 82e015a9206ce3c1167e5728eaa1dd8959230d94
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
monolithic/tooltipbuilder.cpp a09734a5d5f17ddebd679dc3941b1ef232a87b74
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 15a6251f086a679e26eb212697c004de2b532ebd
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417

Diff: http://git.reviewboard.kde.org/r/100947/diff


Testing
-------

I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.


Thanks,

Andrey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110329/18ba07bc/attachment-0001.htm
Andrey Borzenkov
2011-03-30 18:04:19 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------

(Updated March 30, 2011, 6:04 p.m.)


Review request for Network Management.


Changes
-------

523ddcd revert lines swap; no real changes
daaf95d remove empty line, no real changes
ddc123a remove redundant locale catalog request


Summary
-------

The patch is based on work of G?k?en Eraslan and extends it by retrofitting user connections support. Design summary:

kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings

Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.

KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.

Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.

The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.

Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.

As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.


This addresses bug 204340.
http://bugs.kde.org/show_bug.cgi?id=204340


Diffs (updated)
-----

backends/NetworkManager/CMakeLists.txt f6ff372
backends/NetworkManager/connectiondbus.h 428429b
backends/NetworkManager/connectiondbus.cpp 4a142e9
backends/NetworkManager/generateDbusAdapters.sh 58f2e00
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b799694
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 4667103
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2
backends/NetworkManager/settings/gsmdbus.cpp 9912df6
backends/NetworkManager/settings/ipv4dbus.cpp f77d421
backends/NetworkManager/settings/pppoedbus.cpp e889177
libs/client/remoteactivatablelist.cpp 035531f
libs/internals/connection.h 8c69782
libs/internals/connection.cpp fdf3431
libs/internals/connectionpersistence.cpp 7c52bb1
libs/internals/settings/802-11-wireless-security.h a9328bb
libs/internals/settings/802-11-wireless-security.cpp a803c61
libs/internals/settings/802-11-wireless-securitypersistence.cpp f223d92
libs/internals/settings/802-11-wireless.h 1283980
libs/internals/settings/802-1x.cpp f3bdb37
libs/internals/settings/802-3-ethernet.h 24d64a2
libs/internals/settings/gsm.h b380af0
libs/internals/settings/gsmpersistence.cpp ce87fbe
libs/service/connectionlistpersistence.cpp b90e8cf
libs/ui/802_11_wirelesswidget.cpp b654bc4
libs/ui/cdmaconnectioneditor.h b3e53d3
libs/ui/cdmaconnectioneditor.cpp f12638e
libs/ui/connection.ui b6e9bb7
libs/ui/connectioneditor.h 423de5a
libs/ui/connectioneditor.cpp e8831d5
libs/ui/connectionprefs.h 4a36dfa
libs/ui/connectionprefs.cpp f532dbb
libs/ui/connectionsecretsjob.cpp fce537a
libs/ui/connectionwidget.cpp 47daa17
libs/ui/gsm.ui eeaaa41
libs/ui/gsmconnectioneditor.h 2a3ccb1
libs/ui/gsmconnectioneditor.cpp 5a26c7c
libs/ui/gsmwidget.cpp 82e015a
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d
libs/ui/pppoepreferences.h 6f39150
libs/ui/pppoepreferences.cpp 0cabcd0
libs/ui/security/eapmethodstack.h 552f5c9
libs/ui/security/eapmethodstack.cpp e89e887
libs/ui/security/nullsecuritywidget.h a0faa46
libs/ui/security/nullsecuritywidget.cpp 5edc5cd
libs/ui/security/securityeap.h 26ed203
libs/ui/security/securityeap.cpp db35037
libs/ui/security/securityleap.h 5d9b034
libs/ui/security/securityleap.cpp 95ba530
libs/ui/security/securitywidget.h 71ebf4a
libs/ui/security/securitywidget.cpp 53cdc5e
libs/ui/security/securitywidget_p.h 6ec8d9c
libs/ui/security/wepwidget.h e78338c
libs/ui/security/wepwidget.cpp 88b422f
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6
libs/ui/security/wpapskwidget.h 7077836
libs/ui/security/wpapskwidget.cpp d2d221d
libs/ui/vpnpreferences.h 39dd52b
libs/ui/vpnpreferences.cpp 5274d14
libs/ui/wiredpreferences.h 59b4f16
libs/ui/wiredpreferences.cpp 60b7932
libs/ui/wiredwidget.cpp 2229f74
libs/ui/wirelesspreferences.h 5d6a30c
libs/ui/wirelesspreferences.cpp 7f901c2
monolithic/tooltipbuilder.cpp a09734a
settings/config/CMakeLists.txt 0d4cd00
settings/config/manageconnectionwidget.h c0fccd9
settings/config/manageconnectionwidget.cpp 15a6251
settings/config/managetraywidget.cpp 38680ce
settings/config/mobileproviders.cpp 1ef26fc
settings/configshell/CMakeLists.txt d900ae7
settings/configshell/main.cpp 43248e2
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b56
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b89
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016e
vpnplugins/vpnc/networkmanagement_vpncui.desktop b408112

Diff: http://git.reviewboard.kde.org/r/100947/diff


Testing
-------

I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.


Thanks,

Andrey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110330/68df92a5/attachment.htm
Commit Hook
2011-04-14 13:20:49 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/#review2640
-----------------------------------------------------------


This review has been submitted with commit 111a9f8711f97b8b66b978fda84ccfe0ad25cfcb by Lamarque V. Souza.

- Commit
Post by Andrey Borzenkov
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------
(Updated March 30, 2011, 6:04 p.m.)
Review request for Network Management.
Summary
-------
kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings
Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.
KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.
Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.
The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.
Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.
As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.
This addresses bug 204340.
http://bugs.kde.org/show_bug.cgi?id=204340
Diffs
-----
backends/NetworkManager/CMakeLists.txt f6ff372
backends/NetworkManager/connectiondbus.h 428429b
backends/NetworkManager/connectiondbus.cpp 4a142e9
backends/NetworkManager/generateDbusAdapters.sh 58f2e00
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b799694
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 4667103
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2
backends/NetworkManager/settings/gsmdbus.cpp 9912df6
backends/NetworkManager/settings/ipv4dbus.cpp f77d421
backends/NetworkManager/settings/pppoedbus.cpp e889177
libs/client/remoteactivatablelist.cpp 035531f
libs/internals/connection.h 8c69782
libs/internals/connection.cpp fdf3431
libs/internals/connectionpersistence.cpp 7c52bb1
libs/internals/settings/802-11-wireless-security.h a9328bb
libs/internals/settings/802-11-wireless-security.cpp a803c61
libs/internals/settings/802-11-wireless-securitypersistence.cpp f223d92
libs/internals/settings/802-11-wireless.h 1283980
libs/internals/settings/802-1x.cpp f3bdb37
libs/internals/settings/802-3-ethernet.h 24d64a2
libs/internals/settings/gsm.h b380af0
libs/internals/settings/gsmpersistence.cpp ce87fbe
libs/service/connectionlistpersistence.cpp b90e8cf
libs/ui/802_11_wirelesswidget.cpp b654bc4
libs/ui/cdmaconnectioneditor.h b3e53d3
libs/ui/cdmaconnectioneditor.cpp f12638e
libs/ui/connection.ui b6e9bb7
libs/ui/connectioneditor.h 423de5a
libs/ui/connectioneditor.cpp e8831d5
libs/ui/connectionprefs.h 4a36dfa
libs/ui/connectionprefs.cpp f532dbb
libs/ui/connectionsecretsjob.cpp fce537a
libs/ui/connectionwidget.cpp 47daa17
libs/ui/gsm.ui eeaaa41
libs/ui/gsmconnectioneditor.h 2a3ccb1
libs/ui/gsmconnectioneditor.cpp 5a26c7c
libs/ui/gsmwidget.cpp 82e015a
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d
libs/ui/pppoepreferences.h 6f39150
libs/ui/pppoepreferences.cpp 0cabcd0
libs/ui/security/eapmethodstack.h 552f5c9
libs/ui/security/eapmethodstack.cpp e89e887
libs/ui/security/nullsecuritywidget.h a0faa46
libs/ui/security/nullsecuritywidget.cpp 5edc5cd
libs/ui/security/securityeap.h 26ed203
libs/ui/security/securityeap.cpp db35037
libs/ui/security/securityleap.h 5d9b034
libs/ui/security/securityleap.cpp 95ba530
libs/ui/security/securitywidget.h 71ebf4a
libs/ui/security/securitywidget.cpp 53cdc5e
libs/ui/security/securitywidget_p.h 6ec8d9c
libs/ui/security/wepwidget.h e78338c
libs/ui/security/wepwidget.cpp 88b422f
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6
libs/ui/security/wpapskwidget.h 7077836
libs/ui/security/wpapskwidget.cpp d2d221d
libs/ui/vpnpreferences.h 39dd52b
libs/ui/vpnpreferences.cpp 5274d14
libs/ui/wiredpreferences.h 59b4f16
libs/ui/wiredpreferences.cpp 60b7932
libs/ui/wiredwidget.cpp 2229f74
libs/ui/wirelesspreferences.h 5d6a30c
libs/ui/wirelesspreferences.cpp 7f901c2
monolithic/tooltipbuilder.cpp a09734a
settings/config/CMakeLists.txt 0d4cd00
settings/config/manageconnectionwidget.h c0fccd9
settings/config/manageconnectionwidget.cpp 15a6251
settings/config/managetraywidget.cpp 38680ce
settings/config/mobileproviders.cpp 1ef26fc
settings/configshell/CMakeLists.txt d900ae7
settings/configshell/main.cpp 43248e2
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b56
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b89
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016e
vpnplugins/vpnc/networkmanagement_vpncui.desktop b408112
Diff: http://git.reviewboard.kde.org/r/100947/diff
Testing
-------
I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.
Thanks,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110414/a51bd911/attachment.htm
Lamarque Vieira Souza
2011-03-29 20:00:40 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/#review2227
-----------------------------------------------------------



applet/networkmanager.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1866>

This line is already in the constructor, it should not be necessary.



backends/NetworkManager/connectiondbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1867>

Remove extra line.



backends/NetworkManager/nmdbussettingsconnectionprovider.h
<http://git.reviewboard.kde.org/r/100947/#comment1873>

This can be renamed connectionChange(const QString & objectPath) since only one connection is changed at a time and you can pass te object path of the changed connection directly, that can be useful for someone listening to this signal.



backends/NetworkManager/settings/802-1xdbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1870>

Identation is broken here.



backends/NetworkManager/settings/802-1xdbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1871>

same here.



backends/NetworkManager/settings/802-1xdbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1872>

and here.



backends/NetworkManager/settings/gsmdbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1868>

Why remove puk setting?



backends/NetworkManager/settings/ipv4dbus.cpp
<http://git.reviewboard.kde.org/r/100947/#comment1869>

There is no need to change this line and the next. Could you please swap then to shring this patch a bit?


- Lamarque Vieira
Post by Andrey Borzenkov
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------
(Updated March 29, 2011, 7:36 p.m.)
Review request for Network Management.
Summary
-------
kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings
Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.
KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.
Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.
The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.
Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.
As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.
This addresses bug 204340.
http://bugs.kde.org/show_bug.cgi?id=204340
Diffs
-----
applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless-securitypersistence.cpp f223d92213d33fc1970e6f153a8e84accd2350b3
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/service/connectionlistpersistence.cpp b90e8cf3bb866445b81b03ec8a28475cd36df309
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp fce537afe3f8e598d556733e18560c8aa803919d
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 82e015a9206ce3c1167e5728eaa1dd8959230d94
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
monolithic/tooltipbuilder.cpp a09734a5d5f17ddebd679dc3941b1ef232a87b74
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 15a6251f086a679e26eb212697c004de2b532ebd
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417
Diff: http://git.reviewboard.kde.org/r/100947/diff
Testing
-------
I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.
Thanks,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110329/1ffc2812/attachment-0001.htm
Lamarque Vieira Souza
2011-03-29 23:27:32 UTC
Permalink
Plasma NM asks for my wireless wpa keyphrase every time I log in. Is that a known problem?


- Lamarque Vieira


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/#review2227
-----------------------------------------------------------
Post by Andrey Borzenkov
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------
(Updated March 29, 2011, 7:36 p.m.)
Review request for Network Management.
Summary
-------
kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings
Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.
KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.
Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.
The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.
Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.
As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.
This addresses bug 204340.
http://bugs.kde.org/show_bug.cgi?id=204340
Diffs
-----
applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless-securitypersistence.cpp f223d92213d33fc1970e6f153a8e84accd2350b3
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/service/connectionlistpersistence.cpp b90e8cf3bb866445b81b03ec8a28475cd36df309
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp fce537afe3f8e598d556733e18560c8aa803919d
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 82e015a9206ce3c1167e5728eaa1dd8959230d94
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
monolithic/tooltipbuilder.cpp a09734a5d5f17ddebd679dc3941b1ef232a87b74
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 15a6251f086a679e26eb212697c004de2b532ebd
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417
Diff: http://git.reviewboard.kde.org/r/100947/diff
Testing
-------
I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.
Thanks,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110329/74e5beac/attachment.htm
Andrey Borzenkov
2011-03-30 02:54:30 UTC
Permalink
Post by Lamarque Vieira Souza
Plasma NM asks for my wireless wpa keyphrase every time I log in. Is that a known problem?
No; I am asked for wallet password on login if user connection is being activated; but that is clear, as KNM has to supply secrets to activate connection. Could you describe your configuration in more detail? May be send me off list networkmanagementrc and connection definition file? Also if you have build with debugging enabled ~/.xsession-errors or equiv. would be helpful.


- Andrey


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/#review2227
-----------------------------------------------------------
Post by Lamarque Vieira Souza
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------
(Updated March 29, 2011, 7:36 p.m.)
Review request for Network Management.
Summary
-------
kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings
Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.
KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.
Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.
The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.
Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.
As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.
This addresses bug 204340.
http://bugs.kde.org/show_bug.cgi?id=204340
Diffs
-----
applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless-securitypersistence.cpp f223d92213d33fc1970e6f153a8e84accd2350b3
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/service/connectionlistpersistence.cpp b90e8cf3bb866445b81b03ec8a28475cd36df309
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp fce537afe3f8e598d556733e18560c8aa803919d
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 82e015a9206ce3c1167e5728eaa1dd8959230d94
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
monolithic/tooltipbuilder.cpp a09734a5d5f17ddebd679dc3941b1ef232a87b74
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 15a6251f086a679e26eb212697c004de2b532ebd
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417
Diff: http://git.reviewboard.kde.org/r/100947/diff
Testing
-------
I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.
Thanks,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110330/026f1b42/attachment.html
Andrey Borzenkov
2011-03-30 03:03:11 UTC
Permalink
Post by Andrey Borzenkov
backends/NetworkManager/settings/gsmdbus.cpp, line 48
<http://git.reviewboard.kde.org/r/100947/diff/4/?file=13243#file13243line48>
Why remove puk setting?
band int32 -1 Band (DEPRECATED and UNUSED)
puk string PUK (DEPRECATED and UNUSED)

And checking NM source - it does not appear to be used indeed:

const char *
nm_setting_gsm_get_puk (NMSettingGsm *setting)
{
g_warning ("Tried to get deprecated property " NM_SETTING_GSM_SETTING_NAME "/" NM_SETTING_GSM_PUK);
return NULL;
}


- Andrey


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/#review2227
-----------------------------------------------------------
Post by Andrey Borzenkov
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------
(Updated March 29, 2011, 7:36 p.m.)
Review request for Network Management.
Summary
-------
kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings
Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.
KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.
Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.
The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.
Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.
As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.
This addresses bug 204340.
http://bugs.kde.org/show_bug.cgi?id=204340
Diffs
-----
applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless-securitypersistence.cpp f223d92213d33fc1970e6f153a8e84accd2350b3
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/service/connectionlistpersistence.cpp b90e8cf3bb866445b81b03ec8a28475cd36df309
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp fce537afe3f8e598d556733e18560c8aa803919d
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 82e015a9206ce3c1167e5728eaa1dd8959230d94
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
monolithic/tooltipbuilder.cpp a09734a5d5f17ddebd679dc3941b1ef232a87b74
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 15a6251f086a679e26eb212697c004de2b532ebd
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417
Diff: http://git.reviewboard.kde.org/r/100947/diff
Testing
-------
I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.
Thanks,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110330/48934b8a/attachment.htm
Andrey Borzenkov
2011-03-30 07:00:33 UTC
Permalink
Post by Andrey Borzenkov
backends/NetworkManager/settings/802-1xdbus.cpp, line 22
<http://git.reviewboard.kde.org/r/100947/diff/4/?file=13242#file13242line22>
Identation is broken here.
Well ... can this be postponed until patch is a bit ironed out (or dropped, in which case it is non issue anyway)? This will create reformatting churn that just will distract from real changes. Same for two following comments?


- Andrey


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100947/#review2227
-----------------------------------------------------------
Post by Andrey Borzenkov
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/100947/
-----------------------------------------------------------
(Updated March 29, 2011, 7:36 p.m.)
Review request for Network Management.
Summary
-------
kded gets system wide connections from NM org.freedesktop.NetworkManagerSystemSettings and reads user connections directly from disk and exports them via org.freedesktop.NetworkManagerUserSettings
Connections, received from org.freedesktop.NetworkManagerSystemSettings, are marked as having System scope; connections read from disk are marked as having User scope.
KCM module (manage connections widget) does the same. Additionally, it checks whether user marked connection as System connection and forwards it to NM or saves directly on disk.
Plasma applet is not touched and continues to receive activatables list from kded, which is now merged list of system + user connections.
The patch set of G?k?en changed parts of KNM core to act directly on Connection object to handle connections received via D-Bus. My patches additionally move connection storing up from connectioneditor into manageconnectionwidet, so lower code does not need to know whether connection is user or systemwide.
Additionally handling of VPN plugins for systemwide connections (or more general - for connections from D-Bus) is fixed.
As discussed on ml, patch is against current master and includes both G?k?en and my changes. Breakdown is available in my clone repository in branch systemwide.
This addresses bug 204340.
http://bugs.kde.org/show_bug.cgi?id=204340
Diffs
-----
applet/networkmanager.cpp f60c55041076184d8e5e195d15424905f18c1468
backends/NetworkManager/CMakeLists.txt f6ff3720f293b0e1acc59a08a06bd9504af5d933
backends/NetworkManager/connectiondbus.h 428429bf6cb2bba1173ccbeddf6c9b5b8d4817ad
backends/NetworkManager/connectiondbus.cpp 4a142e9b23dc7de217377e29ad2b8a3fbcf64422
backends/NetworkManager/generateDbusAdapters.sh 58f2e006a937b6284bbf8b4c48c7acda38cc5075
backends/NetworkManager/nm-exported-connection-secrets-interface.h PRE-CREATION
backends/NetworkManager/nm-exported-connection-secrets-interface.cpp PRE-CREATION
backends/NetworkManager/nmdbussettingsconnectionprovider.h 3245f84e850fd5de0fea802207663acd7da77737
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp b7996941296708518042ed192a3d58430ff50aae
backends/NetworkManager/settings/802-11-wireless-securitydbus.cpp 46671034114d626a38f89bf9056680daacf3ec73
backends/NetworkManager/settings/802-11-wirelessdbus.cpp 05bc049bb031c301d61d8c4c7b7314f428d6ca97
backends/NetworkManager/settings/802-1xdbus.cpp 0707ee2354d2207da2cc13ad96fd9b77b887ac71
backends/NetworkManager/settings/gsmdbus.cpp 9912df6eee8908bcf407b5fb26e91fca8afd52f3
backends/NetworkManager/settings/ipv4dbus.cpp f77d421039e03953c04fe228a7b66b5c7033592d
backends/NetworkManager/settings/pppoedbus.cpp e889177d0963214e4278c0b1a6adfbd959e560bf
libs/client/remoteactivatablelist.cpp 035531fc21a073dbafe2f191ae8114d7b0761625
libs/internals/connection.h 8c6978270213d3dfe491f4478253379f3c5cc0fb
libs/internals/connection.cpp fdf34314894f60ca9b4311ebc1d02e40745efda4
libs/internals/connectionpersistence.cpp 7c52bb14b5f351fef74328c76bf4a26f3cc8f515
libs/internals/settings/802-11-wireless-security.h a9328bb1af579013ee1184c3e4935ef87e1735e1
libs/internals/settings/802-11-wireless-security.cpp a803c61b7022c604e129cd1014b72348526559e0
libs/internals/settings/802-11-wireless-securitypersistence.cpp f223d92213d33fc1970e6f153a8e84accd2350b3
libs/internals/settings/802-11-wireless.h 12839800c4256d5a05a8f70cab4a2aa5e35914d7
libs/internals/settings/802-1x.cpp f3bdb3724b043270196aebacf90b8cac85f9f8ea
libs/internals/settings/802-3-ethernet.h 24d64a2dd0888bd19f57d2e5e4af45a172ad13d5
libs/internals/settings/gsm.h b380af09ab419059d344c3856415b2b446314f12
libs/internals/settings/gsmpersistence.cpp ce87fbe9a05a2bed8ab12bd9cd36bdfb44ad2e8a
libs/service/connectionlistpersistence.cpp b90e8cf3bb866445b81b03ec8a28475cd36df309
libs/ui/802_11_wirelesswidget.cpp b654bc42aad578bbee83eea7ca8d856744ebe020
libs/ui/cdmaconnectioneditor.h b3e53d3414ee6b27b75a5afeee7df7b90768058d
libs/ui/cdmaconnectioneditor.cpp f12638e2cd98903f97c323c7420a28c783ba3c9a
libs/ui/connection.ui b6e9bb7390a931bdfc45b15a835d117a0242f191
libs/ui/connectioneditor.h 423de5a393a88f20818ddf790678eb2e38d7439d
libs/ui/connectioneditor.cpp e8831d59b182fd0198bd0f7ff292f10347b857be
libs/ui/connectionprefs.h 4a36dfadda71f5fae820480bbaa8fc74d6b72e6b
libs/ui/connectionprefs.cpp f532dbb4b97e069e8f7be69311d8eff094127e6b
libs/ui/connectionsecretsjob.cpp fce537afe3f8e598d556733e18560c8aa803919d
libs/ui/connectionwidget.cpp 47daa17979305577322f01d48a4f107894df7d1c
libs/ui/gsm.ui eeaaa41281cd383f7d7adeda07dd6d4c63c1c97e
libs/ui/gsmconnectioneditor.h 2a3ccb1bab86f73158a2f8c384d50ca8dd7af1d5
libs/ui/gsmconnectioneditor.cpp 5a26c7ce3b1fad946b065fced45ed4dc7cb207ef
libs/ui/gsmwidget.cpp 82e015a9206ce3c1167e5728eaa1dd8959230d94
libs/ui/networkmanagement_vpnuiplugin.desktop 695cb6d65745a7d317b79140755acd8a9929d179
libs/ui/pppoepreferences.h 6f391506f4d30008e82041a923e5dde107134a84
libs/ui/pppoepreferences.cpp 0cabcd0ae5e2548132271311f5f0defd7aa797e3
libs/ui/security/eapmethodstack.h 552f5c9d0a1de16879f3e9c804ebe6faeaf7363e
libs/ui/security/eapmethodstack.cpp e89e8874af86661c1bece00c97068fb100eba524
libs/ui/security/nullsecuritywidget.h a0faa4643e4a9c0841313170364a0d2c489f70ef
libs/ui/security/nullsecuritywidget.cpp 5edc5cd2b2459c38ab0d2e1201951f445d8f2f83
libs/ui/security/securityeap.h 26ed2035bcdaec977ae4453a2cd470061e37838e
libs/ui/security/securityeap.cpp db35037ceb4653b7de34734509dffbaed307d0a8
libs/ui/security/securityleap.h 5d9b0341c2ae724f297c893e7246b7264709810f
libs/ui/security/securityleap.cpp 95ba530a92f9d1aa083c82505904fe3c57ec52d5
libs/ui/security/securitywidget.h 71ebf4aede355a8434a3cc06e71fc19dcd12fba4
libs/ui/security/securitywidget.cpp 53cdc5e7ffe98152c9f95191bd788ae9970987e4
libs/ui/security/securitywidget_p.h 6ec8d9c2dcfe367647c12bff6f3e2491b0a6388d
libs/ui/security/wepwidget.h e78338c6bb79dd5de4bf529b39b8fd4a62c87738
libs/ui/security/wepwidget.cpp 88b422f4df9dd1631e147f33c137aa210bfe03ee
libs/ui/security/wirelesssecuritysettingwidget.cpp 6fff4a6a017534b593e8e1281c0c34a24786bb96
libs/ui/security/wpapskwidget.h 70778367a6b5d8db9b2248437730f2316f572450
libs/ui/security/wpapskwidget.cpp d2d221d196da3304d91cc45105bbdaed1fd2b813
libs/ui/vpnpreferences.h 39dd52b7f5414138fc8bfa1e80f08cbf8cb2414c
libs/ui/vpnpreferences.cpp 5274d14f734d0e42481487df6147c760b7f4141c
libs/ui/wiredpreferences.h 59b4f16574f2ad317bdc27a3d842e04f1caed1f7
libs/ui/wiredpreferences.cpp 60b79327bdf7bca44609d62efd969711315f42ed
libs/ui/wiredwidget.cpp 2229f74469e1a9dad7c448dcf55a6651b5796f48
libs/ui/wirelesspreferences.h 5d6a30c33809a7897d9667d58431d0fe630e5c6b
libs/ui/wirelesspreferences.cpp 7f901c272c3371fe920f4c790d6158502fc10b62
monolithic/tooltipbuilder.cpp a09734a5d5f17ddebd679dc3941b1ef232a87b74
settings/config/CMakeLists.txt 0d4cd0020e80de765869a84363267a581893ba13
settings/config/manageconnectionwidget.h c0fccd9b6b987300a5df854581a1698cd88df956
settings/config/manageconnectionwidget.cpp 15a6251f086a679e26eb212697c004de2b532ebd
settings/config/managetraywidget.cpp 38680ce8b73d587e683df0af0da28b0c971d0434
settings/config/mobileproviders.cpp 1ef26fcddeded9e612571a3fd4d1e0771e763bce
settings/configshell/CMakeLists.txt d900ae726783ff416bbe7d5dababdec32217de15
settings/configshell/main.cpp 43248e21d1b99b7e591664315968819fa75a798b
vpnplugins/novellvpn/networkmanagement_novellvpnui.desktop 6bc2b5671d8ae531afb8717726de34757e75e660
vpnplugins/openvpn/networkmanagement_openvpnui.desktop 33b2b893bfcaad3e8343aa1dc10a5c3aa0f7afe6
vpnplugins/pptp/networkmanagement_pptpui.desktop 95a6bf7e76f3fa649a4763f482d7bd5b75181086
vpnplugins/strongswan/networkmanagement_strongswanui.desktop a5b016eb31ce8e4345292d25a8e36762cb7fe70b
vpnplugins/vpnc/networkmanagement_vpncui.desktop b4081121a5684a9154500e0e6f64442ea6f21417
Diff: http://git.reviewboard.kde.org/r/100947/diff
Testing
-------
I am using it myself and am able to see and use system connections. User connections work as well (tested with VPN). Creation of user connections work; system connections not tested so far. According to information I got system connections were successfully used by at least one distribution.
Thanks,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110330/f0f72ed0/attachment.htm
Loading...