[web2py] Re: SOCKsify all connections from web2py server

2011-10-29 Thread Arturo Filastò
Just wanted to update you on our progress. We have wrapped the modules that we use ourselves with socksipy: http://web2py.com/examples/static/epydoc/web2py.gluon.shell-module.html https://code.google.com/p/socksipy-branch/ However we would like to have make also our DNS requests go through a

[web2py] Persistent variables in web2py

2011-10-29 Thread Arturo Filastò
We have noticed that everything in models gets executed every time a page gets loaded. Is there a way in web2py to have varibles be persistent. For example when I instantiate a class I don't want to re-instantiate it every time a page is loaded. The same is true for database connections. Does

[web2py] SOCKsify all connections from web2py server

2011-10-18 Thread Arturo Filastò
I am interested in having all connections made by web2py run through a SOCKS4a proxy (in this specific case Tor). What is the best way to do so? Is there some function that is always used by web2py for network connections that I can go and patch? It is also very important that the connections

[web2py] Re: SOCKsify all connections from web2py server

2011-10-18 Thread Arturo Filastò
More details on what exactly I am trying to solve can be found here: https://github.com/globaleaks/GlobaLeaks/issues/90. - Art. On Oct 18, 10:59 am, Arturo Filastò a...@baculo.org wrote: I am interested in having all connections made by web2py run through a SOCKS4a proxy (in this specific case

[web2py] Re: SOCKsify all connections from web2py server

2011-10-18 Thread Arturo Filastò
socket and a it is wrapped into SSL. Hope this helps. Keep me posted about your project. I am interested. massimo On Oct 18, 3:59 am, Arturo Filastò a...@baculo.org wrote: I am interested in having all connections made by web2py run through a SOCKS4a proxy (in this specific case Tor

[web2py] Re: RESTful interfaace

2011-10-13 Thread Arturo Filastò
When I try to use the suggested decorator I get this error: Traceback (most recent call last): File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/ lib/python2.7/gluon/restricted.py, line 192, in restricted exec ccode in environment File

[web2py] Re: RESTful interfaace

2011-10-13 Thread Arturo Filastò
On Oct 13, 1:13 pm, Arturo Filastò a...@baculo.org wrote: When I try to use the suggested decorator I get this error: Traceback (most recent call last):   File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/ lib/python2.7/gluon/restricted.py, line 192, in restricted     exec

[web2py] Re: featured web2py apps

2011-10-13 Thread Arturo Filastò
List: - app name GlobaLeaks - app author Random GlobaLeaks Developers - app description GlobaLeaks is an open source project aimed to create a worldwide, anonymous, censorship-resistant, distributed whistleblowing platform. - where to get it https://github.com/globaleaks/globaleaks -

[web2py] RESTful interfaace

2011-10-12 Thread Arturo Filastò
I wish to implement a RESTful interface with web2py. What I would like to know is what is the most web2py friendly way of doing so. Is there a way to have the data inserted into the database without me having to write the queries myself? I am basically looking for the equivalent of