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
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
i
-> 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 some headache about accessing the
> admin page (on server) from a remote machine. First it throwed the message
&g
>
>
> Can you try the full path to certificate 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'
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 /usr/l
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 dict(auth.groups(auth.user_id))
amp;(db.auth_group.id
>> ==db.auth_membership.group_id)).select(db.auth_group.ALL)
>>
>> Richard
>>
>>
>> On Tue, Oct 30, 2012 at 11:15 AM, Francisco Barretto
>>
>> > wrote:
>>
>>> Hi Folks!
>>>
>>> How do I list
uld give you what you the information you are searching :
>>>
>>> db((db.auth_user.email == 'USER_EMAIL')&(db.auth_membership.user_id ==
>>> db.auth_user.id)&(db.auth_group.id
>>> ==db.auth_membership.group_id)).select(db.auth_group.ALL)
>>>
>> example).
>>
>> You could also try as_list() :
>>
>> http://web2py.com/books/default/chapter/29/06#as_dict-and-as_list
>>
>> If it doesn't work, use the query I wrote above :
>>
>> rows = query
>> for row in rows:
>> do st
)
Works 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.
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/e
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?
vars:dnsClass:INow
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 web
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 as
x27;reset_password']) + '/%(key)s to
> reset your password'
>
> replace request.env.http_host with your own and voilà.
>
>
>
> On Tuesday, December 4, 2012 4:07:36 PM UTC+1, Francisco Barretto wrote:
>>
>> Hi there!
>>
>> Trying to use email vali
Hi there, it might be (and probably is) a silly but I have a series of
questions concerning the following form:
form=FORM(TABLE(TR("Nome:",INPUT(_type="text",_name="name", _value=user_name
, _writable=False, requires=IS_NOT_EMPTY())),
TR("Email:",INPUT(_type="text",_name="
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
C
Anthony, you're right!
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
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
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
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 mac
> script, to one customer.
>
> On Wed, Aug 28, 2013 at 11:28 AM, Francisco Barretto
> > wrote:
> > Hi there!
> >
> > Did Anyone already made some puppet module to manage/install web2py and
> > web2py's app management(install/update) through Puppet?
gt;
> Hi,
>
> You 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
>
> > wrote:
23 matches
Mail list logo