Features/Proxy Settings: Difference between revisions

Merged!
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Feature Ready for Release Manager]]
<noinclude>
[[Category:Feature|Proxy Settings]]
[[Category:Feature|Proxy Settings]]
</noinclude>
</noinclude>
Line 10: Line 10:




[[User:ManashRaja|Manash Pratim Das]], [[User:sascha_silbe|Sascha Silbe]], [[User:ajay_garg|Ajay Garg]] (ajay@activitycentral.com)
[[User:sascha_silbe|Sascha Silbe]], [[User:ajay_garg|Ajay Garg]] (ajay@activitycentral.com), [[User:ManashRaja|Manash Pratim Das]]


== Current status ==
== Current status ==


* Targeted release: Unspecified
* Targeted release: 0.110
* Last updated: 2016-04-12
* Last updated: 2016-04-18
* Percentage of completion: 100%
* Percentage of completion: 100% and merged
 
Merged into something that will probably be 0.110


== Detailed Description ==
== Detailed Description ==
Line 23: Line 25:
Sugar and activities to use. While we'd like the system to work that all
Sugar and activities to use. While we'd like the system to work that all
out automatically (e.g. using [https://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol WPAD]), this often isn't possible. Common
out automatically (e.g. using [https://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol WPAD]), this often isn't possible. Common
reasons include legacy ("inherited") setups and network uplinks simply being
reasons include legacy ("inherited") setups and network uplinks being
out of control of the user respectively deployment.
out of control of the user.


The existing Network Control Panel is enhanced by adding a new section for the
The existing Network Control Panel is enhanced by adding a new section for the
Line 35: Line 37:
presented to the user.
presented to the user.


The settings are stored in schemas (via 'Gsettings') and environment variables.
The settings are stored in 'GSettings' and passed to activities using the 'http_proxy' and similar variables.


== Benefit to Sugar ==
== Benefit to Sugar ==


See [[#Detailed Description|Detailed Description]].
Widens the environment where Sugar may be used, by removing a reason why Sugar cannot be used in managed information technology environments.


== Scope ==
== Scope ==
Line 48: Line 50:


* Fill in the settings "manually", and restart when prompted so.
* Fill in the settings "manually", and restart when prompted so.
:[[File:proxy21.png|640px]]
:[[File:Manual1-proxy.png|1200px]]
 
 
 
* Now, open Browse. "www.facebook.com" should be blacklisted.
:[[File:proxy5.png|640px]]
 
 
 
* "www.google.com" shoud be allowed.
:[[File:proxy4.png|640px]]




* Now open "www.google.com" shoud open.
:[[File:Google-proxy.png|1200px]]




Line 66: Line 60:


* Fill in the URL of the proxy-file, and restart when prompted so.
* Fill in the URL of the proxy-file, and restart when prompted so.
:[[File:proxy24.png|640px]]
:[[File:Auto-proxy.png|1200px]]
 
 
 
* Now, open Browse. "www.facebook.com" should be blacklisted.
:[[File:proxy5.png|640px]]
 




* "www.google.com" shoud be allowed.
* Now open "www.google.com" shoud open.
:[[File:proxy4.png|640px]]
:[[File:Google-proxy.png|1200px]]




Line 107: Line 95:


* Select "Automatic" mode in "My Settings" -> "Proxy" (without specifying anything else), and restart when prompted so.
* Select "Automatic" mode in "My Settings" -> "Proxy" (without specifying anything else), and restart when prompted so.
:[[File:proxy1.png|640px]]
:[[File:Wpad-proxy.png|1200px]]




Line 116: Line 104:




* Open "Browse", and type in "www.google.com". You should be prompted for credentials (as is required by the WPAD-configuration-file at build.activitycentral.com
* Open "Browse", and type in "www.google.com". You should be prompted for credentials (suppose as required by the WPAD-configuration-file)


:[[File:proxy2.png|640px]]
:[[File:proxy2.png|640px]]
Line 126: Line 114:


* The page opens successfully.
* The page opens successfully.
:[[File:proxy4.png|640px]]
:[[File:Google-proxy.png|1200px]]


==Settings verification==


* Next, type "www.facebook.com"; the "Access Denied" page is shown instantaneously, as per the rule in the WPAD-configuration-file at build.activitycentral.com
The proxy settings entered by user are verified before saving to prevent accidental change in proxy settings.
:[[File:proxy5.png|640px]]
* For "manual" type the proxy host addresses are pinged to check for their existence.
* For "auto" type the existence of the *.pac file is checked.
If the above verification fails then the user is prompted with an alert message and option to either "Break the Internet connection" or "Reset".


* Manual proxy verification failed:
:[[File:Manual-proxy-error.png|640px]]


* NOTE: The proxy setup will persist even if a user switches to Gnome Desktop, because the way it is setup, is the natural way gnome does too ( GCONF ) (Thanks Ariel).
* Auto proxy verification failed:
:[[File:Auto-proxy-error.png|640px]]


== User Experience ==
== User Experience ==