summaryrefslogtreecommitdiff
path: root/django/utils
AgeCommit message (Collapse)Author
2016-09-07Refs #26956 -- Allowed is_safe_url() to validate against multiple hostsJon Dufresne
2016-08-31Fixed #25181 -- Added localdate() function to get date in a different time zone.Jon Dufresne
Thanks Konrad Świat for the original patch.
2016-08-31Fixed #27154 -- Allowed comparing CallableBool with bitwise or.Olexander Yermakov
Thanks Tim for the review.
2016-08-25Fixed #27067 -- Deprecated string_concat() in favor of format_lazy().Mattias Loverot
2016-08-24Fixed #26866 -- Added format_lazy functionMattias 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-08-19Fixed #26902 -- Allowed is_safe_url() to require an https URL.Przemysław Suliga
Thanks Andrew Nester, Berker Peksag, and Tim Graham for reviews.
2016-08-11Fixed #27034 -- Made makemessages independent of USE_I18NClaude Paroz
Thanks Tim Graham for the review.
2016-08-04Fixed #27020 -- Used a context manager to close files.Ville Skyttä
2016-08-02Fixed #26988 -- Improved/clarified User.is_authenticated/anonymous ↵Tim Graham
compatibility. Thanks marktranchant for the report and review.
2016-07-14Fixed #26656 -- Added duration (timedelta) support to DjangoJSONEncoder.Will Hardy
2016-06-22Fixed #25920 -- Added support for non-uniform NUMBER_GROUPING.jasisz
2016-06-17Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware ↵Carl Meyer
exception handling.
2016-06-13Fixed #26746 -- Fixed handling of zero priority in Accept-Language header ↵Vytis Banaitis
parsing.
2016-06-11Fixed #26744 -- Fixed a typo in regex for Accept-Language header parsing.Vytis Banaitis
2016-06-08Fixed #26705 -- Fixed plural versions of languages not supported by Django.Thejaswi Puthraya
2016-06-07Fixed #10107 -- Allowed using mark_safe() as a decorator.Scott Vitale
Thanks ArcTanSusan for the initial patch.
2016-06-04Fixed #24781 -- Fixed repr() for lazy objects.Chesco Igual
2016-05-30Fixed #26653 -- Made SyndicationFeed.latest_post_date() return time in UTC.Ketan Bhatt
2016-05-28Added RemovedInDjango21WarningTim Graham
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-12Fixed #21231 -- Enforced a max size for GET/POST values read into memory.Andre Cruz
Thanks Tom Christie for review.
2016-05-10Fixed #24046 -- Deprecated the "escape" half of utils.safestring.Tim Graham
2016-05-10Stopped truncating AdminEmailHandler message subjectsClaude Paroz
Refs #26572, #17281. The RFC doesn't limit total length, just the line length which is already taken care of by Python itself. Thanks Tim Graham for the review.
2016-05-10Fixed #26580 -- Updated references to obsolete RFC 2822.Vasiliy Faronov
Didn't rename django.utils.feedgenerator.rfc2822_date() as some external code may rely on it.
2016-05-03Fixed #26567 -- Updated references to obsolete RFC2616.Vasiliy Faronov
Didn't touch comments where it wasn't obvious that the code adhered to the newer standard.
2016-04-20Fixed #26281 -- Added a helpful error message for an invalid format ↵Marko Benko
specifier to dateformat.format().
2016-04-09Fixed #25847 -- Made User.is_(anonymous|authenticated) properties.Jeremy Lainé
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-04-06Removed unused django.utils.http.PROTOCOL_TO_PORT.Tim Graham
Unused since b0c56b895fd2694d7f5d4595bdbbc41916607f45.
2016-04-04Fixed W503 flake8 warnings.Tim Graham
2016-03-26Refs #18239 -- Removed an obsolete workaround for bugs in HTMLParser.Tim Graham
2016-03-23Fixed #26378 -- Allowed a left byte of zero in mixed IPv4/IPv6 validation.Amine Yaiche
2016-03-08Reused the DjangoTranslation class for the javascript_catalog viewClaude Paroz
Thanks Tim Graham and Cristiano Coelho for the reviews. Refs #26328, #26319.
2016-03-04Added safety to URL decoding in is_safe_url() on Python 2Claude Paroz
The errors='replace' parameter to force_text altered the URL before checking it, which wasn't considered sane. Refs 24fc935218 and ada7a4aef.
2016-03-04Fixed #26308 -- Prevented crash with binary URLs in is_safe_url()Claude Paroz
This fixes a regression introduced by c5544d28923. Thanks John Eskew for the reporti and Tim Graham for the review.
2016-03-01Fixed CVE-2016-2512 -- Prevented spoofing is_safe_url() with basic auth.Mark Striemer
This is a security fix.
2016-02-25Fixed #26269 -- Prohibited spaces in is_valid_ipv6_address().Nick Malakhov
2016-02-15Fixed #26212 -- Made forms.FileField and translation.lazy_number() picklable.Alexey Kotlyarov
2016-02-15Fixed #26193 -- Made urlize() trim multiple trailing punctuation.Jon Dufresne
2016-02-09Fixed #26173 -- Prevented localize_input() from formatting booleans as numbers.Marcin Markiewicz
2016-01-26Fixed #26122 -- Fixed copying a LazyObjectBen Kraft
Shallow copying of `django.utils.functional.LazyObject` or its subclasses has been broken in a couple of different ways in the past, most recently due to 35355a4.
2016-01-25Fixed #26125 -- Fixed E731 flake warnings.userimack
2016-01-23Fixed #26093 -- Allowed escape sequences extraction by gettext on Python 3Claude Paroz
Thanks Sylvain Fankhauser for the report and Tim Graham for the review.
2016-01-14Fixed #25999 -- Removed promotion of RemovedInNextVersionWarning to loud by ↵Tim Graham
default.
2016-01-13Refs #25769 -- Updated docs to reflect get_version() uses PEP 0440.Tim Graham
2016-01-11Fixed #25684 -- Made runserver use logging for request/response output.Flavio Curella
Thanks andreif for the contributing to the patch.
2016-01-06Fixed #26046 -- Fixed a crash with translations and Django-unknown language codeClaude Paroz
Thanks Jens Lundstrom for the report and Tim Graham for the review.
2016-01-05Replaced dict.setdefault() usage to avoid unnecessary object instantiations.Benjamin Bach
2016-01-05Fixed #26024 -- Fixed regression in ConditionalGetMiddleware ETag support.Denis Cornehl
Thanks Denis Cornehl for help with the patch.
2015-12-18Fixed #25915 -- Allowed language not in Django's default LANGUAGESClaude Paroz
This fixes a regression introduced by a5f6cbce07. Thanks Gavin Wahl for the report and Tim Graham for the review.