Commit Graph

189 Commits

Author SHA1 Message Date
Matt Good
1c8465cdd9 Minor style update (trailing whitespace and "if len()") 2012-01-04 08:49:25 -08:00
Matt Good
f59705a7e7 Merge commit 'd886f5a606f26d78df457e7041c5666e0e5bbc6d' 2012-01-04 08:42:21 -08:00
Matt Good
84aadad8e4 0.6 release 0.6 2012-01-04 07:50:28 -08:00
Matt Good
4adbbde4a4 Update README example for the new module name 2012-01-03 11:12:22 -08:00
Matt Good
114385af4c Remove hard dependency on simplejson
simplejson is only needed for the SQLAlchemy panel on Python < 2.6
Also, provides a nice error message in the SQLAlchemy panel about
missing dependencies.
2012-01-03 11:07:50 -08:00
Matt Good
3d9faa52af Fix missing log output from development server.
Initialize the logging panel log handler on the first request so that
werkzeug sets up its default logger first.  Werkzeug now only adds its
default log handler if no others are set up yet.  So, when the logging
panel set up its logger first, it suppressed the output from the
development server.
2012-01-03 11:07:10 -08:00
Matt Good
853fd7147f Add missing dependency on Blinker 2012-01-03 10:24:56 -08:00
Matt Good
b0e37e6981 Fix showing session data on Request Vars panel 2012-01-02 13:53:02 -08:00
Matt Good
ea45d9a185 Disable panels that cannot be imported.
Fixes #3
2012-01-02 13:33:25 -08:00
Matt Good
0e5fab9436 Restore calling process_view().
Puts back the monkey-patch of dispatch_request() with fixes for calling
self.foo() instead of app.foo() and uncommenting the process_view()
call.
2012-01-02 13:07:18 -08:00
Michael
8f75863096 Merge pull request #15 from jparise/flask-version
Use flask.__version__ instead of pkg_resources.
2011-12-29 15:42:29 -08:00
Jon Parise
58b8b63a8a Use flask.__version__ instead of pkg_resources.
This is a simpler way of getting the Flask version.
2011-12-29 15:35:54 -08:00
Michael van Tellingen
60a9b4f6b0 Add a notice that the process_view() method is not called 2011-12-29 16:57:13 +01:00
Matt Good
528a7dfc83 Only process html responses
It tried to modify all responses, which added junk to the end of
non-html pages, and would cause errors trying to decode images as utf8.
2011-12-19 15:55:47 -08:00
Matt Good
0f64fdc715 Remove broken monkey-patch for dispatch_request
The code is just copied from Flask.dispatch_request.
There were a few references to "self" that should have been "app"
here, but it's not overriding anything now, so just take it out.
2011-12-19 15:53:53 -08:00
Matt Good
71f57209a8 Fix MANIFEST.in references to old flaskext module 2011-12-16 16:32:53 -08:00
Matt Good
7d637cc489 Fix errors in process_response on static files
Need to use the real request object for the map,
not the context-local wrapper object. The context-local
wrapper is the same object, so it would call
process_response on every request regardless of the
_show_toolbar() result.
2011-12-16 13:53:06 -08:00
Matt Good
6d60a95653 Fix SQLAlchemy panel looking up the engine 2011-12-16 12:02:05 -08:00
Michael van Tellingen
0f06c07222 Update setup file 2011-10-17 21:36:25 +02:00
Michael van Tellingen
1c594b9ba3 Attempt to fix the flask-debugtoolbar:
- Rename the package to flask_debugtoolbar
 - Fix importing of the panels so that the views in the panels are correctly registered in the blueprint


There is still one major problem in the sqlalchemy panel where we are not able to get the SQLAlchemy reference
2011-10-17 21:27:51 +02:00
Dmitry Ishutkin
d886f5a606 add hosts setting
app.config['DEBUG_TB_HOSTS']

Example: app.config['DEBUG_TB_HOSTS'] = ( '127.0.0.1', '::1' )

