[web2py] Re: new experimental feature in trunk - rows.join(...)

2016-07-29 Thread Carlos Cesar Caballero
Hi Massimo, this new functionality is great!! How will be the syntax for the Mirek use case? And what if we have something like invoice_item >- product >- product_group >- group_thing ? And more and more and more? Greetings. El lunes, 11 de julio de 2016, 2:01:19 (UTC-4), Massimo Di Pierro

[web2py] Re: URL based internationalization and pattern router

2016-07-29 Thread Carlos Cesar Caballero
Hi everyone, again with problems with the router here, I have this rule in routes_in, and is working pefectly: ('/$lang/$country/$state/$city(?P.*)', '/{app}/city/view\g?lang=$lang=$country=$state=$city'.format(app=app)) This maps the url and I can use the language, the country, the city and

[web2py] Re: fake_migrate bug on GAE

2016-07-29 Thread webmaster
Done. On Friday, July 29, 2016 at 6:26:49 AM UTC-7, Massimo Di Pierro wrote: > > Can you please open an issue? > > On Thursday, 28 July 2016 03:33:01 UTC-5, webm...@trytha.com > wrote: >> >> I realize this was a foolish mistake, but there really should be a way to >> fix it, and I believe

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-07-29 Thread webmaster
Nope, same error in: 2.14.6-stable+timestamp.2016.05.10.00.21.47 (the source code off the web2py site). If you want me to try a nightly or something, let me know. The only semi-unique thing about my app is that I allow usernames for login as well. Here is my default/user(): def user():

Re: [web2py] display git version of my own web2py project

2016-07-29 Thread Richard Vézina
with no expiritation time On Fri, Jul 29, 2016 at 3:54 PM, Richard Vézina wrote: > You could also use web2py cache... > > :) > > Richard > > On Fri, Jul 29, 2016 at 12:39 PM, icodk wrote: > >> Might be useful for others >> I like to be able to

Re: [web2py] display git version of my own web2py project

2016-07-29 Thread Richard Vézina
You could also use web2py cache... :) Richard On Fri, Jul 29, 2016 at 12:39 PM, icodk wrote: > Might be useful for others > I like to be able to see which version/tag my production web2py > application has. Here is how I do it(better ideas are welcome): > In db.py > > if

[web2py] Truncated or oversized response headers [ot?]

2016-07-29 Thread goome
hello i have a problem when creating a csv from a db. i got "Truncated or oversized response headers received from daemon process 'web2py': /home/www-data/web2py/wsgihandler.py" searching google i found the solution should be setting the 'header-buffer-size' option for WSGI daemon. But i

[web2py] Re: Web2py scheduler linked postgres processes consuming too much memory

2016-07-29 Thread Abhishek Ram
I have tested it and I can now confirm that the issue is with pg8000. I think its a good idea to mention this in the WIKI. On Friday, July 29, 2016 at 12:12:07 AM UTC+5:30, Niphlod wrote: > > could you please try with psycopg2 ? > > On Thursday, July 28, 2016 at 6:53:10 PM UTC+2, Abhishek Ram

[web2py] Re: Designing security for different client types in the same app

2016-07-29 Thread Alex Glaros
agreed Massimo my friend who made the suggestion gave me a few more details: For multiple programmer teams, he gives HTML developers access to the API only to limit number of programmers writing code accessing the database. thanks, Alex -- Resources: - http://web2py.com -

[web2py] display git version of my own web2py project

2016-07-29 Thread icodk
Might be useful for others I like to be able to see which version/tag my production web2py application has. Here is how I do it(better ideas are welcome): In db.py if not session.gitver: import os os.chdir("/path/to/myapp") os.system('git describe --abbrev=7 --dirty --always

[web2py] Re: setattr equivalent for limiting field display in form?

2016-07-29 Thread Alex Glaros
never mind, I think there is another issue will delete this question -- 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

[web2py] Re: setattr equivalent for limiting field display in form?

2016-07-29 Thread Alex Glaros
not critical to me but if you have time, does it make sense to test to see if there is a w2p bug? I put {{=grid}} and {{=form}} in the same view I use the same table for both: grid = SQLFORM.grid(db.auth_membership) form = SQLFORM.factory(db.auth_membership) but grid correctly restricts

[web2py] Grid export csv

2016-07-29 Thread Ryan Hood
How do you get the csv export to work in web2py grid? NOTE: Working with web2py version 2.14.6 and 2.14.5 Thank you, -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] logout don't kill session

