Re: [web2py] Re: web2py received 2011 BOSSIE Award by InfoWorld.com

2011-09-12 Thread Bruno de Oliva Bemfica
Bravíssimo, Massimo! Congratulazioni per te e per tutti i programmatori che
hanno colaborato con il web2py.

2011/9/12 encompass encomp...@gmail.com

 Yup... he just might be.  That or he works on the train.  SMARTS!  I
 tried programming on my bike, but it's not very functional. :)
 Congrats to Massimo, he has made a framework that works like a dream.

 On Sep 11, 9:30 am, GoldenTiger goldenboy...@gmail.com wrote:
  In this community there's a rumor that he is a cyborg.
  Take a look at posts stats:
 
  17918   mdipierro
   2324   Massimo Di Pierro
   2116   Yarko
   1814   thade...@thadeusb.com
   1776   Jonathan Lundell
   1461   DenesL
   1454   rochacbruno
   1401   Anthony
   1311   pbreit
   1104   nat...@freezable.com
 
  On 10 sep, 22:46, António Ramos ramstei...@gmail.com wrote:
 
 
 
 
 
 
 
hey,
   we are here all fascinated about web2py and i was thinking ,
 
   who is Massimo as a man in the society, among friends, does he drive a
   Ferrary or a fiat 500?
 
   Does he eat meat or is a vegetarian. Is he good at other stuff or was
 just
   born to bring us web2py ?
   What are his projects in the future. How does he sees Web2py in 5
 years?
 
   Let me be curious about a guy that created such a powerfull and funny
 tool.
 
   I envy you :)
 
   Let me suggest to you all
 
   Stop programming and give Massimo an Applause  for making the clock
 ticking
 
   +
 
   2011/9/9 mikech mp.ch...@gmail.com Congratulations!  Hey DePaul you
 just got some PR from one of your esteemed
faculty!




-- 
Bruno de Oliva Bemfica
*Engenheiro de Software*
MSN: brunocode...@live.com bruno.bemf...@hotmail.com
Mobile: +55 11 8457-0978
http://www.devfranca.com.br
http://www.brunobemfica.net
http://www.codigofree.net


Re: [web2py] Re: CAS Auth redirect loop

2011-08-18 Thread Bruno de Oliva Bemfica
Thanks for your answer, Anthony. I fixed the problem returnin form =
auth.login() on the controller, instead of form = auth(). But now, a new
problem appeared: The client apps access the CAS server and after the login
screen, they're redirected to the CAS app index page, instead of being
redirected to the client URL. And, if I try to access the client app page
again, the client app tries to authenticate again. It doesn't seem to be
authenticated.

2011/8/17 Anthony abasta...@gmail.com

 Hmm, it appears to have something to do with the fact that you've got a
 custom auth_user table, but I can't figure out what. Maybe Massimo can help.

 Anthony

 On Wednesday, August 17, 2011 4:19:58 PM UTC-4, Bruno Codeman wrote:

 Everytime I click the login button, I receive a message from
 firefox/chrome with a 310 error(too_many_redirects) telling me to delete the
 cookies
 or allow third-party cookies. I have an app called login(the CAS Server)
 and another one called ControleDeAtivos(which should use the other app as
 a cas provider). Everything's going fine on the client app. When I click the
 login link(on the menu), I'm redirected to the cas server app login
 page,and after click the submit button, the browser shows the message. The
 URL showing on browser is this: *http://172.16.7.10:8000/
 ControleDeAtivos/default/user/login?_next=%2FControleDeAtivos%2Fdefault%
 2Findex*

 The db.py file is attached.

 2011/8/17 Anthony abas...@gmail.com

  Can you show some minimal code that reproduces the problem?

 On Wednesday, August 17, 2011 3:56:32 PM UTC-4, Bruno Codeman wrote:

  Anyone? The app is entering a redirecting loop everytime I try to
 authenticate...

 2011/8/17 Bruno de Oliva Bemfica brun...@gmail.com

 Hi again, everyone. Does anyone know why a CAS auth could be entering a
 loop redirect?

 --
 Bruno de Oliva Bemfica
 *Engenheiro de Software*

 MSN: brun...@live.com

 Mobile: +55 11 8457-0978
 http://www.devfranca.com.br
 http://www.brunobemfica.net
 http://www.codigofree.net




 --
 Bruno de Oliva Bemfica
 *Engenheiro de Software*

 MSN: brun...@live.com

 Mobile: +55 11 8457-0978
 http://www.devfranca.com.br
 http://www.brunobemfica.net
 http://www.codigofree.net




 --
 Bruno de Oliva Bemfica
 *Engenheiro de Software*
 MSN: brunoc...@live.com
 Mobile: +55 11 8457-0978
 http://www.devfranca.com.br
 http://www.brunobemfica.net
 http://www.codigofree.net




-- 
Bruno de Oliva Bemfica
*Engenheiro de Software*
MSN: brunocode...@live.com bruno.bemf...@hotmail.com
Mobile: +55 11 8457-0978
http://www.devfranca.com.br
http://www.brunobemfica.net
http://www.codigofree.net


Re: [web2py] Re: custom form trouble

2011-08-17 Thread Bruno de Oliva Bemfica
Thanks for you answer, Anthony! Changed the code as you said and it worked!
:D

2011/8/17 Anthony abasta...@gmail.com

 On Tuesday, August 16, 2011 11:35:40 PM UTC-4, Bruno Codeman wrote:

 Thanks for answering, Denes. I included manually the form/form tags
 because it wasn't been generated by web2py. I thought it very strange, but
 I'll try again tomorrow(It's 00:33AM in Brazil and I just got home, lol).
 Thanks for helping me again.


 You have {{form.custom.begin}}, but it should be {{=form.custom.begin}}
 (same for form.custom.end).

 Anthony