If the request’s REMOTE_ADDR is not in this list, the toolbar will not
be displayed and the exception handler will not be active. This should
be a tuple. Default: (). Empty list remains backward compatibility. If
DEBUG_TB_HOSTS not specified in app.config, the debug toolbar is shown
for all addresses.
2011-09-30 18:30:56 +08:00
Ross Lawley
a5de4d65de Merge remote branch 'an/develop'
Conflicts:
	setup.py
2011-07-25 11:57:46 +01:00
Daniel Haaker
0a7d10f892 Apply flask-07-upgrade 2011-07-15 12:01:54 +02:00
Daniel Haaker
45e6a81014 Added missing 'flaskext.debugtoolbar.panels' package to setup.py (thanks jorgebastida) 2011-07-15 11:29:43 +02:00
Ross Lawley
8564d3860f Merge remote branch 'upstream/master' 2011-05-17 10:23:02 +01:00
Michael
baecf852dd Merge pull request #8 from sbook/nosqlalchemy
Remove SQLAlchemy as a dependency of flask-debugtoolbar.
2011-05-12 05:05:49 -07:00
Jorge Bastida
1b6c049e1e Fix typo in setup.py 2011-05-12 12:55:11 +01:00
Jorge Bastida
46d87a0bbd Added missing 'flaskext.debugtoolbar.panels' package to setup.py 2011-05-12 12:53:40 +01:00
Jorge Bastida
7dda475440 Fix the sqlalchemy panel template to use the new namespaced urls. 2011-05-12 11:50:19 +01:00
Jorge Bastida
caedff68ec Remove SQLAlchemy as a dependency of flask-debugtoolbar.
Fixes issue #3
2011-05-12 11:36:49 +01:00
mvantellingen
fb11199f07 update version to 5.1dev 2011-03-14 13:29:25 +01:00
mvantellingen
b0b70d2197 Import the json module from flask (which tries to find the best available one) 2011-03-14 13:28:49 +01:00
mvantellingen
fbb99e985f Set the correct content-length for the intercept redirect page. 2011-03-14 13:28:49 +01:00
Michael van Tellingen
f3ed36d1d0 Hopefully fix the packaging now 2011-02-24 21:56:18 +01:00
Michael van Tellingen
8c7692c385 Add sqlalchemy headers for the result sets 2011-02-24 21:55:52 +01:00
Michael van Tellingen
2105b2ae0c Update version 2011-02-24 21:13:34 +01:00
Michael van Tellingen
469ed54369 Make the example work again 2011-02-24 21:12:07 +01:00
Michael van Tellingen
0f981a3d9a Add the sqlalchemy 'select' subpanel 2011-02-24 21:11:57 +01:00
mvantellingen
47376ecf71 Check if SECRET_KEY is set 2011-02-13 23:02:24 +01:00
mvantellingen
0058a48ee2 First stab implementing the explain sql query. Based largely on the django debugtoolbar version 2011-02-13 22:48:08 +01:00
mvantellingen
9d060f95cd Move format_sql to utils module 2011-02-13 22:46:48 +01:00
mvantellingen
b1a9f626b8 Fix bug in timer panel display 2011-02-13 21:23:00 +01:00
mvantellingen
c25819228b Turn on autoescape in jinja 2011-02-13 21:22:50 +01:00
mvantellingen
7cb90a4207 Don't use signals to bind the toolbar instead use the app.before_request and app.after_request bindings 2011-02-13 21:22:36 +01:00
mvantellingen
52ee7dcef9 Handle pstats exceptions on the profiler display 2011-02-13 21:21:25 +01:00
mvantellingen
382c9b17fb the format_fname function is moved to utils.py 2011-02-13 21:21:01 +01:00
mvantellingen
059e835b11 Use the util.format_fname function to format the logging location 2011-02-13 21:20:20 +01:00
mvantellingen
5eb0ddbc4e Use the util.format_fname function to format the context location 2011-02-13 21:20:00 +01:00
mvantellingen
d7b98f9e77 Add a format_fname function which translates a absolute filename to a filename relative to the sys.path or relative to the project root 2011-02-13 21:19:15 +01:00
mvantellingen
d7056a63ea Update version to 0.4.6dev 2011-02-06 23:14:56 +01:00