Commit Graph

2291 Commits

Author SHA1 Message Date
Tim Graham 020ba4bf91 [1.10.x] Fixed #27058 -- Reallowed the {% for %} tag to unpack any iterable.
Thanks Sergei Maertens for the report and patch.

Backport of 937d752d3d from master
2016-08-15 15:40:34 -04:00
Daniel Wiesmann 201198136d [1.10.x] Fixed #27014 -- Fixed annotations with database functions on PostGIS.
Thanks Sean Mc Allister for providing a test.

Backport of 89f17e7caf from master
2016-08-15 14:23:48 -04:00
Jon Dufresne d8cda352b1 [1.10.x] Fixed #27037 -- Prevented required attribute on ClearableFileInput when initial data exists.
Backport of fab46ce6f5 from master
2016-08-12 13:59:23 -04:00
Tim Graham 13fd711f10 [1.10.x] Fixed typo in docs/releases/1.9.txt
Backport of 5eab1f6f83 from master
2016-08-12 07:30:05 -04:00
Moritz Sichert 6977eaf844 [1.10.x] Refs #23960 -- Documented how to restore absolute redirect URLs.
Backport of 08b8c46971 from master
2016-08-11 16:36:21 -04:00
Tim Graham 0254985317 [1.10.x] Fixed #26973 -- Fixed views.static.serve() crash with show_indexes enabled.
Backport of 1e32e1cc95 from master
2016-08-10 11:27:29 -04:00
Claude Paroz 246e516f29 [1.10.x] Unified SpatiaLite spelling
Backport of ade681b9ad from master.
2016-08-09 18:48:57 +02:00
Sjoerd Job Postmus 2f18cbc313 [1.10.x] Fixed #27026 -- Fixed state initialization of bulk_create() objects if can_return_ids_from_bulk_insert.
Backport of 3246d2b4bb from master
2016-08-06 10:25:29 -04:00
Ben Demboski d68b145a6f [1.10.x] Fixed #27027 -- Restored Client.force_login() defaulting to the first auth backend.
Backport of fc8f097117 from master
2016-08-06 08:42:17 -04:00
Jarek Glowacki 1e16e141ac [1.10.x] Fixed #27004 -- Made migrations consistency check ignore unapplied squashed migrations.
Backport of d117567c7d from master
2016-08-05 18:11:38 -04:00
Tim Graham bcdf6c190a [1.10.x] Fixed #26986 -- Documented force_login() delegation to auth backends.
Backport of 3c20aa49d7 from master
2016-08-05 10:56:04 -04:00
Claude Paroz 6757c94662 [1.10.x] Fixed #26983 -- Fixed isnull filtering on ForeignKey with to_field
Thanks weidwonder for the report.
Backport of 272eccf7ff from master.
2016-08-04 16:07:11 +02:00
Tim Graham dcebeea270 [1.10.x] Fixed #27005 -- Fixed crash if request.META[''CONTENT_LENGTH']=''.
Backport of 5c63b3e5a7 from master
2016-08-03 14:01:08 -04:00
Alex Hill 86ae2b22ae [1.10.x] Fixed #27001 -- Fixed a query count regression in ModelChoiceField with RadioSelect.
Backport of c5ebfda002 from master
2016-08-03 10:53:42 -04:00
Sergey Yurchenko a8b8ef114d [1.10.x] Fixed #26997 -- Fixed checks crash with empty Meta.default_permissions.
Backport of 4e64e3bb6e from master
2016-08-03 09:14:27 -04:00
Tim Graham b00a3f1720 [1.10.x] Fixed #26999 -- Documented model_to_dict() ManyToManyField change in 1.10.
Backport of f4b1f972dc from master
2016-08-03 08:54:16 -04:00
Tim Graham 7dd8e53cc8 [1.10.x] Fixed #27000 -- Removed BaseCommand.usage() per deprecation timeline (refs #19973).
Backport of ccd5a23fba from master
2016-08-02 19:13:40 -04:00
Tim Graham fa4b5c1b93 [1.10.x] Fixed #26988 -- Improved/clarified User.is_authenticated/anonymous compatibility.
Thanks marktranchant for the report and review.

Backport of 54afa960d1 from master
2016-08-02 11:26:40 -04:00
Tim Graham 11c5c3b801 [1.10.x] Fixed #26991 -- Fixed a crash in MySQL where SELECT @@SQL_AUTO_IS_NULL doesn't return a result.
Backport of 431cbd115b from master
2016-08-02 10:52:49 -04:00
Tim Graham b8af4c17e8 [1.10.x] Added stub release notes for 1.10.1.
Backport of 9af0a58756 from master
2016-08-01 14:57:46 -04:00
Tim Graham 7c9b0c4b60 [1.10.x] Added release dates for 1.10 and 1.9.9
Backport of 95b47c009b from master
2016-08-01 13:55:31 -04:00
Sergey Fedoseev 9805726ddc [1.10.x] Fixed #26657 -- Made GeomValue omit SRID for MySQL.
This fixes some test failures on MySQL 5.7+.

