Carlton Gibson
baaf187a4e
[2.2.x] Applied jQuery patch for CVE-2019-11358.
...
Backport of 34ec52269a
from master.
2019-06-03 11:38:57 +02:00
Carlton Gibson
afddabf842
[2.2.x] Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate URL before rendering clickable link.
...
Backport of deeba6d920
from master.
2019-06-03 11:37:28 +02:00
Caio Ariede
1172f078eb
[2.2.x] Fixed #30315 -- Fixed crash of ArrayAgg and StringAgg with ordering when used in Subquery.
...
Backport of a3f91891d2
from master.
2019-05-28 10:39:28 +02:00
Thomasina Lee
3d4e53bcb1
[2.2.x] Fixed #30488 -- Removed redundant Coalesce call in SQL generated by SearchVector.
...
Regression in 405c836336
.
Backport of c38e7a79f4
from master
2019-05-20 09:12:32 +02:00
Claude Paroz
34a357d519
[2.2.x] Fixed #30459 -- Delegated hide/show JS toggle to parent div.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of e286987a27
from master
2019-05-17 08:04:59 +02:00
Carlton Gibson
4f8ebdd098
[2.2.x] Fixed #30351 -- Handled pre-existing permissions in proxy model permissions data migration.
...
Regression in 181fb60159
.
Backport of 98296f86b3
from master
2019-04-27 21:08:46 +02:00
Aarni Koskela
a4095dadc4
[2.2.x] Fixed #30312 -- Relaxed admin check from django.contrib.sessions to SessionMiddleware subclasses.
...
Backport of efeceba589
from master
2019-04-26 11:51:28 +02:00
Simon Charette
88bf635c35
[2.2.x] Fixed #30385 -- Restored SearchVector(config) immutability.
...
Regression in 1a28dc3887
.
The usage of CONCAT to allow SearchVector to deal with non-text fields
made the generated expression non-IMMUTABLE which prevents a functional
index to be created for it.
Using a combination of COALESCE and ::text makes sure the expression
preserves its immutability.
Refs #29582 . Thanks Andrew Brown for the report, Nick Pope for the
review.
Backport of 405c836336
from master
2019-04-23 08:32:36 +02:00
Simone Pellizzari
268ed9cd8a
[2.2.x] Fixed #30332 -- Fixed crash of ordering by expressions with params in ArrayAgg and StringAgg.
...
Backport of d0315584b5
from master.
2019-04-06 15:15:40 +02:00
Claude Paroz
7090cbf542
[2.2.x] Updated contrib translations from Transifex
2019-04-01 11:46:01 +02:00
Tim Graham
917aa556a9
[2.2.x] Fixed #30289 -- Prevented admin inlines for a ManyToManyField's implicit through model from being editable if the user only has the view permission.
...
Backport of 8335d59200
from master.
2019-03-30 17:44:58 -04:00
Herman S
d8704a4d4f
[2.2.x] Fixed #30237 -- Made Authentication/SessionMiddleware and ModelBackend admin checks allow subclasses.
...
Backport of f976ab1b11
from master.
2019-03-14 20:36:11 -04:00
Mariusz Felisiak
cf903c4c0b
[2.2.x] Reverted "Fixed relative paths imports per isort 4.3.5."
...
This reverts commit 463fe11bc8
due to
restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10.
Backport of b435f82939
from master
2019-03-03 19:35:37 +01:00
Tim Graham
d29c8ea124
[2.2.x] Refs #29523 -- Updated admin's collapse.min.js.
...
Omitted in ba83378a77
.
Backport of 93e892bb64
from master.
2019-02-27 16:28:21 -05:00
Matthias Kestenholz
d59c3fc167
[2.2.x] Fixed #30208 -- Fixed login header height and alignment in the largest breakpoint.
...
Backport of c41e6c4eb8
from master.
2019-02-25 15:00:27 -05:00
Mariusz Felisiak
370a145996
[2.2.x] Fixed relative paths imports per isort 4.3.5.
...
Backport of 463fe11bc8
from master
2019-02-25 19:50:12 +01:00
Dan Davis
5e94c817ee
[2.2.x] Fixed #30184 -- Removed ellipsis characters from shell output strings.
...
Partially reverted 50b8493581
(refs #29654 )
to avoid a crash when the user shell doesn't support non-ASCII characters.
Backport of 2bd8df243a
from master.
2019-02-13 14:00:53 -05:00
Mariusz Felisiak
6e8b11ab2b
[2.2.x] Fixed E117 and F405 flake8 warnings.
...
Backport of 5a5c77d55d
from master
2019-01-30 13:08:19 +01:00
Tim Graham
ee9bd8c310
[2.2.x] Refs #30097 -- Fixed typos in InlineModelAdmin.has_add_permission() deprecation comments.
2019-01-17 18:40:11 -05:00
Simon Charette
f84ad16ba4
Refs #17198 -- Detected existing total ordering in admin changelist.
...
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-17 16:22:14 +01:00
Claude Paroz
aa5fd84f53
Updated translation catalogs
2019-01-16 20:51:26 +01:00
Arthur Rio
181fb60159
Fixed #11154 , #22270 -- Made proxy model permissions use correct content type.
...
Co-Authored-By: Simon Charette <charette.s@gmail.com>
Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2019-01-16 10:07:28 -05:00
Claude Paroz
87bf35abd3
Removed unexpected chars in Armenian admin translation
2019-01-15 10:43:11 +01:00
can
e192223ed9
Fixed #29738 -- Allowed serializing psycopg2 range types in migrations.
2019-01-11 19:32:26 -05:00
MaximZemskov
3c01fe30f3
Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.
...
Restored backwards compatibility after refs #27991 .
Regression in be6ca89396
.
2019-01-11 18:02:43 -05:00
Sanyam Khurana
76d31be2d0
Refs #23829 -- Made ping_google command/function use https for the sitemap URL.
2019-01-11 10:32:22 -05:00
Claude Paroz
217f4456d8
Fetched Armenian translations from Transifex
2019-01-10 10:50:42 +01:00
Joshua Cannon
db1b10ef0d
Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user().
2019-01-09 20:01:04 -05:00
Simon Charette
bc05547cd8
Fixed #28658 -- Added DISTINCT handling to the Aggregate class.
2019-01-09 17:52:36 -05:00
Tim Graham
0004daa536
Used 4 space hanging indent for dictionaries.
...
Thanks Mariusz Felisiak for auditing.
2019-01-02 18:18:19 -05:00
Tim Graham
02c07be95c
Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with non-None obj during add.
...
Thanks andreage for the report and suggested fix.
2019-01-01 09:42:14 -05:00
Matt Wiens
e817ae74da
Followed style guide for model attribute ordering.
2018-12-27 19:34:14 -05:00
jtiai
5a77190e66
Fixed #29792 -- Made GeometryField.deconstruct() handle 'extent' and 'tolerance' args.
2018-12-21 17:44:45 -05:00
HyunTae Hwang
ae2897aaf8
Fixed typo in contrib.gis variable name.
2018-12-16 20:16:00 -10:00
Carlton Gibson
8245c99ee6
Fixed #29930 -- Allowed editing in admin with view-only inlines.
...
Co-authored-by: Tim Graham <timograham@gmail.com>
2018-12-03 07:44:18 -08:00
Jaap Roes
8a1a919468
Fixed #29997 -- Allowed combining SearchQuerys with different configs.
...
Seems to be a needless restriction in
978a00e39f
.
2018-11-30 09:42:50 -05:00
Basil Dubyk
7d1123e5ad
Fixed #29929 -- Fixed admin view-only change form crash when using ModelAdmin.prepopulated_fields.
2018-11-28 15:40:14 -05:00
Claude Paroz
d7e18a509e
Fixed #29978 -- Catched GDALException in GeometryField.to_python
2018-11-23 09:39:02 +01:00
redodo
2e4776196d
Fixed #29953 -- Added CSS class to column headers in tabular inlines.
...
The class name is the same as one given to the fields in the change list.
2018-11-20 18:17:53 -05:00
Sanyam Khurana
a7d6cab771
Fixed #29282 -- Prevented some admin checks from crashing with TypeError.
...
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2018-11-20 17:19:13 -05:00
redodo
89a2216486
Fixed #29961 -- Made RelatedFieldWidgetWrapper hide related item links if wrapping a hidden widget.
2018-11-19 15:12:52 -05:00
Vishvajit Pathak
11bcb57ee2
Fixed #29964 -- Removed unused admin/related_widget_wrapper.html template.
...
Unused since b52c73008a
.
2018-11-18 11:42:48 -05:00
Claude Paroz
e7e5505902
Fixed #29959 -- Cached GEOS version in WKBWriter class.
...
Regression in f185d929fa
.
2018-11-16 14:45:21 -05:00
Mathew Payne
26bb2611a5
Fixed #29952 -- Lowercased all passwords in contrib.auth's auth/common-passwords.txt.gz.
2018-11-15 14:11:03 -05:00
Timothy Allen
e819554018
Fixed #29939 -- Increased Group.name max_length to 150 characters.
2018-11-14 15:13:34 -05:00
Hasan Ramezani
6d4e5feb79
Fixed #29835 -- Made RelatedFieldListFilter respect ModelAdmin.ordering.
2018-11-14 14:29:39 -05:00
Simon Charette
2f120ac517
Fixed #29945 -- Moved contrib.postgres uninstallation logic to the app config.
2018-11-12 11:15:48 -05:00
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
1f726311d1
Used method chaining in DateTimeShortcuts.js.
2018-11-09 19:56:46 -05:00
Matthias Kestenholz
f9ff1df1da
Fixed #29917 -- Stopped collecting ModelAdmin.actions from base ModelAdmins.
2018-11-09 18:52:30 -05:00
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
a375e911ef
Removed unused variables.
2018-11-09 15:44:12 -05:00