Jeff Widman
02064c76ed
Release 0.11.0
0.11.0
2020-02-18 01:11:19 -08:00
Jeff Widman
d713732807
Cleanup tox/travis
...
* Switch to python 3.8 in Travis. I tried to add 3.8 while keeping 3.7
and 3.6, but ran into issues with Travis config, so instead just bumped
straight to 3.8. Long term I'd like to explore moving to Azure
Pipelines, but don't have the time to figure that out just yet.
* `flake8` was renamed to `pycodestyle`
* `py.test` was deprecated in favor of `pytest`
2020-02-18 00:42:39 -08:00
Jeff Widman
b92391d177
Switch to Flask's native CLI
...
Drop `flask_script` in favor of Flask's native CLI:
* https://flask.palletsprojects.com/en/master/cli/
This also requires changing the tests so that `pytest` mocks the env var
`FLASK_ENV` so that the test app starts in development mode. Unlike
normal test apps, we _do_ want development/debug mode, in addition to
testing mode.
2020-02-17 23:57:04 -08:00
Florian
4964ae261f
RoutesList: Do not show debugtoolbar routes
2020-02-17 22:30:10 -08:00
Pierre GIRAUD
ad847299c4
Add doc for SQL syntax highlighting
2020-02-17 21:57:01 -08:00
Jeff Widman
7ce099c3d0
Remove deprecated request.is_xhr
...
This was removed from `werkzeug` `1.0.0`.
Details:
* https://github.com/pallets/werkzeug/issues/1077
* https://github.com/pallets/werkzeug/issues/1714 (search for `is_xhr`)
Fix #144 .
2020-02-17 21:50:56 -08:00
Jeff Widman
9c7db48362
Explicitly disable SQLALCHEMY_TRACK_MODIFICATIONS
...
This silences deprecation warnings.
Background: https://stackoverflow.com/a/33790196/770425
Note: This code can be removed once `flask_sqlalchemy` 3.0 ships, or any
release that includes
https://github.com/pallets/flask-sqlalchemy/pull/727 .
2020-02-17 21:36:01 -08:00
Tim Gates
88f15cba35
Fix simple typo: exapanded -> expanded
...
Closes #141
2020-02-06 14:03:36 -08:00
Matt Good
d852042ccb
Merge pull request #119 from davidism/json-available
...
don't use flask.json_available
2018-02-07 09:52:11 -08:00
David Lord
5bd2e8a423
flask.json_available is a no-op
...
it is removed in Flask 1.0
2018-02-07 07:13:21 -08:00
Jeff Widman
c27256c00a
Bump dev version
2017-02-12 03:33:05 -08:00
Jeff Widman
010206298e
Release 0.10.1
0.10.1
2017-02-12 03:04:07 -08:00
Jeff Widman
678ec31229
Revert "Change docs to pull version from setup.py"
...
This reverts commit 45b70c952f .
This commit broke the readthedocs build because RTD is building the docs
without running setup.py. So there is no package metadata.
2017-02-12 02:48:44 -08:00
Jeff Widman
23d52703fd
Make copyright string track current year
2017-02-12 02:33:47 -08:00
Jeff Widman
45b70c952f
Change docs to pull version from setup.py
2017-02-12 02:32:47 -08:00
Jeff Widman
9f2c353e86
Trivial imports cleanup
2017-02-12 02:31:26 -08:00
Jeff Widman
cfe142b285
Point Flask-SQLAlchemy docs at ‘latest’
2017-02-12 00:21:20 -08:00
Jeff Widman
19a25fd895
Add universal wheel support
...
Let’s roll!
2017-02-10 01:09:59 -08:00
Jeff Widman
8dcb97c05a
Travis should use python 3.6 interpreter
2017-02-10 00:50:38 -08:00
Jeff Widman
b49af327cf
Use containers for travis tests
2017-02-10 00:44:27 -08:00
Jeff Widman
38ab3a49c1
Test using modern python
2017-02-10 00:42:00 -08:00
Jeff Widman
9f901e34ae
Remove deprecated tox arg —use-mirrors
2017-02-10 00:36:19 -08:00
Jeff Widman
f050a6b0de
Use latest for flask-sqlalchemy docs rather than pinning version
2017-02-10 00:28:45 -08:00
Jeff Widman
e33f3e1c85
Update RTD links w/https & .io
2017-02-09 23:54:16 -08:00
Peter M. Landwehr
02ff95acde
Add LICENSE file to MANIFEST.in / source bundle ( #102 )
2016-09-18 23:13:08 -07:00
Iuri de Silvio
2436239964
Additional cleanup of deprecated flask.ext.* magic imports. ( #97 )
2016-06-29 16:52:23 -07:00
Michael Lenzen
18a0030354
Fix deprecated import from flask.ext.sqlalchemy ( #94 )
2016-06-29 13:33:02 -07:00
Matt Good
ee726eece2
Better setup.py description
0.10.0
2015-04-17 17:53:40 -07:00
Matt Good
1cd9ba69d1
Update CHANGES for 0.10
2015-04-17 17:49:30 -07:00
Matt Good
30a1cd399a
Add docs note on Versions panel displaying other packages
2015-04-17 17:49:30 -07:00
Matt Good
0524e7f3e9
Update "Thanks" section of docs
2015-04-17 17:49:30 -07:00
Matt Good
14cd912df7
Fix style errors and add to automated checks
...
Adds a "stylecheck" to the Tox build config to automatically run flake8 checks.
Fixes existing flake8 issues.
2015-04-17 14:23:58 -07:00
Matt Good
f087311f7c
Add missing sqlalchemy_error template
...
Missed adding this file in the last commit.
2015-04-17 14:19:41 -07:00
Matt Good
61d1fc2678
Display steps needed to display SQL queries
...
In the SQLAlchemy panel, detect if Flask-SQLAlchemy is not set up to record
queries for the current app, and display the necessary steps to set it up.
The following steps will be detected and displayed if needed:
* install Flask-SQLAlchemy package
* add the extension to this app
* set SQLALCHEMY_RECORD_QUERIES if DEBUG is False
2015-04-17 13:51:10 -07:00
Matt Good
6b2566c01f
Enable toolbar on HTML5 pages without </body> tag
...
Includes the toolbar on HTML5 pages without an explicit </body> tag by checking
for the HTML5 `<!doctype html>`.
Fixes #79
2015-04-17 12:56:10 -07:00
Matt Good
31ea3bce41
Merge branch 'body-warning'
2015-04-16 14:54:32 -07:00
Matt Good
2d60ea6c8d
Fix case-insensitive HTML insertion
...
Keeps the case-insensitive search for "</body>" and removes extra scan for the
tag by trying to insert the toolbar, and warning if unsuccessful.
2015-04-16 14:47:46 -07:00
Matt Good
56994a522d
Document using init_app() for the factor pattern
2015-04-16 14:24:24 -07:00
Matt Good
aa90a9d052
Remove restyling table rows before sorting
...
It doesn't seem to be necessary to remove the "even / odd" styles before
sorting, since they are explicitly toggled to the right state after sorting. It
should be slightly more responsive to skip this step when sorting large tables.
2015-04-15 12:47:14 -07:00
Matt Good
32e0aa8ca3
Ensure profiler "Calls" are sorted numerically
...
JS Tablesorter's detection of the data type is occasionally confused when the
profiler calls show ratios like "94/57" for total calls to primitive calls.
This change enables parsing "data" attributes on the table headers to pass as
options to Tablesorter. This way we can explicitly specify to use the "digit"
sorter which works the way we want.
Fixes #62
2015-04-15 12:39:59 -07:00
Matt Good
e052b005ec
Merge branch 'package-versions'
2015-04-14 19:21:45 -07:00
Matt Good
2f18ac90f9
Convert versions template to 2 spaces for indentation
2015-04-14 19:20:29 -07:00
Matt Good
612f93c129
Show relative paths for package paths
...
Since most of the paths are the same, only display the path relative to the
main Python library path.
2015-04-14 19:18:45 -07:00
Matt Good
c0826c9a31
Add detailed docs on the built-in panels
2015-04-14 17:22:07 -07:00
Matt Good
7e2de8f588
Merge pull request #48 from yoloseem/sqlparse
...
Suggestion: Use sqlparse.format() for better sql indentation
2015-04-14 15:44:00 -07:00
Matt Good
5aaa7a6634
Merge branch 'routes'
2015-04-14 15:28:16 -07:00
Matt Good
f7feecc751
Include the "static" route in the list
...
While this is enabled for most apps, it's optional and might still be useful to display.
2015-04-14 15:23:04 -07:00
Matt Good
cfe1624730
Simplify route methods display
...
Show just the names as text, without the Python list syntax formatting.
2015-04-14 14:58:31 -07:00
Matt Good
95d7eb977f
Format route_list template with spaces
2015-04-14 14:57:47 -07:00
Matt Good
794380fc03
Merge pull request #81 from EricWorkman/master
...
Add tablesorter to slqlalchemy panel
2015-04-14 14:46:40 -07:00