Commit graph

829 commits

Author SHA1 Message Date
Simon Willison
566496c146 Better documentation of --host, closes #574 2019-11-10 19:15:14 -08:00
Simon Willison
18ba0c27b5 Don't suggest array facet if column is only [], closes #610 2019-11-10 19:15:14 -08:00
Simon Willison
1fa1c88aec Only inspect first 100 records for #562 2019-11-10 19:15:14 -08:00
Simon Willison
0dde00e7bb Only suggest array facet for arrays of strings - closes #562 2019-11-10 19:15:14 -08:00
Simon Willison
cd0984af2d Use distinfo.project_name for plugin name if available, closes #606 2019-11-10 19:15:14 -08:00
Simon Willison
66ac40be70 Fixed dumb error 2019-11-10 19:15:14 -08:00
Simon Willison
f081bb818d Release 0.30.1 2019-11-10 19:15:14 -08:00
Simon Willison
76eb6047d4 Persist _where= in hidden fields, closes #604 2019-11-10 19:15:14 -08:00
Simon Willison
48054b358a Update to latest black (#609) 2019-11-10 19:15:14 -08:00
chris48s
ca44cc03e3 Always pop as_format off args dict (#603)
Closes #563. Thanks, @chris48s
2019-11-10 19:15:14 -08:00
Simon Willison
a5d4f166a5 Update news in README 2019-11-10 19:15:14 -08:00
Simon Willison
7cbc51e92e Release 0.30 2019-11-10 19:15:14 -08:00
Simon Willison
32d9e2fbc6 Don't auto-format SQL on page load (#601)
Closes #600
2019-11-10 19:15:14 -08:00
Simon Willison
c387b47ec6 Fix for /foo v.s. /foo-bar issue, closes #597
Pull request #599
2019-11-10 19:15:14 -08:00
Simon Willison
a9f877f7bf Fixed bug returning non-ascii characters in CSV, closes #584 2019-11-10 19:15:14 -08:00
Simon Willison
e5308c1ec2 Use --platform=managed for publish cloudrun, closes #587 2019-11-10 19:15:14 -08:00
Simon Willison
b2d0ca3a1d Add Python versions badge 2019-11-10 19:15:14 -08:00
Tobias Kunze
2bd116234b Display metadata footer on custom SQL queries (#589)
Closes #408 - thanks, @rixx!
2019-11-10 19:15:14 -08:00
Tobias Kunze
2ad1f0d34e Sort databases on homepage by argument order - #591
Closes #585 - thanks, @rixx!
2019-11-10 19:15:14 -08:00
Tobias Kunze
cd1b22f100 Button to format SQL, closes #136
SQL code will be formatted on page load, and can additionally
be formatted by clicking the "Format SQL" button.

Thanks, @rixx!
2019-11-10 19:15:14 -08:00
Simon Willison
e2eff14cf9 Allow EXPLAIN WITH... - closes #583 2019-11-10 19:15:14 -08:00
Simon Willison
7c247be4c9 Added /-/threads debugging page 2019-11-10 19:15:14 -08:00
Simon Willison
855c7ed851 Changelog for 0.29.3 release 2019-11-10 19:15:14 -08:00
Simon Willison
5a43d8e3d1 detect_fts now works with alternative table escaping (#571)
Fixes #570. See also https://github.com/simonw/sqlite-utils/pull/57
2019-11-10 19:15:14 -08:00
Simon Willison
d4fd7bb77b Refactored connection logic to database.connect() 2019-11-10 19:15:14 -08:00
Min ho Kim
5945c0cdd4 Fix numerous typos (#561)
Thanks, @minho42!
2019-11-10 19:15:14 -08:00
Simon Willison
5a8c335e5e Fixed CodeMirror on database page, closes #560 2019-11-10 19:15:14 -08:00
Simon Willison
68cf2e3ee8 Release 0.9.2 2019-11-10 19:15:14 -08:00
Simon Willison
86316eef04 Fix plus test for unicode characters in custom query name, closes #558 2019-11-10 19:15:14 -08:00
Simon Willison
159995d11e Fixed breadcrumbs on custom query page 2019-11-10 19:15:13 -08:00
Simon Willison
4d5004f824 News: Single sign-on against GitHub using ASGI middleware 2019-11-10 19:15:13 -08:00
Simon Willison
51e1363179 Bump to uvicorn 0.8.4 (#559)
https://github.com/encode/uvicorn/commits/0.8.4

Query strings will now be included in log files: https://github.com/encode/uvicorn/pull/384
2019-11-10 19:15:13 -08:00
Simon Willison
bce2da7b6d Updated release notes 2019-11-10 19:15:13 -08:00
Simon Willison
65c10d2c64 Release 0.29.1 2019-11-10 19:15:13 -08:00
Simon Willison
d6ce7379bd Removed unused variable 2019-11-10 19:15:13 -08:00
Abdus
82889507ca Fix static mounts using relative paths and prevent traversal exploits (#554)
Thanks, @abdusco! Closes #555
2019-11-10 19:15:13 -08:00
Abdus
302c1df25d Add support for running datasette as a module (#556)
python -m datasette

Thanks, @abdusco
2019-11-10 19:15:13 -08:00
Simon Willison
66a0548b4c News: Datasette 0.29, datasette-auth-github, datasette-cors 2019-11-10 19:15:13 -08:00
Simon Willison
750c031599 Changelog for 0.29 release 2019-11-10 19:15:13 -08:00
Simon Willison
473c53bf2c --plugin-secret option for datasette publish
Closes #543

Also added new --show-files option to publish now and publish cloudrun - handy for debugging.
2019-11-10 19:15:13 -08:00
Simon Willison
ae0f2ed331 Added datasette-auth-github and datasette-cors plugins to Ecosystem
Closes #548
2019-11-10 19:15:13 -08:00
Simon Willison
12e4661094 Removed facet-by-m2m from docs, refs #550
Will bring this back in #551
2019-11-10 19:15:13 -08:00
Simon Willison
04e7fb6c9a Removed ManyToManyFacet for the moment, closes #550 2019-11-10 19:15:13 -08:00
Simon Willison
a491bd8553 Updated custom facet docs, closes #482 2019-11-10 19:15:13 -08:00
Simon Willison
322872c050 Fix nav display on 500 page, closes #545 2019-11-10 19:15:13 -08:00
Simon Willison
744d046403 white-space: pre-wrap for table SQL, closes #505 2019-11-10 19:15:13 -08:00
Simon Willison
2a5c42f6db min-height on .hd
Now it should be the same size on the homepage as it is on pages with breadcrumbs
2019-11-10 19:15:13 -08:00
Katie McLaughlin
da9be66c7b Split pypi and docker travis tasks (#480)
Thanks @glasnt!
2019-11-10 19:15:13 -08:00
Simon Willison
42d6877784 extra_template_vars plugin hook (#542)
* extra_template_vars plugin hook

Closes #541

* Workaround for cwd bug

Based on https://github.com/pytest-dev/pytest/issues/1235#issuecomment-175295691
2019-11-10 19:15:13 -08:00
Simon Willison
859c79f115 Refactor templates for better top nav customization, refs #540 2019-11-10 19:15:13 -08:00