summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-07-08[1.8.x] Fixed catastrophic backtracking in URLValidator.Shai Berger
Thanks João Silva for reporting the problem and Tim Graham for finding the problematic RE and for review. This is a security fix; disclosure to follow shortly.
2015-07-08[1.8.x] Prevented newlines from being accepted in some validators.Tim Graham
This is a security fix; disclosure to follow shortly. Thanks to Sjoerd Job Postmus for the report and draft patch.
2015-07-08[1.8.x] Fixed #19324 -- Avoided creating a session record when loading the ↵Carl Meyer
session. The session record is now only created if/when the session is modified. This prevents a potential DoS via creation of many empty session records. This is a security fix; disclosure to follow shortly.
2015-07-07[1.8.x] Replaced try..except blocks by context manager in custom lookups testsAndriy Sokolovskiy
Backport of 13dca01af02e91f25ae1d96b09b857993714c96d from master
2015-07-06[1.8.x] Fixed #25059 -- Allowed Punycode TLDs in URLValidatorAlexey Sveshnikov
Backport of bc98bc56a52860688ea0ae2ec7b9e59ddb72a811 from master
2015-07-03[1.8.x] Fixed #25055 -- Made m2m long name testing friendlier for 3rd party ↵Michael Manfre
databases. Backport of f9c3587b51487179cf3fb92b509790f4610d6012 from master
2015-07-03[1.8.x] Fixed #25056 -- Documented minimum version of jinja2 for testing.Tim Graham
Backport of ca58181bac5366d3a1fb44e1b49fe9e365095138 from master
2015-06-30[1.8.x] Refs #23621 -- Fixed warning message when reloading models.Marten Kenbeek
Backport of aabb58428beae0bd34f32e5d620a82486b670499 from master
2015-06-27[1.8.x] Fixed #25031 -- Fixed a regression in the unordered_list template ↵Noam
filter. Backport of e291fc4757e952fd4f663d88adca416b016db13e from master
2015-06-26[1.8.x] Fixed #24958 -- Fixed inline forms using UUID-PK parents with ↵Jason Hoos
auto-PK children. Backport of a50b66da30320887c23c73927f6b2ab41e0301bf from master
2015-06-26[1.8.x] Fixed #25016 -- Reallowed non-ASCII values for ↵薛丞宏
ForeignKey.related_name on Python 3. Backport of d3e12c901777697b7bf08b25e2dd46f0b951db8c from master
2015-06-23[1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning.Tim Graham
2015-06-19[1.8.x] Fixed #24940 -- Made model managers hashableMarkus Holtermann
Thanks Federico Jaramillo Martínez for the report and Tim Graham for the test and review. Backport of d3d66d47222dd8765a20a15fdc754c0ed7635404 from master
2015-06-16[1.8.x] Fixed #24948 -- Fixed crash when uploading bitmap images in ↵Andriy Sokolovskiy
forms.ImageField Backport of cf6ce279c7671a4c83c960c5c526f92679a4fac8 from master
2015-06-15[1.8.x] Fixed #24972 -- Fixed removing unique_together indexes on MySQL.Adam Brenecki
Backport of 65296b3be376e9cd25216b6ad2b1758b03765781 from master
2015-06-15[1.8.x] Fixed #24912 -- Fixed prefetch_related failure for UUIDField primary ↵Brian King
keys This resolves a problem on databases besides PostgreSQL when using prefetch_related with a source model that uses a UUID primary key. Backport of bfb5b7150ff52571a7a3cf10e0dd0d1dbd45c4b5 from master
2015-06-15[1.8.x] Fixed flake8 warnings on Python 3.Tim Graham
Backport of 47fcbe506c04019a12e16221843e25a52249b1ab from master
2015-06-09[1.8.x] Fixed #24769 -- Cast optparse verbosity argument to an integer for ↵Rivo Laks
better backwards compatibility. Using `BaseCommand.options_list` makes Django use the legacy optparse parser, which does not set the verbosity attribute correctly. Now the verbosity argument is always cast to int. Regression in 8568638 (#19973). Initial report and patch from blueyed. Backport of a0047c6242fd48068eb444e0a58f7a5d2bc1bcd3 from master
2015-06-09[1.8.x] Fixed #24903 -- Fixed assertRaisesMessage on Python 2.7.10.Tim Graham
A regression in Python 2.7.10 rc1 wasn't reverted in the final release: https://bugs.python.org/issue24134 Backport of two commits from master: * c2bc1cefdcbbf074408f4a4cace88b315cf9d652 * e89c3a46035e9fe17c373a6c9cd63b9fd631d596
2015-06-06[1.8.x] Fixed ImportError message in utils.module_loading.import_string()Tomasz Kontusz
Backport of c2b4967e76fd671e6199e4dd54d2a2c1f096b8eb from master
2015-06-06[1.8.x] Added missing tests for transforms usage with subquery for ↵Andriy Sokolovskiy
PostgreSQL fields Backport of 2a7c59cd885b4c9f0584015c34c17c9ebca6d417 from master
2015-06-06[1.8.x] Fixed #24744 - Fixed relabeled_clone for the TransformAndriy Sokolovskiy
Backport of 08232ef84d4959826ad5136f183c9fc5bedf0599 from master
2015-06-05[1.8.x] Fixed #24924 -- Join promotion for multiple Case expressionsMark Lavin
Backport of 541f4ea546ad3065852db816769ba6b584e3f373 from master
2015-06-05[1.8.x] Fixed #24833 -- Fixed Case expressions with exclude().Andriy Sokolovskiy
2015-06-03[1.8.x] Cleaned up docstring style, per Tim Graham review.Carl Meyer
Backport of 57dbc87ade5533d78089690ec7795034ff69177a from master.
2015-06-03[1.8.x] Refs #24628 -- Added a second test and a docstring comment to avoid ↵Carl Meyer
regression. Backport of 5c085ea7b3f3ff10389aeed327e018581791876a from master.
2015-06-03[1.8.x] Fixed typo in runtests.py vendor check.Tim Graham
2015-06-02[1.8.x] Applied db_table conversion to fix schema tests on Oracle.Tim Graham
Backport of 7c637a3aaec311269bf863c220bf894eebbe7c7c from master
2015-06-02[1.8.x] Fixed #24628 -- Fixed applied status for squashed migrations.Carl Meyer
Backport of 492537ac18df56c36f8a2335d773aa0fa01a61a3 from master.
2015-06-02[1.8.x] Improved isolation of applied-migrations table in migration tests.Carl Meyer
Backport of 335fc44f6872f4678e48f65e91961ef19d6439b4 from master.
2015-06-02[1.8.x] Fixed #24895 -- Fixed loading a pair of squashed migrations with a ↵Carl Meyer
dependency. Backport of 84522c0d165076d01cd034d7c381b75044daec8d from master.
2015-06-02[1.8.x] Fixed #24897 -- Allowed using choices longer than 1 day with ↵zauddelig
DurationField Backport of 262d4db8c4c849b0fdd84550fb96472446cf90df from master
2015-06-02[1.8.x] Fixed #24831 -- Fixed pickling queryset with prefetch_related() ↵Andriy Sokolovskiy
after deleting objects. Backport of 2913d6b77d8b2082dc79df5503b7dd3ddd05fcc1 from master
2015-06-02[1.8.x] Fixed #24893 -- Fixed lack of unique constraint when changing a ↵Tim Graham
field from primary_key=True to unique=True Backport of e1e6399c2ce39a3656155c4d704340eac83926a7 from master
2015-06-02[1.8.x] Fixed #24892 -- Fixed quoting of SQL when renaming a field to ↵Tim Graham
AutoField in PostgreSQL Backport of 5ab86809832726957dd6f0eb8e17a461f0a9be84 from master
2015-05-28[1.8.x] Fixed #24851 -- Fixed crash with reverse one-to-one relation in ↵Tim Graham
ModelAdmin.list_display
2015-05-28[1.8.x] Fixed #24817 -- Prevented loss of null info in MySQL field renaming.Andriy Sokolovskiy
Backport of 80ad5472ce4b6ba6e94227422d0727371e97cdf0 from master
2015-05-27Fixed #24847 -- Prevented items set on a RequestContext from being lost.Paweł Marczewski
Backport of 300e8baf9429dbf1c5dff478558d793638dc2f54 from master
2015-05-27[1.8.x] Refs #24836 -- Reverted "Simplified the lazy CSRF token ↵Tim Graham
implementation in csrf context processor." This reverts commit 8099d33b6553c9ee7de779ae9d191a1bf22adbda as it caused a regression that cannot be solved without changing force_text() which has a small risk of introducing regressions. This change will remain in master along with an update to force_text().
2015-05-25Fixed #24844 -- Corrected has_changed implementation for HStoreField.Andrea Grandi
Backport of 43b2d88a5b9cfb151ccf7ac861f2750e70c0e2c4 from master
2015-05-25[1.8.x] Fixed #24835 -- Fixed QuerySet.exists() after an annotation with Count()Paweł Marczewski
QuerySet.exists() incorrectly handled query.group_by = True case (grouping by all select fields), causing GROUP BY expressions to be wiped along with select fields. Backport of 801a84ae329a24d9adf01b700429fe8f1285b2b8 from master
2015-05-25[1.8.x] Fixed #24848 -- Fixed ValueError for faulty migrations module.Marten Kenbeek
Added apps to unmigrated apps if the migrations module is a file or a folder missing __init__.py. Thanks to Ernest0x for the bug report. Backport of d73176a84273c06fa11075c65293ec28497a8423 from master
2015-05-25[1.8.x] Fixed #24841 -- Made BaseRangeField.prepare_value() call ↵Villiers Strauss
base_field's prepare_value() Backport of 614bec41b5306b32b8de20d66f047ff8d6f35256 from master
2015-05-23[1.8.x] Fixed #24826 -- Accounted for filesystem-dependent filename max lengthClaude Paroz
Thanks Raphaël Hertzog for the report and help on the patch, and Tim Graham for the review. Backport of 170f7115bbae45f26ca8078e749dfe67445a57ea from master
2015-05-20[1.8.x] Fixed incorrect session.flush() in cached_db session backend.Tim Graham
This is a security fix; disclosure to follow shortly. Thanks Sam Cooke for the report and draft patch.
2015-05-20[1.8.x] Refs #24652 -- Made sure template backend tests call their super ↵Simon Charette
setUpClass. Backport of ead36e8a471389a6032d825c8245245ebb89ea5d from master
2015-05-20[1.8.x] Refs #24652 -- Converted a template test to avoid executing queries.Simon Charette
Backport of 8bf1449edb4139451643e3823b194b4c02ca7633 from master
2015-05-20[1.8.x] Refs #24652 -- Enforced test isolation in file_storage tests.Simon Charette
Backport of 3db21c351b9b1108954c388799d35c8dad7dfc19 from master
2015-05-20[1.8.x] Fixed typo in file_storage tests.Tim Graham
Backport of e2b77aceddbda9071fcfc38f90fb50d091d0b5fc from master
2015-05-20[1.8.x] Fixed #24705 -- Fixed negated Q objects in expressions.Anssi Kääriäinen
Avoided split_exclude() for Q when used as an expression. Backport of bc87061a3c7c8d6b4d2469f35cc78683c6cff647 from master