summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-05-14[1.7.x] Added additional checks in is_safe_url to account for flexible parsing.Erik Romijn
This is a security fix. Disclosure following shortly.
2014-05-14[1.7.x] Dropped fix_IE_for_vary/attach.Aymeric Augustin
This is a security fix. Disclosure following shortly.
2014-05-10[1.7.x] Fixed #21685 -- Displayed app verbose name in admindocs model indexClaude Paroz
Backport of 4cf82e5bcf from master.
2014-05-10[1.7.x] Fixed #22508 -- Avoided overwriting select_related.Aymeric Augustin
Previously, known related objects overwrote related objects loaded though select_related. This could cancel the effect of select_related when it was used over more than one level. Thanks boxm for the bug report and timo for bisecting the regression. Backport of f574220f from master
2014-05-10[1.7.x] Adjusted refactoring of vendor checks.Aymeric Augustin
Thanks Shai for the thorough review. Backport of fb90b7c from master
2014-05-10[1.7.x] Fixed #22502 -- Fixed microseconds/default/form interactionStephen Burrows
Made explicit lack of microsecond handling by built-in datetime form fields. Used that explicitness to appropriately nix microsecond values in bound fields. Thanks Claude Paroz for the review. Backport of a5de0df58 from master.
2014-05-09[1.7.x] Fixed #22606 -- Locmemcache has_key() failed for infinite cache expiryMalcolm Box
Refactored cache expiry logic for Locmemcache to make consistent across all places where accessed, and correctly handle None as expiry time. Backport of 66880e4cd from master.
2014-05-08[1.7.x] Tests for #22325Andrew Godwin
2014-05-08Merge pull request #2637 from davidszotten/validator_comparisonsAndrew Godwin
[1.7.x] Fixed #22588 -- Fix RegexValidator __eq__
2014-05-08[1.7.x] Added feature flags for introspection capabilities.Aymeric Augustin
Backport of 99d9fa32 from master
2014-05-08[1.7.x] Split ignores_nulls_in_unique_constraints feature.Aymeric Augustin
Oracle and SQL Server don't have exactly the same limitations. It's worth treating them differently. Backport of cff59bed from master
2014-05-08[1.7.x] Replaced vendor checks by three feature flags.Aymeric Augustin
Backport of c70a61eb from master
2014-05-08[1.7.x] Simplified indexes tests.Aymeric Augustin
Backport of 43a80f48 from master
2014-05-08[1.7.x] Reorganized backends tests.Aymeric Augustin
This reduces the number of explicit vendor checks. Backport of d6672631 from master
2014-05-08[1.7.x] Appeased flake8.Aymeric Augustin
Backport of b1432bfc from master
2014-05-08[1.7.x] Fixed #22476: Couldn't alter attributes on M2Ms with through= setAndrew Godwin
2014-05-07[1.7.x] Fixed #22496: Data migrations get transactions again!Andrew Godwin
2014-05-07[1.7.x] Fixed #22581: Pass default values for schema through get_db_prep_save()Andrew Godwin
2014-05-07[1.7.x] Fixed #22588 -- Fix RegexValidator __eq__David Szotten
Compare parameters instead of re.pattern instances, and add the other parameters to the comparison. Also add a __ne__ to make assertNotEqual work properly.
2014-05-06[1.7.x] Fixed #22337: FileSystemStorage marked as deconstructible and tested.Andrew Godwin
2014-05-06[1.7.x] Fixed #22564 -- Prevented unneeded bytestrings in migrationsClaude Paroz
In some cases, this could lead to migrations written with Python 2 being incompatible with Python 3. Thanks Tim Graham for the report and Loïc Bistuer for the advices. Backport of da9cf53cb from master.
2014-05-05[1.7.x] Fixed #22570 -- Made Form.__getitem__ KeyError more descriptive.Ben Davis
Backport of df60db0e78 from master
2014-05-05[1.7.x] Fixed #22466 -- ordering by reverse foreign keyAnssi Kääriäinen
Ordering by reverse foreign key was broken by custom lookups patch (commit 20bab2cf9d02a5c6477d8aac066a635986e0d3f3). Thanks to everybody who helped solving this issue. Special thanks to Trac alias takis for reporting this. Backport of 3b7c66a3ac from master
2014-05-05[1.7.x] Fixed #22489 -- missing implemenation for search lookupJakub Roztocil
When custom lookups were added, converting the search lookup to use the new Lookup infrastructure wasn't done. Some changes were needed to the added test, main change done by committer was ensuring the test works on MySQL versions prior to 5.6. Backport of 7131e14d00 from master
2014-05-05[1.7.x] Fixed #22429 -- Incorrect SQL when using ~Q and FAnssi Kääriäinen
Backport of 5e1f4656b9 from master
2014-05-02[1.7.x] Fixed #22435 -- Prevented adding a ManyToManyField from prompting ↵Tim Graham
for a default. Thanks andrewsg for the report. Backport of 3818d96426 from master
2014-05-02[1.7.x] Fixed #22565 -- Prevented pgettext_lazy crash with bytestring inputClaude Paroz
Thanks ygbo for the report. Backport of 142c27218 from master.
2014-05-02[1.7.x] Fix migration autodector to work correctly with custom deconstructed ↵Chris Beaven
values
2014-05-01[1.7.x] Fixed #22539 -- Copied exclude argument in Model.full_clean() to ↵Yehonatan Daniv
prevent side effects. Backport of e2e4cdba11 from master
2014-04-30[1.7.x] flake8 fixes.Tim Graham
Backport of 45c2d1f5d9 from master.
2014-04-30[1.7.x] Cleanup failing test w/contenttypes and remove useless graph loadAndrew Godwin
2014-04-30[1.7.x] Fixed #22485: Include all unmigrated apps in project state by default.Andrew Godwin
2014-04-30[1.7.x] Fixed #19195 -- Allow explicit ordering by a relation `_id` field.Simon Charette
Thanks to chrisedgemon for the report and shaib, akaariai and timgraham for the review. Backport of 24ec9538b7 from master
2014-04-30[1.7.x] Fixed #22474 -- Made migration recorder aware of multiple databasesClaude Paroz
Thanks Tim Graham for the review. Backport of 7c54f8cce from master.
2014-04-30[1.7.x] Fixed #22537 -- Add tests and improved docs for field subclass with ↵Mike Fogel
choices. Backport of 7fd1b35ed7 from master
2014-04-29[1.7.x] Fixed #22447 -- Make sure custom model bases can be migrated.Simon Charette
Thanks to cdestigter for the report. Backport of 390f888745 from master
2014-04-28[1.7.x] Revert "Fixed #15179 -- middlewares not applied for test client login()"Tim Graham
This reverts commit 4fdd51b73240bf9c8d9472fcc45df699f0714755. See the ticket for concerns with this implementation; it will be revisited. Backport of aabceadd7d from master
2014-04-26[1.7.x] Fix many many typos in comments throughout the codebaseAlex Gaynor
Backport of 2bcb8bfc8d from master
2014-04-26[1.7.x] Fixed #3214 -- Stopped parsing SQL with regex.Aymeric Augustin
Avoided introducing a new regex-based SQL splitter in the migrations framework, before we're bound by backwards compatibility. Adapted this change to the legacy "initial SQL data" feature, even though it's already deprecated, in order to facilitate the transition to migrations. sqlparse becomes mandatory for RunSQL on some databases (all but PostgreSQL). There's no API to provide a single statement and tell Django not to attempt splitting. Since we have a more robust splitting implementation, that seems like a good tradeoff. It's easier to add a new keyword argument later if necessary than to remove one. Many people contributed to both tickets, thank you all, and especially Claude for the review. Refs #22401. Backport of 8b5b199 from master
2014-04-24[1.7.x] Fixed #22499 -- Fixed a typo in an admin_views test that caused ↵Tim Graham
failure on Oracle. Backport of d238c58912 from master
2014-04-23[1.7.x] Fixed #22495 -- Locmem cache.add() failed with infinite timeoutsMalcolm Box
cache.add() incorrectly succeeded when there was an existing key with an infinite (None) timeout. Backport of af5f688392 from master.
2014-04-23[1.7.x] Fixed #22486 -- Restored the ability to reverse views created using ↵Tim Graham
functools.partial. Regression in 8b93b31487d6d3b0fcbbd0498991ea0db9088054. Thanks rcoup for the report. Backport of 3c06b2f2a3 from master
2014-04-22[1.7.x] Fixed table cleanup in GIS migration testsClaude Paroz
Backport of ab90c4707b from master.
2014-04-22[1.7.x] Fixed #22478 -- Regression in test label discovery.Preston Timmons
As part of the app-loading updates the old test runner was changed to not require a models module. This introduced a regression in behavior so applabel.TestCase failed for tests defined in a directory. The fix is thanks to yakky and rtnpro.
2014-04-21[1.7.x] Fixed queries that may return unexpected results on MySQL due to ↵Erik Romijn
typecasting. This is a security fix. Disclosure will follow shortly. Backport of 75c0d4ea3ae48970f788c482ee0bd6b29a7f1307 from master
2014-04-21[1.7.x] Prevented leaking the CSRF token through caching.Aymeric Augustin
This is a security fix. Disclosure will follow shortly. Backport of c083e3815aec23b99833da710eea574e6f2e8566 from master
2014-04-21[1.7.x] Fixed a remote code execution vulnerabilty in URL reversing.Tim Graham
Thanks Benjamin Bach for the report and initial patch. This is a security fix; disclosure to follow shortly. Backport of 8b93b31487d6d3b0fcbbd0498991ea0db9088054 from master
2014-04-21[1.7.x] Fixed monkeypatching in a staticfiles test.Florian Apolloner
Backport of a4553e0510 from master
2014-04-21[1.7.x] Appeased flake8 2.1.0.Aymeric Augustin
Backport of 428c0bbe1bcd303560d7e96d7d2721ff3fdc0e3f from master
2014-04-21[1.7.x] Corrected many style guide violations that the newest version of ↵Alex Gaynor
flake8 catches Backport of 778ce245dd466bce1b19f89e52cf9ed8f1b46513 from master