Mariusz Felisiak
6f26693cc8
[2.2.x] Added release dates for 2.2.7, 2.1.14, and 1.11.26.
...
Backport of 126cfefce2
from master
2019-11-04 08:26:38 +01:00
Carlton Gibson
785d1706c4
[2.2.x] Fixed #30931 -- Restored ability to override Model.get_FIELD_display().
...
Thanks Sergey Fedoseev for the implementation idea.
Regression in a68ea23101
.
Backport of 2d38eb0ab9
from master
2019-11-04 08:17:50 +01:00
Hannes Ljungberg
7fe09e6d41
[2.2.x] Fixed #30903 -- Fixed migrations crash on PostgreSQL when adding Index with opclasses and ordering.
...
Backport of fa5f3291e7
from master
2019-10-24 09:53:33 +02:00
Mariusz Felisiak
d2f02aa56b
[2.2.x] Fixed #30870 -- Fixed showing that RunPython operations are irreversible by migrate --plan.
...
Thanks Hasan Ramezani for the initial patch and Kyle Dickerson for the
report.
Backport of 06d34aab7c
from master.
2019-10-14 11:45:47 +02:00
Louise Grandjonc
323467e286
[2.2.x] Fixed #30826 -- Fixed crash of many JSONField lookups when one hand side is key transform.
...
Regression in 6c3dfba892
.
Backport of 7d1bf29977
from master
2019-10-11 11:52:32 +02:00
Mariusz Felisiak
18df8484bd
[2.2.x] Added stub release notes for 1.11.26 and 2.1.14.
...
Backport of 84322a29ce
from master
2019-10-02 07:56:02 +02:00
Carlton Gibson
c3302c7976
[2.2.x] Added stub release notes for 2.2.7.
...
Backport of e1c1eaf0c6
from master
2019-10-01 10:45:07 +02:00
Carlton Gibson
e1a75db7d1
[2.2.x] Added release dates for 2.2.6, 2.1.13, and 1.11.25.
...
Backport of 3826aed46d
from master
2019-10-01 08:51:15 +02:00
Simon Charette
7806e45454
[2.2.x] Fixed #30769 -- Fixed a crash when filtering against a subquery JSON/HStoreField annotation.
...
This was a regression introduced by 7deeabc7c7
to address CVE-2019-14234.
Thanks Tim Kleinschmidt for the report and Mariusz for the tests.
Backport of 6c3dfba892
from master
2019-09-16 08:53:31 +02:00
Mariusz Felisiak
e4fb132f43
[2.2.x] Added stub release notes for 1.11.25 and 2.1.13.
...
Backport of bd7e0f81f8
from master
2019-09-16 07:43:49 +02:00
Simon Charette
964dd4f4f2
[2.2.x] Fixed #30754 -- Prevented inclusion of aliases in partial index conditions.
...
SQLite doesn't repoint table aliases in partial index conditions on table
rename which breaks the documented table alteration procedure.
Thanks Pēteris Caune for the report.
Backport of 34decdebf1
from master
2019-09-10 10:04:12 +02:00
Mariusz Felisiak
b71cabe459
[2.2.x] Added stub release notes for 2.2.6.
...
Backport of 0d4529d314
from master
2019-09-04 08:06:12 +02:00
Mariusz Felisiak
4ed59db199
[2.2.x] Added release dates for 2.2.5, 2.1.12, and 1.11.24.
...
Backport of 47f49adc11
from master
2019-09-02 07:45:40 +02:00
Tom Forbes
6402855098
[2.2.x] Fixed #30500 -- Fixed race condition in loading URLconf module.
2019-08-27 20:09:30 +02:00
François Freitag
9b7c5a92ec
[2.2.x] Fixed broken links and redirects in documentation.
...
Removed reference to custom builds, feature removed in
8e6b3bba99
.
Backport of 9a88e43aeb
from master
2019-08-21 10:58:05 +02:00
zeyneloz
c2732e6839
[2.2.x] Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to respect model's Meta.ordering.
...
Regression in 6d4e5feb79
.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 00035672a4
from master
2019-08-15 13:14:17 +02:00
Mariusz Felisiak
52a7759a49
[2.2.x] Fixed #30672 -- Fixed crash of JSONField/HStoreField key transforms on expressions with params.
...
Regression in 4f5b58f5cd
.
Thanks Florian Apolloner for the report and helping with tests.
Backport of 1f8382d34d
from master.
2019-08-14 15:29:13 +02:00
Adnan Umer
1265a26b2f
[2.2.x] Fixed #30673 -- Relaxed system check for db_table collision when database routers are installed by turning the error into a warning.
...
Backport of 8d3519071e
from master.
2019-08-08 21:40:06 +02:00
Mariusz Felisiak
2c66f340bb
[2.2.x] Added stub release notes for 2.2.5.
...
Backport of 1af469e67f
from master
2019-08-03 11:28:47 +02:00
Carlton Gibson
68cc954ffb
[2.2.x] Added CVE-2019-14235 to security release archive.
...
Backport of a5652eb795
from master
2019-08-01 12:04:18 +02:00
Carlton Gibson
3bfa2f99d8
[2.2.x] Added CVE-2019-14234 to security release archive.
...
Backport of 3a6a2f5eaf
from master
2019-08-01 12:04:06 +02:00
Carlton Gibson
859d1d1cb0
[2.2.x] Added CVE-2019-14233 to security release archive.
...
Backport of 9600f63885
from master
2019-08-01 12:03:53 +02:00
Carlton Gibson
928d596886
[2.2.x] Added CVE-2019-14232 to the security release archive.
...
Backport of 87750787d1
from master
2019-08-01 12:03:34 +02:00
Florian Apolloner
cf694e6852
[2.2.x] Fixed CVE-2019-14235 -- Fixed potential memory exhaustion in django.utils.encoding.uri_to_iri().
...
Thanks to Guido Vranken for initial report.
2019-07-29 11:06:54 +02:00
Mariusz Felisiak
4f5b58f5cd
[2.2.x] Fixed CVE-2019-14234 -- Protected JSONField/HStoreField key and index lookups against SQL injection.
...
Thanks to Sage M. Abdullah for the report and initial patch.
Thanks Florian Apolloner for reviews.
2019-07-29 11:06:54 +02:00
Florian Apolloner
e34f3c0e9e
[2.2.x] Fixed CVE-2019-14233 -- Prevented excessive HTMLParser recursion in strip_tags() when handling incomplete HTML entities.
...
Thanks to Guido Vranken for initial report.
2019-07-29 11:06:54 +02:00
Florian Apolloner
c3289717c6
[2.2.X] Fixed CVE-2019-14232 -- Adjusted regex to avoid backtracking issues when truncating HTML.
...
Thanks to Guido Vranken for initial report.
2019-07-29 11:00:01 +02:00
Carlton Gibson
ea57c8a345
[2.2.x] Added stub release notes for security releases.
...
Backport of f13147c8de
from master
2019-07-25 10:50:18 +02:00
Tom Forbes
4d6449e125
[2.2.x] Fixed #30647 -- Fixed crash of autoreloader when extra directory cannot be resolved.
...
Backport of fc75694257
from master.
2019-07-24 14:38:24 +02:00
Tom Forbes
2d2859bec2
[2.2.x] Fixed #30506 -- Fixed crash of autoreloader when path contains null characters.
...
Backport of 2ff517ccb6
from master.
2019-07-23 10:41:50 +02:00
Mariusz Felisiak
1088a9777d
[2.2.x] Fixed #30621 -- Fixed crash of __contains lookup for Date/DateTimeRangeField when the right hand side is the same type.
...
Thanks Tilman Koschnick for the report and initial patch.
Thanks Carlton Gibson for the review.
Regression in 6b048b364c
.
Backport of 7991111af1
from master
2019-07-10 10:34:49 +02:00
Simon Charette
9dee8515d6
[2.2.x] Fixed #30628 -- Adjusted expression identity to differentiate bound fields.
...
Expressions referring to different bound fields should not be
considered equal.
Thanks Julien Enselme for the detailed report.
Regression in bc7e288ca9
.
Backport of ee6e93ec87
from master
2019-07-10 08:04:45 +02:00
Mariusz Felisiak
b593c39d7f
[2.2.x] Added stub release notes for 2.2.4.
...
Backport of 08e69cad9c
from master
2019-07-09 07:45:27 +02:00
Mariusz Felisiak
2b533ae60e
[2.2.x] Added CVE-2019-12781 to the security release archive.
...
Backport of 868cd56f05
from master
2019-07-01 10:21:16 +02:00
Mariusz Felisiak
4f2713ff0e
[2.2.x] Added release date for 2.2.3.
...
Backport of fc41401f33
from master
2019-07-01 07:51:53 +02:00
Carlton Gibson
77706a3e47
[2.2.x] Fixed CVE-2019-12781 -- Made HttpRequest always trust SECURE_PROXY_SSL_HEADER if set.
...
An HTTP request would not be redirected to HTTPS when the
SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings were used if
the proxy connected to Django via HTTPS.
HttpRequest.scheme will now always trust the SECURE_PROXY_SSL_HEADER if
set, rather than falling back to the request scheme when the
SECURE_PROXY_SSL_HEADER did not have the secure value.
Thanks to Gavin Wahl for the report and initial patch suggestion, and
Shai Berger for review.
Backport of 54d0f5e62f
from master
2019-07-01 07:50:48 +02:00
Mariusz Felisiak
db9f7b44fc
[2.2.x] Added stub release notes for security releases.
...
Backport of 30b3ee9d0b
from master
2019-07-01 07:03:03 +02:00
Claude Paroz
b3f7262e6e
[2.2.x] Updated translations from Transifex
2019-06-29 16:15:53 +02:00
Tom Forbes
bdc1de2199
[2.2.x] Fixed #30588 -- Fixed crash of autoreloader when __main__ module doesn't have __file__ attribute.
...
Backport of 8454f6dea4
from master
2019-06-26 06:44:57 +02:00
Jon Dufresne
e6b2471ce7
[2.2.x] Fixed typos in 1.11.19, 2.0.11, 2.1.6 release notes.
...
Backport of 2ef6f209f7
from master
2019-06-21 07:10:32 +02:00
Étienne Beaulé
4e6f0024f1
[2.2.x] Fixed #30542 -- Fixed crash of numerical aggregations with filter.
...
Filters in annotations crashed when used with numerical-type
aggregations (i.e. Avg, StdDev, and Variance). This was caused as the
source expressions no not necessarily have an output_field (such as the
filter field), which lead to an AttributeError: 'WhereNode' object has
no attribute output_field.
Thanks to Chuan-Zheng Lee for the report.
Regression in c690afb873
and two following
commits.
Backport of 4b6dfe1622
from master.
2019-06-05 09:15:21 +02:00
Mariusz Felisiak
ca3f86288a
[2.2.x] Added stub release notes for 2.2.3.
...
Backport of 1f81e2df69
from master
2019-06-05 06:58:53 +02:00
Nick Pope
ed3dc5119b
[2.2.x] Added CVE-2019-12308 to the security release archive.
...
Backport of 21b1d23912
from master
2019-06-03 21:45:58 +02:00
Nick Pope
162e02b5e4
[2.2.x] Added CVE-2019-11358 to the security release archive.
...
Backport of 8fb0ea5583
from master
2019-06-03 21:45:41 +02:00
Mariusz Felisiak
e6d7641000
[2.2.x] Fixed typos in 1.11.21, 2.1.9, 2.2.2 release notes.
...
Backport of 100ec901ae
from master
2019-06-03 14:10:51 +02:00
Carlton Gibson
baaf187a4e
[2.2.x] Applied jQuery patch for CVE-2019-11358.
...
Backport of 34ec52269a
from master.
2019-06-03 11:38:57 +02:00
Carlton Gibson
afddabf842
[2.2.x] Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate URL before rendering clickable link.
...
Backport of deeba6d920
from master.
2019-06-03 11:37:28 +02:00
Carlton Gibson
4a1d25b39f
[2.2.x] Added stub release notes for security releases.
...
Backport of 98c0fe19ee
from master
2019-06-03 10:50:09 +02:00
Tom Forbes
7089502b98
[2.2.x] Fixed #30523 -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader.
...
Previously we updated the file mtimes if the file has not been seen
before - i.e on the first iteration of the loop.
If the mtime has been changed we triggered the notify_file_changed()
method which in all cases except the translations will result in the
process being terminated. To be strictly correct we need to update the
mtime for either branch of the conditional.
Regression in 6754bffa2b
.
Backport of 480492fe70
from master
2019-05-29 09:43:10 +02:00
Tom Forbes
ace0bec804
[2.2.x] Fixed #30516 -- Fixed crash of autoreloader when re-raising exceptions with custom signature.
...
Regression in c8720e7696
.
Backport of 0344565179
from master
2019-05-29 08:30:22 +02:00