James Bennett
82d4786544
[1.5.x] Bump version numbers for security release.
2012-12-10 15:49:48 -06:00
Florian Apolloner
77b06e4151
[1.5.X] Fixed a security issue in get_host.
...
Full disclosure and new release forthcoming.
2012-12-10 22:13:28 +01:00
Florian Apolloner
fce1fa0f7f
[1.5.X] Fixed #18856 -- Ensured that redirects can't be poisoned by malicious users.
2012-12-10 22:13:28 +01:00
Aymeric Augustin
d6bad2e9ea
[1.5.x] Fixed #19392 -- Improved error for old-style url tags with dashes.
...
Thanks dloewenherz for the report.
Backport of 4951932
from master.
2012-12-09 16:18:52 +01:00
Claude Paroz
a155fb7408
[1.5.x] Fixed #19439 -- Removed unused template tag library in change_password.html
...
Thanks ppetrid for the report.
Backport of 35492f8fc
from master.
2012-12-08 12:54:22 +01:00
Claude Paroz
fa54604606
[1.5.x] Fixed #19423 -- Prevented ModelAdmin sharing widgets due to formfield_overrides
...
Thanks joebuyer at manycycles.com for the report and Simon Charette
for the review.
Backport of 04e6542b5
from master.
2012-12-08 12:47:33 +01:00
Claude Paroz
9af9cdb3eb
[1.5.x] Fixed a string detection in ogrinspect.py
...
Backport of 61407951
from master.
2012-12-08 12:20:48 +01:00
Claude Paroz
4214a22e06
[1.5.x] Fixed #19357 -- Allow non-ASCII chars in filesystem paths
...
Thanks kujiu for the report and Aymeric Augustin for the review.
Backport of c91667338
from master.
2012-12-08 11:16:03 +01:00
Andreas Hug
67bddc0b7b
[1.5.x] Fixed #18574 -- Make BaseFormSet.is_valid call its underlying forms' is_valid
...
Thanks Simon Charette for the report and the initial patch.
Backport of 66dfcc10b
from master.
2012-12-06 20:05:16 +01:00
Claude Paroz
e9301ae451
[1.5.x] Fixed #19367 -- Fixed saving ContentFile in filesystem storage
...
This was not working properly when ContentFile was initialized with
an unicode string.
Thanks Alexey Boriskin for the report and the test.
Backport of 34dcf51e06
from master.
2012-12-06 17:19:35 +01:00
Marc Aymerich
57a41d985a
[1.5.x] Fixed #19429 -- Applied linebreaksbr to read-only fields in inlines
...
Applied to inlines what ec9d6b1122
did for main fieldsets.
Backport of 553838a28
from master.
2012-12-06 09:54:47 +01:00
Ramiro Morales
6a098aa6f2
[1.5.x] Fixed #18697 -- Made values accepted for two customizable admin templates consistent.
...
Thanks and at cloverfastfood dot com for the report.
b64d30405a
from master.
2012-12-04 19:53:52 -03:00
Ramiro Morales
b6f67bd50e
[1.5.x] Minor idiomatic and docstring edits in ar localflavor.
...
45f00dbb93
from master.
2012-12-04 19:50:19 -03:00
Claude Paroz
7fea7cf5d7
[1.5.x] Fixed #19378 -- Ensured get_success_url returns a non-lazy URL
...
Backport of 795ac7deda
from master.
2012-12-04 13:24:04 +01:00
Sebastián Magrí
237a404d3e
[1.5.x] Fixed #19318 -- Ensured that the admin's SimpleListFilter options can be displayed as selected even if the lookup's first element is not a string.
...
Backport of 88e1715639
2012-12-03 11:55:33 -08:00
Claude Paroz
3d62eaea69
[1.5.x] Fixed #19416 -- Fixed multi-line commands in initial SQL files
...
Thanks Aymeric Augustin for detecting this regression.
Backport of 5fa5621f5
from master.
2012-12-03 20:49:28 +01:00
Aymeric Augustin
c9a47fb379
[1.5.x] Fixed #19397 -- Crash on binary files in project templates.
...
Thanks gw 2012 at tnode com for the report.
Backport of baae4b8
.
2012-12-03 10:45:42 +01:00
Claude Paroz
1b93499849
[1.5.x] Fixed #19015 -- Add ISO input formats to all formats
...
Backport of 349c4c37f8
from master.
2012-12-01 15:43:38 +01:00
Claude Paroz
ae549cc1dd
Fixed #19015 -- Removed ISO formats from localized formats.py
...
ISO formats are automatically appended to the list of input
formats. Kept only when it is specified in first position, as it
has a special meaning in localize_input.
Thanks Bojan Mihelac for the report.
Backport of 90d3af380
from master.
2012-12-01 14:15:55 +01:00
Claude Paroz
676e4d5497
[1.5.x] Fixed #19349 -- Fixed re-rendering of ReadOnlyPasswordHashWidget
...
Thanks tim.bowden at mapforge.com.au for the report, Andreas Hug
for the patch and Anton Baklanov for the review.
Backport of a0cd6dd11
from master.
2012-12-01 12:23:49 +01:00
Ryan Kaskel
0fc5878c5f
[1.5.x] Allow custom User models to use the UserAdmin's change password view.
...
Backport of bfdedb687a
.
2012-11-30 16:24:51 +01:00
Claude Paroz
47c5b50d34
[1.5.x] Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
...
Thanks markteisman at hotmail.com for the report.
Backport of 0eeae1505
from master.
2012-11-29 21:52:22 +01:00
Aymeric Augustin
83df1f3b57
[1.5.x] Fixed #19356 -- Increased session key entropy.
...
Backport of d913a8b
from master.
2012-11-29 16:38:09 +01:00
Ramiro Morales
bb6e661e0e
[1.5.x] Fixed a comment typo.
2012-11-28 20:42:00 -03:00
Anssi Kääriäinen
e3ea668b47
[1.5.x] Fixed #14694 again -- Made defer() works with reverse relations
...
Master and stable/1.5.x had diverged in models/query.py.
2012-11-28 23:56:03 +02:00
Claude Paroz
89593048e2
[1.5.x] Fixed #19366 -- Prevented GEOSIndexError when comparing geometries
...
Thanks Craig de Stigter for the report and collaboration on the
patch.
Backport of cc3c4a9d5
from master.
2012-11-28 22:34:43 +01:00
Tai Lee
a21e8dee76
[1.5.x] Fixed #14694 -- Made ``defer()`` work with reverse relations
...
Reverse o2o fields are now usable with defer.
Backpatch of [6ebf115206
]
2012-11-28 18:25:34 +02:00
James Bennett
1c05619c1f
[1.5.x] Bump version numbers for 1.5 beta 1.
2012-11-27 16:09:10 -06:00
Danilo Bargen
5509eb8626
[1.5.x] Fixed #19370 -- Made date filter properly handle midnight value
...
Backport of c10aaa70a
from master.
2012-11-27 21:25:21 +01:00
Anssi Kääriäinen
4467d86b61
[1.5.x] Removed duplicate opts.pk_index() method
...
Backpatch of [d37483c533
]
2012-11-27 21:59:03 +02:00
Aymeric Augustin
71e5ad248e
[1.5.x] Fixed #19362 -- Detected invalid use of @python_2_unicode_compatible.
...
Thanks m3wolf for the report and akaariai for reproducing the problem.
Backport of 2ea80b9
.
2012-11-27 09:55:26 +01:00
Edward Tjörnhammar
7c91b67cfa
[1.5.x] Fixed #17911 -- Ensure that admin readonly fields' display values are shown in change forms when the raw value is None.
...
Backport of 29d59a879e
2012-11-25 23:16:44 +01:00
Julien Phalip
22ca5bab95
[1.5.x] Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to rasca for the suggestion and to mateusgondim for the patch.
...
Backport of ae206d78f6
2012-11-25 20:43:18 +01:00
Aymeric Augustin
37c54c27bd
[1.5.x] Change exception type to reduce confusion.
...
TemplateSyntaxError is expected at compile time, not at run time.
Refs #19280 .
Backport of 7644800
.
2012-11-25 19:53:50 +01:00
Claude Paroz
6945f60c2b
[1.5.x] Enabled SimpleTestCase to be decorated by override_settings
...
Refs #18417 . Also fixed some test case classes which subclassed
the wrong parent.
Backport of a5d47415f
from master.
2012-11-25 19:08:51 +01:00
Claude Paroz
4389b51fab
[1.5.x] Fixed #18417 -- Raised exception when unittest.TestCase is decorated with override_settings
...
Backport of 9f7cefd5
from master.
2012-11-25 19:08:27 +01:00
Julien Phalip
2e5b725197
[1.5.x] Fixed #19355 -- Improved LiveServerThread's handling of exceptions. Thanks to flub for the report.
...
Backport of 612357f8ef
2012-11-25 12:57:14 +01:00
Aymeric Augustin
8c2f36260e
[1.5.x] Fixed #19280 -- Raised an explicit exception for the old {% url %} syntax.
...
Backport of 6b8a7ce.
2012-11-24 22:05:41 +01:00
Vladimír Macek
a12db81135
[1.5.x] Fixed #19293 -- Updated Czech input formats
...
Thanks vzima for the report.
Backport of abd0e76d2
from master.
2012-11-24 21:33:59 +01:00
Jonatan Heyman
75bc081b91
[1.5.x] Fixed #18722 -- Adjusted width of sortable columns in admin
...
Thanks Simon Charette for the report.
Backport of 35a0fff2
from master.
2012-11-24 17:15:03 +01:00
Claude Paroz
fc570b1415
[1.5.x] Updated User manager when testing custom AUTH_USER_MODEL
...
This is giving more real test conditions when AUTH_USER_MODEL is
set with override_settings.
Backport of a962bc7c4
from master.
2012-11-24 16:01:10 +01:00
Chris Khoo
9efe1a7210
[1.5.x] Fixed #19237 -- Improved strip_tags utility
...
The previous pattern didn't properly addressed cases where '>'
was present inside quoted tag content.
Backport of bf1871d87
from master.
2012-11-24 12:20:41 +01:00
Aymeric Augustin
a708b8fcbe
[1.5.x] Fixed #19343 -- Deadlock with TransactionTestCase + TEST_MIRROR + multi_db.
...
Thanks Jeremy Dunck for the review.
Backport of be64dd3
from master.
2012-11-24 09:49:07 +01:00
Russell Keith-Magee
8e8f1ddf57
[1.5.x] Removed some stray debug lines introduced accidentally in c8985a8
.
...
Backport of f2d8004
.
2012-11-24 15:27:09 +08:00
Russell Keith-Magee
3fd8458fb3
[1.5.x] Fixed #19806 -- Ensure that content types and permissions aren't created for swapped models.
...
Thanks to rizumu for the report.
Backport of c8985a8a73
.
2012-11-24 14:26:50 +08:00
Jeremy Dunck
158a0332bf
Changed Luxembourgish name_local to unicode escapes.
...
Fixes 6a00c196
.
2012-11-23 19:30:52 -08:00
Anssi Kääriäinen
421e599ad3
[1.5.x] Fixed #19351 -- SQLite bulk_insert of more than 500 single-field objs
...
Backpatch of 0a0a0d66b3
2012-11-24 01:20:22 +02:00
Anssi Kääriäinen
625dc3f072
[1.5.x] Fixed SQLite's collapsing of same-valued instances in bulk_create
...
SQLite used INSERT INTO tbl SELECT %s UNION SELECT %s, the problem
was that there should have been UNION ALL instead of UNION.
Refs #19351
Backpatch of a27582484c
2012-11-24 01:19:17 +02:00
Claude Paroz
6a00c1968b
Added new languages
...
Afrikaans, Belarusian, Breton, Venezuelan Spanish, Interlingua,
Luxembourgish, Udmurt
2012-11-23 23:16:15 +01:00
Anssi Kääriäinen
90c7aa0740
[1.5.x] Fixed #18375 -- Removed dict-ordering dependency for F-expressions
...
F() expressions reuse joins like any lookup in a .filter() call -
reuse multijoins generated in the same .filter() call else generate
new joins. Also, lookups can now reuse joins generated by F().
This change is backwards incompatible, but it is required to prevent
dict randomization from generating different queries depending on
.filter() kwarg ordering. The new way is also more consistent in how
joins are reused.
Backpatch of 90b86291d0
2012-11-23 20:07:50 +02:00