24408 Commits

Author SHA1 Message Date
Tim Graham
1cc5aceac0 [1.11.x] Bumped version for 1.11.11 release. 1.11.11 2018-03-06 09:08:15 -05:00
Tim Graham
a91436360b [1.11.x] Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in django.utils.text.Truncator.
Thanks James Davis for suggesting the fix.
2018-02-27 13:56:26 -05:00
Tim Graham
abf89d729f [1.11.x] Fixed CVE-2018-7536 -- Fixed catastrophic backtracking in urlize and urlizetrunc template filters.
Thanks Florian Apolloner for assisting with the patch.
2018-02-27 13:54:19 -05:00
Tim Graham
7d7ab26bc0 [1.11.x] Added stub release notes for security releases. 2018-02-24 19:40:33 -05:00
Tim Graham
e8afd6bf81 [1.11.x] Switched test requirement to new psycopg2-binary package.
Backport of d4373b6da4b420fe9211438addeedb396a3821be from master
2018-02-20 19:06:23 -05:00
Tim Graham
d5da552d92 [1.11.x] Removed blank lines per isort 4.3.0. 2018-02-20 08:58:29 -05:00
Tim Graham
4b65fc807a [1.11.x] Corrected doc'd type of some parameters from string to str.
Backport of d63c00a4283ce85622ec00c6f668630078c75817 from master
2018-02-19 13:17:20 -05:00
Tim Graham
01448a97e0 [1.11.x] Added CVE-2018-6188 to the security release archive.
Backport of 66119ed64233c3abe586606a9e81a75edc2a6a92 from master
2018-02-01 10:16:48 -05:00
Tim Graham
1a4085abcb [1.11.x] Post-release version bump. 2018-02-01 09:46:12 -05:00
Tim Graham
5d4368cad3 [1.11.x] Bumped version for 1.11.10 release. 1.11.10 2018-02-01 09:35:13 -05:00
Tim Graham
57b95fedad [1.11.x] Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm.
Reverted 359370a8b8ca0efe99b1d4630b291ec060b69225 (refs #28645).

This is a security fix.
2018-02-01 09:18:33 -05:00
Tim Graham
1c9233b1b9 [1.11.x] Fixed #29094 -- Fixed crash when entering an invalid uuid in ModelAdmin.raw_id_fields.
Regression in 2f9861d823620da7ecb291a8f005f53da12b1e89.

Thanks Carel Burger for the report and fix.

Backport of docs552abffab16cbdff571486b683e7e7ef12e46066 from master
2018-02-01 08:56:52 -05:00
Rodrigo
a0c2e3fde7 [1.11.x] Fixed location of spatialite_source label.
Backport of 7c5cf331278407ab87737d10a1b2e722c0e666b0 from master
2018-01-31 11:28:32 -05:00
Tim Graham
4430b83e4b [1.11.x] Fixed #29071 -- Fixed contrib.auth.authenticate() crash if a backend doesn't accept a request but a later one does.
Regression in a3ba2662cdaa36183fdfb8a26dfa157e26fca76a.

Backport of 55e16f25e9d2050e95e448f9ab2e4b9fc845a9e5 from stable/2.0.x
2018-01-31 09:27:21 -05:00
Mariusz Felisiak
649d5eaa8b [1.11.x] Fixed #29032 -- Fixed an example of using expressions in QuerySet.values().
Backport of 7fbb1bd00d8a3e9a834de83d36ebcbff15c18938 from master
2018-01-19 08:58:46 +01:00
Peter Wischer
de1520ec20 [1.11.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of 196c257a230bba8f2f1b2021c383eb2744e8df41 from master
2018-01-17 08:54:20 +01:00
Étienne Loks
419705bbe8 [1.11.x] Fixed #29016 -- Fixed incorrect foreign key nullification on related instance deletion.
Backport of 9a621edf624a4eb1f1645fca628a9e432f0de776 from master
2018-01-13 10:33:24 -05:00
Tim Graham
fb56038723 [1.11.x] Added stub release notes for 1.11.10.
Backport of cea5fe94c6bb1b61e791f1375c246566c950b3e3 from master
2018-01-13 09:52:34 -05:00
Tim Graham
ced0b1edef [1.11.x] Fixed #29017 -- Updated BaseCommand.leave_locale_alone doc per refs #24073.
Backport of b9cec9fa1fc50207ab68a59853c851a945c5db5e from master
2018-01-12 18:32:14 -05:00
Tim Graham
bb39e4b57e [1.11.x] Fixed #29002 -- Corrected cached template loader docs about when it's automatically enabled.
Thanks oTree-org for the suggestion.

Backport of 7c00f9fb1cc47e1c993f7728e2b592a1be29dd40 from master
2018-01-11 06:53:20 -05:00
Tim Graham
967d824288 [1.11.x] Fixed a GeoIP2 test failure with the latest GeoIP2 database.
Backport of 66d74676e23c32bc676fb0706af8580b391953b6 from master
2018-01-10 10:20:19 -05:00
Tim Graham
1bf0e5c43c [1.11.x] Fixed GeoIP test failure with the latest data. 2018-01-08 09:57:49 -05:00
Tim Graham
dba6075b07 [1.11.x] Post-release version bump. 2018-01-01 20:12:32 -05:00
Tim Graham
c3eafed987 [1.11.x] Bumped version for 1.11.9 release. 1.11.9 2018-01-01 19:53:50 -05:00
Tim Graham
2e5be68b9c [1.11.x] Added release date for 1.11.9.
Backport of 3ae2bcc7689bb912399c08329d2baa4b5d8bd6b2 from master
2018-01-01 19:35:33 -05:00
Tim Graham
06e4e80382 [1.11.x] Fixed #25277 -- Restored test dependency to the original python-memcached.
Backport of 770b9ea77fb5e39d616e62b54c06755e6d4f4d36 from master
2017-12-18 15:23:44 -10:00
Morgan Wahl
3522203502 [1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI. 2017-12-07 09:34:54 -05:00
Mariusz Felisiak
1decd0197d [1.11.x] Refs #28876 -- Fixed incorrect foreign key constraint name for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.

Backport of fc48047586a8f92262f55d9d2bfb976325844b23 from master
2017-12-05 22:52:42 +01:00
Mariusz Felisiak
3e52fd7595 [1.11.x] Refs #28876 -- Fixed incorrect class-based model index name generation for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.

Backport of f79d9a322c6008e5fada1453aebfb56afc316cc8 from master
2017-12-05 22:42:58 +01:00
Nick Pope
47681af344 [1.11.x] Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.

Backport of e014f91a70aa3ccdddb363a733c76e35597424fa from master
2017-12-05 11:44:39 -05:00
Tim Graham
9ca5ff7996 [1.11.x] Added stub release notes for 1.11.9.
Backport of dfeb19121b40cadd22b81c4b9d0373d617a695ed from master
2017-12-05 10:55:45 -05:00
Sergey Fedoseev
9a64da9399 [1.11.x] Fixed typo in docs/topics/testing/advanced.txt.
Backport of 3922f02dc6b10a3268a710a2837027d3999957a3 from master
2017-12-04 12:00:34 +01:00
Tim Graham
fceefb4d25 [1.11.x] Post-release version bump. 2017-12-02 09:35:54 -05:00
Tim Graham
dfe7b85ed7 [1.11.x] Bumped version for 1.11.8 release. 1.11.8 2017-12-02 09:04:17 -05:00
Tim Graham
cd91f4fe62 [1.11.x] Added release date for 1.11.8.
Backport of 335aad5d9170b3e3807ebd35a7dd74800df03588 from master
2017-12-02 08:56:32 -05:00
Tim Graham
b8a2f3c2d6 [1.11.x] Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key constraint" crash on MySQL with a sequence of AlterField or RenameField operations.
Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9.

Backport of c3e0adcad8d8ba94b33cabd137056166ed36dae0 from master
2017-12-01 19:09:36 -05:00
Simon Charette
f319e7abad [1.11.x] Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model.
Regression in b9f8635f58ad743995cad2081b3dc395e55761e5.

Backport of d31424fec1a3de9d281535c0503644a9d7b93c63 from stable/2.0.x
2017-11-30 10:45:20 -05:00
Mads Jensen
3545e84488 [1.11.x] Fixed #28702 -- Made query lookups for CIText fields use citext.
Backport of f0a68c25118786d47041d0a435b2afa953be3c86 from master
2017-11-29 11:12:07 -05:00
Raphael Michel
899999db42 [1.11.x] Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered subquery that uses nulls_first/nulls_last.
Backport of 616f468760e4984915bb2ccca6b9eb3d80ddadb0 from master
2017-11-27 11:40:09 -05:00
Luke Plant
a09e974688 [1.11.x] Linked to prefetch_related_objects func in DB optimization docs.
Backport of e283c1a from master
2017-11-23 21:36:38 +03:00
Hyunwoo Park
be45c90ce3 [1.11.x] Fixed typo in docs/topics/forms/media.txt.
Backport of 3f237c1a5b936a9b85304cffbf3343f491e395d6 from master
2017-11-22 07:48:18 -05:00
Dražen Odobašić
7f4e174511 [1.11.x] Fixed #28817 -- Made QuerySet.iterator() use server-side cursors after values() and values_list().
Backport of d97f026a7ab5212192426e45121f7a52751a2044 from master
2017-11-21 10:45:02 -05:00
Tim Graham
90c120c2b7 [1.11.x] Added assertion helpers for PostgreSQL's server-side cursor tests.
Backport of 6cb6382639cbd29c8348b42c4d43b02c950eff3a from master
2017-11-21 08:41:41 -05:00
Tim Graham
18324f2e65 [1.11.x] Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt.
Backport of d392fc293c9439c19451e152f9560f24d1659563 from master
2017-11-16 10:38:58 -05:00
Tim Graham
dc629097af [1.11.x] Fixed test failures due to ordering differences on PostgreSQL 10.
Backport of 9bea555d06e0e585645053ae6ca9ac3dc8b899bd from master
2017-11-15 11:03:34 -05:00
Simon Charette
a35ab95ed4 [1.11.x] Fixed #28792 -- Fixed index name truncation of namespaced tables.
Refs #27458, #27843.

Thanks Tim and Mariusz for the review.

Backport of ee85ef8315db839e5723dea19d8b971420a2ebb4 from master
2017-11-14 22:06:30 -05:00
Tim Graham
afcde50497 [1.11.x] Fixed #28786 -- Doc'd middleware ordering considerations due to CommonMiddleware setting Content-Length.
Backport of bc95314ca6af0b5e993ae07fdc7d8e6166d3b8ca from master
2017-11-14 13:01:06 -05:00
Mariusz Felisiak
6731672060
[1.11.x] Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection().
Thanks Tim Graham for the review.
Backport of 2d3cc94284674638c334670903d49565039d77ae from master
2017-11-12 14:33:41 +01:00
shanghui
308f644624 [1.11.x] Fixed #28645 -- Reallowed AuthenticationForm to raise the inactive user error when using ModelBackend.
Regression in e0a3d937309a82b8beea8f41b17d8b6298da2a86.

Thanks Guilherme Junqueira for the report and Tim Graham for the review.

Backport of 359370a8b8ca0efe99b1d4630b291ec060b69225 from master
2017-11-08 09:52:27 -05:00
Tim Graham
d9b457d906 [1.11.x] Fixed typo in docs/topics/db/aggregation.txt.
Backport of 00b93c2b1ecdda978f067309c6feafda633a7264 from master
2017-11-07 09:03:35 -05:00