aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2009-04-02Adding download URL to setup script.0.7.0Rob Hudson
2009-04-02Remove cache panel mentions in README until working.Rob Hudson
2009-04-02Bumping version number preparing for release.Rob Hudson
2009-04-02Disable cache panel in default list of panels to load since it's slightly ↵Rob Hudson
broken at the moment.
2009-04-02Moving media so they are "namespaced" like templates.Rob Hudson
2009-03-26New configuration option to provide your own 'show_toolbar' method.Rob Hudson
This change allows a custom method to be used in place of the default 'show_toolbar' method on whether the toolbar should be displayed.
2009-03-26Minor cleanup of imports and long lines.Rob Hudson
2009-03-22Add fix so jQuery doesn't conflict with other Javascript libraries.Rob Hudson
I think I finally got this one working. The saving of the temporary variable has to happen *before* jQuery loads, or else jQuery has already stomped on the '$' variable that another library might have used. This patch moves the temporary saving of this variable the HTML template so it tucks it aside before jQuery loads and puts it back after we're done. Tested and works with jQuery, mootools, and prototype.
2009-03-22Close the panel if the toolbar is hiding.Rob Hudson
2009-03-21Adding stack traces to SQL panel to see where the calls are coming from.Rob Hudson
Merge branch 'sql_stacktrace' * sql_stacktrace: Tuple unpacking of stacktrace variables for niceness. Add preliminary support for stacktraces to see where SQL queries are coming from.
2009-03-21jQuery 1.3 cleanup.Rob Hudson
* jQuery events changed slightly which caused the click event on '#djDebugPanelList li a' to fire when the hide link was clicked. The hide link has no class attribute and an error was occurring. This checks for the lack of a class attribute and returns false immediately if it doesn't exist. The other event should catch normally and hide the toolbar. * Updating all click methods to return false. * Close the opened panel when hide is clicked.
2009-03-21Reverting commit 2a839fd, "Restrict the debug toolbar to a single row of ↵Rob Hudson
panels." There were some issues with this commit that need to be resolved before it's added back in.
2009-03-21fixed bug when the string </body> matches more than once in the htmlLoic Bistuer
Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-03-21Making CSS classes 'odd' and 'even' more specific.Rob Hudson
2009-03-21Restrict the debug toolbar to a single row of panels.Malcolm Tredinnick
Any panels that would cause the toolbar to wrap to a new line are put into a new final panel called "more..." and are accessible via a vertical list under that panel. Slight tweaks were made to the original to match a previous commit's Javascript style. Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-03-21Tidied up SQL formatting in SQL panel.Malcolm Tredinnick
Added formatting of "GROUP BY" and "HAVING", which now show up in trunk queries and could have shown up previously if manually patched into the QuerySet.query instance. Also indent joined tables a bit more underneath the "FROM" statement: they are sub-statements of "FROM". Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-03-21Fixed "FROM" formatting in SQL panel layout.Malcolm Tredinnick
We always start a new line for "FROM" now. Previous code was assuming MySQL quoting of identifiers (MySQL is a bit non-standard in using backquotes) and was assuming the last thing before the FROM would be a quoted identifier, which wasn't always true, particularly when extra() is used on querysets. Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-03-21Make text alignment in panels not inherit from surrounding page.Malcolm Tredinnick
If the debug toolbar was used in a page with, e.g., YUI grids, it would inherit a "text-align:center" styling for all text. We now force the main structures to be left-aligned. Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-03-21Patch from kmike84 to fix conflict if project uses mootools.Rob Hudson
2009-01-23Tuple unpacking of stacktrace variables for niceness.Rob Hudson
2009-01-23Add preliminary support for stacktraces to see where SQL queries are coming ↵Rob Hudson
from. I'm wanting to test this a bit more before I merge it in fully. Feedback welcome.
2009-01-23Make pre tags on odd table rows match row background color in CSS.Rob Hudson
2009-01-23Fix triggering an extra SQL query via the auth context processor.Rob Hudson
Fixed by moving the template panel's context_processor introspection to the content method so this happens at the process_response time instead of at process_request time. Since context processors _were_ happening at the process_response end, it was triggering the query `user.get_and_delete_messages()` which was also getting triggered separately if used in templates (i.e. the admin templates) resulting in duplicate queries showing up in the toolbar.
2009-01-17Regenerate the CSS and JS minified files, removing minified cookie file.Rob Hudson
2009-01-17Adjust Makefile to concatenate to jquery.cookie.js onto toolbar.min.js.Rob Hudson
2009-01-17added missing jquery cookie plugin filesReto Aebersold
Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-01-17Minor stylistic changes to CSS and Javascript file after merge.Rob Hudson
2009-01-17Fixing AJAX calls to detailed SQL views.Reto Aebersold
Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-01-17Adding ability to show/hide toolbar, using jquery.cookie.js for statefulness.Reto Aebersold
Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-01-15Fix typo/grammar in README ("the the")dAniel hAhler
Signed-off-by: Rob Hudson <rob@tastybrew.com>
2009-01-15Load SQLDebugPanel before TemplateDebugPanel to get the right number of ↵Reto Aebersold
queries if a model __unicode__() function make some additional queries (i.e. for a related model). Signed-off-by: Rob Hudson <rob@tastybrew.com>
2008-12-22adding new AUTHORS due to some recent code mergesRob Hudson
2008-12-20Merge branch 'master'; commit 'freakboy3742/master'Rob Hudson
2008-12-17Fixes #19 -- Modified the middleware to only install the debug ROOT_URLCONF ↵Russell Keith-Magee
if the debug toolbar is actually displayed.
2008-12-12Fine tuning setup.py for Pypi release.Rob Hudson
2008-12-12Adding version info to module.Rob Hudson
2008-12-12README update to point to issues list on Google code.Rob Hudson
2008-12-11Win32 systems don't have the resource module. This patch codes around it so ↵Rob Hudson
only the basic timings are shown for those that don't have the resource module, and finer grained timings are shown for those that do.
2008-12-10Some tweaks and changes to the setup.py file.Rob Hudson
2008-12-09Merge branch 'master'; commit 'danfairs/master'Rob Hudson
2008-12-09Minor cleanup and template change to previous commit.Rob Hudson
2008-12-09Added more of the rusage stats in a drop-down panelMartin Maney
(some items were commented out after I was reminded that not all of the original BSD items are supported under Linux)
2008-12-09Added fine-grained CPU usage to timerMartin Maney
2008-12-09Fix the number of queries shown in the title, which was overreporting by ↵Adam Gomaa
self._offset (sometimes 0).
2008-12-09Only show the SQL profile if we're using a MySQL database backend.Rob Hudson
2008-12-09Django seems to only produce LEFT OUTER JOINs, so search for that.Rob Hudson
2008-12-09Added missing AUTHORS file to manifestDan Fairs
2008-12-09Add manifestDan Fairs
2008-12-09Initial setup.cfg and setup.pyDan Fairs
2008-10-07Fix inconsistent SQL timings. All SQL timings are milliseconds now.Rob Hudson