[web2py] Re: web2py 2.9.6 is out!

2014-09-02 Thread Jan Beilicke
Thanks a lot, great work! Fortunate coincidence: I wanted to use Sphinx for my current web2py project and was thinking about the best way to integrate it ... and there it is already! :) Kind regards, Jan Am Dienstag, 2. September 2014 04:08:25 UTC+2 schrieb Massimo Di Pierro: > > This is a

[web2py] Re: smartgrid form submit button behaviour

2014-09-02 Thread 98ujko9
Well, drop down is too tight when you have lots of rows and also in the window I have the functionality of the browser search tool. I filed an issue about my dilemma: https://code.google.com/p/web2py/issues/detail?id=1974&start=100&; On Tuesday, September 2, 2014 6:12:12 PM UTC-4, Cliff Kachins

[web2py] smartgrid form submit button behaviour

2014-09-02 Thread Cliff Kachinske
Why not use a drop down field? -- 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 Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] Re: two forms submitted into the same cotroller

2014-09-02 Thread Cliff Kachinske
Here is what I do. Your page should have one form only. Make 2 divs. Top div has your fixed fields including the one that triggers the variable content. Use jquery to catch the change event for the field. When the field changes send an Ajax request to the server. Let the server build the v

[web2py] Re: OT: irritated by "9 minutes ago"

2014-09-02 Thread Dave S
On Tuesday, September 2, 2014 2:21:16 PM UTC-7, Leonel Câmara wrote: > > People use pretty dates like "20 minutes ago" because they're prettier and > easier for humans. A better solution than using a simple date instead of a > pretty one is to continuously update the prettydate. Something you c

[web2py] Re: Philosophical help with REST

2014-09-02 Thread Cliff Kachinske
Your table primary key doesn't have to be an integer. Maybe you could abbreviate the club names and slugify them using IS_SLUG. Of course you then will have to jump through some legacy table hoops with the DAL. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http:/

Re: [web2py] Re: web2py 2.9.6 is out!

2014-09-02 Thread Tim Richardson
Someone a long time ago added a jump to the top button in the scroll bar. Doesn't this help? Also, search is good for finding topics. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/is

[web2py] Re: OT: irritated by "9 minutes ago"

2014-09-02 Thread Leonel Câmara
People use pretty dates like "20 minutes ago" because they're prettier and easier for humans. A better solution than using a simple date instead of a pretty one is to continuously update the prettydate. Something you can easily accomplish using javascript. In fact, reddit does it. If you notice

[web2py] OT: irritated by "9 minutes ago"

2014-09-02 Thread Dave S
Okay, this isn't a web2py issue, just a general page design thing I'm complaining about. Many web sites like to show "last updated 20 minutes ago" beside an item on the page. This is great when you've just loaded the page, and know how long ago 20 minutes was, but I'm the sort of person who ke

Re: [web2py] Re: web2py database migration workflow

2014-09-02 Thread Diogo Munaro
Hey guys, I updated developers readme: https://github.com/dmvieira/web2py-migrate/blob/master/README.md#for-developers 2014-09-02 17:29 GMT-03:00 Diogo Munaro : > Thank you Dave! > > Hey!! The project have an issue about mercurial [1] and you can help a lot > with sqlite too! > > You just need t

Re: [web2py] Re: web2py database migration workflow

2014-09-02 Thread Diogo Munaro
Thank you Dave! Hey!! The project have an issue about mercurial [1] and you can help a lot with sqlite too! You just need to follow developers guide that I wrote in README: "There are dummy files inside folders version_control and databases. These dummy files are useful if you want to extend th

[web2py] Re: web2py 2.9.6 is out!

2014-09-02 Thread JorgeH
Thanks and congrats! Keep up the good work!! On Monday, September 1, 2014 9:08:25 PM UTC-5, Massimo Di Pierro wrote: > > This is a much improved revision. Lots of the changes are internal > rewrites to strengthen the security and enable porting to bootstrap 3 in > the next version. The list bel

[web2py] Re: web2py database migration workflow

2014-09-02 Thread Dave S
On Saturday, August 30, 2014 9:15:37 PM UTC-7, Diogo Munaro wrote: > > Hey guys, I was thinking about web2py migrates and how control database > version. > > I did a workflow that take care of database version control and it's > extensible for a lot of version controls (like git or mercurial, bu

[web2py] Re: web2py 2.9.6 is out!

