[web2py] Re: auth_user customization

2011-08-18 Thread Gregory Hellings
This is happening to ALL of my tables. What am I missing here? --Greg On Aug 18, 10:25 am, Gregory Hellings wrote: > I was using the following db.py (http://pastie.textmate.org/2389614) > and db_auth.py (http://pastie.textmate.org/2389616) files in a project > successfully in 1.95.*

[web2py] Re: in a db query, why the error: can't compare datetime.datetime to Field

2011-08-18 Thread Gregory Hellings
If I understand what you're doing there it is a limitation of the language. db.entry.DT > my_DT works because Field has defined a special language construct for when the datetime is compared to the Field. However, my_DT < db.entry.DT does not work, because there you are comparing a Field to a date

[web2py] auth_user customization

2011-08-18 Thread Gregory Hellings
I was using the following db.py (http://pastie.textmate.org/2389614) and db_auth.py (http://pastie.textmate.org/2389616) files in a project successfully in 1.95.*. When I upgraded to 1.97 and now 1.98 I get the following error (http://dumpr.info/v/2kc) whenever I try to load a page in the applicat

[web2py] Re: new cool library to handle websockets

2011-06-21 Thread Gregory Hellings
I'll have to see if my Socket.IO port of comet_messaging.py still works with the new version. --Greg On Jun 21, 12:08 pm, Massimo Di Pierro wrote: > http://socket.io/index.html#announcement

[web2py] Re: How hard it is to do Non-WebSocket Comet (Long Polling)

2011-06-18 Thread Gregory Hellings
they may want https later. May be i will reverse proxy later. > > On Tue, Jun 14, 2011 at 4:47 AM, Gregory Hellings > wrote: > > > > > > > > > > > On Jun 13, 10:20 am, Anthony wrote: > > > On Monday, June 13, 2011 11:14:23 AM UTC-4, dspiteself wro

[web2py] Re: How hard it is to do Non-WebSocket Comet (Long Polling)

2011-06-13 Thread Gregory Hellings
On Jun 13, 10:20 am, Anthony wrote: > On Monday, June 13, 2011 11:14:23 AM UTC-4, dspiteself wrote: > > > 1. You could modify massimo's commet_messaging.py to use > >https://github.com/kmike/tornadio. It also uses tornado but is based > > on socket.io and gives you the choice of the following tr

[web2py] Re: some new cool stuff in trunk under testing

2011-05-04 Thread Gregory Hellings
On May 4, 4:09 pm, Massimo Di Pierro wrote: > Hello everybody > > Jonathan and I have been working on an internal web2py rewrite that while > keeping everything backward compatible will allow you to do this > > modules/mymodule.py > from gluon import * > def f(): return DIV(A(current.r

[web2py] Virtual Fields on auth_user

2011-04-23 Thread Gregory Hellings
I have a virtual field attached to the auth_user table titled "name" that renders the user's name with certain formatting based on auth membership. I also have records in a second table that are linked to the auth_user table. When I fetch these rows I can access the virtual as expected: row.spea

[web2py] Re: bulk insert form

2011-04-12 Thread Gregory Hellings
It probably isn't helpful for multiple file uploads, but you can do bulk insert with the CSV interface. You might need to write a little JavaScript magic to convert multiple forms into a CSV format, but it shouldn't be terribly difficult. For multiple uploads, you could just put multiple forms on

[web2py] Re: DAL format= functionality

2011-03-31 Thread Gregory Hellings
> > > > > > > On Thursday, March 31, 2011 4:41:40 PM UTC-4, Gregory Hellings wrote: > > I have defined a custom auth.settings.table_user_name implementation > > that includes one extra field and specifies a value for the format > > argument.  In this cas

[web2py] DAL format= functionality

2011-03-31 Thread Gregory Hellings
I have defined a custom auth.settings.table_user_name implementation that includes one extra field and specifies a value for the format argument. In this case format is a callback function which displays the user's name with extra formatting based on membership in certain auth groups. This option

[web2py] Re: web2py applications and version control systems

2011-03-22 Thread Gregory Hellings
I was just getting ready to dump my newest project into VCS and was wondering the same question. For me, since I'm not anywhere near production yet, I am opting for just putting the application into VCS, then I can use web2py's autoupdate feature. Again, I'm only using this as a playground for pu

[web2py] Re: More WebSocket inquiries

2011-03-17 Thread Gregory Hellings
ine there are different distinctions. I was just wondering if anyone knows which clients we can use if we want to operate on IE and FF as well. --Greg > > Enviado via iPhone > > Em 16/03/2011, às 17:43, Gregory Hellings escreveu: > > > > > > > > > I see the we

[web2py] More WebSocket inquiries

2011-03-16 Thread Gregory Hellings
I see the websocket/comet discussion from December and the script in contrib. I was wondering if any further effort has gone into enabling this across more browsers using some of the available technologies which can be leveraged for that purpose. Unless the acceptance is broader than just the 10%