-- 
Bruno de Oliva Bemfica
*Engenheiro de Software*
MSN: brunocode...@live.com bruno.bemf...@hotmail.com
Mobile: +55 11 8457-0978
http://www.devfranca.com.br
http://www.brunobemfica.net
http://www.codigofree.net


[web2py] CAS Auth redirect loop

2011-08-17 Thread Bruno de Oliva Bemfica
Hi again, everyone. Does anyone know why a CAS auth could be entering a loop
redirect?

-- 
Bruno de Oliva Bemfica
*Engenheiro de Software*
MSN: brunocode...@live.com bruno.bemf...@hotmail.com
Mobile: +55 11 8457-0978
http://www.devfranca.com.br
http://www.brunobemfica.net
http://www.codigofree.net


[web2py] Re: CAS Auth redirect loop

2011-08-17 Thread Bruno de Oliva Bemfica
Anyone? The app is entering a redirecting loop everytime I try to
authenticate...

2011/8/17 Bruno de Oliva Bemfica brunobemf...@gmail.com

 Hi again, everyone. Does anyone know why a CAS auth could be entering a
 loop redirect?

 --
 Bruno de Oliva Bemfica
 *Engenheiro de Software*
 MSN: brunocode...@live.com bruno.bemf...@hotmail.com
 Mobile: +55 11 8457-0978
 http://www.devfranca.com.br
 http://www.brunobemfica.net
 http://www.codigofree.net




-- 
Bruno de Oliva Bemfica
*Engenheiro de Software*
MSN: brunocode...@live.com bruno.bemf...@hotmail.com
Mobile: +55 11 8457-0978
http://www.devfranca.com.br
http://www.brunobemfica.net
http://www.codigofree.net


Re: [web2py] Re: CAS Auth redirect loop

2011-08-17 Thread Bruno de Oliva Bemfica
Everytime I click the login button, I receive a message from firefox/chrome
with a 310 error(too_many_redirects) telling me to delete the cookies
or allow third-party cookies. I have an app called login(the CAS Server)
and another one called ControleDeAtivos(which should use the other app as
a cas provider). Everything's going fine on the client app. When I click the
login link(on the menu), I'm redirected to the cas server app login
page,and after click the submit button, the browser shows the message. The
URL showing on browser is this: *
http://172.16.7.10:8000/ControleDeAtivos/default/user/login?_next=%2FControleDeAtivos%2Fdefault%2Findex
*

The db.py file is attached.

2011/8/17 Anthony abasta...@gmail.com

 Can you show some minimal code that reproduces the problem?

 On Wednesday, August 17, 2011 3:56:32 PM UTC-4, Bruno Codeman wrote:

 Anyone? The app is entering a redirecting loop everytime I try to
 authenticate...

 2011/8/17 Bruno de Oliva Bemfica brunob...@gmail.com

 Hi again, everyone. Does anyone know why a CAS auth could be entering a
 loop redirect?

 --
 Bruno de Oliva Bemfica
 *Engenheiro de Software*

 MSN: brunoc...@live.com

 Mobile: +55 11 8457-0978
 http://www.devfranca.com.br
 http://www.brunobemfica.net
 http://www.codigofree.net




 --
 Bruno de Oliva Bemfica
 *Engenheiro de Software*

 MSN: brunoc...@live.com

 Mobile: +55 11 8457-0978
 http://www.devfranca.com.br
 http://www.brunobemfica.net
 http://www.codigofree.net




-- 
Bruno de Oliva Bemfica
*Engenheiro de Software*
MSN: brunocode...@live.com bruno.bemf...@hotmail.com
Mobile: +55 11 8457-0978
http://www.devfranca.com.br
http://www.brunobemfica.net
http://www.codigofree.net


db.py
Description: Binary data


[web2py] custom form trouble

2011-08-16 Thread Bruno de Oliva Bemfica
Hi, I'm trying to make a customized login form and when I click the submit
button, the screen just blink, but no response. I'm using cas auth.

-- 
Bruno de Oliva Bemfica
*Engenheiro de Software*
MSN: brunocode...@live.com bruno.bemf...@hotmail.com
Mobile: +55 11 8457-0978
http://www.devfranca.com.br
http://www.brunobemfica.net
http://www.codigofree.net


Re: [web2py] Re: custom form trouble

2011-08-16 Thread Bruno de Oliva Bemfica
Thanks for answering, Denes. I included manually the form/form tags
because it wasn't been generated by web2py. I thought it very strange, but
I'll try again tomorrow(It's 00:33AM in Brazil and I just got home, lol).
Thanks for helping me again.

2011/8/16 DenesL denes1...@yahoo.ca

 Hi Bruno,

 not sure if this is the problem but I believe you can not have nested
 forms.
 Your view has:

  {{form.custom.begin}}
  div class=wrapLogin
  form action= enctype=multipart/form-data method=post

 and

  /form
  /div
  div class=copyrightLogin© 2011, Groupon Inc. Todos os direitos
 reservados./div
  {{form.custom.end}}

 form.custom begin and end contain the opening form and closing /
 form tags,
 so you will have an invalid construct of a form inside another.

 Denes




-- 
Bruno de Oliva Bemfica
*Engenheiro de Software*
MSN: brunocode...@live.com bruno.bemf...@hotmail.com
Mobile: +55 11 8457-0978
http://www.devfranca.com.br
http://www.brunobemfica.net
http://www.codigofree.net