summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-02-11[2.2.x] Fixed CVE-2019-6975 -- Fixed memory exhaustion in ↵Carlton Gibson
utils.numberformat.format(). Thanks Sjoerd Job Postmus for the report and initial patch. Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review. Backport of 402c0caa851e265410fbcaa55318f22d2bf22ee2 from master
2019-02-09[2.2.x] Fixed #30153 -- Fixed incorrect form Media asset ordering after ↵Matthias Kestenholz
three way merge. Delaying merging assets as long as possible avoids introducing incorrect relative orderings that cause a broken final result. Backport of 959d0c078a1c903cd1e4850932be77c4f0d2294d from master.
2019-01-28[2.2.x] Fixed #29825 -- Fixed JS ngettext if the string is a non-plural ↵Claude Paroz
msgid in the catalog. Backport of 16454ac35f6a24a04b23a9340b0d62c33edbc1ea from master.
2019-01-28[2.2.x] Fixed #25624 -- Fixed autoreload crash with jinja2.ModuleLoader.Tom Forbes
Backport of 1e92407f83ed35be35f876777935b983ab9587be from master.
2019-01-28[2.2.x] Made test table cleanup in OperationTestBase more robust.Paveł Tyślacki
Some non-unique constraint names were added in b69f8eb04cc8762d3dfd5af5ea1fc58e3f2ebcc3 which resulted in failures depending on the order in which tests were run. Backport of 62b8596616ea46849e29ca77a77e1196417dc1f9 from master.
2019-01-28[2.2.x] Refs #30055 -- Added a helpful error when SQLite is too old.Tim Graham
Backport of 7444f3252757ed4384623e5afd7dcfeef3e0c74e from master.
2019-01-23[2.2.x] Refs #30111 -- Fixed test cleanup in postgres_tests/test_integration.py.Tim Graham
Fixed "ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?" on Jenkins because report files were put in tests/postgres_tests. Backport of 2de7eb6f4d5a20cec98e4d2eefc276ee38d149ad from master.
2019-01-22[2.2.x] Fixed #30111 -- Fixed AppRegistryNotReady error with ↵Nasir Hussain
django.contrib.postgres in INSTALLED_APPS. Regression in e192223ed996ed30fe83787efdfa7f2be6b1a2ee. Backport of 2804b8d2153505ec49b191db2168302dfb92c3af from master.
2019-01-21[2.2.x] Fixed #30121 -- Fixed assertURLEqual() crash with reverse_lazy() URLs.Jon Dufresne
Regression in 24959e48d949a20be969f649ece3576dbc7ce422. Backport of d15c61cabbe1c15068ffeb58c64035057f0c7d5c from master.
2019-01-21[2.2.x] Fixed #30120 -- Fixed invalid SQL in distinct aggregate.Simon Charette
Regression in bc05547cd8c1dd511c6b6a6c873a1bc63417b111 (refs #28658). Backport of 65858119d23e37872505a4476e7141c33981fb50 from master.
2019-01-19[2.2.x] Fixed #30117 -- Fixed SchemaEditor.quote_value() test for ↵Mariusz Felisiak
mysqlclient 1.4.0+. Backport of f05c02c4b8d4e423e57d453c4bd699dc5ff7eaa7 from master
2019-01-17[2.2.x] Refs #30097 -- Fixed typos in InlineModelAdmin.has_add_permission() ↵Tim Graham
deprecation comments.
2019-01-17Refs #17198 -- Detected existing total ordering in admin changelist.Simon Charette
Appending pk is not necessary when a subset of the ordering expressions is contained in a non-nullable unique contraint. Related field ordering through lookups and related ordering introspection is omitted for simplicitly purpose.
2019-01-16Fixed #30044 -- Raised a FieldError on inherited field update attempts.Simon Charette
2019-01-16Fixed #20147 -- Added HttpRequest.headers.Santiago Basulto
2019-01-16Removed unnecessary transaction wrapping in expressions test.Simon Charette
2019-01-16Fixed #11154, #22270 -- Made proxy model permissions use correct content type.Arthur Rio
Co-Authored-By: Simon Charette <charette.s@gmail.com> Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2019-01-15Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a ↵Collin Anderson
through model.
2019-01-15Fixed #30099 -- Fixed invalid SQL when filtering a Subquery by an aggregate.Nasir Hussain
2019-01-14Relaxed assertions to fix GIS test failures on Oracle 18c.Mariusz Felisiak
2019-01-14Refs #28478 -- Prevented database feature based skipping on tests ↵Simon Charette
disallowing queries. Database features may require a connection to be established to determine whether or not they are enabled.
2019-01-14Refs #28478 -- Prevented connection attempts against disallowed databases in ↵Simon Charette
tests. Mocking connect as well as cursor methods makes sure an appropriate error message is surfaced when running a subset of test attempting to access a a disallowed database.
2019-01-14Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Fixed #30093 -- Fixed ordering of combined queryset ordered by F expressions.Sergey Fedoseev
2019-01-13Removed unnecessary skipUnlessDBFeature.Simon Charette
None of the tests interact with the database.
2019-01-13Fixed #27685 -- Added watchman support to the autoreloader.Tom Forbes
Removed support for pyinotify (refs #9722).
2019-01-13Refs #28478 -- Prevented connection creation in model_indexes tests.Simon Charette
Entering a SchemaEditor instance creates a connection but it isn't needed for this test.
2019-01-12Fixed #30057 -- Fixed diffsettings ignoring custom configured settings.orlnub123
Regression in 49b679371fe9beddcd23a93b5fdbadea914f37f8.
2019-01-12Refs #28643 -- Added Reverse database function.Nick Pope
Thanks Mariusz Felisiak for Oracle advice and review.
2019-01-12Fixed #30062 -- Added support for unique conditional constraints.Paveł Tyślacki
2019-01-12Added tests for Check/UniqueConstraint.__eq__().Paveł Tyślacki
2019-01-11Fixed #29738 -- Allowed serializing psycopg2 range types in migrations.can
2019-01-11Refs #29738 -- Allowed registering serializers with MigrationWriter.can
2019-01-11Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() ↵MaximZemskov
optional. Restored backwards compatibility after refs #27991. Regression in be6ca89396c031619947921c81b8795d816e3285.
2019-01-11Moved django.db.migrations.writer.SettingsReference to django.conf.Tim Graham
Reduces the possibility of circular imports.
2019-01-11Refs #23829 -- Made ping_google command/function use https for the sitemap URL.Sanyam Khurana
2019-01-10Fixed #28478 -- Make DiscoverRunner skip creating unused test databases.Simon Charette
SimpleTestCase.databases makes it possible to determine the set of databases required to run the discovered tests.
2019-01-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in ↵Simon Charette
favor of databases.
2019-01-10Renamed variables after generalization of constraints.Paveł Tyślacki
Follow up to 8eae094638acf802c8047b341d126d94bc9b45a3.
2019-01-10Refs #28643 -- Added NullIf database function.Mads Jensen
Thanks Nick Pope, Mariusz Felisiak, and Tim Graham for reviews.
2019-01-09Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user().Joshua Cannon
2019-01-09Fixed #28658 -- Added DISTINCT handling to the Aggregate class.Simon Charette
2019-01-09Fixed #30071 -- Fixed error message when a 'default' database isn't provided.Benjy Weinberger
2019-01-09Fixed #30087 -- Tested error handling for empty 'default' database.Benjy Weinberger
2019-01-09Refs #23748 -- Added AutoField introspection for SQLite.Nick Pope
2019-01-03Fixed #30070, CVE-2019-3498 -- Fixed content spoofing possiblity in the ↵Tom Hacohen
default 404 page. Co-Authored-By: Tim Graham <timograham@gmail.com>
2019-01-03Refs #29851 -- Fixed test_subquery_row_range_rank() crash on MariaDB 10.2+.Mariusz Felisiak
Thanks Tom Forbes for the report.
2019-01-02Added __init__.py for db_utils tests.Tim Graham