Commit Graph

26620 Commits

Author SHA1 Message Date
Simon Charette 7f25344c2e [2.2.x] Fixed #30193, Refs #28478 -- Avoided PostgreSQL connection health checks on initialization.
This addressed a regression introduced by a96b901932 as identified by Ran Benita.
Backport of 7071f8f272 from master
2019-02-20 11:01:03 +01:00
Mariusz Felisiak 9278acfd12
[2.2.x] Fixed #30187 -- Moved "install Django" command to a console box.
Backport of edec11ce86 from master
2019-02-16 07:58:55 +01:00
Jon Dufresne 37cc6a9dce [2.2.x] Fixed #30171 -- Fixed DatabaseError in servers tests.
Made DatabaseWrapper thread sharing logic reentrant. Used a reference
counting like scheme to allow nested uses.

The error appeared after 8c775391b7.
Backport of 76990cbbda from master.
2019-02-14 10:05:13 -05:00
Tim Graham 07b44a251a [2.2.x] Removed docs of unused libgeoip1/python-gdal packages.
Backport of 21f9d43737 from master.
2019-02-14 09:46:45 -05:00
Tim Graham 6cdc7ae23f [2.2.x] Refs #25175 -- Renamed test file referencing the old postgresql_psycopg2 engine.
Backport of ddb2936852 from master
2019-02-13 17:27:27 -05: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
Hasan Ramezani f2b460231d [2.2.x] Fixed #29943 -- Doc'd that admin changelist may add pk to ordering.
Backport of f63811f481 from master.
2019-02-12 21:36:07 -05:00
Tim Graham c3655b1528 [2.2.x] Refs #29478 -- Clarified cached_property 2.2 release note.
Backport of 3b64e2b775 from master.
2019-02-12 18:35:03 -05:00
Claude Paroz 28a6046b54 [2.2.x] Doc'd database functions for overlaps lookup.
Backport of 8cf9dbee6a from master
2019-02-12 15:43:11 -05:00
Jonatan Alexis Anauati d2f942737c [2.2.x] Fixed indentation in docs/topics/templates.txt.
Backport of 85ada61ac4 from master.
2019-02-11 16:52:41 -05:00
Tim Graham 74428138cc [2.2.x] Added CVE-2019-6975 to the security release archive.
Backport of d6e5aad5c7 from master.
2019-02-11 16:14:50 -05:00
Tim Graham f548ac7fa5 [2.2.x] Refs #30177 -- Forwardported 2.0.13 release notes.
Backport of 1b8f552b08 from master.
2019-02-11 15:52:15 -05:00
Carlton Gibson 1672ed5ccf [2.2.x] Refs #30175 -- Added release notes for 2.1.7, 2.0.12, and 1.11.20 releases.
Backport of b39bd0aa6d from master
2019-02-11 15:47:54 +01:00
Semen Zhydenko a536cf1f9f [2.2.x] Fixed spelling mistakes in comments and tests.
Backport of 255d6a26a8 from master.
2019-02-11 08:56:10 -05:00
Atul Varma 1092bf02e6 [2.2.x] Fixed typo in docs/releases/2.2.txt.
Backport of b6bb912e9c from master.
2019-02-11 08:54:23 -05:00
Carlton Gibson 130d2d3072 [2.2.x] Bumped version for 2.2b1. 2019-02-11 11:21:19 +01:00
Carlton Gibson 83ab3e2664 [2.2.x] Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format().
Thanks Sjoerd Job Postmus for the report and initial patch.
Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review.

