Simon Willison
8c642f04e0
Render templates using Jinja async mode
...
Closes #628
2019-11-14 15:14:22 -08:00
Simon Willison
f524510230
Fix "publish heroku" + upgrade to use Python 3.8.0
...
Closes #633 . Closes #632 .
2019-11-13 08:42:47 -08:00
Stanley Zheng
848dec4deb
Fix for datasette publish with just --source_url ( #631 )
...
Closes #572
2019-11-12 20:28:42 -08:00
Simon Willison
d977fbadf7
datasette publish uses python:3.8 base Docker image, closes #629
2019-11-11 22:03:09 -08:00
Simon Willison
5bc2570121
Include uvicorn version in /-/versions, refs #622
2019-11-11 20:45:12 -08:00
Simon Willison
1c063fae9d
Test against Python 3.8 in Travis ( #623 )
...
* Test against Python 3.8 in Travis
* Avoid current_task warnings in Python 3.8
2019-11-10 19:45:34 -08:00
Simon Willison
28c4a6db5b
CREATE INDEX statements on table page, closes #618
2019-11-09 17:29:36 -08:00
Simon Willison
83fc5165ac
Improved UI for publish cloudrun, closes #608
2019-11-07 18:48:39 -08:00
Simon Willison
f9c146b893
Removed unused special_args_lists variable
2019-11-06 16:55:44 -08:00
Simon Willison
c30f07c58e
Removed _group_count=col feature, closes #504
2019-11-05 21:12:55 -08:00
Tobias Kunze
931bfc6661
Handle spaces in DB names ( #590 )
...
Closes #503 - thanks, @rixx
2019-11-04 15:16:30 -08:00
Simon Willison
52fa79c607
Use select colnames, not select * for table view - refs #615
2019-11-04 15:03:48 -08:00
Simon Willison
9db22cdf18
pk__notin= filter, closes #614
2019-11-03 20:11:55 -08:00
Tobias Kunze
ee330222f4
Offer to format readonly SQL ( #602 )
...
Following discussion in #601 , this PR adds a "Format SQL" button to
read-only SQL (if the SQL actually differs from the formatting result).
It also removes a console error on readonly SQL queries.
Thanks, @rixx!
2019-11-03 18:39:55 -08:00
Simon Willison
2bf7ce5f51
Fix CSV export for nullable foreign keys, closes #612
2019-11-02 16:12:46 -07:00
Simon Willison
14da70525b
Don't show 'None' as label for nullable foreign key, closes #406
2019-11-02 15:29:40 -07:00
Simon Willison
ed57e4f990
Plugin static assets support both hyphens and underscores in names
...
Closes #611
2019-11-01 15:15:10 -07:00
Simon Willison
ffae2f0ecd
Better documentation of --host, closes #574
2019-11-01 14:57:49 -07:00
Simon Willison
7152e76eda
Don't suggest array facet if column is only [], closes #610
2019-11-01 14:45:59 -07:00
Simon Willison
ba5414f16b
Only inspect first 100 records for #562
2019-11-01 12:38:15 -07:00
Simon Willison
50287e7c6b
Only suggest array facet for arrays of strings - closes #562
2019-11-01 12:37:46 -07:00
Simon Willison
937828f946
Use distinfo.project_name for plugin name if available, closes #606
2019-10-31 22:39:59 -07:00
Simon Willison
3ca290e0db
Fixed dumb error
2019-10-30 12:00:21 -07:00
Simon Willison
e2c390500e
Persist _where= in hidden fields, closes #604
2019-10-30 11:49:26 -07:00
Simon Willison
5dd4d2b2d3
Update to latest black ( #609 )
2019-10-30 11:49:01 -07:00
chris48s
f4c0830529
Always pop as_format off args dict ( #603 )
...
Closes #563 . Thanks, @chris48s
2019-10-20 19:03:08 -07:00
Simon Willison
e877b1cb12
Don't auto-format SQL on page load ( #601 )
...
Closes #600
2019-10-18 16:56:44 -07:00
Simon Willison
b647b5efc2
Fix for /foo v.s. /foo-bar issue, closes #597
...
Pull request #599
2019-10-18 15:51:07 -07:00
Simon Willison
b6ad1fdc70
Fixed bug returning non-ascii characters in CSV, closes #584
2019-10-17 22:23:01 -07:00
Simon Willison
3e864b1625
Use --platform=managed for publish cloudrun, closes #587
2019-10-17 14:51:45 -07:00
Tobias Kunze
12cec411ca
Display metadata footer on custom SQL queries ( #589 )
...
Closes #408 - thanks, @rixx!
2019-10-13 20:53:21 -07:00
Tobias Kunze
908fc3999e
Sort databases on homepage by argument order - #591
...
Closes #585 - thanks, @rixx!
2019-10-13 20:52:33 -07:00
Tobias Kunze
af2e6a5cf1
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-10-13 20:46:12 -07:00
Simon Willison
fffd69ec03
Allow EXPLAIN WITH... - closes #583
2019-10-06 10:23:58 -07:00
Simon Willison
a314b76186
Added /-/threads debugging page
2019-10-02 08:35:25 -07:00
Simon Willison
2dc5c8dc25
detect_fts now works with alternative table escaping ( #571 )
...
Fixes #570 . See also https://github.com/simonw/sqlite-utils/pull/57
2019-09-02 17:32:27 -07:00
Simon Willison
f04deebec4
Refactored connection logic to database.connect()
2019-07-26 13:22:57 +03:00
Min ho Kim
27cb29365c
Fix numerous typos ( #561 )
...
Thanks, @minho42!
2019-07-26 13:25:44 +03:00
Simon Willison
a9453c4dda
Fixed CodeMirror on database page, closes #560
2019-07-13 20:38:40 -07:00
Simon Willison
90d4f497f9
Fix plus test for unicode characters in custom query name, closes #558
2019-07-13 19:49:24 -07:00
Simon Willison
5ed450a332
Fixed breadcrumbs on custom query page
2019-07-13 19:05:58 -07:00
Simon Willison
cc27857c72
Removed unused variable
2019-07-11 09:14:24 -07:00
Abdus
74ecf8a7cc
Fix static mounts using relative paths and prevent traversal exploits ( #554 )
...
Thanks, @abdusco! Closes #555
2019-07-11 09:13:19 -07:00
Abdus
9ca860e54f
Add support for running datasette as a module ( #556 )
...
python -m datasette
Thanks, @abdusco
2019-07-11 09:07:44 -07:00
Simon Willison
973f8f139d
--plugin-secret option for datasette publish
...
Closes #543
Also added new --show-files option to publish now and publish cloudrun - handy for debugging.
2019-07-07 19:06:31 -07:00
Simon Willison
c5542abba5
Removed ManyToManyFacet for the moment, closes #550
2019-07-07 16:21:11 -07:00
Simon Willison
912ce848b9
Fix nav display on 500 page, closes #545
2019-07-07 13:26:45 -07:00
Simon Willison
787dd427de
white-space: pre-wrap for table SQL, closes #505
2019-07-07 13:26:38 -07:00
Simon Willison
f80ff9b07b
min-height on .hd
...
Now it should be the same size on the homepage as it is on pages with breadcrumbs
2019-07-07 13:16:48 -07:00
Simon Willison
fcfcae21e6
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-07-05 17:05:56 -07:00