web2py 1.56 is OUT!!!

16 views
Skip to first unread message

mdipierro

unread,
Feb 5, 2009, 1:14:43 AM2/5/09
to web2py Web Framework
web2py 1.56 is out, including the new web site

http://mdp.cti.depaul.edu/

It is the best release ever. You will probably not need T2 any more.

New features:
- Authentication (see new Documentation page)
- Authorization (Role Based Access Controller) (see new Documentation
page)
- CRUD (see new Documentation page)
- portable url fetch function (see new Documentation page)
- portable geocoding function (see new Documentation page)
- PEP8 compliant
- Python 2.5 and Python 2.6 compliant
- Runs on Jython (without db drivers)
- Runs on IronPython (without CSV, db drivers and internal web-server)
- DAL shorcuts
print db.table[id]
db.table[id]=dict(field=value)
del db.table[id]
- db.table.field.writable (used in create/update SQLFORMS)
- db.table.field.readable (used in readonly SQLFORMS)
- db.table.field.autodelete (for uploaded data)
- db.table.field.authorization (for CRUD authorization of uploaded
fields)
- SQLFORM(table,record) or SQLFORM(table,record_id) for update forms
- SQLFORM(....,readonly=True)
- SQLFORM has default image preview
- new generic.html view
- LEGEND helper
- request.env.web2py_version
- more examples and documentation
- as usual still backward compatible

Many thanks of all of those who made this possible, in particular
Attila Csipa, Robin Battacharyya, Fran Boone, Bill Ferrett, Douglas
Soares de Andrade.

There are still more patches coming in (mostly new features) that did
not make 1.56 but will be in 1.57. If your patch was not included
please remind me and resend it. Make sure it applies to 1.56.

Massimo

David Marko

unread,
Feb 5, 2009, 3:51:35 AM2/5/09
to web2py Web Framework
Its really a great release!!
One question. Is there any docs on the cron feature in web2py?

David

achipa

unread,
Feb 5, 2009, 4:55:19 AM2/5/09
to web2py Web Framework
Short version: take a look at applications/cron/crontab

Long version: https://mdp.cti.depaul.edu/web2py_wiki/default/wiki/Web2pyCron

mdipierro

unread,
Feb 5, 2009, 10:34:17 AM2/5/09
to web2py Web Framework
Achipa

this should really become a page in the examples app, linked form
index. Can you send ma a patch?

Massimo

achipa

unread,
Feb 5, 2009, 11:00:31 AM2/5/09
to web2py Web Framework
OK, a bit busy these days so expect it next week, I'll make it a bit
more formal and drop in a few formatted examples.

DenesL

unread,
Feb 5, 2009, 5:04:33 PM2/5/09
to web2py Web Framework
Lots of new and exciting features... and with documentation! ;)
thanks.

A couple of details with the new site:

1) In /examples/default/docs
# New Tools: Authentication, Authorizaiton, and CRUD Examples

Authorization is misspelled

2) At the bottom of the /examples/default/tools page (geocoding) where
it says
from google.tools import geocode

it should say
from gluon.tools import geocode




Speedbird

unread,
Feb 5, 2009, 8:35:58 PM2/5/09
to web2py Web Framework
Congratulations on this great release,

I specially welcome the authentication/authorization patterns, really
needed! - In fact this version beat me to it, I just released my
weblog a couple of days ago, a pure web2py implementation (including
authentication/authorization) :(

Massimo, can you please read my entry on it http://julioflores.com/zblog/blog/view/9
It is almost scary that I am using even the same entities ("Manager"
for instance, albeit I use it as a role, not as a group), I don't know
how much will I have to refactor, but as you said 1.56 looks like the
best release so far, congratulations again.

mdipierro

unread,
Feb 5, 2009, 10:47:03 PM2/5/09
to web2py Web Framework
Execllent. It would be great if you could help with the documentation
of tools.py. Perhaps adding comments in docstrings.

Massimo

On Feb 5, 7:35 pm, Speedbird <ju...@techfuel.net> wrote:
> Congratulations on this great release,
>
> I specially welcome the authentication/authorization patterns, really
> needed! - In fact this version beat me to it, I just released my
> weblog a couple of days ago, a pure web2py implementation (including
> authentication/authorization) :(
>
> Massimo, can you please read my entry on ithttp://julioflores.com/zblog/blog/view/9

mr.freeze

unread,
Feb 6, 2009, 1:10:03 AM2/6/09
to web2py Web Framework
This looks great! I'm glad auth and auth are integrated now (among the
other many goodies in this release).
The new site is looking good. Much more modern looking
Minor typo here: http://mdp.cti.depaul.edu/examples/default/download
under the license section '(with are all MIT or BSD type licenses)'
should be '(which are all MIT or BSD type licenses)'.

Nathan

Phyo Arkar

unread,
Feb 7, 2009, 7:10:17 AM2/7/09
to web...@googlegroups.com
Cheers massimo.

Gr8 release. :)
Reply all
Reply to author
Forward
0 new messages