Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  
<noinclude>
 
<noinclude>
[[Category:Feature Page Incomplete]]
+
[[Category:FeatureLanded|Network control panel]]
[[Category:Feature|Network control panel]]
   
</noinclude>
 
</noinclude>
   Line 8: Line 7:  
The wireless control panel section is reworked and reworded to respect non-wireless connections.
 
The wireless control panel section is reworked and reworded to respect non-wireless connections.
   −
The Wireless section is excluded when no wireless hardware is present on the system.
+
The Wireless section is excluded when no wireless device is detected on the system.
    
== Owner ==
 
== Owner ==
Line 16: Line 15:  
== Current status ==
 
== Current status ==
 
* Targeted release: [[0.102]]
 
* Targeted release: [[0.102]]
* Last updated: 24 January 2014
+
* Last updated: 04 February 2014
* Percentage of completion: 80 %
+
* Percentage of completion: 100 %
    
== Detailed Description ==
 
== Detailed Description ==
Line 29: Line 28:     
== Benefit to Sugar ==
 
== Benefit to Sugar ==
The proposed reworking of this panel and code will avert trouble in the future as Sugar is deployed on new hardware with new connection types.  This is achieved by restricting the action of the 'Discard ...' button to non-Sugar wireless connections (both '802-11-wireless' and '802-11-olpc-mesh'). The supporting code is reworked to allow other groups of connections to be discarded, if needed, by new code in separate control panel sections.
+
The proposed reworking of this panel and code will avert trouble in the future as Sugar is deployed on new hardware with new connection types.  This is achieved by restricting the action of the 'Discard ...' button to non-Sugar wireless connections (both '802-11-wireless' and '802-11-olpc-mesh').
    
These changes advance Sugar's goal of providing a 'clear and simple' interface for learners.
 
These changes advance Sugar's goal of providing a 'clear and simple' interface for learners.
Line 39: Line 38:  
* {{Code|/usr/share/sugar/extensions/cpsection/network/view.py}}
 
* {{Code|/usr/share/sugar/extensions/cpsection/network/view.py}}
   −
NetworkManager interfaces are used for all code paths except for the test for wireless hardware.
+
NetworkManager interfaces are used for all code paths, and while OLPC 13.2.0 uses NetworkManager 0.9.8.1-3.git20130514.fc18, which does not list wireless devices when the radio is disabled, the dependency on NetworkManager advances to version 0.9.9, which does.
: OLPC 13.2.0 uses NetworkManager 0.9.8.1-3.git20130514.fc18, which does not list wireless connections when the radio is disabled. The kernel module database at the {{Code|/sys/module/cfg80211/holders/}} directory reveals if any wireless drivers are available in memory.
+
 
 +
To minimize the chances that a manually created connection (such as 'Sugar Ad-hoc Network 2') is falsely white-listed as one of the Sugar internal ad hoc or olpc-mesh connections, each connection is tested against a discrete white list and specific to the wireless mode or connection type.
    
Some corner cases in behavior have been ignored: If a custom GSM (or other non-wireless or non-mesh) connection had been created, they would no longer be discarded by the 'Discard ...' button.  These could not be created by the  graphical Sugar interface, so their creators are most likely capable of discarding them if needed.
 
Some corner cases in behavior have been ignored: If a custom GSM (or other non-wireless or non-mesh) connection had been created, they would no longer be discarded by the 'Discard ...' button.  These could not be created by the  graphical Sugar interface, so their creators are most likely capable of discarding them if needed.
 +
 +
The indiscriminate clear() method of the Connections() class in {{Code|.../jarabe/model/network.py}} is dropped in favor of a connection discarding function in the wireless control panel that is specific to the networking type.
 +
 +
Immediately following the 'Discard wireless connections' action, a test for discard-able connections was noticing the yet-to-be-discarded connections and keeping the action button active.  This test is eliminated.
    
==UI Design==
 
==UI Design==
Line 87: Line 91:  
* https://bugs.sugarlabs.org/ticket/4410
 
* https://bugs.sugarlabs.org/ticket/4410
 
* http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg36121.html
 
* http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg36121.html
 +
* pull requests:
 +
** https://github.com/sugarlabs/sugar/pull/241
 +
** https://github.com/sugarlabs/sugar/pull/234
 +
** https://github.com/sugarlabs/sugar/pull/228
 +
** https://github.com/sugarlabs/sugar/pull/223
 +
** https://github.com/sugarlabs/sugar/pull/222
 +
** https://github.com/sugarlabs/sugar/pull/221
 +
 
* See [[{{TALKPAGENAME}}|discussion tab for this feature]]
 
* See [[{{TALKPAGENAME}}|discussion tab for this feature]]
628

edits

Navigation menu