Simon Willison
8adfc9db7f
Tweak test order to get package tests to pass
2020-01-29 14:38:13 -08:00
Simon Willison
b43b3c6225
Documentation for datasette package --port
2020-01-29 11:49:36 -08:00
Simon Willison
07fee41598
-p argument for datasette package, plus tests - refs #661
2020-01-29 11:47:04 -08:00
Simon Willison
3c861f363d
_search= queries now correctly escaped, fixes #651
...
Queries with reserved words or characters according to the SQLite
FTS5 query language could cause errors.
Queries are now escaped like so:
dog cat => "dog" "cat"
2019-12-29 18:48:30 +00:00
Simon Willison
59e7014c8a
Release 0.33
2019-12-22 16:27:04 +00:00
Simon Willison
dc98b0f41d
Link to JSK Medium post from news
2019-12-22 16:16:58 +00:00
Simon Willison
d54318fc7f
Added template_debug setting, closes #654
2019-12-22 16:04:45 +00:00
Simon Willison
ceef5ce684
Documentation for --port=0
2019-12-22 15:42:30 +00:00
Simon Willison
85c19c4037
Apply black
2019-12-22 15:34:20 +00:00
Simon Willison
9c3f0b73de
Bump to uvicorn 0.11
2019-12-22 15:33:04 +00:00
Simon Willison
16665c9ee6
Better handling of corrupted database files
2019-12-22 15:31:40 +00:00
Simon Willison
d6b6c9171f
Include asyncio task information in /-/threads debug page
2019-12-04 22:47:17 -08:00
Simon Willison
2039e78e58
Added Niche Museums to News
2019-12-02 22:53:59 -08:00
Simon Willison
a562f29655
Examples of things you can do with plugins
2019-11-27 11:19:11 -08:00
Simon Willison
f9d0ce4233
Added datasette-haversine to plugins list
2019-11-27 06:04:32 -08:00
Simon Willison
df2879ee2a
Better documentation for --static, closes #641
...
https://datasette.readthedocs.io/en/stable/custom_templates.html#serving-static-files
2019-11-25 18:31:42 -08:00
Simon Willison
aca41618f8
index view is also important for plugin hooks
2019-11-25 09:04:39 -08:00
Simon Willison
d3e1c3017e
Display 0 results, closes #637
2019-11-22 22:07:01 -08:00
Simon Willison
fd137da7f8
Suggest column facet only if at least one count > 1
...
Fixes #638
2019-11-21 16:56:55 -08:00
Simon Willison
c16be14517
How to upgrade using Docker
2019-11-20 10:02:07 -08:00
Simon Willison
440a70428c
Include rowid in filter select, closes #636
2019-11-19 15:01:10 -08:00
Simon Willison
a9909c29cc
Move .execute() from Datasette to Database
...
Refs #569 - I split this change out from #579
2019-11-15 14:52:03 -08:00
Simon Willison
8fc9a5d877
Datasette 0.32 and datasette-template-sql in news
2019-11-14 15:46:37 -08:00
Simon Willison
a95bedb9c4
Release notes for 0.32
2019-11-14 15:20:21 -08:00
Simon Willison
8c642f04e0
Render templates using Jinja async mode
...
Closes #628
2019-11-14 15:14:22 -08:00
Simon Willison
b51f258d00
Release notes for 0.31.2
2019-11-13 08:48:36 -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
bbd00e903c
Badge linking to datasette on hub.docker.com
2019-11-12 18:38:13 -08:00
Simon Willison
a22c7761b6
Fixed typo in release notes
2019-11-12 18:18:39 -08:00
Simon Willison
16265f6a1a
Release notes for 0.31.1
2019-11-12 18:18:04 -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
f554be39fc
ReST fix
2019-11-11 22:00:13 -08:00
Simon Willison
1c518680e9
Final steps: build stable branch of Read The Docs
2019-11-11 21:57:48 -08:00
Simon Willison
7f89928062
Removed code that conditionally installs black
...
Since we no longer support Python 3.5 we don't need this any more.
2019-11-11 21:33:51 -08:00
Simon Willison
c633c035dc
Datasette 0.31 in news section
2019-11-11 21:26:56 -08:00
Simon Willison
76fc6a9c73
Release notes for 0.31
2019-11-11 21:18:17 -08:00
Simon Willison
cf7776d36f
Support Python 3.8, stop supporting Python 3.5 ( #627 )
...
* Upgrade to uvicorn 0.10.4
* Drop support for Python 3.5
* Bump all dependencies to latest releases
* Update docs to reflect we no longer support 3.5
* Removed code that skipped black unit test on 3.5
Closes #622
2019-11-11 21:09:11 -08:00
Simon Willison
5bc2570121
Include uvicorn version in /-/versions, refs #622
2019-11-11 20:45:12 -08:00
Simon Willison
42ee3e16a9
Bump pint to 0.9 ( #624 )
...
This fixes 2 deprecation warnings in Python 3.8 - refs #623 #622
2019-11-10 20:19:01 -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
10b9d85eda
datasette-csvs on Glitch now uses sqlite-utils
...
It previously used csvs-to-sqlite but that had heavy dependencies.
See https://support.glitch.com/t/can-you-upgrade-python-to-latest-version/7980/33
2019-11-08 18:15:13 -08:00
Simon Willison
9f5d19c254
Improved documentation for "publish cloudrun"
2019-11-08 18:12:20 -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