Backport of 402c0caa85 from master
2019-02-11 11:10:38 +01:00
Tim Graham b89d31d2dc [2.2.x] Fixed #30169 -- Removed SAP SQL Anywhere from "3rd party database backends" as it's inactive.
Backport of 56b50cbf73 from master.
2019-02-09 18:38:43 -05:00
Matthias Kestenholz e1bd94496b [2.2.x] Fixed #30153 -- Fixed incorrect form Media asset ordering after three way merge.
Delaying merging assets as long as possible avoids introducing
incorrect relative orderings that cause a broken final result.
Backport of 959d0c078a from master.
2019-02-09 09:39:15 -05:00
Mariusz Felisiak d03e5961aa
[2.2.x] Removed extra characters in docs header underlines.
Backport of 25829197bb from master
2019-02-08 21:39:54 +01:00
Carlton Gibson 941109ccb3 [2.2.x] Added stub release notes for security releases.
Backport of 5cc6f02f91 from master
2019-02-07 15:47:52 +01:00
Mariusz Felisiak 0aff35459d
[2.2.x] Updated Oracle docs links to Oracle 18c.
Backport of 759a9b710c from master
2019-02-07 10:03:11 +01:00
Andy Chosak d293948938 [2.2.x] Refs #15372 -- Removed obsolete docs about manage.py setting sys.path.
Backport of 80f4ecc647 from master
2019-02-06 14:56:16 -05:00
Tim Graham 8eb913eabf [2.2.x] Simplified and corrected LOGIN_URL, LOGIN_REDIRECT_URL, and LOGOUT_REDIRECT_URL docs.
Backport of b709d70130 from master.
2019-02-05 20:19:32 -05:00
Tim Graham 5911d25916 [2.2.x] Removed django.utils.lru_cache usage.
Backport of 0367bc6d04 from master.
2019-02-04 20:33:20 -05:00
Daniel Hahler 0838cc0139 [2.2.x] Fixed duplicate word in docs/releases/2.0.txt.
Backport of fdc4518fe2 from master.
2019-02-04 18:30:29 -05:00
Tim Graham d5b43d7226 [2.2.x] Refs #30055 -- Bumped minimum SQLite version in GIS docs.
Backport of 4763c97191 from master.
2019-02-04 11:47:15 -05:00
Tim Graham 6b3940b5a4 [2.2.x] Used extlinks for GitHub commits.
Backport of c34c6d0a2f from master.
2019-02-01 15:49:31 -05:00
Daniel Roseman a3ce94e96e [2.2.x] Used LoginRequiredMixin in "Models and request.user" example.
Backport of 6da28d5edf from master.
2019-01-31 18:02:13 -05:00
Robert Coup 953067d8dc [2.2.x] Refs #28161 -- Doc'd INSTALLED_APPS requirement for ArrayField(CIText).
Backport of a8b03bea18 from master
2019-01-31 13:42:29 -05:00
Sergey Fedoseev 6187519236 [2.2.x] Corrected output of Prefetch.to_attr example.
Backport of ba7a420012 from master.
2019-01-31 09:09:34 -05:00
Carlton Gibson 89d39dc1d7 [2.2.x] Fixed #30091 -- Doc'd middleware ordering requirements with CSRF_USE_SESSIONS.
Backport of bae66e759f from master.
2019-01-30 13:12:43 -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
Daniel Hahler 2789cc633f [2.2.x] Fixed typo in docs/releases/2.2.txt.
Backport of 14581553e4 from master
2019-01-29 09:10:53 -05:00
Claude Paroz caaa01142d [2.2.x] Fixed #29825 -- Fixed JS ngettext if the string is a non-plural msgid in the catalog.
Backport of 16454ac35f from master.
2019-01-28 18:17:52 -05:00
Tom Forbes 728358c5cf [2.2.x] Fixed #25624 -- Fixed autoreload crash with jinja2.ModuleLoader.
Backport of 1e92407f83 from master.
2019-01-28 14:42:46 -05:00
Paveł Tyślacki 2ca200a7c3 [2.2.x] Made test table cleanup in OperationTestBase more robust.
Some non-unique constraint names were added in
b69f8eb04c which resulted in failures
depending on the order in which tests were run.

Backport of 62b8596616 from master.
2019-01-28 13:48:04 -05:00
Tim Graham d3b4f4b962 [2.2.x] Refs #30055 -- Added a helpful error when SQLite is too old.
Backport of 7444f32527 from master.
2019-01-28 11:21:47 -05:00
Tim Graham e8cb0dcc19 [2.2.x] Refs #30033 -- Doc'd change regarding apps without migrations depending on apps with migrations.
The addition of self.connection.check_constraints() in
7289874adc is the cause.

Backport of fcfb730658 from master.
2019-01-28 10:30:36 -05:00
Sergey Fursov 56f7f5026d [2.2.x] Fixed typo in docs/ref/request-response.txt.
Backport of 20ea68c4fe from master.
2019-01-27 17:38:44 -05:00
Tim Graham 710052fee9 [2.2.x] Refs #30111 -- Fixed test cleanup in postgres_tests/test_integration.py.
Fixed "ERROR: Step ‘Publish JUnit test result report’ failed: No test report
files were found. Configuration error?" on Jenkins because report files were
put in tests/postgres_tests.

Backport of 2de7eb6f4d from master.
2019-01-23 13:17:29 -05:00
Nick Pope e53e64280d [2.2.x] Fixed #30115 -- Fixed SQLite introspection crash with a varchar primary key.
Removed obsolete max_length handling for CharField that caused the issue.
Regression in a35d2a4510.

Backport of bff748df3e from master.
2019-01-22 19:20:16 -05:00
Nasir Hussain 6ce7887f13 [2.2.x] Fixed #30111 -- Fixed AppRegistryNotReady error with django.contrib.postgres in INSTALLED_APPS.
Regression in e192223ed9.
Backport of 2804b8d215 from master.
2019-01-22 17:50:00 -05:00
Pavel Savchenko 51247bc55f [2.2.x] Corrected GenericRelation's related_query_name manual lookup example.
And changed related_query_name to a singular noun.
Backport of 130192b12b from master.
2019-01-21 10:14:03 -05:00
Jon Dufresne 28fb4ed5d9 [2.2.x] Fixed #30121 -- Fixed assertURLEqual() crash with reverse_lazy() URLs.
Regression in 24959e48d9.
Backport of d15c61cabb from master.
2019-01-21 09:31:45 -05:00
Simon Charette 6516e49262 [2.2.x] Fixed #30120 -- Fixed invalid SQL in distinct aggregate.
Regression in bc05547cd8 (refs #28658).
Backport of 65858119d2 from master.
2019-01-21 09:24:47 -05:00
Tom Forbes 370371ee9e [2.2.x] Removed redundant period in Watchman unavailable message.
Backport of d8a2f4ec09 from master.
2019-01-19 18:25:18 -05:00
Mariusz Felisiak 70aeb6ab01 [2.2.x] Fixed #30117 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.4.0+.
Backport of f05c02c4b8 from master
2019-01-19 13:33:28 +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
Tim Graham a9feec5c70 [2.2.x] Refs #28606 -- Corrected deprecation version for CachedStaticFilesStorage.
Backport of 6713926ebe from master
2019-01-17 18:35:46 -05:00