[web2py] Re: Pyston

2014-04-12 Thread LightDot
On Friday, April 11, 2014 9:18:30 PM UTC+2, Joe Barnhart wrote: It's Pyston! Guido works at Dropbox, so any new revolutionary Python system from there is likely to carry his stamp on it. He has seemed impressed by PyPy in the past, but always a little distant. I think this is what he

[web2py] Error message after an Upgrade from Ubunt 13.04 to 13.10

2014-04-12 Thread Martin Weissenboeck
After an upgrade from Ubuntu 13.04 to 13.10 I got the message client denied by server configuration. The solution is here: http://www.richardgreenwood.ca/2013/12/client-denied-by-server-configuration-error-after-upgrade-to-apache-2-4/ For web2py this means: change in /etc/apache2/sites-available

[web2py] Re: Querying a normalized DB

2014-04-12 Thread Niphlod
simply put, you can't . All single-shot queries return strictly a 2D resultsets, where columns hold values of a unique static type (or NULLs). There's no way in T-SQL of returning a thing that can be originated from 3 different sources, with different types. The thing is, with custom queries

[web2py] Re: Querying a normalized DB

2014-04-12 Thread Henry Nguyen
Thanks for your reply, Niphlod. I suppose I hadn't considered that this is just something that's not even possible with SQL... although, in retrospect, it seems fairly obvious. Could you perhaps elaborate on the custom queries you mentioned? Do you mean that you'd run a different query

Re: [web2py] web2py with Plesk Control Panel ?

2014-04-12 Thread peter
Just to warn people about nginx and uwsgi with plesk control panel. I used uwsgi with nginx on centos 5, using the script that comes with web2py (I helped write it). This worked fine, but then suddenly plesk decided to include nginx to run alongside apache. This configuration totally conflicts

Re: [web2py] security issue in the OpenSSL

2014-04-12 Thread Massimo Di Pierro
This is a major security bug. It affects everything! If you use ubuntu you should immediately fix it with: sudo apt-get upgrade sudo apt-get dist-upgrade On Thursday, 10 April 2014 15:06:36 UTC-5, Michele Comitini wrote: Detailed info here: http://heartbleed.com/ really bad stuff.

[web2py] Re: Calling a function from a different controller

2014-04-12 Thread Massimo Di Pierro
A function is a controller is a page. As others have suggested if it is not page then it should be be put in a model or a module. On Friday, 11 April 2014 10:36:55 UTC-5, Mark Billion wrote: This seems like a really dumb question to me, but I cant seem to find an answer. Controllers

[web2py] Re: id field is editable through REST PUT request

2014-04-12 Thread Massimo Di Pierro
That is not a hole. This code: def PUT(table_name, record_id, **vars): return db(db[table_name]._id==record_id).validate_and_update(**vars) means: allow anybody to put any content in any record of any table. If that is not what you want you should write different code. On Friday, 11

[web2py] Why does appadmin have css overflow: hidden in database results?

2014-04-12 Thread User
In appadmin, if I query a table that has more columns than the width of my browser there will be a horizontal scrollbar places on the div containing the database rows. I find this annoying because in order to scroll horizontally I have to go to the bottom of the search results first to find