Commit Graph

104 Commits

Author SHA1 Message Date
Matt Good
45ce65c058 Merge branch 'mono-fonts' 2012-01-31 11:03:38 -08:00
Matt Good
89fbe2e6b5 Let DEBUG_TB_ENABLED take precedence over app.debug 2012-01-31 11:02:30 -08:00
Matt Good
e5feff5884 Merge pull request #7 from joeshaw/joeshaw-enabled-setting
add DEBUG_TB_ENABLED setting which overrides app.debug check
2012-01-31 10:59:32 -08:00
Matt Good
93008a8e53 Make table bodies use mono-spaced font 2012-01-31 10:52:55 -08:00
Matt Good
8bb829e1e4 Make font reset easier to override 2012-01-31 10:25:17 -08:00
Matt Good
70478ffcc2 Merge pull request #5 from kennethreitz/patch-1
Requiring setuptools is evil :)
2012-01-31 00:50:27 -08:00
Joe Shaw
6f6b1cb47d add DEBUG_TB_ENABLED setting which overrides app.debug check 2012-01-30 23:41:43 -05:00
Kenneth Reitz
1834443246 Requiring setuptools is evil :) 2012-01-30 22:26:37 -05:00
Matt Good
c3c2714ace Merge pull request #3 from kennethreitz/readme
Updated Readme
2012-01-30 17:50:38 -08:00
Kenneth Reitz
884451669c (sp) 2012-01-30 20:48:03 -05:00
Matt Good
0bdc3f7e59 Merge pull request #2 from kennethreitz/logo
Flask Logo
2012-01-30 17:47:45 -08:00
Kenneth Reitz
43b069905d readme fix 2012-01-30 20:46:41 -05:00
Kenneth Reitz
d85ce273af squash all the PNGs 2012-01-30 20:42:00 -05:00
Kenneth Reitz
69d137c2d7 new django flask icon 2012-01-30 20:41:50 -05:00
Kenneth Reitz
7988e5f472 new read me 2012-01-30 20:29:57 -05:00
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