[web2py] Lighttpd and fcgihandler processes

2019-08-22 Thread Patito Feo
Hi, I have web2py running over lighttpd. By the moment my currents apps dont have high load average. Checking my processes, i found a single python fcgihandler.py process. python /home/www-data/web2py/fcgihandler.py Is this normal? How affect this in case of high loads? Is the a way to run mo

[web2py] Re: How to stopped redirection to user/login.html

2019-08-22 Thread Patito Feo
Hi and thanks for your answer, I did what the manual points to do. But the redirection still points to user/login.html. In fact here is part of my config: auth.settings.login_url = URL( 'ingreso' ) auth.settings.logged_url = URL( 'preferencias') auth.settings.on_failed_authentication = lambda u

Re: [web2py] Re: Descriptografar senha do usuario

2019-08-22 Thread Junior Phanter
Para maior segurança, a melhor prática é armazenar as senhas criptografadas, nunca no formato original, então os frameworks utilizam bibliotecas que são capazes e verificar se a senha que vc colocou bate com a criptografia sem nunca revelar a senha criptografada. Se vc quer oferecer a opção do usuá

[web2py] Re: How to stopped redirection to user/login.html

2019-08-22 Thread Dave S
On Thursday, August 22, 2019 at 4:32:02 PM UTC-7, Patito Feo wrote: > > Hi, > > This does not worked. > Redirecting still goes to user/login.html. > > Any ideas? > > Cheers, > For a little more context, here's a larger quote form the book: If the visitor is not logger in, and calls a function th

[web2py] Re: How to stopped redirection to user/login.html

2019-08-22 Thread Patito Feo
Hi, This does not worked. Redirecting still goes to user/login.html. Any ideas? Cheers, El jueves, 22 de agosto de 2019, 0:44:39 (UTC-5), Annet escribió: > > What about: > > auth.settings.on_failed_authentication = lambda url: redirect(url) > > > That is what the book says changing the default

[web2py] Custom form errors style

2019-08-22 Thread Patito Feo
Hi, I need to disable the form error_wraper DIVs or custom style those. How can i do either of those? Regards, -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issu

[web2py] New simple application is empty

2019-08-22 Thread pbreit
I tried a "New simple application" and it created the app but the new apps' directory is empty except for "cron" and "process.log". Same for new app wizard. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.

[web2py] Re: Descriptografar senha do usuario

2019-08-22 Thread Dave S
On Thursday, August 22, 2019 at 3:50:31 AM UTC-7, Kimus wrote: > > Bem se não tem como como o framework faz pra quando se utiliza o SQLFORM > por exemplo pq ele retorna a senha que estava no banco descriptgrafada ? > > Web2py never decrypts the password. When you log in, the value you enter i

[web2py] Re: Internal Server Error after attempting to upgrade web2py to 2.18.5 via the Admin interface

2019-08-22 Thread Valdeck Rowe
Only tickets from mainapp.are from months ago. There are also no logs. I'm using uwsgi nginx as the front end. On Tuesday, August 20, 2019 at 11:02:32 PM UTC-5, Dave S wrote: > > > > On Tuesday, August 20, 2019 at 8:13:16 PM UTC-7, Valdeck Rowe wrote: >> >> Hi, >> >> This had been a working ins

[web2py] Ubuntu + nginx on AWS

2019-08-22 Thread Ian Ryder
Hi all, does any know if the recipe / script for deploying on Amazon is still OK? I tried (admittedly in a bit of hurry) a few weeks ago and it complained about versions and I had to drop it and get on with other stuff. Before I try again, just wanted to double check - if you know where any cur

[web2py] Re: Descriptografar senha do usuario

2019-08-22 Thread Kimus
Bem se não tem como como o framework faz pra quando se utiliza o SQLFORM por exemplo pq ele retorna a senha que estava no banco descriptgrafada ? Em quarta-feira, 21 de agosto de 2019 11:30:24 UTC-3, Kimus escreveu: > > Bom dia, estou com um leve probleminha, estou tentando atualizar um > usuari

[web2py] Re: Splitting long controller file

2019-08-22 Thread Tim Nyborg
Admittedly, splitting a lot of the functions into a module would be the best solution. We recently had the same challenge, and moved a bunch of functions from our default controller into their own functions, without having to change frontend calls. This only worked because the functions were i