Commit Graph

8263 Commits

Author SHA1 Message Date
Tim Graham 56f5059239 [1.8.x] Fixed #26375 -- Used a more generic name in a reusable template example.
Backport of 1d0abeaf75 from master
2016-03-18 11:38:47 -04:00
Andrew Abraham 5d931314e3 [1.8.x] Fixed DiscoverRunner failfast parameter default in docs.
Backport of f2d9caa625 from master
2016-03-15 18:35:08 -04:00
Tim Graham c7764ca3a0 [1.8.x] Fixed #26324 -- Fixed DurationField with fractional seconds on SQLite.
Backport of 4f0cd0fd16 from master
2016-03-10 19:16:31 -05:00
Tim Osborn ae4d932b1a [1.8.x] Fixed indenting in "Serving files in development" code example
Backport of 8fb3a2877b from master
2016-03-09 14:57:50 +11:00
John-Mark Bell a5e9ae9ad5 [1.8.x] Fixed #26325 -- Made MultiPartParser ignore filenames that normalize to an empty string.
Backport of 4b129ac81f from master
2016-03-07 13:22:38 -05:00
Tim Graham 6d312f95f3 [1.8.x] Added stub release notes for 1.8.12.
Backport of c960af4adb from master
2016-03-05 10:02:12 -05:00
Claude Paroz beb392b85e [1.8.x] Added safety to URL decoding in is_safe_url() on Python 2
The errors='replace' parameter to force_text altered the URL before checking
it, which wasn't considered sane. Refs 24fc935218 and ada7a4aef.
Backport of 552f03869e from master.
2016-03-04 23:39:46 +01:00
Claude Paroz 28bed24f55 [1.8.x] Fixed #26308 -- Prevented crash with binary URLs in is_safe_url()
This fixes a regression introduced by c5544d2892.
Thanks John Eskew for the reporti and Tim Graham for the review.
Backport of ada7a4aef from master.
2016-03-04 21:16:51 +01:00
Tim Graham f294b3833b [1.8.x] Added stub release notes for 1.8.11.
Backport of 2f0c785a4c from master
2016-03-04 09:48:11 -05:00
Tim Graham 8b891cf386 [1.8.x] Fixed #26321 -- Added missing "for_save" parameter in expressions example.
Thanks tomaszn for the patch.

Backport of de8a11ba18 from master
2016-03-03 19:38:06 -05:00
Alasdair Nicol e4be3c80a1 [1.8.x] Fixed #26309 -- Documented that login URL settings no longer support dotted paths.
Backport of 2404d209a5 from master
2016-03-03 07:49:06 -05:00
Dmitry Dygalo 6a9bb1447c [1.8.x] Fixed typo in 1.8.10 release date.
Backport of 5155c2b458 from master
2016-03-02 07:10:21 -05:00
Tim Graham 640c99e8b3 [1.8.x] Added CVE-2016-2512/2513 to security release archive.
Backport of 24fc935218 from master
2016-03-01 12:36:20 -05:00
Florian Apolloner f4e6e02f77 [1.8.x] Fixed CVE-2016-2513 -- Fixed user enumeration timing attack during login.
This is a security fix.
2016-02-29 08:07:17 -05:00
Mark Striemer 382ab13731 [1.8.x] Fixed CVE-2016-2512 -- Prevented spoofing is_safe_url() with basic auth.
This is a security fix.
2016-02-29 08:07:17 -05:00
Tim Graham 922f228695 [1.8.x] Added stub release notes for security issues. 2016-02-29 08:07:17 -05:00
Simon Charette 4701c81df3 [1.8.x] Fixed #26286 -- Prevented content type managers from sharing their cache.
This should prevent managers methods from returning content type instances
registered to foreign apps now that these managers are also attached to models
created during migration phases.

Thanks Tim for the review.

Refs #23822.

Backport of 3938b3ccaa from master
2016-02-26 16:24:28 -05:00
Tim Graham 3b0b1e071d [1.8.x] Fixed a function signature in docs/topics/auth/default.txt.
Backport of 441c537b66 from master
2016-02-24 16:25:37 -05:00
Tim Graham 4b8bd72a9f [1.8.x] Removed docs of deprecated SimpleTestCase warnings behavior.
Removed in Django 1.7 (4f6be9a0c4).

Backport of 6637cd0ef2 from master
2016-02-24 09:59:23 -05:00
Jon Dufresne 6c48edae76 [1.8.x] Fixed #26267 -- Fixed BoundField to reallow slices of subwidgets.
Backport of b412681359 from master
2016-02-24 07:09:08 -05:00
Josh Soref 751e5fcaf7 [1.8.x] Fixed many spelling mistakes in code, comments, and docs.
Partial backport of 93452a70e8 from master
2016-02-23 10:27:15 -05:00
Tim Graham 2d321d2393 [1.8.x] Fixed #26188 -- Documented how to wrap password hashers.
Backport of 5a541e2e6c from master
2016-02-23 09:34:04 -05:00
Daniel Quinn 5127ab4e73 [1.8.x] Fixed import location of check_password() in docs.
Backport of de7edc005f from master
2016-02-22 12:43:41 -05:00
Sergey Fedoseev e127fbac7b [1.8.x] Fixed some code blocks indentation in GIS docs.
Backport of dbaa1a6b59 from master
2016-02-19 08:35:57 -05:00
Juan José Conti 3c2282c301 [1.8.x] Used relative models imports in the GIS tutorial.
Backport of bb7042cda from master.
2016-02-19 08:30:28 +01:00
Tim Graham 0f667a580a [1.8.x] Fixed #26204 -- Reallowed dashes in top-level domains for URLValidator.
Thanks Shai Berger for the review.

