summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
AgeCommit message (Collapse)Author
2019-10-11[2.1.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[2.1.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-15[2.1.x] Fixed test_json.TestQuerying.test_key_transform_expression() on ↵Mariusz Felisiak
Python 3.5. Backport of 6624a3de286ccebf2dafba5a3e9b5ee91ae43cf9 from stable/2.2.x
2019-08-14[2.1.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[2.1.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.
2018-04-22Refs #29131 -- Made ArrayField error messages index from 1 instead of 0.Hasan Ramezani
2018-04-10Fixed #29307 -- Fixed inspectdb import paths for django.contrib.postgres fields.Alasdair Nicol
Thanks erindy for the report.
2018-04-07Fixed #28950 -- Fixed ArrayField.has_changed() for empty values.Vinay Karanam
2018-04-07Added tests for ArrayField.has_changed().Vinay Karanam
2018-04-04Fixed #25718 -- Made a JSONField lookup value of None match keys that have a ↵Dmitry Dygalo
null value.
2018-04-03Refs #28577 -- Added check for HStoreField to prevent mutable default.Tim Graham
2018-03-21Refs #29147 --- Added JSONField serialization tests.Tim Graham
2018-03-20Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-02-10Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).Matthew Wilkes
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2018-01-18Refs #23668 -- Removed passing default argument of current TZ to ↵Jon Dufresne
make_aware()/naive.
2017-12-30Fixed #28908 -- Allowed ArrayField lookups on ArrayAgg annotations.Sergey Fedoseev
2017-11-29Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen
2017-11-15Fixed test failures due to ordering differences on PostgreSQL 10.Tim Graham
2017-11-11Fixed #28534 -- Made JSONField.has_changed() ignore key order and consider ↵shanghui
True/1 values as different.
2017-11-07Fixed #28758 -- Fixed RangeMax/MinValueValidators crash with unbound ranges.Imran Iqbal
2017-11-01Fixed #28749 -- Added subquery support for ArrayField's __in lookup.Michał Pasternak
2017-10-20Fixed #28577 -- Added checks for ArrayField and JSONField to prevent mutable ↵Flávio Juvenal
defaults.
2017-09-27Fixed #28626 -- Dropped support for PostgreSQL 9.3.Tim Graham
Thanks Simon Charette for the introspection changes.
2017-09-19Refs #28334 -- Fixed crash in hstore/citext oid caching during test db creation.Tim Graham
2017-09-18Added test skipping for a PostgreSQL JSONField test.Tim Graham
2017-09-15Fixed #28334 -- Added caching for hstore/citext OIDs.Igor Gumenyuk
2017-09-09Refs #24928 -- Added introspection support for PostgreSQL RangeFieldClaude Paroz
2017-09-09Refs #24928 -- Added introspection support for PostgreSQL JSONFieldClaude Paroz
Thanks Adam Johnson and Tim Graham for the reviews.
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-09-04Fixed #28126 -- Added GistIndex to contrib.postgres.Mads Jensen
Thanks to Marc Tamlyn for the initial patch.
2017-08-26Refs #27869 -- Omitted field kwargs from GinIndex.deconstruct() if they're None.Mads Jensen
2017-08-26Refs #25809 -- Omitted pages_per_range from BrinIndex.deconstruct() if it's ↵Mads Jensen
None.
2017-07-20Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵Tim Graham
Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-20Fixed #27869 -- Added fastupdate and gin_pending_list_limit params to GinIndex.Mads Jensen
Thanks Tim Graham and Markus Holtermann for review.
2017-06-17Refs #25809 -- Removed BrinIndex.__repr__().Tim Graham
In retrospect, implementing a __repr__() for index subclasses doesn't seem worthwhile.
2017-06-13Fixed #27161 -- Fixed form validation when an ArrayField's base_field has ↵Romulo Furtado
choices.
2017-05-15Refs #27996 -- Skipped RandomUUID test on PostgreSQL 9.3.Tim Graham
2017-05-04Fixed #28161 -- Fixed return type of ArrayField(CITextField()).Simon Charette
Thanks Tim for the review.
2017-05-03Added a test for ArrayField(HStoreField()).Simon Charette
2017-04-29Fixed #28040 -- Updated SplitArrayWidget to use template-based widget rendering.Tim Graham
Thanks Preston Timmons for review.
2017-04-25Fixed #27996 -- Added RandomUUID function and CryptoExtension to ↵Paolo Melchiorre
contrib.postgres.
2017-04-25Alphabetized CITextExtension in test migration.Paolo Melchiorre
2017-04-07Fixed #28038 -- Restored casting to text of builtin lookups on PostgreSQL.Simon Charette
Reverted 658f1e8 which broke code using __icontains's implicit cast to ::text on ArrayField. Thanks Peter J. Farrell for the report.
2017-03-18Fixed #27935 -- Fixed crash with BrinIndex name > 30 characters.Mads Jensen
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
Thanks Tim Graham for the review.
2017-02-15Fixed #27135 -- Made index introspection return Index.suffix.Tim Graham
2017-02-11Refs #26610 -- Added CIText mixin and CIChar/Email/TextField.Mads Jensen