Backport of 9031a4c13b from master
2016-07-28 17:12:57 -04:00
Tim Graham 13c107b149 [1.10.x] Fixed #26946 -- Clarified instructions for customizing collectstatic's ignore_patterns.
Backport of ec4a6b33a9 from master
2016-07-25 10:05:56 -04:00
Markus Holtermann 738a65a597 [1.10.x] Refs #25232 -- Documented AllowAll*Backend in "new features" section of 1.10 release notes.
Backport of e69091b34a from master
2016-07-25 09:10:21 -04:00
Jon Dufresne c0026a9d2d
[1.10.x] Fixed #26938 -- Fixed invalid HTML in template postmortem on the debug page.
Backport of 348cfccd90 from master
2016-07-24 18:25:43 +02:00
Jon Dufresne ff56d6c023
[1.10.x] Added stub release notes for 1.9.9.
Backport of b2e54aec58 from master
2016-07-24 18:25:40 +02:00
Tim Graham 658f545b0c [1.10.x] Added CVE-2016-6186 to the security release archive.
Backport of bc53af13cb from master
2016-07-18 15:20:30 -04:00
Tim Graham 6fa150b2f8 [1.10.x] Fixed XSS in admin's add/change related popup.
This is a security fix.
2016-07-18 11:17:19 -04:00
Claude Paroz 96a37a0266 [1.10.x] Fixed #26897 -- Fixed makemessages crash on Python 2 with non-ASCII file names
Thanks Tim Graham for the review.
Backport of 3e71f6544f from master.
2016-07-14 20:39:00 +02:00
Tim Graham 5c56ce7a3f [1.10.x] Reverted "Fixed #25388 -- Added an option to allow disabling of migrations during test database creation"
This reverts commit 157d7f1f1d since it
disables migrations all the time, not just during tests.

Backport of 944e66cb1d from master
2016-07-14 09:22:06 -04:00
Jon Dufresne 1a2ee697e0 [1.10.x] Fixed #26889 -- Fixed missing PostgreSQL index in SchemaEditor.add_field().
Backport of 2e4cfcd2b9 from master
2016-07-13 21:55:25 -04:00
Tim Graham a01d3d5776 [1.10.x] Linked "Features removed" release notes to corresponding deprecation notes.
Backport of ee2f0f311a from master
2016-07-11 15:23:34 -04:00
Julien Hartmann 39c25b772b [1.10.x] Fixed #26749 -- Preserved behavior of use_for_related_field during deprecation.
Backport of f4afb85d7e from master
2016-07-11 13:34:18 -04:00
Tim Graham 48a570164e [1.10.x] Fixed capitalization of "URL pattern".
Backport of 415ae960bb from master
2016-07-06 15:31:44 -04:00
Tim Graham 1b0b6f0342 [1.10.x] Refs #21379, #26719 -- Moved username normalization to AbstractBaseUser.
Thanks Huynh Thanh Tam for the initial patch and Claude Paroz for review.

Backport of 39805686b3 from master
2016-06-21 16:20:00 -04:00
Tim Graham 45a650777e [1.10.x] Fixed #26787 -- Documented deleting and reloading of model instance fields.
Thanks Julien Hartmann for the report.

Backport of 20d1cb33c2 from master
2016-06-21 15:25:16 -04:00
Tom Christie dff1f115e5 [1.10.x] Linked to upgrade guide from release notes.
Backport of da22079c21 from master
2016-06-06 07:32:44 -04:00
Tim Graham dd0a1266f1 [1.10.x] Added stub release notes for 1.9.8.
Backport of 01e567864e from master
2016-06-04 19:58:42 -04:00
Tim Graham 9f296b14c4 [1.10.x] Added release date for 1.9.7.
Backport of 1f5eb521a0 from master
2016-06-04 19:27:39 -04:00
Tim Graham 8996054cb4 [1.10.x] Fixed #26667 -- Fixed a regression in queries on a OneToOneField that has to_field and primary_key=True.
Thanks Simon Charette for review.

Backport of e2296e7f0a from master
2016-06-04 09:15:10 -04:00
mieciu 9a204fc8a5 [1.10.x] Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name.
Backport of 19ff506878 from master
2016-06-03 12:42:41 -04:00
jrabbit 83ea51a244 [1.10.x] Fixes #26700 -- Added how to upgrade to TEMPLATES link in 1.10 release notes.
Backport of d65e2899b2 from master
2016-06-02 20:29:20 -04:00
Brad Melin 3eb31867bb [1.10.x] Fixed #26672 -- Fixed HStoreField to raise ValidationError instead of crashing on non-dict JSON input.
Backport of f6517a5335 from master
2016-06-02 16:29:22 -04:00
Tim Graham 59f4780b92 [1.10.x] Updated release notes links to prevent warnings with Sphinx 1.4.2.
Backport of 149ace94df from master
2016-06-02 11:42:32 -04:00
Tim Graham 9985544adb [1.10.x] Fixed #26652 -- Documented removal of model instance _(default/base)_manager attributes.
Backport of 0e7e47b5d7 from master
2016-05-27 10:36:35 -04:00
Tim Graham 0eac5535f7 Removed unused sections in 1.10 release notes. 2016-05-19 11:49:15 -04:00
Shai Berger 5112e65ef2 Fixed #20869 -- made CSRF tokens change every request by salt-encrypting them
Note that the cookie is not changed every request, just the token retrieved
by the `get_token()` method (used also by the `{% csrf_token %}` tag).

While at it, made token validation strict: Where, before, any length was
accepted and non-ASCII chars were ignored, we now treat anything other than
`[A-Za-z0-9]{64}` as invalid (except for 32-char tokens, which, for
backwards-compatibility, are accepted and replaced by 64-char ones).

Thanks Trac user patrys for reporting, github user adambrenecki
for initial patch, Tim Graham for help, and Curtis Maloney,
Collin Anderson, Florian Apolloner, Markus Holtermann & Jon Dufresne
for reviews.
2016-05-19 05:02:19 +03:00
Barthelemy Dagenais a5c8072ab1 Fixed #26627 -- Fixed on_commit callbacks execution order when callbacks make transactions. 2016-05-18 09:09:48 -04:00
Josh Smeaton 2a4af0ea43 Fixed #25774 -- Refactor datetime expressions into public API 2016-05-18 20:14:58 +10:00
Tim Graham ece4d24f8e Refs #26601 -- Deprecated old-style middleware. 2016-05-17 07:22:26 -04:00