Commit Graph

15621 Commits

Author SHA1 Message Date
Claude Paroz d5ed08263b [2.1.x] Updated translations from Transifex 2018-09-29 16:03:27 +02:00
Stephen James f5335bc745 [2.1.x] Fixed #29683 -- Added view permission to docs.
Backport of e40e7026ca from master.
2018-09-26 15:06:57 -04:00
Mariusz Felisiak 5aeced6dcd
[2.1.x] Fixed #29630 -- Fixed crash of sliced queries with multiple columns with the same name on Oracle 12.1.
Regression in 0899d583bd.

Thanks Tim Graham for the review and Jani Tiainen for help.
Backport of 024abe5b82 from master
2018-09-26 20:24:20 +02:00
Mariusz Felisiak 1f8a5d4fac [2.1.x] Made DatabaseWrapper.oracle_version() return a full version tuple.
Backport of 90d93a1b42 from master
2018-09-26 08:54:51 +02:00
Oleg cdb8ee741d [2.1.x] Fixed #29778 -- Fixed quoting of unique index names.
Regression in 3b429c9673.
Backport of d1d5c97bc2 from master.
2018-09-25 16:10:47 -04:00
Jon Dufresne f53ed7846b [2.1.x] Refs #29784 -- Normalized Python docs links to omit the version.
Backport of ad9a28ee38 from master.
2018-09-25 10:22:06 +02:00
Mariusz Felisiak 430966c2fc
[2.1.x] Fixed #29759 -- Fixed crash on Oracle when fetching a returned insert id with cx_Oracle 7.
Backport of da92ec7962 from master
2018-09-16 12:49:24 +02:00
Simon Charette 4c5a8c6f50 [2.1.x] Fixed #29755 -- Made migrations detect changes to Meta.default_related_name.
Backport of a4495f4b98 from master
2018-09-14 10:20:27 -04:00
Tim Graham 5bbcf83fce [2.1.x] Fixed #29749 -- Made the migrations loader ignore files starting with a tilde or underscore.
Regression in 29150d5da8.
Backport of 32fbccab40 from master
2018-09-11 12:51:24 -04:00
Alexander Holmbäck bd5ce0599b [2.1.x] Fixed #29727 -- Made nonexistent joins in F() raise FieldError.
Regression in 2162f0983d.

Backport of f315d0423a from master
2018-09-08 09:50:02 -04:00
Carlton Gibson 24a0d1b8a3 [2.1.x] Post-release version bump. 2018-08-31 10:57:02 +02:00
Carlton Gibson 497e3942b5 [2.1.x] Bumped version for 2.1.1 release. 2018-08-31 10:17:29 +02:00
Tim Graham 152b1d783b [2.1.x] Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
* Refs #27991 -- Added testing for ModelAdmin.get_inline_instances() if the inline's has_add_permission() doesn't accept 'obj'.

* Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.

Backport of fd8a7a5313 from master
2018-08-30 11:36:04 +02:00
Mariusz Felisiak e7acd99113 [2.1.x] Fixed #29694 -- Fixed column mismatch crash with QuerySet.values() or values_list() after combining querysets with extra() with union(), difference(), or intersection().
Regression in 0b66c3b442.
Backport of 39461a83c3 from master
2018-08-29 10:03:36 +02:00
Tim Graham 53b9a6654b [2.1.x] Fixed #29682 -- Fixed admin change form crash if a view-only model's form has an extra field.
Backport of d311124be5 from master
2018-08-20 11:15:16 -04:00
Jon Dufresne cae84904c6 [2.1.x] Refs #29015 -- Added database name to PostgreSQL database name too long exception.
Backport of bf17f5e884 from master
2018-08-17 12:44:17 -04:00
Jon Dufresne 9c93bf0903 [2.1.x] Fixed #29663 -- Made admin change view redirect to changelist with view permission.
Backport of 09ee3b6fe3 from master
2018-08-17 11:21:17 -04:00
Jon Dufresne 91d281c021 [2.1.x] Added ModelAdmin._response_post_save() to avoid code duplication.
Backport of 57f16655cd from master
2018-08-17 11:04:33 -04:00
Jon Dufresne f5fbff0b4e [2.1.x] Refs #8936 -- Added ModelAdmin.has_view_or_change_permission().
Backport of cd790ed1a6 from master
2018-08-17 11:04:20 -04:00
Marnanel Thurman ef306338eb [2.1.x] Fixed #29662 -- Allowed test client to accept structured suffix JSON content types.
Backport of 7cc52250f0 from master
2018-08-15 10:28:08 -04:00
Ramiro Morales f72a7d8f44 [2.1.x] Fixed #29653 -- Fixed missing related_query_name reverse accessor if GenericRelation is declared on an abstract base model.
Regression in 4ab027b944.

Thanks Lauri Kainulainen for the report.

Backport of b5c7cb4d33 from master
2018-08-10 12:43:27 -04:00
Clément Mangin d7615674d9 [2.1.x] Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the add permission to a TabularInline.
Regression in 825f0beda8.

Backport of 64e1a271f5 from master
2018-08-10 11:32:52 -04:00
Tim Graham e3be4e94d1 [2.1.x] Fixed #29623 -- Fixed translation failure of DurationField's "overflow" error message.
Backport of 730173d1c5 from master
2018-08-08 06:38:27 -04:00
Mariusz Felisiak 2bf766cedc
[2.1.x] Fixed #29643 -- Fixed crash when combining Q objects with __in lookups and lists.
Regression in fc6528b25a.
Backport of 9fee229874 from master
2018-08-08 08:52:55 +02:00
Mariusz Felisiak c706091225
[2.1.x] Fixed #29613 -- Fixed --keepdb on PostgreSQL if the database exists and the user can't create databases.
Regression in e776dd2db6.

