aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels
AgeCommit message (Collapse)Author
2013-12-15Properly disable instrumentation for the template panel.Aymeric Augustin
It's important to disconnect the signal at the end of a request because the toolbar now stores panels for past request. Fix #491 (presumably).
2013-12-09Storing the original on module level.Jannis Leidel
2013-12-09Use enable_instrumentation/disable_instrumentation instead of module level ↵Jannis Leidel
monkey patching.
2013-12-09Some imports.Jannis Leidel
2013-12-09Use collections.OrderedDict if available.Jannis Leidel
2013-12-09Another pass over the staticfiles panel.Jannis Leidel
- adds some docstrings - adds some basic tests - adds the staticfiles panel to the default list of panels - fixed a pluralization bug in the template - refactored some things into own methods for easier testing
2013-12-08Actual show the number of used static files in panel title.Jannis Leidel
2013-12-08Added staticfiles panel class.Jannis Leidel
2013-12-01Review translated strings.Aymeric Augustin
- Include trailing colons inside translated strings because some languages (eg. French) need a space before the colon. - Normalize capitalization (title-style didn't seem warranted and looked weird in some cases). - Normalize quotes (not very useful, but we had a random mixture of single and double quotes). - Remove msgstr from the English po file because they're identical to msgid by definition.
2013-11-30Extract output of context processors instead of recreating it.Aymeric Augustin
Also include context processors explicitly passed to RequestContext. Fix #353.
2013-11-29Also record SQL from callproc.Aymeric Augustin
I'm not sure anyone is using that, but it's in the DB API. Fix #293.
2013-11-29Record SQL from executemany.Aymeric Augustin
Fix #293.
2013-11-29Stop sharing unsafely a context dict across threads.Aymeric Augustin
Panels that need to share data with other panels shall do it through the record_stats / get_stats API. Statistics are automatically pushed to the template context. Fix #450.
2013-11-29Remove support for logbook.Aymeric Augustin
If you were relying on this feature, it should be quite easy to implement it in a third-party panel, and we'll reference it in the documentation. Fix #478.
2013-11-29Move support for line_profiler to a 3rd party panel.Aymeric Augustin
Many thanks to Dave McLain. Fix #477.
2013-11-25Support non-str keys in request.META.Aymeric Augustin
Fix #482.
2013-11-24Degrade docs because I can't put a flake8 ignore :'(Aymeric Augustin
2013-11-24Update all panels to follow the public API.Aymeric Augustin
2013-11-24Clean up and document the Panel API.Aymeric Augustin
2013-11-24Remove unused import.tAymeric Augustin
2013-11-24Removed unneeded Panel.slug attribute.Aymeric Augustin
2013-11-24Rename all panels consistently.Aymeric Augustin
Enforce absolute imports to avoid clashing with built-in package names. Thanks Jannis for his feedback.
2013-11-22connection_created is available since Django 1.1.Aymeric Augustin
2013-11-22Add tests for redirects panel.Aymeric Augustin
Also simplify the implementation.
2013-11-22Fix regression introduced in 87a7375.Aymeric Augustin
Fix #466.
2013-11-16Fix instrumentation of multiple database connections.Aymeric Augustin
Python requires a function call to create a new scope; lambdas don't create closures! Fix #457.
2013-11-16Panel.enabled is a property since 71a2c123.Aymeric Augustin
2013-11-16Flat is better than nested.Aymeric Augustin
2013-11-16Avoid providing the same information through multiple paths.Aymeric Augustin
2013-11-16Clean up DebugToolbar class, especially panels handling.Aymeric Augustin
2013-11-15Continue moving panel-specific code within panels.Aymeric Augustin
Structure the SQL and template panels as packages as they're growing.
2013-11-15Remove stacktrace scrubbing superseded by HIDDEN_STACKTRACE_MODULES.Aymeric Augustin
2013-11-15Move panel-specific views in panel modules.Aymeric Augustin
2013-11-15Implement redirects interception as a panel.Aymeric Augustin
Fix #122.
2013-11-15Make panels behave more like Django middleware.Aymeric Augustin
2013-11-12Make it possible for panels to provide URLs and views.Aymeric Augustin
Fix #448.
2013-11-12Move the logic to load panels inside the DebugToolbar class.Aymeric Augustin
This has the additional advantage of eliminating a side-effect that happened at import time unnecessarily. It justified refactoring the way we handle settings and defaults.
2013-11-10Be resilient if not all middleware run.Aymeric Augustin
Fix #129.
2013-11-10Made enable/disable_instrumentation idempotent.Aymeric Augustin
2013-11-10template.name may be something other than a string.Aymeric Augustin
Fix #389.
2013-11-10Disable instrumentation for disabled panels.Aymeric Augustin
This eliminates the performance overhead when a panel is disabled.
2013-11-10Remove Panel.disabled, always use Panel.enabled.Aymeric Augustin
2013-11-10Pass through attributes lookups in CacheStatTracker.Aymeric Augustin
Fix #439.
2013-11-10Avoid monkey-patching when it isn't necessary.Aymeric Augustin
2013-11-10Fix PEP 8 violations.Aymeric Augustin
2013-11-10Load the content of panels dynamically.Aymeric Augustin
This should drastically reduce the overhead of the browser toolbar when a page has a complex template structure or many SQL queries. This change is backwards-incompatible for third-party panels because it changes the signature of __init__. The JavaScript could probably be improved; I'm outside my comfort zone.
2013-11-10Avoid some implicit global lookups.Aymeric Augustin
They made it impossible to preserve panel data after the end of a request.
2013-11-09Remove unused method in panel API.Aymeric Augustin
2013-11-01Fix support for non-ASCII keys in sessions.Aymeric Augustin
2013-11-01Sort items in request vars panel.Aymeric Augustin
Fix #340.