Simon Willison
bd39cb4805
Use service-specific image ID for Cloud Run deploys, refs #2036
2023-03-08 12:25:55 -08:00
Simon Willison
1ad92a1d87
datasette install -r requirements.txt, closes #2033
2023-03-06 14:27:30 -08:00
Dustin Rodrigues
a53b893c46
Add Python 3.11 classifier ( #2028 )
...
Thanks, @dtrodrigues
2023-03-06 13:01:19 -08:00
Simon Willison
0b4a286914
render_cell(..., request) argument, closes #2007
2023-01-27 19:34:14 -08:00
Simon Willison
e4ebef082d
Fixed link text
2023-01-21 07:37:29 -08:00
Simon Willison
6a352e99ab
Added missing import to example
2023-01-11 11:04:11 -08:00
Simon Willison
25a612fe09
Release 0.64.1
...
Refs #1985 , #1987
2023-01-11 10:23:49 -08:00
Simon Willison
50fd94e04f
Raise ValueError if Datasette(files=) is a string, refs #1985
2023-01-11 10:13:20 -08:00
Simon Willison
2c86774179
Link to non-spam Python 3 setup instructions
...
Refs #1987
2023-01-11 09:59:40 -08:00
Simon Willison
8e70734043
Upgrade Sphinx, closes #1971
2023-01-09 18:02:32 -08:00
Simon Willison
4880638f13
setup-gcloud 318.0.0
...
Refs https://til.simonwillison.net/googlecloud/gcloud-error-workaround
2023-01-09 16:02:02 -08:00
Simon Willison
7dd671310a
Release notes for 0.64, with a warning against arbitrary SQL with SpatiaLite
...
Refs #1409 , #1771 , #1979
Refs https://github.com/simonw/datasette.io/issues/132
2023-01-09 08:40:24 -08:00
Simon Willison
5e672df168
Explicitly explain allow_sql: false
2023-01-09 08:25:07 -08:00
Simon Willison
7b48664d75
Better error for --load-extensions, refs #1979
2023-01-07 15:56:03 -08:00
Simon Willison
0f7c71a86f
What to do if extensions will not load, refs #1979
2023-01-07 15:49:28 -08:00
Simon Willison
fee658ad05
Improved wording in allow_sql docs
2023-01-05 09:22:49 -08:00
Simon Willison
c41278b46f
default_allow_sql setting, closes #1409
...
Refs #1410
2023-01-04 16:51:26 -08:00
Simon Willison
adfcec51d6
Fixed broken example links in _where= docs
2023-01-04 16:51:26 -08:00
Simon Willison
deb5fcbed4
Fixed table_action example in docs
2023-01-04 10:25:04 -08:00
Simon Willison
572bdb5b80
Applied Black, refs #782
2022-12-31 19:32:07 -08:00
Simon Willison
d94a3c4326
No need to link to _shape=objects any more
...
It's the default now. Refs #782
2022-12-31 17:42:48 -08:00
Simon Willison
3c352b7132
Applied Black, refs #782
2022-12-31 13:17:54 -08:00
Simon Willison
5bbe2bcc50
Rename filtered_table_rows_count to count, refs #782
2022-12-31 12:52:57 -08:00
Simon Willison
a2dca62360
Fix for extension tests I broke, refs #782
2022-12-31 11:21:15 -08:00
Simon Willison
ca07fff3e2
Pin Sphinx 5.3.0, refs #1971
...
Furo is not yet compatible with Sphinx 6.0
2022-12-31 11:13:56 -08:00
Simon Willison
3af313e165
Fix for Sphinx extlinks warning, closes #1972
2022-12-31 11:13:14 -08:00
Chris Holdgraf
994ce46ed4
Add favicon to documentation ( #1967 )
...
Co-authored-by: Simon Willison <swillison@gmail.com>
2022-12-31 11:00:31 -08:00
Simon Willison
8059c8a27c
Fixed typo
2022-12-31 10:54:25 -08:00
Simon Willison
8aa9cf629c
Store null instead of 'None' in _internal database table, closes #1970
2022-12-31 10:52:37 -08:00
Simon Willison
234230e595
Default JSON shape is now objects - refs #1914 , #1709
2022-12-31 10:52:37 -08:00
Simon Willison
1fda4806d4
Small documentation tweaks
2022-12-31 10:52:37 -08:00
Simon Willison
c635f6ebac
Moved CORS bit to its own documentation section
2022-12-31 10:52:37 -08:00
Simon Willison
3bd05b854a
-e/--expires-after in create-token docs
2022-12-31 10:52:37 -08:00
Simon Willison
677ba9dddd
Fix rST warning in changelog
2022-12-31 10:52:37 -08:00
Jan Lehnardt
e03aed0002
Detect server start/stop more reliably.
...
This is useful, especially in testing, since your test
hosts might not reliabliy start the server within two
seconds, so we do a definite check before progressing.
By the same token, after `kill $server_pid` wait for
the pid to be gone from the process list.
Since now the script can end prematurely, I also added
a cleanup function to make sure the temporary certs are
removed in any case.
n.b. this could also be done with the use of `trap 'fn'
ERR` but that felt like a bit too much magic for this
short a script.
2022-12-18 08:01:51 -08:00
Simon Willison
a21c00b54d
.select-wrapper:focus-within for accessibility, closes #1771
2022-12-17 22:28:07 -08:00
Simon Willison
23335e123b
Release notes for 0.63.3
...
Refs #1963
2022-12-17 19:26:25 -08:00
Simon Willison
a27c0a0124
Deploy docs on publish using Python 3.9
...
A workaround for gcloud setup, see:
https://til.simonwillison.net/googlecloud/gcloud-error-workaround
Refs #1963
2022-12-17 19:24:48 -08:00
Simon Willison
0ea139dfe5
Run new HTTPS test in CI, refs #1955
2022-12-17 18:38:26 -08:00
Simon Willison
d1d369456a
Move HTTPS test to a bash script
...
See https://github.com/simonw/datasette/issues/1955#issuecomment-1356627931
2022-12-17 18:33:07 -08:00
Simon Willison
8b73fc6b47
Put AsgiLifestyle back so server starts up again, refs #1955
2022-12-17 17:22:00 -08:00
Simon Willison
63fb750f39
Replace AsgiLifespan with AsgiRunOnFirstRequest, refs #1955
2022-12-17 14:14:34 -08:00
Simon Willison
89cffcf14c
Reset _metadata_local in a couple of tests
...
Refs https://github.com/simonw/datasette/pull/1960#issuecomment-1356476886
2022-12-17 13:47:55 -08:00
Simon Willison
9c43b4164d
Removed @pytest.mark.ds_client mark - refs #1959
...
I don't need it - can run 'pytest -k ds_client' instead.
See https://github.com/simonw/datasette/pull/1960#issuecomment-1355685828
2022-12-17 13:47:55 -08:00
Simon Willison
0e42444866
invoke_startup() inside ds_client fixture, refs #1959
2022-12-17 13:47:55 -08:00
Simon Willison
e70974a4f1
Ran Black, refs #1959
2022-12-17 13:47:55 -08:00
Simon Willison
42a66c2f04
A bunch of remaining ds_client conversions, refs #1959
2022-12-17 13:47:55 -08:00
Simon Willison
be95359a80
ds_client for test_permissions.py, refs #1959
2022-12-17 13:47:55 -08:00
Simon Willison
ef74d0ff70
ds_client for test_internal_db.py, refs #1959
2022-12-17 13:47:55 -08:00
Simon Willison
4a151b15cc
ds_client for test_filters.py, refs #1959
2022-12-17 13:47:55 -08:00