Commit graph

17 commits

Author SHA1 Message Date
adam
336f645765 Changes 1.2.2:
As of the 1.2 release, the core Django framework includes a system, enabled by
default, for detecting and preventing cross-site request forgery (CSRF) attacks
against Django-powered applications. Previous Django releases provided
a different, optionally-enabled system for the same purpose.

The Django 1.2 CSRF protection system involves the generation of a random
token, inserted as a hidden field in outgoing forms. The same value is also
set in a cookie, and the cookie value and form value are compared on submission.

The provided template tag for inserting the CSRF token into forms --
{% csrf_token %} -- explicitly trusts the cookie value, and displays it as-is.
Thus, an attacker who is able to tamper with the value of the CSRF cookie can
cause arbitrary content to be inserted, unescaped, into the outgoing HTML of
the form, enabling cross-site scripting (XSS) attacks.

This issue was first reported via a public ticket in Django's Trac instance;
while being triaged it was then independently reported, with broader
description, by Jeff Balogh of Mozilla.
2010-09-09 13:34:04 +00:00
joerg
2639467f7a Django 1.2.1:
- Support multiple database in one Django instance
- Model validation inspired by the Form validation
- Vastly improved protection against Cross-Site Request Forgery
- New user "message" framework, incl. support for anonymous users
- Hooks for object-level permissions and permissions for anonymous users
- Customization of e-mail sending via the new e-mail backend
- Smarter if template tag
2010-06-16 19:08:37 +00:00
joerg
f1919e8273 Add an option for the oracle backend. 2010-02-11 13:37:44 +00:00
joerg
10deddd118 Use pgsql as option name for consistency with other packages. 2010-02-10 19:30:09 +00:00
joerg
80d7ab1a78 Retire psycopg1 option and rename psycopg2 to postgresql, making it
the default. Bump revision.
2010-02-10 17:21:55 +00:00
joerg
0beeb8cfc7 Update to Django 1.1:
- Support for aggregates and query expression in the ORM
- Suport for unamanged models and proxy models
- Support for deffered fields
- Mark individual fields as editable in the admin; support for custom
actions
- Better support for Last-Modified/ETag
- Improved GIS support
- {% for %} now has an {% empty %} to simplify handling empty lists
- Various smaller improvements
2009-10-19 11:31:05 +00:00
joerg
622e5e647f Update to Django 1.0.3:
- various bugfix
- correctly validate file names for the admin media when using the
development server
2009-07-29 11:02:08 +00:00
joerg
e031855e4a Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:00:14 +00:00
joerg
4149f13a19 Also remove some more directories on deinstall. 2009-01-30 13:59:57 +00:00
joerg
1c9d169732 Fix PLIST. No idea how that slipped through testing. 2009-01-29 09:35:54 +00:00
tonnerre
f0d07e3500 Update Django to newly released version 1.0, fixing a cross-site request
forgery vulnerability described in
http://www.djangoproject.com/weblog/2008/sep/02/security/ .
2008-09-04 22:04:17 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
joerg
3d1a0c5f77 Add the variations of the plist for the various options back.
Bump revision.
2007-08-11 17:20:16 +00:00
joerg
d5b1ca5c01 Update to Django 0.96:
The main goal of the 0.96 release is to cleanup and stabilise the
features from 0.95.

Incompatible changes:
- constraint names changed in some cases, this can effect manage.py
reset on old databases
- some names in manage.py changed
- backslash escaping is done more consistently
- ENABLE_PSYCO is gone

Important changes:
- merge of newforms
- URLconf takes normal callables
- new test framework
- passwords for users can be entered as normal text in the admin
interface, no need to hash manually

In addition: dropped py-setuptools dependency.
2007-08-09 14:05:28 +00:00
joerg
e29331ffd4 Fix installation when only psycopg2 support is requested, the postgres
code is shared with psycopg1.
Include a small patch to make keyword mistakes in query args much
more obvious (from django svn). Other users might be as stupid as
the maintainer. Bump revision.
2007-02-19 20:55:51 +00:00
joerg
8b93668f99 Update Django to 0.95.1. Changes:
* A patch for a small security vulnerability in the script Django's
  internationalization system uses to compile translation files.
* A fix for a bug in Django's authentication middleware which could cause
  apparent "caching" of a logged-in user.
* A patch which disables debugging mode in the flup FastCGI package
  Django uses to launch its FastCGI server, which prevents tracebacks
  from bubbling up during production use.
2007-01-25 20:11:30 +00:00
joerg
7933e6d482 Import Django 0.95 from pkgsrc-wip:
Django is a high-level Python Web framework that encourages rapid development
and clean, pragmatic design. Django was designed to make common Web-development
tasks fast and easy.
2006-09-11 11:38:33 +00:00