Commit Graph

189 Commits

Author SHA1 Message Date
mvantellingen
e591b3c97a Small improvement for the profiler.format_fname method to make it work on windows (hopefully). 2011-02-06 23:14:33 +01:00
mvantellingen
cee7783ff8 Refactor the code for collection the function call stats. Display the filename always as relative to the project or relative to a sys.path match 2011-02-06 23:03:11 +01:00
mvantellingen
2769777f33 Only display the toolbar when DEBUG = True 2011-02-06 23:02:08 +01:00
mvantellingen
8ca1410deb Add docstrings 2011-02-06 23:01:51 +01:00
mvantellingen
9e17f76c3e Trigger the Panel.process_view by monkey-patching the Flask.dispatch_request method. Use this for the profiling panel to make it threadsafe 2011-02-06 20:44:15 +01:00
mvantellingen
59c0b19387 Add the profiler panel based on the version of dcramer (https://github.com/dcramer/django-debug-toolbar) 2011-02-06 17:03:39 +01:00
mvantellingen
371b061e40 is_active flag is a per-instance setting 2011-02-06 17:02:18 +01:00
mvantellingen
bcdfbc69ab Don't try to show the panel on content from the debug toolbar itself. 2011-02-06 17:02:03 +01:00
mvantellingen
7eac83ac00 Place the dom_id of the panel on the toolbar li, and add '-content' to the content panel. 2011-02-06 17:01:25 +01:00
mvantellingen
77c31a7320 Add the ability for panels to be activated or de-activated via a client-side cookie. (For the next to implement profiling panel) 2011-02-06 16:01:36 +01:00
mvantellingen
e525b04848 Show all panels again in the example 2011-02-06 16:00:29 +01:00
mvantellingen
dacc8ad09c Update version number and package data 2011-02-05 21:45:47 +01:00
mvantellingen
d68c4b55f1 Change forloop.last to loop.last (jinja2) 2011-02-05 21:44:04 +01:00
mvantellingen
9f6d611332 Update version and remove package_* config 2011-02-05 20:59:24 +01:00
mvantellingen
21e901388b Decode the response data according to the response.charset when inserting the toolbar 2011-02-05 20:59:24 +01:00
mvantellingen
e31184742a Make sure that view_kwargs is not None. 2011-02-05 20:59:23 +01:00
Daniel Haaker
1f6f38bbec Add DEBUG_TB_PANELS setting, so you can change the ordering and add/remove panels 2011-02-04 23:54:46 +01:00
mvantellingen
8ddc7ecbc7 Add blinker as install dependency (used for signals within flask) 2011-02-04 21:56:38 +01:00
mvantellingen
3901379503 Compat with 0.6 (this should be modified to use a module in the future) 2011-02-04 08:53:41 +01:00
mvantellingen
2dacaea6cb Initial readme 2011-02-04 08:53:41 +01:00
Michael van Tellingen
8edc4bf02d Add readme with a simple usage description 2011-02-03 21:50:51 +01:00
Michael van Tellingen
d2957e58b1 Raise version 2011-02-03 21:47:30 +01:00
Michael van Tellingen
d799485472 Fix exception if you don't have pygments installed 2011-02-03 21:46:03 +01:00
Michael van Tellingen
410166196c Add *.pyc to ignorelist 2011-02-03 21:45:46 +01:00
Michael van Tellingen
06efd26c31 Implement the ability to intercept redirects (like in the django debug toolbar) 2011-02-03 21:45:38 +01:00
mvantellingen
b3a9627167 Add simple template panel 2011-02-02 23:42:43 +01:00
mvantellingen
79dc15a4db Modify the flask version retrieval (thanks donri) 2011-02-02 23:07:41 +01:00
mvantellingen
27a432ee8c Add versions panel 2011-02-02 23:06:11 +01:00
mvantellingen
63a4eb022c Update example app 2011-02-02 22:44:32 +01:00
mvantellingen
adea609016 Small fix for if there is no flaskext.sqlalchemy avail 2011-02-02 22:42:37 +01:00
mvantellingen
aae140b764 Add a panel for sql queries executed via flask-sqlalchemy 2011-02-02 22:40:34 +01:00
mvantellingen
1048ec1db8 Add the headers panel 2011-02-02 21:45:56 +01:00
mvantellingen
2a8d3de748 Add requestvars panel 2011-02-02 21:34:47 +01:00
mvantellingen
37ec3afe08 Add the timer panel 2011-02-02 21:02:41 +01:00
mvantellingen
b9623a2c60 Add stub for i18n 2011-02-02 21:02:23 +01:00
mvantellingen
e108126a3b Fix static dir path 2011-02-02 21:02:06 +01:00
mvantellingen
3dac361ed4 Add setup.py script and an example app 2011-02-02 20:01:50 +01:00
mvantellingen
8342799d2e Port the rest of the django-debug-toolbar to flask. Only the logging panel is currently working 2011-02-02 19:03:13 +01:00
mvantellingen
a060d30bb7 Initial structure for the debugtoolbar 2011-02-01 23:36:32 +01:00