summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-10Fixed typo in tests/test_runner/test_discover_runner.py.Mariusz Felisiak
2021-06-10Refs #24121 -- Added __repr__() to AdminForm, BlockContext, ↵saeedblanchette
BlockTranslateNode, and IncludeNode.
2021-06-10Refs #27734 -- Prevented creation of more parallel workers than TestCases.Ceesjan Luiten
The parallel test runner uses multiple workers to distribute the workload. These workers are assigned a worker ID using a globally incremented variable, which determines what test database to connect to. When the worker ID surpasses the test database IDs Django will crash. This reduce likelihood of crashing parallel tests because ParallelTestSuite will no longer create more workers than TestCases. It won't eliminate the problem completely though because there are other circumstances in which new workers can be created which can then be assigned an "illegal" worker ID.
2021-06-09Fixed #32829 -- Updated help text for clearsessions management command.Hasan Ramezani
Obsolete since 5fec97b9df6ea075483276de159e522a29437773.
2021-06-09Fixed #32195 -- Added system check for invalid view in path() and improved ↵Angus Holder
error messages.
2021-06-09Refs #32195 -- Added path() test for invalid view.Mariusz Felisiak
2021-06-08Refs #14357 -- Updated docs about interaction between aggregations and ↵Mariusz Felisiak
QuerySet.order_by(). Obsolete since 0ddb4ebf7bfcc4730c80a772dd146a49ef6895f6.
2021-06-08Refs #32355 -- Used addClassCleanup() in SimpleTestCase and SerializeMixin.Mariusz Felisiak
2021-06-08Fixed #25255 -- Recorded unapplied squashed migrations.Jacob Walls
2021-06-08Fixed #31653 -- Added AddConstraintNotValid()/ValidateConstraint() ↵Sanskar Jaiswal
operations for PostgreSQL.
2021-06-07Fixed #32814 -- Improved performance of TextNode.Keryn Knight
This avoids calling render() and handling exceptions, which is not necessary for text nodes.
2021-06-07Fixed typos in test comments.luzpaz
2021-06-07Refs #32668 -- Renamed setup()/teardown() to ↵Chris Jerdonek
setup_run_tests()/teardown_run_tests() in runtests.py.
2021-06-07Refs #32668 -- Changed bisect_tests() and paired_tests() to use only ↵Chris Jerdonek
setup_collect_tests().
2021-06-07Refs #32668 -- Passed setup()'s return value to run_tests() instead of ↵Chris Jerdonek
get_installed().
2021-06-07Refs #32668 -- Refactored out setup_collect_tests() in runtests.py.Chris Jerdonek
2021-06-07Refs #32668 -- Added gis_enabled argument to get_test_modules().Chris Jerdonek
2021-06-07Fixed #32716 -- Fixed ManifestStaticFilesStorage crash when ↵aryabartar
max_post_process_passes is 0.
2021-06-07Fixed #32821 -- Updated os.scandir() uses to use a context manager.Chris Jerdonek
2021-06-07Refs #24121 -- Added __repr__() to ChangeList and BaseStorage.saeedblanchette
2021-06-05Fixed header underlines in performance docs.Claude Paroz
2021-06-05Refs #32668 -- Simplified start_at/start_after logic in runtests.py's setup().Chris Jerdonek
2021-06-05Fixed #32810 -- Optimized django.utils.formats.number_format() a bit.Mateo Radman
Pre-calculate use_l10n for get_format() calls.
2021-06-04Refs #32355 -- Used addClassCleanup() in tests.Mariusz Felisiak
Inspired by Adam Johnson talk on DjangoCon Europe 2021.
2021-06-04Made SerializeMixin check lockfile attr at import time.Adam Johnson
2021-06-04Refs #32338 -- Improved accessibility of RadioSelect examples in docs.David Smith
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-06-04Fixed #32812 -- Restored immutability of named values from ↵Takayuki Hirayama
QuerySet.values_list(). Regression in 981a072dd4dec586f8fc606712ed9a2ef116eeee. Thanks pirelle for the report.
2021-06-03Refs #31356 -- Changed IRC links to the Libera.Chat webchat.Mariusz Felisiak
Follow up to 66491f08fe86629fa25977bb3dddda06959f65e7.
2021-06-03Refs #32668 -- Simplified get_test_modules() in runtests.py.Chris Jerdonek
This simplifies runtests.py's get_test_modules() in a few ways. For example, it changes the function to yield strings instead of returning pairs of strings, which simplifies the calling code. This commit also changes SUBDIRS_TO_SKIP from a list to a dict since the directories to skip depend on the parent directory.
2021-06-03Refs #32668 -- Refactored away module_found_in_labels in runtests.py's setup().Chris Jerdonek
2021-06-03Refs #32668 -- Made setup()'s test_labels argument optional in runtests.py.Chris Jerdonek
2021-06-03Fixed #32808 -- Prevented DiscoverRunner.build_suite() from mutating test ↵Mariusz Felisiak
loader patterns. Thanks Chris Jerdonek for the report and reviews.
2021-06-03Fixed typos in docs.Jacob Walls
2021-06-02Refs #32641 -- Made DiscoverRunner's "Found X tests" message work for ↵Chris Jerdonek
finding one test. This also removes passing level to log() as logging.INFO is the default.
2021-06-02Fixed #28154 -- Prevented infinite loop in FileSystemStorage.save() when a ↵Jacob Walls
broken symlink with the same name exists.
2021-06-02Fixed docs header underlines in security archive.Mariusz Felisiak
2021-06-02Added stub release notes for Django 3.2.5.Carlton Gibson
2021-06-02Added CVE-2021-33203 and CVE-2021-33571 to security archive.Carlton Gibson
2021-06-02Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses.Mariusz Felisiak
validate_ipv4_address() was affected only on Python < 3.9.5, see [1]. URLValidator() uses a regular expressions and it was affected on all Python versions. [1] https://bugs.python.org/issue36384
2021-06-02Fixed CVE-2021-33203 -- Fixed potential path-traversal via admindocs' ↵Florian Apolloner
TemplateDetailView.
2021-06-02Confirmed release date for Django 3.2.4, 3.1.12, and 2.2.24.Carlton Gibson
2021-06-02Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.Jacob Walls
2021-06-01Fixed #32793 -- Fixed loss of precision for temporal operations with ↵Mariusz Felisiak
DecimalFields on MySQL. Regression in 1e38f1191de21b6e96736f58df57dfb851a28c1f. Thanks Mohsen Tamiz for the report.
2021-06-01Refs #32552 -- Added DiscoverRunner.log() to allow customization.Daniyal
Thanks Carlton Gibson, Chris Jerdonek, and David Smith for reviews.
2021-06-01Fixed #32796 -- Changed CsrfViewMiddleware to fail earlier on badly ↵Chris Jerdonek
formatted cookie tokens.
2021-06-01Refs #32796 -- Added CsrfViewMiddleware tests for incorrectly formatted ↵Chris Jerdonek
cookie tokens.
2021-06-01Refs #24121 -- Added __repr__() to Engineabhiabhi94
2021-05-31Fixed #32795 -- Changed CsrfViewMiddleware to fail earlier on badly ↵Chris Jerdonek
formatted tokens.
2021-05-31Refs #32795 -- Added CsrfViewMiddleware tests for rejecting invalid or ↵Chris Jerdonek
missing tokens. This also improves test names for test_process_request_no_csrf_cookie and test_process_request_csrf_cookie_no_token. The logic being tested is actually in process_view() rather than process_request(), and it's not necessary to include the method name.
2021-05-31Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage.Gildardo Adrian Maravilla Jacome