[web2py] puppet for web2py

2013-08-28 Thread Francisco Barretto
Hi there! Did Anyone already made some puppet module to manage/install web2py and web2py's app management(install/update) through Puppet? I was thinking about hosting my app in a git repository and use a puppet module to keep web2py updated (by applying both web2py and app changes to client

Re: [web2py] puppet for web2py

2013-08-28 Thread Francisco Barretto
at 11:28 AM, Francisco Barretto kikoba...@gmail.com javascript: wrote: Hi there! Did Anyone already made some puppet module to manage/install web2py and web2py's app management(install/update) through Puppet? I was thinking about hosting my app in a git repository and use a puppet

Re: [web2py] puppet for web2py

2013-08-28 Thread Francisco Barretto
should take a look a http://docs.saltstack.com/ref/python-api.html This is like fabric and puppet all in one and its really easy to use. Regards, Nils On Wed, Aug 28, 2013 at 3:28 PM, Francisco Barretto kikoba...@gmail.comjavascript: wrote: Hi there! Did Anyone already made some

[web2py] Re: Run Web2py as a Service? on Ubuntu Lucid?

2013-03-07 Thread Francisco Barretto
Same problem here. Any hints? Did the exact procedure described in http://web2py.com/book/default/chapter/11#Start-as-Linux-Daemon and I get: $ sudo /etc/init.d/web2py start No process in pidfile '/var/run/web2py/web2py.pid' found running; none killed. start-stop-daemon: Unable to start

Re: [web2py] Re: Changing textarea columns in a regular FORM

2012-12-05 Thread Francisco Barretto
, is that developers in most cases knows shift+enter creates a new line but does our final users know it? Francisco Barretto Doutorando PPG-Arte - Arte e Tecnologia Laboratório de Pesquisa em Arte Computacional (Midialab) Departamento de Artes Visuais Instituto de Artes Universidade de Brasília - UnB Campus

Re: [web2py] Re: Changing textarea columns in a regular FORM

2012-12-05 Thread Francisco Barretto
Third question is still open. How to set an text type input non-editable? _disabled does not work. It always fails on validation, even with a default valid value. Francisco Barretto Doutorando PPG-Arte - Arte e Tecnologia Laboratório de Pesquisa em Arte Computacional (Midialab) Departamento de

Re: [web2py] Re: Changing textarea columns in a regular FORM

2012-12-05 Thread Francisco Barretto
Works fine, Anthony! Francisco Barretto Doutorando PPG-Arte - Arte e Tecnologia Laboratório de Pesquisa em Arte Computacional (Midialab) Departamento de Artes Visuais Instituto de Artes Universidade de Brasília - UnB Campus Universitário Darcy Ribeiro Asa Norte 70910-900, Brasília - DF

[web2py] Email validation url points to local host

2012-12-04 Thread Francisco Barretto
Hi there! Trying to use email validation for new users and stuck with a problem. Web2Py is running in its own container and listens localhost:8000. Apache is dealing with incoming requests at ports 80 and 443, since I've got other web applications and routes web2py requests to localhost:8000

[web2py] Re: Email validation url points to local host

2012-12-04 Thread Francisco Barretto
, December 4, 2012 4:07:36 PM UTC+1, Francisco Barretto wrote: Hi there! Trying to use email validation for new users and stuck with a problem. Web2Py is running in its own container and listens localhost:8000. Apache is dealing with incoming requests at ports 80 and 443, since I've got other

[web2py] Re: global logging to file

2012-11-30 Thread Francisco Barretto
Hi There! Sorry to resurrect this long time dead post but I'm really wondering what is the proper way to log actions, errors and warns in Web2Py. Tried Hans/Iceberg solution but the log file is not created... Read in other topic about some logging functionality integrated but found none in

[web2py] Width not working when resizing an image to use it as a submit button

