Tim Graham
45acd6d836
[1.9.x] Fixed CVE-2016-9014 -- Validated Host header when DEBUG=True.
...
This is a security fix.
2016-10-25 15:18:29 -04:00
Tim Graham
f0dd9dd72c
[1.9.x] Fixed nonexistent tmc.edu domain in GeoIP test.
...
The test was silently skipped.
Backport of e1f6eba033abea25cd6b0577bd66c655ec453325 from master
2016-10-11 19:40:40 -04:00
Tim Graham
f0b55f160f
[1.9.x] Relaxed a test for PostGIS 2.3.
...
Backport of 79c91070e5797f647347c2f8bdfc4c7a0f835fb3 from master
2016-10-01 09:25:07 -04:00
Collin Anderson
d1bc980db1
[1.9.x] Fixed CVE-2016-7401 -- Fixed CSRF protection bypass on a site with Google Analytics.
...
This is a security fix.
Backport of "refs #26158 -- rewrote http.parse_cookie() to better match
browsers." 93a135d111c2569d88d65a3f4ad9e6d9ad291452 from master
2016-09-26 12:54:36 -04:00
Tim Graham
b2fa5312bb
[1.9.x] Fixed a GeoIP test failure with the latest data.
...
Backport of 4a696bbe13383b14b2762cc5accd45849e9dcfba from master
2016-08-03 11:16:19 -04:00
Tim Graham
5d6526614b
[1.9.x] Fixed a typo in tests/middleware/test_security.py
...
Backport of 0850236a8c3647bc3c239bd34afae0488abe5c60 from master
2016-07-28 22:01:15 -04:00
Jon Dufresne
caec27f87c
[1.9.x] Fixed #26938 -- Fixed invalid HTML in template postmortem on the debug page.
...
Backport of 348cfccd9072f0e08ffe4cfb3946d1dc6a629e86 from master
2016-07-24 18:29:01 +02:00
Raphaël Hertzog
638ec38c8e
[1.9.x] Fixed #26923 -- Fixed template_tests with numpy < 1.9.0.
...
Backport of 8e5cbc884f77c85b0edbc6206810643abaf589c9 from master
2016-07-21 13:01:16 -04:00
Tim Graham
77ec7c50d6
[1.9.x] Fixed a GeoIP test failure with the latest data.
...
Backport of 081fdaf110386db940d834ba51d93e23aa293fcd from master
2016-07-19 09:28:45 -04:00
Tim Graham
d03bf6fe4e
[1.9.x] Fixed XSS in admin's add/change related popup.
...
This is a security fix.
2016-07-15 09:23:32 -04:00
Claude Paroz
ab2f5f764a
[1.9.x] Refs #26897 -- Added cleanup to i18n test
2016-07-14 22:40:49 +02:00
Claude Paroz
e1a60f2ecb
[1.9.x] Refs #26897 -- Missing directory containment in i18n test
2016-07-14 21:45:38 +02:00
Claude Paroz
a74adb4c35
[1.9.x] Fixed #26897 -- Fixed makemessages crash on Python 2 with non-ASCII file names
...
Thanks Tim Graham for the review.
Backport of 3e71f6544feca490211e88db4f449dfdb7acce39 from master.
2016-07-14 20:39:58 +02:00
Jon Dufresne
b6af8b6f2e
[1.9.x] Fixed #26889 -- Fixed missing PostgreSQL index in SchemaEditor.add_field().
...
Backport of 2e4cfcd2b9a0984ad6c4087a5deebbf33413835c from master
2016-07-13 22:03:09 -04:00
Baptiste Mispelon
b87d3180b2
[1.9.x] Fixed numpy deprecation warning silencing in template_tests.
...
Backport of 418658f453bed7fe7949dda26651aab370003e6a from master
2016-07-09 10:24:31 -04:00
Jon Dufresne
54c0dea22e
[1.9.x] Refs #26034 -- Corrected a schema test to work with the correct field state.
...
Backport of d47f6d75ef67dbd18abf2bb927753f739a9c117d from master
2016-06-27 12:17:34 -04:00
Paul J Stevens
2ff72962a6
Refs #26772 -- Added a test for FileField reopening closed files.
...
Thanks Simon Charette for review.
2016-06-18 11:00:23 -04:00
Tim Graham
13d16697a0
[1.9.x] Fixed flake8 2.6 warnings.
...
Backport of ea34426ae789d31b036f58c8fd59ce299649e91e from master
2016-06-16 10:32:06 -04:00
Tim Graham
d5d8d35e50
[1.9.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 e2296e7f0acf9c50868ab997ba565c1f47beb45b from master
2016-06-04 09:15:14 -04:00
mieciu
5d60eb8bd7
[1.9.x] Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name.
...
Backport of 19ff506878071ac93de684fe01328707e75e2b3a from master
2016-06-03 12:44:32 -04:00
Brad Melin
95ed1514f0
[1.9.x] Fixed #26672 -- Fixed HStoreField to raise ValidationError instead of crashing on non-dict JSON input.
...
Backport of f6517a5335ccc4858ee540548a1bd162bec36c46 from master
2016-06-02 16:29:26 -04:00
Ramiro Morales
25e0273a05
[1.9.x] Fixed #26687 -- Made an i18n test not use a hardcoded path separator.
...
Fixed a failure on Windows.
Backport of e3877c53edb33271b0f31d20e60a924848692026 from master
2016-05-31 12:01:00 -04:00
Tim Graham
86f8a69cf2
[1.9.x] Updated GeoIP test for latest database.
...
Backport of a0a1c4fbde4fb652b151a409db46c8ac3829ed2b from master
2016-05-23 20:17:41 -04:00
Barthelemy Dagenais
47da073cb0
[1.9.x] Fixed #26627 -- Fixed on_commit callbacks execution order when callbacks make transactions.
...
Backport of a5c8072ab1e56da368a40f3e9c9a3b465f4ffbae from master
2016-05-18 09:13:21 -04:00
Simon Charette
de22123d3f
[1.9.x] Refs #26603 -- Defined lazystr for a template loader test.
...
Thanks vytisb for the report.
2016-05-10 17:48:05 -04:00
Simon Charette
6a67dce9cc
[1.9.x] Fixed #26603 -- Forced lazy template names to text when computing cache key.
...
Refs #26536 .
Thanks Sylvain Fankhauser for the very detailed report.
Backport of 207c5b4acd410dd39bac31457dae26a0d15b8b93 from master
2016-05-10 10:50:21 -04:00
Claude Paroz
669b8e3d8f
[1.9.x] Fixed #26544 -- Delayed translations of SetPasswordForm help_texts
...
Thanks Michael Bitzi for the reporti and Tim Graham for the review.
Backport of b26fedacef from master.
2016-05-07 10:19:45 +02:00
Dan Stephenson
90ea14a38a
[1.9.x] Fixed #26558 -- Removed need for request context processor on admin login page.
...
Backport of 1206eea11e506c4e740ba2f0c1feaa01452d804b from master
2016-05-04 09:48:17 -04:00
Ville Skyttä
fef3f50e31
[1.9.x] Normalized "an SQL" spelling.
...
Backport of 575a9a791e62de7550761970dc6797271d956c57 from master
2016-05-03 19:31:07 -04:00
Claude Paroz
9c12eb55ce
[1.9.x] Fixed #26341 (again) -- Addressed multiple occurrences per line use case
...
Backport of 4731e9d8 from master.
2016-05-02 19:41:13 +02:00
Claude Paroz
4a6bdff430
[1.9.x] Fixed #26341 -- Fixed makemessages breaking location comments for HTML files
...
Thanks Sylvain Garancher for the report and Veranika Sabiashchanskaya for the
initial patch.
Backport of b16b124996 from master.
2016-04-30 12:11:11 +02:00
Alasdair Nicol
cd2ac512e6
[1.9.x] Added tests for if tag's != operator.
...
Backport of 246020efc59de1a64b52fdda6a460904151dae36 from master
2016-04-29 12:31:12 -04:00
Joshua Phillips
e0af590bde
[1.9.x] Fixed #26557 -- Converted empty strings to None when saving GenericIPAddressField.
...
Backport of 4681d65048ca2553895e10c2c492997b0a78ffba from master
2016-04-29 10:14:48 -04:00
Tim Graham
d2338bae78
[1.9.x] Refs #26428 -- Added support for relative path redirects to the test client.
...
Thanks iktyrrell for the patch.
Backport of 2f698cd9916cb3d64932248c7114049e02b74fb3 from master
2016-04-29 09:16:31 -04:00
Tim Graham
8a135cca4e
[1.9.x] Fixed #26554 -- Updated docs URLs to readthedocs.io
...
Backport of f945fb24a31737c6625205a8cd90eabdf1c33584 from master
2016-04-28 10:15:23 -04:00
Simon Charette
a06fa6e7d3
[1.9.x] Fixed #26536 -- Preserved leading dashes of the cached template loader keys.
...
Thanks Anders Roos for the report.
Backport of bd145e7209a0e628cced10384bd6f62d65c0f211 from master
2016-04-24 22:17:36 -04:00
Tobias Kroenke
845d43e37e
[1.9.x] Fixed #26520 -- Fixed a regression where SessionBase.pop() didn't return a KeyError.
...
Backport of b040ac06ebba2348cece7390b88f746d2c91d07b from master
2016-04-20 13:11:33 -04:00
Nicolas Noé
ebb55a247c
[1.9.x] Refs #24621 -- Added a test for SessionBase.pop()'s 'default' argument.
...
Backport of 973f393761253f5fbf031f435d103545f1927041 from master
2016-04-20 12:57:42 -04:00
Matthew Schinckel
799e81ef6b
[1.9.x] Fixed #26475 -- Added functools.partial() support to migrations autodetector.
...
Backport of 5402f3ab09413a571fd9d3aa27f6c76ec42ff891 from master
2016-04-19 10:17:29 -04:00
Lukasz Wiecek
51400cbce8
[1.9.x] Fixed #26498 -- Fixed TimeField microseconds round-tripping on MySQL and SQLite.
...
Thanks adamchainz for the report and review.
Backport of d3c87a2425b30400c3e6ea76585a9a537b6d0386 from master
2016-04-18 09:49:13 -04:00
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 d2569f89f28883d07ede0e44a0a69ae678d3b35f 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 d81d02d449edd046a94de5f171f4ae87fa331c7d from master
2016-04-02 08:18:03 -04:00
Attila Tovt
0325483e37
[1.9.x] Made MakeMigrationsTests call proper parent method
...
Backport of 00dbd02f7ecbd369eddcb00ef138e452f84b4ae3 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 f3595b25496691966d4ff858a3b395735ad85a6e 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 4b2cf1cd27587a30b3b081091627d7ee13141afe 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 67cf5efa31acb2916034afb15610b700695dfcb0 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 1c8c0837c61a9e9eb2129df29f75be92e47e926c 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 acfaec3db5ba39de52f6e607e74343dccf72fba1 from master
2016-03-25 14:22:38 -04:00