Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #33701 -- Added fine-grained error locations to the technical 500 ↵ | Giebisch | 2022-11-29 | 1 | -1/+22 |
| | | | | debug page. | ||||
* | Fixed #33747 -- Added exception notes to the technical 500 debug page. | Giebisch | 2022-11-25 | 1 | -0/+2 |
| | |||||
* | Fixed #33606 -- Cleansed sessionid cookie in error reports. | Tobias Bengfort | 2022-10-26 | 1 | -6/+17 |
| | | | | Co-authored-by: Simon Charette <charette.s@gmail.com> | ||||
* | Fixed #33567 -- Avoided setting default text/html content type on responses. | Claude Paroz | 2022-03-09 | 1 | -3/+3 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -129/+167 |
| | |||||
* | Fixed #33396 -- Added view name to technical 500 debug page. | Hrushikesh Vaidya | 2022-01-13 | 1 | -0/+1 |
| | |||||
* | Refs #33396 -- Added django.views.debug.get_caller() hook. | Hrushikesh Vaidya | 2022-01-13 | 1 | -8/+11 |
| | |||||
* | Refs #33426 -- Simplified technical_404_response() with ↵ | Hrushikesh Vaidya | 2022-01-12 | 1 | -16/+1 |
| | | | | ResolverMatch._func_path. | ||||
* | Fixed #33433 -- Avoided unnecessary resolve() calls in technical_404_response(). | Hrushikesh Vaidya | 2022-01-12 | 1 | -5/+7 |
| | | | | Thanks Keryn Knight for the initial patch. | ||||
* | Fixed #33425 -- Fixed view name for CBVs on technical 404 debug page. | Keryn Knight | 2022-01-08 | 1 | -2/+3 |
| | | | | Regression in 0c0b87725bbcffca3bc3a7a2c649995695a5ae3b. | ||||
* | Refs #32355 -- Used @functools.lru_cache as a straight decorator. | Mariusz Felisiak | 2021-09-27 | 1 | -1/+1 |
| | |||||
* | Fixed #32698 -- Moved HttpRequest.get_raw_uri() to ↵ | Hasan Ramezani | 2021-04-30 | 1 | -0/+13 |
| | | | | ExceptionReporter._get_raw_insecure_uri(). | ||||
* | Fixed #32316 -- Deferred accessing __file__. | William Schwartz | 2021-04-01 | 1 | -5/+13 |
| | | | | | | | | | | Deferred accessing the module-global variable __file__ because the Python import API does not guarantee it always exists—in particular, it does not exist in certain "frozen" environments. The following changes advanced this goal. Thanks to Carlton Gibson, Tom Forbes, Mariusz Felisiak, and Shreyas Ravi for review and feedback. | ||||
* | Refs #32105 -- Moved ExceptionReporter template paths to properties. | William Schwartz | 2021-03-31 | 1 | -2/+8 |
| | | | | Refs #32316. | ||||
* | Refs #32260 -- Made admindocs and technical 404 debug page use ↵ | Adam Johnson | 2021-03-30 | 1 | -1/+3 |
| | | | | | | | view_func.view_class. Internals of admindocs and technical 404 debug page should use the view_class attribute and do not rely on __name__. | ||||
* | Refs #31672 -- Made technical 500 debug page include exceptions without ↵ | Hasan Ramezani | 2020-11-10 | 1 | -1/+7 |
| | | | | tracebacks. | ||||
* | Refs #31672 -- Simplified ExceptionReporter.get_traceback_frames(). | Chris Jerdonek | 2020-10-15 | 1 | -6/+7 |
| | |||||
* | Fixed #32105 -- Added template paths as ExceptionReporter class attributes. | Aarni Koskela | 2020-10-15 | 1 | -2/+5 |
| | | | | | | | | This allows replacement of the debugging templates without having to copy-paste the `get_traceback_html` and `get_traceback_text` functions into a subclass. Thanks to Nick Pope for review. | ||||
* | Fixed #31674 -- Fixed displaying traceback in technical 500 debug page. | Hasan Ramezani | 2020-10-12 | 1 | -21/+23 |
| | | | | | | | Previously, the technical 500 debug page didn't contain a traceback when the exception chain contained an exception without traceback. Thanks Chris Jerdonek for the report. | ||||
* | Fixed #31791 -- Made technical 404 debug page display the tried URL patterns ↵ | Jon Dufresne | 2020-09-07 | 1 | -1/+4 |
| | | | | for Http404. | ||||
* | Fixed #31942 -- Made settings cleansing work with dictionary settings with ↵ | Jeremy Lainé | 2020-08-26 | 1 | -11/+12 |
| | | | | non-string keys. | ||||
* | Fixed #31674 -- Made technical 500 debug page respect __suppress_context__. | Tom Forbes | 2020-07-13 | 1 | -1/+2 |
| | |||||
* | Fixed #31675 -- Added warning to ExceptionReporter when exception chain has ↵ | Hasan Ramezani | 2020-06-10 | 1 | -0/+10 |
| | | | | a cycle. | ||||
* | Refs #30116 -- Simplified regex match group access with Match.__getitem__(). | Jon Dufresne | 2020-05-11 | 1 | -1/+1 |
| | | | | | The method has been available since Python 3.6. The shorter syntax is also marginally faster. | ||||
* | Fixed #31451 -- Made settings cleansing work with list and tuple settings. | Ichlasul Affan | 2020-04-15 | 1 | -0/+4 |
| | |||||
* | Refs #30997 -- Removed HttpRequest.is_ajax() usage. | Claude Paroz | 2020-01-27 | 1 | -4/+4 |
| | |||||
* | Fixed #30752 -- Allowed using ExceptionReporter subclasses in error reports. | Pavel Lysak | 2020-01-16 | 1 | -1/+6 |
| | |||||
* | Removed unused ExceptionReporterFilter class. | Carlton Gibson | 2020-01-11 | 1 | -17/+1 |
| | | | | Unused since 8f8c54f70bfa3aa8e311514297f1eeded2c32593. | ||||
* | Fixed #23004 -- Added request.META filtering to SafeExceptionReporterFilter. | Carlton Gibson | 2020-01-10 | 1 | -0/+9 |
| | | | | Co-authored-by: Ryan Castner <castner.rr@gmail.com> | ||||
* | Refs #23004 -- Allowed exception reporter filters to customize settings ↵ | Carlton Gibson | 2020-01-10 | 1 | -49/+44 |
| | | | | | | | | filtering. Thanks to Tim Graham for the original implementation idea. Co-authored-by: Daniel Maxson <dmaxson@ccpgames.com> | ||||
* | Fixed #30405 -- Fixed source code mismatch crash in ExceptionReporter. | Hasan Ramezani | 2019-11-12 | 1 | -4/+6 |
| | |||||
* | Refs #30405 -- Added ExceptionReporter._get_source(). | Hasan Ramezani | 2019-11-12 | 1 | -5/+9 |
| | |||||
* | Fixed #30899 -- Lazily compiled import time regular expressions. | Hasan Ramezani | 2019-10-29 | 1 | -1/+2 |
| | |||||
* | Fixed #29008 -- Fixed crash of 404 debug page when URL path converter raises ↵ | Ngalim Siregar | 2019-08-09 | 1 | -3/+3 |
| | | | | Http404. | ||||
* | Refs #30324 -- Forced utf-8 encoding when loading templates for the ↵ | Nick Pope | 2019-04-05 | 1 | -2/+2 |
| | | | | technical 404 debug and congrats page. | ||||
* | Fixed #30324 -- Forced utf-8 encoding when loading the template for the ↵ | Nick Pope | 2019-04-05 | 1 | -2/+2 |
| | | | | | | | technical 500 debug page. Regression in 50b8493. Related to ea542a9. | ||||
* | Refs #27753 -- Favored force/smart_str() over force/smart_text(). | Aymeric Augustin | 2019-02-06 | 1 | -2/+2 |
| | |||||
* | Fixed #29393 -- Prevented infinite loop in ↵ | Vinay Karanam | 2019-02-02 | 1 | -0/+3 |
| | | | | ExceptionReporter.get_traceback_frames(). | ||||
* | Fixed #30137 -- Replaced OSError aliases with the canonical OSError. | Jon Dufresne | 2019-01-28 | 1 | -1/+1 |
| | | | | Used more specific errors (e.g. FileExistsError) as appropriate. | ||||
* | Refs #29784 -- Switched to https:// links where available. | Jon Dufresne | 2018-09-26 | 1 | -1/+1 |
| | |||||
* | Refs #29654 -- Replaced three dots with ellipsis character in output strings. | Claude Paroz | 2018-08-22 | 1 | -1/+1 |
| | |||||
* | Fixed #28985 -- Removed unneeded None checks before hasattr(). | Дилян Палаузов | 2018-01-03 | 1 | -1/+1 |
| | |||||
* | Fixed #28893 -- Removed unnecessary dict.items() calls. | Tim Graham | 2017-12-06 | 1 | -2/+2 |
| | |||||
* | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | 2017-09-07 | 1 | -3/+6 |
| | | | | This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | ||||
* | Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of ↵ | Tim Graham | 2017-09-05 | 1 | -2/+2 |
| | | | | | | technical 500 debug page. This is a security fix. | ||||
* | Fixed #28485 -- Made ExceptionReporter.get_traceback_frames() include frames ↵ | Martin von Gagern | 2017-08-12 | 1 | -16/+20 |
| | | | | without source code. | ||||
* | Fixed #28457 -- Updated the design of the 'Congrats' page for new Django ↵ | Timothy Allen | 2017-08-07 | 1 | -12/+6 |
| | | | | | | projects. Developed by Timothy Allen and Chad Whitman of The Wharton School with shepherding from Aymeric Augustin and Collin Anderson. | ||||
* | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | 2017-06-28 | 1 | -6/+3 |
| | |||||
* | Fixed #28271 -- Added charset to technical_500_response() AJAX response. | partizan | 2017-06-05 | 1 | -1/+1 |
| | |||||
* | Refs #27795 -- Replaced many force_text() with str() | Claude Paroz | 2017-04-27 | 1 | -2/+2 |
| | | | | Thanks Tim Graham for the review. |