Thanks Tim Graham for the review.
Backport of 1a9cbf41a1 from master
2018-08-03 10:33:52 +02:00
Tim Graham 0cfca0f2cc [2.1.x] Fixed #29627 -- Fixed QueryDict.urlencode() crash with non-string values.
Regression in 7d96f0c49a.
Backport of d8e2be459f from master
2018-08-02 21:56:43 -04:00
Michael Sanders 221ef69a9b [2.1.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().
A race condition happened when the object didn't already exist and
another process/thread created the object before update_or_create()
did and then attempted to update the object, also before update_or_create()
saved the object. The update by the other process/thread could be lost.

Backport of 271542dad1 from master
2018-08-02 17:17:12 -04:00
luz.paz adfd261404 [2.1.x] Fixed typos in comments and docs.
Backport of 97e637a87f from master
2018-08-01 16:13:18 -04:00
Tim Graham 3f429e1955 [2.1.x] Post-release version bump. 2018-08-01 11:06:27 -04:00
Tim Graham e7ad40fcf4 [2.1.x] Bumped version for 2.1 release. 2018-08-01 09:56:13 -04:00
Andreas Hug c4e5ff7fdb [2.1.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware. 2018-08-01 09:35:09 -04:00
Claude Paroz cbf7e7dc52 [2.1.x] Updated contrib translations from Transifex 2018-08-01 08:41:58 -04:00
Claude Paroz 734e2c65ae [2.1.x] Updated core translations from Transifex 2018-08-01 08:41:58 -04:00
Dražen Odobašić 4dadf4eb7b [2.1.x] Fixed #29617 -- Fixed Template crash if template_string is lazy.
Regression in 3a148f958d.
Backport of 9f3b9ffd51 from master
2018-07-31 09:57:28 -04:00
Tim Graham 3a6040246f [2.1.x] Fixed #29514 -- Reverted "Used datetime.timezone.utc instead of pytz.utc for better performance."
This reverts commit 27ca5ce19f due to a
regression.

Backport of 2ec151e35d from master
2018-07-23 10:44:06 -04:00
Claude Paroz 1084bcc4b7 [2.1.x] Fixed #29578 -- Made numberformat.format() honor forced l10n usage.
Thanks Sassan Haradji for the report.
Backport of 0adfba968e from master
2018-07-19 16:44:57 -04:00
Mariusz Felisiak 16fdcf67c8 [2.1.x] Removed duplicate words in various comments.
Backport of a73cf8110e from master
2018-07-18 11:56:57 -04:00
Tim Graham dff5beabbf [2.1.x] Bumped version for 2.1 release candidate 1. 2018-07-18 07:06:05 -04:00
François Freitag a7ca8afbbe [2.1.x] Fixed django/http/request.py docstring typo.
Backport of 93e721a0b8 from master
2018-07-16 14:44:21 +02:00
Michal Čihař c1ac9c5ea3 [2.1.x] Fixed #29544 -- Fixed regex lookup on MariaDB.
Regression in 4249076844.
Backport of 39e287d8bf from master
2018-07-05 12:12:04 -04:00
Tim Graham 78f502cd0b [2.1.x] Fixed #29449 -- Reverted "Fixed #28757 -- Allowed using contrib.auth forms without installing contrib.auth."
This reverts commit 3333d935d2 due to
a crash if USERNAME_FIELD isn't a CharField.

Backport of f3fa86a89b from master
2018-07-02 18:57:12 -04:00
Claude Paroz 58a0a84c38 [2.1.x] Fixed #29536 -- Fixed SelectFilter2.js resizing to make boxes have equal height.
Thanks Tim Graham for the review.
Backport of a5f139236f from master.
2018-06-29 17:23:16 +02:00
Tim Graham 01b7fdfd67 [2.1.x] Fixed #29520 -- Fixed test client crash when posting bytes.
Regression in b8a41a2872.

Backport of 9294110a57 from master
2018-06-27 16:52:06 -04:00
Chris Jerdonek da46599143 [2.1.x] Refs #29253 -- Fixed method_decorator() crash if decorator sets a new attribute.
Regression in fdc936c913.

Backport of f434f5b84f from master
2018-06-27 11:46:24 -04:00
Tim Graham 714612a638 [2.1.x] Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header.
Backport of 7cdeb23ae7 from master
2018-06-22 09:32:33 +02:00
Tom 17017ba12a [2.1.x] Refs #29451 -- Fixed regex/iregex lookups on MySQL 8.
Backport of 4249076844 from master
2018-06-20 10:58:01 -04:00
Nick Pope 16e691d568 [2.1.x] Fixed #29503 -- Made __in lookup keep order of values in query.
Regression in 86eccdc8b6.

Backport of b0fbfae093 from master
2018-06-20 09:42:47 -04:00
Tim Graham 037565fd64 [2.1.x] Bumped version for 2.1 beta 1. 2018-06-18 19:45:09 -04:00
Carlton Gibson 67fc680c43 [2.1.x] Fixed #29502 -- Allowed users with the view permission to use autocomplete_fields.
Backport of 5b73317181 from master
2018-06-18 15:37:10 -04:00
Carlton Gibson 306f1f8ea3 [2.1.x] Fixed #29419 -- Allowed permissioning of admin actions.
Backport of 958c7b301e from master
2018-06-18 15:37:05 -04:00