| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-08-21 | Fixed #29654 -- Made text truncation an ellipsis character instead of three ↵ | Claude Paroz | |
| dots. Thanks Sudhanshu Mishra for the initial patch and Tim Graham for the review. | |||
| 2018-07-20 | Fixed #29412 -- Stopped marking slugify() result as HTML safe. | Claude Paroz | |
| 2018-03-06 | Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in ↵ | Tim Graham | |
| django.utils.text.Truncator. Thanks James Davis for suggesting the fix. | |||
| 2017-04-04 | Updated tests after French translation update | Claude Paroz | |
| 2017-03-04 | Refs #27795 -- Removed unneeded force_text calls | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-02-09 | Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). | Tim Graham | |
| 2017-02-07 | Converted usage of ugettext* functions to their gettext* aliases | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-08-24 | Fixed #26866 -- Added format_lazy function | Mattias Loverot | |
| Added format_lazy function to django.utils.text module. Useful when dealing with relative complex lazy string concatenations (e.g. in urls.py when translating urls in regular expressions). | |||
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2015-12-12 | Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy(). | Iacopo Spalletti | |
| Thanks to bmispelon and uruz for the initial patch. | |||
| 2015-07-17 | Fixed #16501 -- Added an allow_unicode parameter to SlugField. | Edward Henderson | |
| Thanks Flavio Curella and Berker Peksag for the initial patch. | |||
| 2015-02-04 | Fixed #24242 -- Improved efficiency of utils.text.compress_sequence() | Matthew Somerville | |
| The function no longer flushes zfile after each write as doing so can lead to the gzipped streamed content being larger than the original content; each flush adds a 5/6 byte type 0 block. Removing this means buf.read() may return nothing, so only yield if that has some data. Testing shows without the flush() the buffer is being flushed every 17k or so and compresses the same as if it had been done as a whole string. | |||
| 2015-01-17 | Removed utils.text.javascript_quote() per deprecation timeline; refs #21725. | Tim Graham | |
| 2014-12-30 | Applied ignore_warnings to Django tests | Claude Paroz | |
| 2014-12-06 | Refs #23947 -- Worked around a bug in Python that prevents deprecation ↵ | Diego Guimarães | |
| warnings from appearing in tests. | |||
| 2014-09-23 | Consolidated some text utils into the utils_tests test package. | Loic Bistuer | |
| 2014-03-08 | Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings | Claude Paroz | |
| Thanks Anssi Kääriäinen for the idea and Simon Charette for the review. | |||
| 2014-03-05 | Really hidden warnings in javascript_quote tests | Claude Paroz | |
| Refs #21725. | |||
| 2014-02-22 | Deprecated django.utils.text.javascript_quote. | Baptiste Mispelon | |
| Refs #21725. | |||
| 2014-02-22 | Fixed test failures when running in a narrow Python build. | Baptiste Mispelon | |
| 2014-02-15 | Fixed #21725 -- Fixed JavaScript quoting encoding. | MattBlack85 | |
| Thanks to nedbatchelder for the report. | |||
| 2014-02-06 | Fixed #21731 -- Made javascript_quote escapes '</'. | Vajrasky Kok | |
| 2013-12-12 | Fixed #21574 -- Handle bytes consistently in utils.text.normalize_newlines. | Baptiste Mispelon | |
| All input is now coerced to text before being normalized. This changes nothing under Python 2 but it allows bytes to be passed to the function without a TypeError under Python3 (bytes are assumed to be utf-8 encoded text). Thanks to trac user vajrasky for the report. | |||
| 2013-12-07 | Fixed #21572 -- Added unit test for django.utils.text.normalize_newlines. | Vajrasky Kok | |
| 2013-11-24 | Fixed #21505 -- Added unit test for django.utils.text.get_valid_filename. | Vajrasky Kok | |
| 2013-11-02 | Fixing E302 Errors | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-11-02 | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | |
| 2013-10-14 | Fixed #21266 -- Fixed E201,E202 pep8 warnings. | Larry O'Neill | |
| 2013-10-08 | Fixed #20568 -- truncatewords_html no longer splits words containing HTML ↵ | Jaap Roes | |
| entities. Thanks yann0 at hotmail.com for the report. | |||
| 2013-09-27 | Fix #21185: Added tests for unescape_entities. | Baptiste Mispelon | |
| Also fixed a py3 incompatibility. Thanks to brutasse for the report. | |||
| 2013-04-12 | Modified utils_tests for unittest2 discovery. | Preston Timmons | |
