[web2py:31628] Re: Ajax call to Controller - can it return data as it receives it?

2009-09-24 Thread Rob Scheibel
and works perfectly (its just not commented) > > clienttools -http://www.web2pyslices.com/main/slices/take_slice/8 > > py2jquery -http://pastebin.com/m6dd0b53 > > -Thadeus > > On Thu, Sep 24, 2009 at 12:29 PM, Rob Scheibel wrote: > > > > > Seeing if anyone has any ide

[web2py:31624] Ajax call to Controller - can it return data as it receives it?

2009-09-24 Thread Rob Scheibel
Seeing if anyone has any ideas on a better way to do this... I've got a view that has a button. When the user presses the button, an ajax call is made to one of my functions in a controller. This function runs several large database queries. Currently, it returns the results (simple small amount

[web2py:27949] Re: Default CRYPT() is unsecure

2009-08-04 Thread Rob Scheibel
, 7:50 am, Pynthon wrote: > > > Ah, nevermind then... > > > On 4 aug, 14:47, mdipierro wrote: > > > > This can be added easily and it does not affect backward > > > compatibility. > > > > Massimo > > > > On Aug 4, 7:37 am, Rob Scheib

[web2py:27938] Re: Default CRYPT() is unsecure

2009-08-04 Thread Rob Scheibel
Very good points in this discussion. I would like to see the addition of a processing delay added for numerous failed login attempts. This is what the larger sites are doing now - it slows down the dictionary attacks by adding 1/2 a second to each successive bad login attempt until you hit some ma

[web2py:26050] Re: Using auth function (Approval)

2009-07-09 Thread Rob Scheibel
; the default of a datatime cannot be  a string. > > On Jul 9, 12:11 pm, Rob Scheibel wrote: > > > Nevermind. I upgraded to the latest version 1.65.1 and it seems to be > > working. The only issue is I get the following when I click the > > register link: > > > Att

[web2py:26040] Re: Using auth function (Approval)

2009-07-09 Thread Rob Scheibel
Nevermind. I upgraded to the latest version 1.65.1 and it seems to be working. The only issue is I get the following when I click the register link: AttributeError: 'str' object has no attribute 'strftime' I'm guessing my auth db table isn't quite right. Here's what I have: db.define_table('sit

[web2py:26038] Re: Using auth function (Approval)

2009-07-09 Thread Rob Scheibel
ngth= . Perhaps this is a bug of some sorts? -rob On Jul 9, 12:19 pm, Rob Scheibel wrote: > Odd. Here it is since it doesn't seem to want to email: > > # coding: utf8 > > # > ## This scaffolding model m

[web2py:26037] Re: Using auth function (Approval)

2009-07-09 Thread Rob Scheibel
Odd. Here it is since it doesn't seem to want to email: # coding: utf8 # ## This scaffolding model makes your app work on Google App Engine too # if re

[web2py:25425] Re: Using auth function (Approval)

2009-07-01 Thread Rob Scheibel
Emailed. Thanks for looking at it for me! -rob On Jul 1, 9:45 am, mdipierro wrote: > can you please email me your db.py? > > On Jul 1, 5:12 am, Rob Scheibel wrote: > > > Thanks for the quick reply! I added the line > > "auth.settings.table_user=db.siteuser&qu

[web2py:25396] Re: Using auth function (Approval)

2009-07-01 Thread Rob Scheibel
Thanks for the quick reply! I added the line "auth.settings.table_user=db.siteuser" and I'm still getting the same error. Here's the traceback: Traceback (most recent call last): File "/home/rob/Desktop/web2py/gluon/restricted.py", line 107, in restricted exec ccode in environment File "/

[web2py:25369] Re: Using auth function (Approval)

2009-06-30 Thread Rob Scheibel
I've tried to create my own auth table, but keep running into issues. Here's the current version: db.define_table( "siteuser", db.Field('user_id'), db.Field('user_id__tmp'), db.Field('firstname', length=128, default=''), db.Field('lastname', length=128, default=''), db.Fie