summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-29Fixed #31493 -- Replaced var with const and let keywords in JavaScript.Jon Dufresne
The eslint configuration and the admin script compress.py have been updated for ES6. The unused fallback of globals.django in jquery.init.js was removed. It is always included before jsi18n-mocks.test.js and it always sets the global value.
2020-04-29Refs #30400 -- Improved typography of user facing strings in admin changelist.Jon Dufresne
2020-04-29Added tests for saving with pending actions in admin changelist.Jon Dufresne
2020-04-28Fixed #29249 -- Made JSON and YAML serializers use Unicode by default.Hasan Ramezani
2020-04-28Refs #29249 -- Added tests for serializing Unicode data with XML serializer.Hasan Ramezani
2020-04-28Changed django.forms.ValidationError imports to ↵François Freitag
django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-04-28Updated expected date for 3.0.6 release.Mariusz Felisiak
2020-04-28Fixed broken links in docs.Mariusz Felisiak
2020-04-28Fixed typo in docs/topics/i18n/translation.txt.Mariusz Felisiak
Thanks durey for the report.
2020-04-28Fixed #31517 -- Fixed HashedFilesMixin.hashed_name() if hash of the file is ↵Richard Campen
None.
2020-04-28Merge stdout.write() calls in squashmigrations.François Freitag
2020-04-28Added test for squashmigrations' output.François Freitag
2020-04-27Fixed #31505 -- Doc'd possible email addresses enumeration in PasswordResetView.Mariusz Felisiak
2020-04-27Refs #18325 -- Removed unnecessary line endings in management commands.François Freitag
The OutputWrapper automatically adds \n when it’s not present.
2020-04-27Removed unnecessary tuple wrapping of single format string argument.François Freitag
2020-04-27Removed unnecessary capturing/hiding of stdout/stderr in various tests.François Freitag
2020-04-27Disabled management commands output with verbosity 0 in ↵François Freitag
test_regression_22823_unmigrated_fk_to_migrated_model.
2020-04-25Fixed #31514 -- Fixed default form widgets in model fields docs.Hasan Ramezani
2020-04-25Removed unnecessary capturing of stdout in ↵François Freitag
test_makemigrations_non_interactive_not_null_addition.
2020-04-24Refs #31369 -- Deprecated models.NullBooleanField in favor of ↵Tim Schilling
BooleanField(null=True).
2020-04-24Corrected outputting BooleanField as HTML in forms docs.Tim Schilling
2020-04-24Doc'd PasswordChangeView/PasswordResetView.success_url defaults.Tanmay Vijay
2020-04-24Fixed typo in docs/intro/contributing.txt.Andy Chosak
2020-04-24Refs #30913 -- Added BaseDatabaseSchemaEditor._index_condition_sql().Hannes Ljungberg
2020-04-23Updated template language philosophy in DTL docs.David Smith
2020-04-23Fixed broken link to Watchmen configuration in docs/ref/django-admin.txt.Jon Dufresne
2020-04-23Fixed #29224 -- Fixed removing index_together indexes if exists ↵David Wobrock
unique_together constraint on the same fields.
2020-04-23Fixed #31500 -- Fixed detecting of unique fields in QuerySet.in_bulk() when ↵Hannes Ljungberg
using Meta.constraints. Detection of unique fields now takes into account non-partial unique constraints.
2020-04-22Avoided unnecessary recompilation of ordering clause regex in SQLCompiler.Adam Johnson
2020-04-22Added link to Mozilla's infosec page on web security. Mads Jensen
2020-04-22Made compress.py script use the official google-closure-compiler release.Jon Dufresne
The script previously used the PyPI package closure, which is slightly out of date and not maintained by Google. The JavaScript contribution docs and the compress.py script now runs the google-closure-compiler package in the recommended way. Google's documentation on usage and installation can be found at: https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler#usage This also makes the usage simpler as the package now runs through npm's npx utility, which will automatically install google-closure-compiler to a per-user cache.
2020-04-22Fixed #31483 -- Rewrote change_form.js without jQuery.Jon Dufresne
The use of $(document).ready() was removed. The script is loaded at the end of the document. Therefore, the referenced DOM elements are already available and the script does not need to wait for the full DOM to be ready before continuing. Now that the script has no external dependencies, it can be loaded asynchronously. As such, the async attribute was added to the script element.
2020-04-22Refs #31483 -- Removed CSS and JavaScript for unused HTML class add-another.Jon Dufresne
The HTML class was removed in 07988744b347302925bc6cc66511e34224db55ab. As such, the CSS and JavaScript is unused.
2020-04-22Refs #29892 -- Fixed selenium test test_inline_formset_error_input_border on ↵Jon Dufresne
Firefox. Firefox does not include shorthand properties, such as "border", in the computed CSS properties object. This is documented at MDN: https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle > The returned CSSStyleDeclaration object contains active values for CSS > property longhand names. For example, border-bottom-width instead of > the border-width and border shorthand property names. It is safest to > query values with only longhand names like font-size. Shorthand names > like font will not work with most browsers. This difference between Firefox and Chrome is also discussed in the stackoverflow thread at: https://stackoverflow.com/a/32296604
2020-04-22Completed test coverage for forms.RegexField.David Smith
2020-04-22Updated admin's XRegExp to 3.2.0.Mariusz Felisiak
2020-04-22Fixed #31499 -- Stored ModelState.fields into a dict.Simon Charette
This allows the removal of its O(n) .get_field_by_name method and many other awkward access patterns. While fields were initially stored in a list to preserve the initial model definiton field ordering the auto-detector doesn't take field ordering into account and no operations exists to reorder fields of a model. This makes the preservation of the field ordering completely superflous because field reorganization after the creation of the model state wouldn't be taken into account.
2020-04-22Refs #31499 -- Ignored field ordering to determine ModelState equality.Simon Charette
2020-04-22Simplified collapse.js with Element.closest().Jon Dufresne
2020-04-21Improved readability of ESLint configuration.Jon Dufresne
Use "off"/"warn"/"error" instead of 0/1/2.
2020-04-21Fixed backends.oracle.test_operations.Mariusz Felisiak
Using unittest.TestCase doesn't work properly when we perform db queries. Moreover introspection is extremely slow on Oracle without limiting models to a "backends" app. Follow up to 8bcca47e8356521f52f0738d9633befd53007cae.
2020-04-21Refs #29983 -- Fixed displaying pathlib.Path database name in flush ↵Mariusz Felisiak
command's inputs.
2020-04-21Fixed #31479 -- Added support to reset sequences on SQLite.Jon Dufresne
2020-04-21Refs #30591 -- Adjusted table rebuild for non-pk relationship on SQLite.Simon Charette
The existing code was only accounting for primary key changes and not all unique key fields that can be referenced.
2020-04-21Fixed #31064 -- Recreated auto-created many-to-many tables on primary key ↵Simon Charette
data type change on SQLite. Both local and remote auto-created many-to-many relationships were affected.
2020-04-21Removed redundant import in tests/migrations/test_operations.py.Simon Charette
2020-04-20Stopped rebuilding referenced tables multiple times on SQLite alterations.Simon Charette
2020-04-20Capitalized Unicode in docs, strings, and comments.Jon Dufresne
2020-04-20Added assertions for an empty stdout to CoreCommandsNoOutputTests.Jon Dufresne
2020-04-20Refs #22463 -- Replaced JSHint with ESLint in contributing docs.Jignesh Kotadiya