2016-07-29 Thread Jose Eleudson Gurgel Queiroz
The SAME app conclude the logout operation on one server, but not on another or local server. Don't show the flash message of confirm logout. Thanks! Eleudson -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: web2py session disable

2016-07-29 Thread Anthony
Now fixed in master: https://github.com/web2py/web2py/commit/3bc6769e287ef282fe6a3a3be6b8d83bb3eb3104 Anthony On Saturday, July 23, 2016 at 12:04:42 PM UTC-4, Anthony wrote: > > Looks like a bug introduced a long time ago (I guess no one uses this > feature). I just submitted an issue: >

[web2py] bounty pypi

2016-07-29 Thread Massimo Di Pierro
I will pay $200 if you help me put a version of web2py on PyPi. -- 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

Re: [web2py] Re: bounty pypi

2016-07-29 Thread Richard Vézina
There is an exchange between me and Simone (Niphold) that explain a little of the complexity about Pypi packaging for web2py here : https://docs.google.com/document/d/11qcd5AmPoFNjuw_GAt8ceEJYUJ9gNPySHgWA4gNtZRM/edit Richard On Fri, Jul 29, 2016 at 10:09 AM, Marlysson Silva

[web2py] Re: bounty pypi

2016-07-29 Thread Marlysson Silva
It so much dificult? Or just incentive.. Em sexta-feira, 29 de julho de 2016 10:59:38 UTC-3, Massimo Di Pierro escreveu: > > I will pay $200 if you help me put a version of web2py on PyPi. > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: fake_migrate bug on GAE

2016-07-29 Thread Massimo Di Pierro
Can you please open an issue? On Thursday, 28 July 2016 03:33:01 UTC-5, webmas...@trytha.com wrote: > > I realize this was a foolish mistake, but there really should be a way to > fix it, and I believe there is not. > > If you have fake_migrate=True and define a new table, then push to GAE, >

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-07-29 Thread Massimo Di Pierro
This may have been fixed already. Can you upgrade and try it? On Friday, 29 July 2016 00:49:14 UTC-5, webmas...@trytha.com wrote: > > I just uploaded an updated version of web2py to my server, replacing a > much older version (likely 2.12.2), and now it won't send password recovery > emails.

[web2py] Re: Designing security for different client types in the same app

2016-07-29 Thread Massimo Di Pierro
I do not think the question as posed has an answer and most people who have a naive understanding of data security will answer no: it is not a good idea to store data with different levels of classification in the same place. I disagree. Who is in charge on enforcing access control? The app

[web2py] Re: Web2py scheduler linked postgres processes consuming too much memory

2016-07-29 Thread Massimo Di Pierro
The pg8000 driver has problems. Sorry. We should remove it from web2py. On Thursday, 28 July 2016 11:53:10 UTC-5, Abhishek Ram wrote: > > I am using the default driver pg8000 > > On Thursday, July 28, 2016 at 7:47:41 PM UTC+5:30, Niphlod wrote: >> >> what driver are you using ? it's rather

[web2py] Re: setattr equivalent for limiting field display in form?

2016-07-29 Thread Anthony
On Thursday, July 28, 2016 at 4:23:07 PM UTC-4, Alex Glaros wrote: > > is there a setattr equivalent for limiting fields appearing in a form? > > below works to limit fields appearing in *grid*, but I'd like to limit > them in a *form* without having to type long list of readable = False > >

[web2py] Re: fake_migrate bug on GAE

2016-07-29 Thread webmaster
In case someone runs across this, the only solution I've found is to set up an IPv4 connection to your Cloud SQL and connect from your local machine. Then delete the ".table" entries corresponding to the pertinent tables from the web2py_filesystem table in your DB and run a regular migrate.