2012-11-16 Thread Francisco Barretto
Hi there! I'm having some troubles using an image as a substitute for a submit button... I'm generating the form in the controller and using a local image as follows: INPUT(_type=image, _value=Editar, _width=16, _height=16, _alt= Editar, _src=/+request.application+/static/images/edit.png),

[web2py] Get request.var by it's name

2012-11-16 Thread Francisco Barretto
Hi there! How do I get a var value which is being passed by post into a controller by its name? I mean, I don't want to get the values using request.args(0), because I'll be stuck with the index. I'd rather do something like request.args['dnsClass'], for example. Any hints?

[web2py] How to list all groups that a user belongs to (memberships) ?

2012-10-30 Thread Francisco Barretto
Hi Folks! How do I list all groups that a user belong? I've found out that Auth has this function: groups(self) displays the groups and their roles for the logged in user I dont manage to get it working. I've tried something like this: def myGroups(): return

Re: [web2py] How to list all groups that a user belongs to (memberships) ?

2012-10-30 Thread Francisco Barretto
, Francisco Barretto kikoba...@gmail.comjavascript: wrote: Hi Folks! How do I list all groups that a user belong? I've found out that Auth has this function: groups(self) displays the groups and their roles for the logged in user I dont manage to get it working. I've tried something like

Re: [web2py] How to list all groups that a user belongs to (memberships) ?

2012-10-30 Thread Francisco Barretto
AM, Francisco Barretto kikoba...@gmail.com wrote: Hi Folks! How do I list all groups that a user belong? I've found out that Auth has this function: groups(self) displays the groups and their roles for the logged in user I dont manage to get it working. I've tried something like

Re: [web2py] How to list all groups that a user belongs to (memberships) ?

2012-10-30 Thread Francisco Barretto
If it doesn't work, use the query I wrote above : rows = query for row in rows: do stuff Richard On Tue, Oct 30, 2012 at 12:35 PM, Francisco Barretto kikoba...@gmail.com wrote: Ok Richard, I've got it. You are right. Without parameters it works but I cant manage to get a userfull

Re: [web2py] How to list all groups that a user belongs to (memberships) ?

2012-10-30 Thread Francisco Barretto
just fine: returns a list of user's group names. Thanks Richard! On Tuesday, October 30, 2012 3:19:29 PM UTC-2, Francisco Barretto wrote: Ok, It does return a table(). I've tried to parse it so I could access the information I need (group names) without success. Richard, Since the name

[web2py] Re: HTTPS Admin Page Remote Connection

2012-09-19 Thread Francisco Barretto
still secure since appadmin and admin are forced to be over HTTPS and did no bypasses on codes or whatever. [User (HTTPS)-- Apache (HTTP)-- Web2PyServer] Thanks! On Thursday, September 13, 2012 10:38:45 AM UTC-3, Francisco Barretto wrote: Hi There! Deploying web2py on a server gives me

[web2py] Re: HTTPS Remote Admin Page Access

2012-09-19 Thread Francisco Barretto
files? Are you sure they work? Meanwhile you can run admin on port 127.0.0.1 and connect via ssl tunnel. On Thursday, 13 September 2012 09:54:18 UTC-5, Francisco Barretto wrote: Hi There, I'm trying to use web2py in a ubuntu server without graphic interface so I need to access the admin

[web2py] HTTPS Remote Admin Page Access

2012-09-13 Thread Francisco Barretto
Hi There, I'm trying to use web2py in a ubuntu server without graphic interface so I need to access the admin page remotely. Started the server with ip 0.0.0.0 and port 8000 and got the message: Admin is disabled because insecure channel I saw some users commenting the above part of access.py

[web2py] HTTPS Admin Page Remote Connection

2012-09-13 Thread Francisco Barretto
Hi There! Deploying web2py on a server gives me some headache about accessing the admin page (on server) from a remote machine. First it throwed the message 'Admin is disabled because insecure channel'. So I found some posts talking about comment the following code