summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
AgeCommit message (Collapse)Author
2020-01-26[1.11.x] Fixed CVE-2020-7471 -- Properly escaped StringAgg(delimiter) parameter.Carlton Gibson
2019-12-11[1.11.x] Fixed #31073 -- Prevented CheckboxInput.get_context() from mutating ↵Peter Andersen
attrs. Backport of 02eff7ef60466da108b1a33f1e4dc01eec45c99d from master.
2019-10-11[1.11.x] Fixed #30826 -- Fixed crash of many JSONField lookups when one hand ↵Louise Grandjonc
side is key transform. Regression in 6c3dfba89215fc56fc27ef61829a6fff88be4abb. Backport of 7d1bf29977bb368d7c28e7c6eb146db3b3009ae7 from master.
2019-09-16[1.11.x] Fixed #30769 -- Fixed a crash when filtering against a subquery ↵Simon Charette
JSON/HStoreField annotation. This was a regression introduced by 7deeabc7c7526786df6894429ce89a9c4b614086 to address CVE-2019-14234. Thanks Tim Kleinschmidt for the report and Mariusz for the tests. Backport of 6c3dfba89215fc56fc27ef61829a6fff88be4abb from master.
2019-08-14[1.11.x] Fixed #30672 -- Fixed crash of JSONField/HStoreField key transforms ↵Mariusz Felisiak
on expressions with params. Regression in 4f5b58f5cd3c57fee9972ab074f8dc6895d8f387. Thanks Florian Apolloner for the report and helping with tests. Backport of 1f8382d34d54061eddc41df6994e20ee38c60907 from master.
2019-07-31[1.11.x] Fixed CVE-2019-14234 -- Protected JSONField/HStoreField key and ↵Mariusz Felisiak
index lookups against SQL injection. Thanks to Sage M. Abdullah for the report and initial patch. Thanks Florian Apolloner for reviews.
2017-11-29[1.11.x] Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen
Backport of f0a68c25118786d47041d0a435b2afa953be3c86 from master
2017-11-15[1.11.x] Fixed test failures due to ordering differences on PostgreSQL 10.Tim Graham
Backport of 9bea555d06e0e585645053ae6ca9ac3dc8b899bd from master
2017-08-26[1.11.x] Refs #25809 -- Omitted pages_per_range from BrinIndex.deconstruct() ↵Mads Jensen
if it's None. Backport of fb42d0247136249ea81962474e9a6a2faf1755f1 from master
2017-05-04[1.11.x] Fixed #28161 -- Fixed return type of ArrayField(CITextField()).Simon Charette
Thanks Tim for the review. Backport of b91868507af08234a30e9a8e7c90b37c561ba315 from master.
2017-04-29[1.11.x] Fixed #28040 -- Updated SplitArrayWidget to use template-based ↵Tim Graham
widget rendering. Thanks Preston Timmons for review. Backport of 1ebd295082bb0e6b230cf3bc39fd04bee71c2bd7 from master
2017-04-07[1.11.x] Fixed #28038 -- Restored casting to text of builtin lookups on ↵Simon Charette
PostgreSQL. Reverted 658f1e8 which broke code using __icontains's implicit cast to ::text on ArrayField. Thanks Peter J. Farrell for the report. Backport of a354c69055fd818e612ce22eaa2da0576a4b89ee from master
2017-03-18[1.11.x] Fixed #27935 -- Fixed crash with BrinIndex name > 30 characters.Mads Jensen
Backport of 82bb4e684f9d0e5939cb0596c249954df0888e2d from master
2017-02-15[1.11.x] Fixed #27135 -- Made index introspection return Index.suffix.Tim Graham
Backport of b008f7cc5655d01817a8825e6317877b43c92181 from master
2017-02-11[1.11.x] Refs #26610 -- Added CIText mixin and CIChar/Email/TextField.Mads Jensen
Backport of fb5bd38e3b83c7f0d1011de80f922fc34faf740b from master
2017-01-16Refs #25809 -- Made a few late review comments for BrinIndex.Mads Jensen
2017-01-15Fixed #25809 -- Added BrinIndex support in django.contrib.postgres.Mads Jensen
Thanks Tim Graham and Markus Holtermann for review.
2017-01-14Refs #25226 -- Cloned ArrayField.base_field on deconstruction.Simon Charette
This prevents the base_field from sharing attributes with the one used during migrations.
2017-01-06Fixed #27693, Refs #27257 -- Fixed iexact lookup on JSONField keys.Simon Charette
Thanks Harris Lapiroff for the report.
2016-12-15Fixed #27582 -- Allowed HStoreField to store null values.David Hoffman
2016-11-28Refs #26327 -- Renamed JsonAgg to JSONBAgg.Mads Jensen
Thanks to Christian von Roques for the report.
2016-11-15Refs #27003 -- Fixed JSONField crash on converted values.Brandon Chinn
2016-11-15Refs #27003 -- Fixed SimpleArrayField crash on converted values.Brandon Chinn
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-10-07Fixed #26327 -- Added JsonAgg to contrib.postgres.Mads Jensen
Thanks Tim Graham for review.
2016-09-22Fixed #27257 -- Fixed builtin text lookups on JSONField keys.Simon Charette
Thanks Nick Stefan for the report and Tim for the review.
2016-09-22Fixed #27186 -- Fixed model form default fallback for MultiWidget, ↵Tim Graham
FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget. Thanks Matt Westcott for the review.
2016-09-21Fixed #26610 -- Added CITextField to contrib.postgres.Mads Jensen
2016-09-20Added tests for ArrayField lookup errors.Tim Graham
2016-09-12Used a database feature to prevent the jsonb test model from being migrated.Simon Charette
Thanks Tim for the review.
2016-09-12Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexesClaude Paroz
Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review.
2016-09-07Fixed #27143 -- Allowed combining SearchQuery with more than one & or | ↵Nicola Jordan
operators.
2016-09-07Fixed #26908 -- Fixed crash with jsonfield__key__isnull lookup.Tim Graham
2016-09-02Fixed #27097 -- Added index type introspection to built-in db backends.Akshesh
2016-08-30Refs #27097, #27098 -- Moved PostgreSQL index type introspection to ↵Akshesh
get_constraints().
2016-08-25Fixed #25995 -- Added an encoder option to JSONFieldClaude Paroz
Thanks Berker Peksag and Tim Graham for the reviews.
2016-08-19Fixed #22288 -- Fixed F() expressions with the __range lookup.Matthew Wilkes
2016-08-12Fixed #27030 -- Added contrib.postgres.indexes.GinIndex.Akshesh
2016-08-12Refs #27030 -- Added BtreeGinExtension operation.Akshesh
2016-08-11Fixed #24442 -- Improved SchemaEditor's index name truncation.Akshesh
2016-07-27Fixed #26949 -- Fixed crash of disabled forms.JSONField.Olexander Yermakov
2016-07-27Fixed #26917 -- Fixed crash in disabled ModelChoiceFields.Tim Graham
Partially reverted refs #25532 to fix a regression in Django 1.10. This reintroduces a crash for disabled forms.JSONField (refs #26949), however, that issue is also present on Django 1.9. Thanks Ryan Schave for the test.
2016-07-21Fixed #25454 -- Ensured register_hstore_handler is called for all connectionsClaude Paroz
Thanks Simon Charette for help with the patch.
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-06-16Fixed flake8 2.6 warnings.Tim Graham
2016-06-13Fixed #26748 -- Allowed overriding JSONField's widget with an attribute.Charlie Denton
2016-06-02Fixed #26672 -- Fixed HStoreField to raise ValidationError instead of ↵Brad Melin
crashing on non-dict JSON input.
2016-06-02Fixed #26617 -- Added distinct argument to contrib.postgres's StringAgg.Rustam Kashapov
2016-05-13Fixed #24938 -- Added PostgreSQL trigram support.Matthew Somerville
2016-04-27Fixed #26542 -- Fixed quoting in CreateExtension operation.Conrad Kramer