Backport of b1afebf882 from master
2016-02-18 19:56:36 -05:00
Jon Dufresne 2029105670 [1.8.x] Followed recommended ValidationError use in docs.
Backport of 0db7e61076 from master
2016-02-17 09:10:09 -05:00
Claude Paroz 5bce665974 [1.8.x] Fixed #26215 -- Fixed RangeField/ArrayField serialization with None values
Also added tests for HStoreField.
Thanks Aleksey Bukin for the report and Tim Graham for the initial patch and
the review.
Backport of 928c12eb1 from master.
2016-02-16 21:14:24 +01:00
Tim Graham 766fbcb1d3 [1.8.x] Fixed possible "RuntimeError: maximum recursion depth exceeded" building docs.
Backport of 6a71ac61bd from master
2016-02-16 07:32:08 -05:00
Ryan Nowakowski 4aab1d4bb3 [1.8.x] Fixed #26221 -- Used find_packages() in reusable apps tutorial.
Otherwise the migrations package won't be included in the tarball.

Backport of 11af73eaeb from master
2016-02-15 19:25:53 -05:00
Tim Graham 180d4cbfe6 [1.8.x] Fixed #26212 -- Made forms.FileField and translation.lazy_number() picklable.
Backport of b59f963ad2 from master
2016-02-15 11:52:14 -05:00
Camilo Nova b9105e7dea [1.8.x] Added import in docs/topics/email.txt example.
Backport of a6f856df52 from master
2016-02-12 13:45:13 -05:00
Markus Holtermann 3af5643d82 [1.8.x] Fixed allow_migrate() signature in documentation
Backport of 228427ab1a from master
2016-02-12 14:37:10 +11:00
Simon Charette edff550392 [1.8.x] Fixed #26162 -- Checked query name clashes of hidden relationships.
Although reverse accessor clashes should be skipped query name can't be hidden.

Thanks to Ian Foote and Tim Graham for the review.

Backport of a325fb1f9b from master
2016-02-08 10:42:31 -05:00
Tim Graham 2f0de9b0a1 [1.8.x] Fixed #26177 -- Fixed a PostgreSQL crash with TIME_ZONE=None and USE_TZ=False.
Backport of 97eb3356b2 from master
2016-02-08 07:45:10 -05:00
Tim Graham b650623882 [1.8.x] Added stub release notes for 1.8.10.
Backport of d6337e65ed from master
2016-02-06 09:25:02 -05:00
Carl Meyer c247753083 [1.8.x] Fix typos in 1.8 release notes.
Backport of a0ce4c09ff from master
2016-02-03 15:27:40 -05:00
Tim Graham ea2d9f0d4a [1.8.x] Refs #26089 -- Removed obsolete docs about custom user model testing.
Backport of 1e9150443e from master
2016-02-02 08:55:37 -05:00
Ramon Moraes 8488fbb2dc Updated xhtml2pdf URL in docs. 2016-02-02 07:34:21 -05:00
Tim Graham 97f0e0ac24 [1.8.x] Added CVE-2016-2048 to the security archive.
Backport of ecd502cfdb from master
2016-02-01 12:43:21 -05:00
Tim Graham 3a7c5f59ab [1.8.x] Added release date for 1.8.9. 2016-02-01 12:13:54 -05:00
Tim Graham 229666289d [1.8.x] Fixed #20415 -- Ensured srid isn't localized in OpenLayers JavaScript.
Backport of 19d1cb1451 from master
2016-01-28 18:02:36 -05:00
Yoong Kang Lim c2dfc3616a [1.8.x] Fixed #26136 -- Removed URL reversing by dotted path from JavaScript catalog example.
Backport of 31817dd2eb from master
2016-01-27 09:07:07 -05:00
Ben Kraft 79c3950562 [1.8.x] Fixed #26122 -- Fixed copying a LazyObject
Shallow copying of `django.utils.functional.LazyObject` or its subclasses has
been broken in a couple of different ways in the past, most recently due to
35355a4.
2016-01-26 06:57:47 -05:00
Tim Graham d162438c65 [1.8.x] Fixed Sphinx highlight warnings in docs.
Backport of 9c43d8252a from master
2016-01-25 12:10:21 -05:00
Tim Graham 7b6ab2885e [1.8.x] Refs #26034 -- Added another case fixed by this ticket to release notes.
Thanks Shai Berger for the report.

Backport of 497b5d6fee from master
2016-01-25 08:37:36 -05:00
Tim Graham bf9385e3aa [1.8.x] Added Django version trove classifier to reusable apps tutorial.
Backport of 2d36c7d515 from master
2016-01-24 08:44:30 -05:00
Tim Graham 009c697312 [1.8.x] Fixed #26121 -- Updated MySQL storage engine example.
default_storage_engine was introduced in MySQL 5.5.3.
storage_engine was removed in MySQL 5.7.5.

Backport of 79d0a4fdb0 from master
2016-01-22 08:22:47 -05:00
Luke Plant a034ced2ef [1.8.x] Changed `action="."` to `action=""` in tests and docs.
`action="."` strips query parameters from the URL which is not usually what
you want. Copy-paste coding of these examples could lead to difficult to
track down bugs or even data loss if the query parameter was meant to alter
the scope of a form's POST request.

Backport of 77974a684a from master
2016-01-21 14:00:23 -05:00
Alexander Gaevsky 8502e9f049 [1.8.x] Fixed #26060 -- Fixed crash with reverse OneToOneField in ModelAdmin.readonly_fields.
Backport of 9a33d3d764 from master
2016-01-21 13:55:14 -05:00