summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-02-19[1.5.x] Added a default limit to the maximum number of forms in a formset.Aymeric Augustin
This is a security fix. Disclosure and advisory coming shortly.
2013-02-19[1.5.x] Checked object permissions on admin history view.Carl Meyer
This is a security fix. Disclosure and advisory coming shortly. Patch by Russell Keith-Magee.
2013-02-19[1.5.x] Restricted the XML deserializer to prevent DoS attacks.Carl Meyer
This is a security fix. Disclosure and advisory coming shortly.
2013-02-19[1.5.x] Added a new required ALLOWED_HOSTS setting for HTTP host header ↵Carl Meyer
validation. This is a security fix; disclosure and advisory coming shortly.
2013-02-16[1.5.x] Fixed #19833 -- Fixed import parameter encoding in get_runnerClaude Paroz
Thanks Danilo Bargen for the report. Backport of 63236161 from master.
2013-02-15[1.5.x] Fixed #19829 -- Fixed index lookups for NumPy arrays in templates.Julien Phalip
Backport of 7d5e35cdb46124e2471
2013-02-13[1.5.x] Removed try-except in django.db.close_connection()Anssi Kääriäinen
The reason was that the except clause needed to remove a connection from the django.db.connections dict, but other parts of Django do not expect this to happen. In addition the except clause was silently swallowing the exception messages. Refs #19707, special thanks to Carl Meyer for pointing out that this approach should be taken.
2013-02-10[1.5.x] Fixed #19112 -- Reduced the amount of query params in a testAnssi Kääriäinen
Backpatch of 604d8763dc2c901a3557e15880895d88af5c4127.
2013-02-10[1.5.x] Fixed #19720 -- Oracle ordering related delete regressionAnssi Kääriäinen
When a query had a complex where condition (a condition targeting more than the base table) a subquery was used for deletion. However, the query had default ordering from the model's meta and Oracle doesn't work with ordered subqueries. The regression was caused by fast-path deletion code introduced in 1cd6e04cd4f768bcd4385b75de433d497d938f82 for fixing #18676. Thanks to Dylan Klomparens for the report. Backpatch of 8ef3235034a1a7616714a5d61486dc68536f74ee
2013-02-10[1.5.x] Fixed #19707 -- Reset transaction state after requestsAnssi Kääriäinen
Backpatch of a4e97cf315142e61bb4bc3ed8259b95d8586d09c
2013-02-10[1.5.x] Fixed #19645 -- Added tests for TransactionMiddlewareAnssi Kääriäinen
Backpatch of f556df90be995a83b979cf875705d98521ab4dc7. Backpatching these tests so that it will be easier to backpatch the fix for #19707.
2013-02-08[1.5.x] Cleaned up some lingering signals in the test suite that were ↵Julien Phalip
causing spurious failures with Pypy and Postgres. Backport of db09a2de6e1bc7121
2013-02-06[1.5.x] Fixed a typo in the test suite that was causing some spurious ↵Julien Phalip
failures with pypy. Backport of 6afc85af47f7d9f44
2013-02-06Partially revert 9efe1a721, strip_tags improvementsClaude Paroz
The new regex seems not stable enough for being released. Stripping with regex might need reevaluation for the next release. Refs #19237.
2013-02-02[1.5.x] Fixed #19445 -- Skip admin fieldsets validation when the ↵Nick Sandford
ModelAdmin.get_form() method is overridden. Backport of 0694d2196f0fad
2013-01-31[1.5.x] Fixed #19708 -- Exception in timezone.override(None).Aymeric Augustin
Thanks rafales. Backport of 9a4a1ce.
2013-01-31[1.5.x] Fixed #19692 -- Completed deprecation of mimetype in favor of ↵Aymeric Augustin
content_type. Thanks Tim for the report and initial patch. Backport of 89cb771 from master.
2013-01-30Added file forgotten in d5ad9d3d.Aymeric Augustin
2013-01-30[1.5.x] Fixed #19076 -- Added content_type attribute to TemplateView.Aymeric Augustin
Thanks Gavin Wahl. Backport of 23e319d.
2013-01-29[1.5.x] Fixed typos in docs and commentsTim Graham
Backport of ee26797cff from master
2013-01-25[1.5.x] Fixed #19665 -- Ensured proper stderr output for Command.run_from_argvClaude Paroz
Thanks Stefan Koegl for the report and Simon Charette for the review. Backport of b9c8bbf37 from master.
2013-01-23[1.5.x] Fixed #19652 -- Fixed .none() regression in related fieldsAnssi Kääriäinen
The regression was caused by using .none() when querying for related models, and the origin field's value was None. This resulted in missing custom related manager subclass as .none() returns plain QuerySet. This isn't backport from master, in master .none() correctly preserves the queryset's class. Patch provided by Simon Charette, with some minor polish by committer.
2013-01-17Fixed i18n test to match changed translationClaude Paroz
2013-01-11[1.5.x] Fixed #19488 -- Made i18n_patterns redirect work with ↵Claude Paroz
non-slash-ending paths Thanks Daniel Gerzo for the report and the initial patch. Backport of bcdb4898c from master.
2013-01-11[1.5.x] Fixed #19585 -- Fixed loading cookie value as a dictClaude Paroz
This regression was introduced by the 'unicode_literals' patch. Backport of f08e739bc2 from master.
2013-01-09[1.5.X] Fixed lockups in jenkins, refs #19546.Florian Apolloner
Backport of ce580dd8ea04237cfe34cd02df0b8944a5345f4f from master.
2013-01-09[1.5.x] Skipped deprecation warning test on Python 2.6Claude Paroz
Refs #19546. On Python 2.6, DeprecationWarnings are visible by default. Backport of e6949373b from master.
2013-01-09[1.5.x] Fixed #19546 - ensure that deprecation warnings are shown during testsPreston Holmes
refs #18985
2013-01-08[1.5.x] Fixed #17541 -- Fixed non-saved/nullable fk queryingAnssi Kääriäinen
Backpatch of 55da775ce1bfba20db33b56c29957faa63917980
2013-01-08[1.5.x] Updated deprecated test assertionsClaude Paroz
2013-01-07[1.5.x] Created special PostgreSQL text indexes when unique is TrueClaude Paroz
Refs #19441. Backport of c698c55966 from master.
2013-01-04[1.5.x] Fixed #19192 -- Allowed running tests with dummy db backendClaude Paroz
Thanks Simon Charette for the initial patch, and Jan Bednařík for his work on the ticket. Backport of b740da3504 from master.
2013-01-03[1.5.x] Fixed #19382 -- Stopped smtp backend raising exception when already ↵Claude Paroz
closed Thanks Sebastian Noack for the report and the initial patch. Backport of ffa50ca35 from master.
2013-01-03[1.5.x] Fixed #19134 -- Allowed closing smtp backend when the server is stoppedClaude Paroz
Thanks Sebastian Noack for the report and the initial patch. Backport of 1b3f832ab7 from master.
2013-01-03[1.5.x] Fixed #19545 -- Make sure media/is_multipart work with empty formsetsSimon Charette
Backport of 3fc43c964e from master.
2013-01-02[1.5.x] Minor fixes in the known_related_objects tests.Aymeric Augustin
* Fixed JSON indentation. * Avoided relying on implicit ordering. Backport of a7b7efe.
2013-01-02[1.5.x] Fixed #19547 -- Caching of related instances.Aymeric Augustin
When &'ing or |'ing querysets, wrong values could be cached, and crashes could happen. Thanks Marc Tamlyn for figuring out the problem and writing the patch. Backport of 07fbc6a.
2013-01-01[1.5.x] Fixed #19519 again -- Regression in LiveServerTestCase after fd1279a4.Aymeric Augustin
Backport of 328f5b5.
2012-12-31[1.5.x] Fixed #19453 -- Ensured that the decorated function's arguments are ↵Julien Phalip
obfuscated in the @sensitive_variables decorator's frame, in case the variables associated with those arguments were meant to be obfuscated from the decorated function's frame. Thanks to vzima for the report. Backport of 9180146d21cf2a31eec
2012-12-31[1.5.x] Fixed #19519 -- Fired request_finished in the WSGI iterable's close().Aymeric Augustin
Backport of acc5396.
2012-12-31[1.5.x] Fixed #19537 -- Made CheckboxInput._has_changed handle 'False' stringClaude Paroz
Thanks dibrovsd@gmail.com for the report. Backport of d11038acb2 from master.
2012-12-30[1.5.x] Added further flexibility to ModelAdmin for controlling post-save ↵Julien Phalip
redirections. Refs #19505. Backport of cee40c7d79930ff42bde4
2012-12-29[1.5.x] Avoided having an indexed TextField installed unless using postgresAnssi Kääriäinen
An index on TextField results in a warning message when running tests on MySQL or SQLite, and the test using the TextField was PostgreSQL only in any case. Backpatch of 13a2b11425f87f674f0273af5fa70c1e4cf327ed
2012-12-29[1.5.x] Fixed autopk issue in testsAnssi Kääriäinen
Backpatch of ba4331f1775ef4dd2895b3592092973e24db3c25
2012-12-28[1.5.x] Fix #19524 -- Incorrect caching of parents of unsaved model instances.Aymeric Augustin
Thanks qcwxezdas for the report. Refs #13839. Backport of e9c24be.
2012-12-27[1.5.x] Fixed #19525 -- Reverted dcd4383107 and 05d333ba3b.Aymeric Augustin
Refs #9893, #18515. Thanks Russell for the report. Backport of db278c3 from master.
2012-12-24[1.5.x] Expanded tests added when fixing #14529.Ramiro Morales
To make sure changes in 35d1cd0 don't break anything. Refs #19505. ad769efa85e0296033572315025fed9fa9aefade from master.
2012-12-24[1.5.x] Fixed #19505 -- A more flexible implementation for customizable ↵Julien Phalip
admin redirect urls. Work by Julien Phalip. Refs #8001, #18310, #19505. See also 0b908b92a2ca4fb74a103e96bb75c53c05d0a428. 35d1cd0b28d1d9cd7bffbfbc6cc2e02b58404415 from master.
2012-12-24[1.5.x] Prevented caching of streaming responses.Aymeric Augustin
The test introduced in 4b278131 accidentally passed because of a limitation of Python < 3.3. Refs #17758, #7581. Backport of 1c8be95 from master.
2012-12-24[1.5.x] Fixed a randomly failing test under Python 3.Aymeric Augustin
Refs #17758. Backport of e8f07f0 from master.