summaryrefslogtreecommitdiff
path: root/django/contrib/postgres
AgeCommit message (Collapse)Author
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-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.
2019-03-03[2.1.x] Reverted "Fixed relative paths imports per isort 4.3.5."Mariusz Felisiak
This reverts commit 463fe11bc8b2d068e447c5df677e7a31c2af7e03 due to restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10. Backport of b435f82939edf70674856e0e1cd63973c2e0a1d1 from master
2019-02-25[2.1.x] Fixed relative paths imports per isort 4.3.5.Mariusz Felisiak
Backport of 463fe11bc8b2d068e447c5df677e7a31c2af7e03 from master
2018-09-29[2.1.x] Updated translations from TransifexClaude Paroz
2018-08-01[2.1.x] Updated contrib translations from TransifexClaude Paroz
2018-05-17Updated translation catalogsClaude Paroz
2018-05-13Refs #29131 -- Fixed space handling in ArrayField's item_invalid message.Hasan Ramezani
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-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-02-28Updated translations from TransifexClaude Paroz
Forward port of 2126e9317e80a7d4c42e033dd33d7e3378fdfcf8 from stable/2.0.x.
2018-01-12Fixed string format specifier for fillfactor in GistIndex.Nick Pope
2018-01-10Unified construction of WITH SQL in contrib.postgres.indexes.Tim Graham
2018-01-09Allowed indexes in contrib.postgres to have suffixes of any length.Nick Pope
2017-12-30Fixed #28908 -- Allowed ArrayField lookups on ArrayAgg annotations.Sergey Fedoseev
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-12-01Updated contrib translations from TransifexClaude Paroz
Forward port of 765e6de92493aa638555408172597e054e813ce3 from stable/2.0.x
2017-11-29Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen
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-25Refs #27857 -- Replaced json.loads() ValueError exception catching with ↵Tim Graham
JSONDecodeError.
2017-09-19Refs #28334 -- Fixed crash in hstore/citext oid caching during test db creation.Tim Graham
2017-09-16Simplified Count.convert_value() and RegrCount.convert_value().Sergey Fedoseev
2017-09-15Fixed #28334 -- Added caching for hstore/citext OIDs.Igor Gumenyuk
2017-09-13Merged isinstance() calls.Mariusz Felisiak
2017-09-11Fixed #28492 -- Defined default output_field of expressions at the class level.Simon Charette
This wasn't possible when settings were accessed during Field initialization time as our test suite setup script was triggering imports of expressions before settings were configured.
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-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-08-12Fixed #27849 -- Added filtering support to aggregates.Tom
2017-08-08Fixed #28465 -- Unified index SQL creation in DatabaseSchemaEditorClaude Paroz
Thanks Tim Graham for the review.
2017-08-02Removed unused _combine() node argument from various combinable classes.Mariusz Felisiak
Unused since f59fd15c4928caf3dfcbd50f6ab47be409a43b01 (Combinable) and since its introduction in 2d877da85526bad0dad7fd6b1d56b1f924c0116a (SearchVectorCombinable/SearchQueryCombinable/SearchQuery).
2017-07-20Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵Tim Graham
Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
2017-07-14Fixed #28394 -- Allowed setting BaseExpression.output_field (renamed from ↵Sergey Fedoseev
_output_field).
2017-06-27Fixed #28330 -- Prevented passing positional arguments to an Index.Mariusz Felisiak
Thanks Tim Graham for the review.
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-06-03Fixed #28192 -- Required passing optional form field args as keyword args.Claude Paroz
2017-05-31Updated translations from TransifexClaude Paroz
Forward port of 02158a785eff923110cb4c7c7e635d3ce4a928e3 from stable/1.11.x
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
iter(dict) is equivalent to iter(dict.keys()).
2017-05-20Fixed #28227 -- Allowed importing BaseRangeField/RangeWidget from ↵Tom
contrib.postgres.forms.