| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-06-22 | Fixed #32858 -- Fixed ExclusionConstraint crash with index transforms in ↵ | Lucidiot | |
| expressions. | |||
| 2021-06-21 | Fixed typo in makemessages error message. | Jacob Walls | |
| 2021-06-15 | Fixed #30427, Fixed #16176 -- Corrected setting descriptor in ↵ | Carlton Gibson | |
| Field.contribute_to_class(). Co-authored-by: Jarek Glowacki <jarekwg@gmail.com> | |||
| 2021-06-15 | Refs #30427, Refs #16176 -- Added test for abstract model inheritance. | Carlton Gibson | |
| 2021-06-11 | Fixed #32824 -- Improved performance of NodeList.render(). | Keryn Knight | |
| This avoids the following: - checking that each item in the nodelist is a subclass of Node, - calling str() on the render_annotated() output, because it's documented that Node.render() must return a string, - calling mark_safe() on the output, when the value to be wrapped is definitively known to be a string because the result of ''.join() is always of that type, - using an intermediate list to store each individual string. | |||
| 2021-06-11 | Fixed #25250 -- Clarified partially recorded state of squashed migrations in ↵ | Jacob Walls | |
| showmigrations --list. | |||
| 2021-06-10 | Fixed #32609 -- Updated runtests.py to support directory path test labels. | Chris Jerdonek | |
| For example, with this change, the following now works from the tests directory: $ ./runtests.py view_tests/tests/ | |||
| 2021-06-10 | Fixed #32832 -- Fixed adding BLOB/TEXT nullable field with default on MySQL ↵ | Mariusz Felisiak | |
| 8.0.13+. Regression in d4ac23bee1c84d8e4610350202ac068fc90f38c0. Thanks Omkar Deshpande for the report. | |||
| 2021-06-10 | Fixed typo in tests/test_runner/test_discover_runner.py. | Mariusz Felisiak | |
| 2021-06-10 | Refs #24121 -- Added __repr__() to AdminForm, BlockContext, ↵ | saeedblanchette | |
| BlockTranslateNode, and IncludeNode. | |||
| 2021-06-10 | Refs #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-09 | Fixed #32195 -- Added system check for invalid view in path() and improved ↵ | Angus Holder | |
| error messages. | |||
| 2021-06-09 | Refs #32195 -- Added path() test for invalid view. | Mariusz Felisiak | |
| 2021-06-08 | Fixed #25255 -- Recorded unapplied squashed migrations. | Jacob Walls | |
| 2021-06-08 | Fixed #31653 -- Added AddConstraintNotValid()/ValidateConstraint() ↵ | Sanskar Jaiswal | |
| operations for PostgreSQL. | |||
| 2021-06-07 | Fixed typos in test comments. | luzpaz | |
| 2021-06-07 | Refs #32668 -- Renamed setup()/teardown() to ↵ | Chris Jerdonek | |
| setup_run_tests()/teardown_run_tests() in runtests.py. | |||
| 2021-06-07 | Refs #32668 -- Changed bisect_tests() and paired_tests() to use only ↵ | Chris Jerdonek | |
| setup_collect_tests(). | |||
| 2021-06-07 | Refs #32668 -- Passed setup()'s return value to run_tests() instead of ↵ | Chris Jerdonek | |
| get_installed(). | |||
| 2021-06-07 | Refs #32668 -- Refactored out setup_collect_tests() in runtests.py. | Chris Jerdonek | |
| 2021-06-07 | Refs #32668 -- Added gis_enabled argument to get_test_modules(). | Chris Jerdonek | |
| 2021-06-07 | Fixed #32716 -- Fixed ManifestStaticFilesStorage crash when ↵ | aryabartar | |
| max_post_process_passes is 0. | |||
| 2021-06-07 | Fixed #32821 -- Updated os.scandir() uses to use a context manager. | Chris Jerdonek | |
| 2021-06-07 | Refs #24121 -- Added __repr__() to ChangeList and BaseStorage. | saeedblanchette | |
| 2021-06-05 | Refs #32668 -- Simplified start_at/start_after logic in runtests.py's setup(). | Chris Jerdonek | |
| 2021-06-04 | Refs #32355 -- Used addClassCleanup() in tests. | Mariusz Felisiak | |
| Inspired by Adam Johnson talk on DjangoCon Europe 2021. | |||
| 2021-06-04 | Made SerializeMixin check lockfile attr at import time. | Adam Johnson | |
| 2021-06-04 | Fixed #32812 -- Restored immutability of named values from ↵ | Takayuki Hirayama | |
| QuerySet.values_list(). Regression in 981a072dd4dec586f8fc606712ed9a2ef116eeee. Thanks pirelle for the report. | |||
| 2021-06-03 | Refs #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-03 | Refs #32668 -- Refactored away module_found_in_labels in runtests.py's setup(). | Chris Jerdonek | |
| 2021-06-03 | Refs #32668 -- Made setup()'s test_labels argument optional in runtests.py. | Chris Jerdonek | |
| 2021-06-03 | Fixed #32808 -- Prevented DiscoverRunner.build_suite() from mutating test ↵ | Mariusz Felisiak | |
| loader patterns. Thanks Chris Jerdonek for the report and reviews. | |||
| 2021-06-02 | Refs #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-02 | Fixed #28154 -- Prevented infinite loop in FileSystemStorage.save() when a ↵ | Jacob Walls | |
| broken symlink with the same name exists. | |||
| 2021-06-02 | Fixed 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-02 | Fixed CVE-2021-33203 -- Fixed potential path-traversal via admindocs' ↵ | Florian Apolloner | |
| TemplateDetailView. | |||
| 2021-06-01 | Fixed #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-01 | Refs #32552 -- Added DiscoverRunner.log() to allow customization. | Daniyal | |
| Thanks Carlton Gibson, Chris Jerdonek, and David Smith for reviews. | |||
| 2021-06-01 | Fixed #32796 -- Changed CsrfViewMiddleware to fail earlier on badly ↵ | Chris Jerdonek | |
| formatted cookie tokens. | |||
| 2021-06-01 | Refs #32796 -- Added CsrfViewMiddleware tests for incorrectly formatted ↵ | Chris Jerdonek | |
| cookie tokens. | |||
| 2021-06-01 | Refs #24121 -- Added __repr__() to Engine | abhiabhi94 | |
| 2021-05-31 | Fixed #32795 -- Changed CsrfViewMiddleware to fail earlier on badly ↵ | Chris Jerdonek | |
| formatted tokens. | |||
| 2021-05-31 | Refs #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-31 | Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage. | Gildardo Adrian Maravilla Jacome | |
| 2021-05-31 | Refs #32319 -- Changed HashedFilesMixin to use named groups in patterns. | Gildardo Adrian Maravilla Jacome | |
| 2021-05-28 | Fixed #32676 -- Prevented migrations from rendering related field attributes ↵ | David Wobrock | |
| when not passed during initialization. Thanks Simon Charette for the implementation idea. | |||
| 2021-05-28 | Refs #32779 -- Changed ↵ | Hannes Ljungberg | |
| DatabaseSchemaEditor._unique_sql()/_create_unique_sql() to take fields as second parameter. | |||
| 2021-05-28 | Refs #24121 -- Added __repr__() to PermWrapper. | abhiabhi94 | |
| 2021-05-28 | Fixed #32596 -- Added CsrfViewMiddleware._check_referer(). | Chris Jerdonek | |
| This encapsulates CsrfViewMiddleware's referer logic into a method and updates existing tests to check the "seam" introduced by the refactor, when doing so would improve the test. | |||
| 2021-05-27 | Fixed #32789 -- Made feeds emit elements with no content as self-closing tags. | Mohammadreza Varasteh | |
