Tim Graham
192b065949
[1.9.x] Fixed #26428 -- Added support for relative path redirects in assertRedirects().
...
Thanks Trac alias master for the report and review.
Backport of d2569f89f2
from master
2016-04-02 10:35:55 -04:00
Michal Petrucha
5c1944f918
[1.9.x] Refs #26384 , #24995 -- Avoided a module-level MySQL query in the schema tests.
...
Backport of d81d02d449
from master
2016-04-02 08:18:03 -04:00
Attila Tovt
0325483e37
[1.9.x] Made MakeMigrationsTests call proper parent method
...
Backport of 00dbd02f7e
from master
2016-04-02 10:13:15 +02:00
Claude Paroz
97ccab126c
[1.9.x] Refs #25532 -- Removed a failing test on Django 1.9
...
That test is failing on Django 1.9, that issue has been fixed on master
only as it touches a part of form validation that is too important to
touch for a stable release.
2016-04-01 15:51:16 +02:00
Claude Paroz
6a8ba2eef4
[1.9.x] Fixed #25532 -- Properly redisplayed JSONField form input values
...
Thanks David Szotten for the report and Tommy Beadle for code inspiration.
Thanks Tim Graham for the review.
Partial backport of db19619545
from master.
2016-04-01 09:10:35 +02:00
Tim Graham
a0e3cbaa2b
[1.9.x] Refs #26384 , #24995 -- Skipped a schema test on older MySQL versions.
...
Backport of f3595b2549
from master
2016-03-31 12:16:31 -04:00
Alex Hill
ed87af3266
[1.9.x] Fixed #26384 -- Fixed renaming the PK on a model with a self-referential FK on SQLite.
...
Backport of 4b2cf1cd27
from master
2016-03-29 13:26:59 -04:00
Simon Charette
026574e03c
[1.9.x] Fixed #26413 -- Fixed a regression with abstract model inheritance and explicit parent links.
...
Thanks Trac alias trkjgrdg for the report and Tim for investigation and review.
Backport of 67cf5efa31
from master
2016-03-28 21:15:16 -04:00
Tim Graham
5fbb542625
[1.9.x] Sorted single letter imports per the latest version of isort.
...
Backport of 1c8c0837c6
from master
2016-03-28 11:56:16 -04:00
Tim Graham
1f15d442bf
[1.9.x] Fixed #26387 -- Restored the functionality of the admin's raw_id_fields in list_editable.
...
Backport of acfaec3db5
from master
2016-03-25 14:22:38 -04:00
ieatkittens
ccc367fd48
[1.9.x] Fixed #26293 -- Fixed CommonMiddleware to process PREPEND_WWW and APPEND_SLASH independently.
...
Backport of 9390da7fb6
from master
2016-03-23 09:29:37 -04:00
Jason Parrott
4e8c265319
[1.9.x] Fixed #26373 -- Fixed reverse lookup crash with a ForeignKey to_field in a subquery.
...
Backport of 4c1c93032f
from master
2016-03-19 17:55:31 -04:00
Berker Peksag
b4bb2ad13d
[1.9.x] Fixed #26297 -- Fixed collectstatic --clear
crash if storage doesn't implement path().
...
Backport of 28bcff82c5
from master
2016-03-17 09:51:48 -04:00
Alex Hill
f49cfb76c7
[1.9.x] Fixed #26306 -- Fixed memory leak in cached template loader.
...
Backport of ecb59cc657
from master
2016-03-16 12:43:37 -04:00
Vincenzo Pandolfo
c6424efbc6
[1.9.x] Fixed #26334 -- Removed whitespace stripping from contrib.auth password fields.
...
Backport of d0fe6c9156
from master
2016-03-14 20:24:19 -04:00
Adam Alton
b50e4ffe7e
[1.9.x] Removed unnecessary filter kwarg from .get() in a test.
...
Backport of 38086c83ac
from master
2016-03-14 18:57:26 -04:00
Jon Dufresne
bf7a35c329
[1.9.x] Fixed test_dumpdata_progressbar to use the instantiated StringIO object.
...
Backport of cacc7e85e1
from master
2016-03-14 10:29:47 -04:00
Tim Graham
c5e258eed3
[1.9.x] Removed unneeded GeoManagers in tests.
...
Backport of 9027fac841
from master
2016-03-11 13:38:54 -05:00
Tim Graham
5b6c751230
[1.9.x] Fixed #26324 -- Fixed DurationField with fractional seconds on SQLite.
...
Backport of 4f0cd0fd16
from master
2016-03-10 19:16:20 -05:00
Przemysław Suliga
76926f343a
[1.9.x] Fixed #26332 -- Fixed a race condition in BaseCache.get_or_set().
...
Backport of 96ec67a7cf
from master
2016-03-08 11:45:09 -05:00
John-Mark Bell
809eb5ddee
[1.9.x] Fixed #26325 -- Made MultiPartParser ignore filenames that normalize to an empty string.
...
Backport of 4b129ac81f
from master
2016-03-07 13:22:11 -05:00
George Marshall
4702c1ac98
[1.9.x] Fixed #26331 -- Fixed test function names with typos
...
Backport of 75614f6d4c
from master
2016-03-07 06:51:43 -05:00
Claude Paroz
9c195d45a6
[1.9.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:38:32 +01:00
Claude Paroz
78f4830056
[1.9.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:15:44 +01:00
Alasdair Nicol
6679cdd92c
[1.9.x] Fixed #26303 -- Updated links to mod_wsgi docs.
...
Backport of 8c42cf0cbd
from master
2016-03-01 19:22:54 -05:00
Florian Apolloner
af7d09b0c5
[1.9.x] Fixed CVE-2016-2513 -- Fixed user enumeration timing attack during login.
...
This is a security fix.
2016-03-01 11:38:49 -05:00
Mark Striemer
fc6d147a63
[1.9.x] Fixed CVE-2016-2512 -- Prevented spoofing is_safe_url() with basic auth.
...
This is a security fix.
2016-03-01 11:38:49 -05:00
Simon Charette
48cf751640
[1.9.x] Fixed #26186 -- Documented how app relative relationships of abstract models behave.
...
This partially reverts commit bc7d201bdb
.
Thanks Tim for the review.
Refs #25858 .
Backport of 0223e213dd
from master
2016-02-29 22:13:54 -05:00
Simon Charette
ba6f83ec95
[1.9.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:22:17 -05:00
Ivan Tsouvarev
cd46947ddb
[1.9.x] Fixed #26280 -- Fixed cached template loader crash when loading nonexistent template.
...
Backport of 8890c533e0
from master
2016-02-26 08:02:34 -05:00
Jon Dufresne
04780e8a25
[1.9.x] Fixed #26267 -- Fixed BoundField to reallow slices of subwidgets.
...
Backport of b412681359
from master
2016-02-24 07:03:24 -05:00
Tim Graham
3fedfc452f
[1.9.x] Fixed #26253 -- Fixed crashing deprecation shims in SimpleTemplateResponse.
...
Thanks David Reitter for the report and initial patch.
2016-02-22 17:07:07 -05:00
Tim Graham
07ffee6411
[1.9.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:51:29 -05:00
Akshesh
0d2b97ca18
[1.9.x] Fixed #26219 -- Fixed crash when filtering by Decimal in RawQuery.
...
Backport of fdccc02576
from master
2016-02-17 14:00:38 -05:00
Berker Peksag
f78892f2de
[1.9.x] Refs #19353 -- Added tests for using custom user models with built-in auth forms.
...
Also updated topics/auth/customizing.txt to reflect that subclasses of
UserCreationForm and UserChangeForm can be used with custom user models.
Thanks Baptiste Mispelon for the initial documentation.
Backport of f0425c7260
from master
2016-02-17 10:42:54 -05:00
Claude Paroz
205cafd01e
[1.9.x] Fixed #26215 -- Fixed RangeField/ArrayField serialization with None values
...
Also added tests for HStoreField and JSONField.
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:09:16 +01:00
Alexey Kotlyarov
765e6c411c
[1.9.x] Fixed #26212 -- Made forms.FileField and translation.lazy_number() picklable.
...
Backport of b59f963ad2
from master
2016-02-15 11:45:44 -05:00
Berker Peksag
33b5bb7930
[1.9.x] Fixed #26126 -- Fixed transient failure of test_max_age_expiration
...
Backport of b17a9150a0
from master
2016-02-15 09:26:58 -05:00
Anssi Kääriäinen
1d9ee181fe
[1.9.x] Fixed #26196 -- Made sure __in lookups use to_field as default.
...
Thanks Simon Charette for the test.
Backport of 46ecfb9b3a
from master
2016-02-11 11:09:55 -05:00
Anssi Kääriäinen
25496f0f7b
[1.9.x] Fixed #26153 -- Reallowed Q-objects in ForeignObject.get_extra_descriptor_filter().
...
Backport of 353aecbf8c
from master
2016-02-11 09:00:38 -05:00
Simon Charette
58723722e9
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.
2016-02-08 10:31:01 -05:00
Tim Graham
6b689a505c
[1.9.x] Fixed #26177 -- Fixed a PostgreSQL crash with TIME_ZONE=None and USE_TZ=False.
...
Backport of 97eb3356b2
from master
2016-02-08 07:41:56 -05:00
Blake Griffith
daa80aceec
[1.9.x] Changed gypsy to manouche in docs and tests.
...
"Gypsy" is considered a slur by the Romani people whom it refers to.
"manouche jazz" is used in place of "gypsy jazz" and is an accepted
term for the same genre of music.
Backport of 5fdbd9e36c
from master
2016-02-03 09:48:01 -05:00
Buddy Lindsey, Jr
3a063b0dcc
[1.9.x] Fixed #26155 -- Skipped URL checks if no ROOTURL_CONF setting.
...
Backport of 731bdfe68a
from master
2016-02-01 14:00:08 -05:00
Myk Willis
adbca5e4db
[1.9.x] Fixed incorrect permissions check for admin's "Save as new".
...
This is a security fix.
2016-02-01 12:05:08 -05:00
Tim Graham
01db3249e5
[1.9.x] Fixed #26129 -- Made invalid forms display initial values of disabled fields.
...
Backport of 04564eb74d
from master
2016-01-29 08:08:04 -05:00
Tim Graham
efd8554815
[1.9.x] Fixed #20415 -- Ensured srid isn't localized in OpenLayers JavaScript.
...
Backport of 19d1cb1451
from master
2016-01-28 18:02:10 -05:00
Tim Graham
61452616ba
[1.9.x] Fixed #26147 -- Relaxed expected values in GIS tests to account for database/library differences.
...
Backport of 5aa5328675
from master
2016-01-28 14:38:27 -05:00
Yoong Kang Lim
ca6830c49f
[1.9.x] Added a missing test method in tests/migrations/test_writer.py.
...
Backport of 5453aa66cf
from master
2016-01-28 10:38:57 -05:00
Claude Paroz
ca6ab72bb7
[1.9.x] Fixed #26138 -- Ensured geometry_field's geometry is always serialized
...
Thanks Bernd Schlapsi for the report.
Backport of 54236a2c1c
from master.
2016-01-28 08:52:28 +01:00