Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-04-03 Thread Manash Raja
Hi all, The proxy feature implementation looks complete now. https://github.com/sugarlabs/sugar/pull/665 Hence, please review it and provide suggestions. :) Shall I update the feature page for the same? https://wiki.sugarlabs.org/go/Features/Proxy_Settings Thanks. Regards Manash Pratim Das

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-15 Thread Sam Parkinson
Network manger doesn't have an api to configure proxy. From the arch wiki: > > Automation with network managers > NetworkManager cannot change the environment variables. On Wed, Mar 16, 2016 at 7:37 AM, Gonzalo Odiard wrote: Are you using NetworkManager API to configure

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-15 Thread Manash Raja
Hi Gonzalo, No, I am not using NetworkManager API for the proxy configuration. I am settings the proxy settings to "org.gnome.sugar.proxy" schemas and then exporting them to environment variables ($http_proxy). On Wed, Mar 16, 2016 at 2:07 AM, Gonzalo Odiard wrote: > Are

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-15 Thread Gonzalo Odiard
Are you using NetworkManager API to configure the proxy? On Tue, Mar 15, 2016 at 5:27 PM, Manash Raja wrote: > Dear James, > > Regarding moving to src/jarabe/main.py , as far as I know, there isn't a > direct way for python to set the required environment variables >

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-15 Thread Manash Raja
Dear James, Regarding moving to src/jarabe/main.py , as far as I know, there isn't a direct way for python to set the required environment variables (http_proxy) and make it accessible to all other processes. The various method in python for editing the environment variables, keeps the changes

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-14 Thread James Cameron
Thanks, that's interesting. Your /usr/bin/sugar (aka bin/sugar.in) will run gsettings many times, and this is inefficient, causing unnecessary delay during startup. Perhaps if you move this into src/jarabe/main.py which already uses Gio.Settings? You have worked on your master branch and the

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-14 Thread Manash Raja
Hi, I thank you all for the guidance. I modified my PR as per your suggestions and now the implementation of the proxy feature is far better. @Sam, as you suggested, I have now completely removed the need of re-writing "proxy.sh" every time the settings changes and am using

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-13 Thread James Cameron
On Sun, Mar 13, 2016 at 11:18:46PM -0300, Gonzalo Odiard wrote: > On Sun, Mar 13, 2016 at 11:09 PM, Jerry Vonau <[1]m...@jvonau.ca> wrote: > > > Yea that has roots to the old ActivityCentral fork, any reason > > why this has not been 'upstreamed' from OneEducation(OLPC-AU) to > > SugarLabs? > >

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-13 Thread Gonzalo Odiard
On Sun, Mar 13, 2016 at 11:09 PM, Jerry Vonau wrote: > Yea that has roots to the old ActivityCentral fork, any reason why this has > not been 'upstreamed' from OneEducation(OLPC-AU) to SugarLabs? > > Yes. Was not accepted by sugar upstream. I upstreamed all that was possible, the

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-13 Thread Jerry Vonau
Yea that has roots to the old ActivityCentral fork, any reason why this has not been 'upstreamed' from OneEducation(OLPC-AU) to SugarLabs? > On March 13, 2016 at 8:18 PM Gonzalo Odiard wrote: > > > There are a old patch from Manuel Quiñones here that could be useful: > >

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-13 Thread James Cameron
Thanks, that's the one I remember. Manash, please review that patch. On Sun, Mar 13, 2016 at 10:18:59PM -0300, Gonzalo Odiard wrote: > There are a old patch from Manuel Quiñones here that could be useful: > > [1]https://github.com/godiard/sugar/commit/ > ebfd1ed0f941dca982b90d0d08efda7c2ae75a84

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-13 Thread Gonzalo Odiard
There are a old patch from Manuel Quiñones here that could be useful: https://github.com/godiard/sugar/commit/ebfd1ed0f941dca982b90d0d08efda7c2ae75a84 On Sun, Mar 13, 2016 at 10:08 PM, James Cameron wrote: > Yes, the feature page is out of date. Please fix it. > > Pages

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-13 Thread James Cameron
Yes, the feature page is out of date. Please fix it. Pages that link to the feature page are 0.96 and 0.98 feature lists. http://wiki.sugarlabs.org/go/0.96/Feature_List (defer) http://wiki.sugarlabs.org/go/0.98/Feature_List (accepted, but x%) The feature was code complete, with pre-github pull

Re: [Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-13 Thread Sam Parkinson
Hi Manash, I don't know why the feature page says 100% complete. Maybe it was included in sugar-dextrose which IDK where the code is for nowdays. Anyway, it it looking good. Overall, I saw it and thought that manually setting environment variables was very messy. But consulting the

[Sugar-devel] Proxy Settings Feature in the recent versions of sugar

2016-03-12 Thread Manash Raja
Hi, The college Internet connection that I have goes through a proxy server. I am an interested developer as well as a sugar user along with my brother in school. Even though there is a feature page for proxy setting ( https://wiki.sugarlabs.org/go/Features/Proxy_Settings ), it seems that the

Re: [Sugar-devel] Proxy Settings in Network Control Panel

2013-03-14 Thread Manuel Quiñones
2013/3/14 Ajay Garg a...@activitycentral.com: Thanks a ton Manuel; I will test the patch on the weekend, and let you know :) On Thu, Mar 14, 2013 at 7:27 AM, Manuel Quiñones ma...@laptop.org wrote: Hi Ajay and other devs, Ajay, whlie reviewing your patch for the proxy feature, I decided to

Re: [Sugar-devel] Proxy Settings in Network Control Panel

2013-03-14 Thread Daniel Drake
On Wed, Mar 13, 2013 at 10:43 PM, Ajay Garg a...@activitycentral.com wrote: For more details of the http_proxy interactions with GTK+, please see the source-code of webkit, in particular http://svn.webkit.org/repository/webkit/trunk/Tools/GtkLauncher/main.c GtkLauncher is not a part of WebKit

Re: [Sugar-devel] Proxy Settings in Network Control Panel

2013-03-13 Thread Manuel Quiñones
Oh and forgot to say: in my commit message I tried to respect all the information from the original patch, and added new paragraphs to describe the new implementation. If you see anything I missed, please tell me. 2013/3/13 Manuel Quiñones ma...@laptop.org: Hi Ajay and other devs, Ajay, whlie

Re: [Sugar-devel] Proxy Settings in Network Control Panel

2013-03-13 Thread Ajay Garg
Thanks a ton Manuel; I will test the patch on the weekend, and let you know :) On Thu, Mar 14, 2013 at 7:27 AM, Manuel Quiñones ma...@laptop.org wrote: Hi Ajay and other devs, Ajay, whlie reviewing your patch for the proxy feature, I decided to step in and work on the issues I've found by

Re: [Sugar-devel] Proxy settings

2012-11-15 Thread Tony Anderson
Hi, This implementation implies that it must be set for each XO (in a school with 100 XOs!). How is it proposed to explain this to the classroom teacher who would need to make this setting or walk their children through it. It would seem more appropriate that this configuration be made by a