2014-09-02 Thread Joe Barnhart
So does LIKE default to case-sensitive now? Will it stay that way? https://code.google.com/p/web2py/issues/detail?id=1973 -- Joe On Monday, September 1, 2014 7:08:25 PM UTC-7, Massimo Di Pierro wrote: > > This is a much improved revision. Lots of the changes are internal > rewrites to strength

Re: [web2py] Re: web2py 2.9.6 is out!

2014-09-02 Thread Marin Pranjić
Home key doesn't work for you? On Tue, Sep 2, 2014 at 5:31 PM, António Ramos wrote: > Speaking about documentation... > > In the English online book, the "Table of Contents" should be fixed. > > I HATE having to scroll to the top to select another topic. > > I suppose other peolpe should/must h

[web2py] Re: Is anyone working on a two-step login for auth? (Sometimes called two factor authentication)

2014-09-02 Thread PN
Update. The code is part of web2py starting at version 2.9.6 On Wednesday, May 14, 2014 2:18:59 PM UTC-4, pallav wrote: > > Another update - submitted the fixed code as a pull request. This fixes > the issue that was causing unit tests to fail. Waiting to hear back from > the team. > > On Tuesda

[web2py] Re: Problem with auth.request_password

2014-09-02 Thread Massimo Di Pierro
It appears there is a bug in reset_password. It will work if you do: http://domain/"app"/default/reset_password/verify/"key"; instead of http://domain/"app"/default/reset_password/"key"; On Tuesday, 2 September 2014 11:16:26 UTC-5, Leonardo Silvano wrote: > > So, i'm not using the default "def

[web2py] Problem with auth.request_password

2014-09-02 Thread Leonardo Silvano
So, i'm not using the default "def user(): return dict(form=auth())" for user actions, instead i am creating just what i need, i sucessfully created login/logout/profile/change_password and request_reset_password, but i'm having some problems with reset_password, the key is correctly sent to my

[web2py] 'Bad Request - HTTP body is incomplete' if exception is raised in form hander

2014-09-02 Thread Joshua Haislip
Hi All, I have routes_onerror configured to redirect all errors to my error handling controller: routes_onerror = [ ('app/*', '/app/error/index'), ] The first line in the index function of the error controller is: code = request.vars.code Problem: If an exception is raised after calling

Re: [web2py] Re: web2py 2.9.6 is out!

2014-09-02 Thread António Ramos
Speaking about documentation... In the English online book, the "Table of Contents" should be fixed. I HATE having to scroll to the top to select another topic. I suppose other peolpe should/must hate it also. Regards 2014-09-02 16:10 GMT+01:00 Massimo Di Pierro : > Thank you Tim for all you

[web2py] important - anybody in academia?

2014-09-02 Thread Massimo Di Pierro
Are you a university professor using web2py? do you know a university professor who uses web2py? Please email me personally. It is important. Massimo -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.

[web2py] Re: web2py 2.9.6 is out!

2014-09-02 Thread Massimo Di Pierro
Thank you Tim for all your hard work, specifically in keeping the documentation updated. On Tuesday, 2 September 2014 07:00:54 UTC-5, Tim Richardson wrote: > > thank you all. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: new web2py videos

2014-09-02 Thread Remco Boerma
Thanks Nico, Massimo -- 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 Issues) --- You received this message because you are subscribed to the Google Groups "web2py-us

[web2py] Re: web2py 2.9.6 is out!

2014-09-02 Thread Remco Boerma
Thanks! -- 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 Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. T

[web2py] Re: GAE NDB is there a problem with using belongs on an id field?

2014-09-02 Thread Quint
Looking at the code again, I see there are 5 more instances of: Key.from_path I think they should all be replaced by: self.keyfunc (Not necessarily related to the issue btw) On Monday, September 1, 2014 1:32:33 PM UTC+2, Quint wrote: > Ok, > > I did not test this but from what can see from he

[web2py] Re: web2py 2.9.6 is out!

2014-09-02 Thread Tim Richardson
thank you all. -- 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 Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users"

Re: [web2py] new web2py videos

2014-09-02 Thread Johann Spies
> Please join me in thanking Nico. > Thanks Nico ! -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://co

Re: [web2py] Re: GAE NDB is there a problem with using belongs on an id field?

2014-09-02 Thread Quint
I will try to test this later but I can tell you now how "IN" relates to "BELONGS". GAE does not have "belongs" and web2py solves this by using "IN". Also you must realize that GAE performs a separate subquery for every item with a IN clause. So this is very inefficient. You're also limited to