Simon Willison
ee718b98b7
Verify SQLite DBs with check_connection
2020-03-26 18:03:41 -07:00
Simon Willison
ec0d68da70
I moved this import
2020-03-26 08:34:49 -07:00
Simon Willison
f2fd7d20bf
Run scan_dirs in a thread every 10 seconds
2020-03-26 08:23:46 -07:00
Simon Willison
55e633e09f
Run scan_dirs() in a thread
2020-03-26 08:23:40 -07:00
Simon Willison
6ff261c1de
--dirs scan mechanism, work in progress - refs #417
2020-03-26 08:23:11 -07:00
Simon Willison
6aa516d82d
Run base_url tests against /fixtures/facetable too, refs #712
2020-03-25 19:31:22 -07:00
Simon Willison
99b1e91965
Fixed RST bug
2020-03-24 21:46:52 -07:00
Simon Willison
dedd775512
Release 0.39
2020-03-24 21:02:37 -07:00
Simon Willison
a351d353bc
Fixed typo in GitHub Action configuration, refs #705
2020-03-24 19:30:50 -07:00
Simon Willison
90015b2689
Deploy latest.datasett.io to Cloud Run, refs #705
2020-03-24 19:26:02 -07:00
Simon Willison
cc4445801e
Removed deploy to Zeit Now, refs #705
2020-03-24 19:17:27 -07:00
Simon Willison
7656fd64d8
base_url configuration setting, closes #394
...
* base_url configuration setting
* base_url works for static assets as well
2020-03-24 17:18:43 -07:00
Simon Willison
2a36dfa2a8
Fix for input type=search Webkit styling, closes #701
2020-03-24 15:57:09 -07:00
Simon Willison
5f4aeb1f19
Removed documentation for Zeit Now v1, refs #710
2020-03-24 15:45:24 -07:00
Simon Willison
c0aa929cdd
Added datasette-publish-fly plugin to docs, closes #704
2020-03-24 15:38:58 -07:00
Simon Willison
3b3cb3e8df
Added example plugins to plugin hooks docs, closes #709
2020-03-24 15:29:34 -07:00
Simon Willison
a498d0fe65
Fix bug with over-riding default sort, closes #702
2020-03-21 19:40:29 -07:00
Simon Willison
236aa065b2
"sort" and "sort_desc" metadata properties, closes #702
2020-03-21 19:28:35 -07:00
Simon Willison
e1a817411a
Bump to click 7.1.1 to fix flaky tests
2020-03-21 18:47:51 -07:00
Simon Willison
3d656f4b31
Updated documentation formatting
2020-03-21 18:31:54 -07:00
Simon Willison
2c0e1e09bc
Show sort arrow on primary key by default
...
Closes #677 . Refs #702 .
2020-03-21 16:57:37 -07:00
Simon Willison
fd2a74dc09
Updated publish_subcommand example
2020-03-18 17:47:53 -07:00
Simon Willison
a000c80d50
await Request(scope, receive).post_vars() method, closes #700
...
Needed for #698
2020-03-16 19:47:37 -07:00
Simon Willison
7e357abbc3
Release 0.38
2020-03-08 16:26:50 -07:00
Simon Willison
e1b5339fdf
Do not look for templates_path in default plugins
...
Closes #697
2020-03-08 16:11:18 -07:00
Simon Willison
7508477a96
Link to Datasette Writes blog entry
2020-03-08 10:23:51 -07:00
Simon Willison
f7f31a0223
Upgrade Dockerfile to SQLite 3.31.1, closes #695
2020-03-06 00:15:19 -06:00
Simon Willison
af9cd4ca64
Fixes for new --memory option, refs #694
2020-03-05 17:44:15 -06:00
Simon Willison
ddd11b3ddd
--memory option for publish cloudrun, refs #694
2020-03-05 17:34:36 -06:00
Simon Willison
be20e6991e
Changelog for 0.37.1
2020-03-02 19:43:08 -08:00
Simon Willison
b796519da2
Print exceptions if they occur in the write thread
2020-03-02 17:59:29 -08:00
Simon Willison
dc80e779a2
Handle scope path if it is a string
...
I ran into this while running a unit test with httpx.AsyncClient
2020-03-02 15:34:04 -08:00
Simon Willison
4933035b75
RST fix
2020-03-02 08:10:16 -08:00
Simon Willison
613f6fad72
Improved extra_template_vars documentation
2020-03-02 07:12:34 -08:00
Simon Willison
7f5a330377
Don't count rows on homepage for DBs > 100MB ( #688 )
...
Closes #649 .
2020-02-28 17:08:29 -08:00
Simon Willison
0f8e91c68f
Documentation fix
2020-02-25 23:13:39 -08:00
Simon Willison
1a77f30d3c
Fixed typo
2020-02-25 23:11:19 -08:00
Simon Willison
c9e6841482
News and release notes for 0.37
2020-02-25 17:22:02 -08:00
Simon Willison
78198df668
Fixed incorrect target name
2020-02-25 17:10:30 -08:00
Kevin Keogh
3041c6b641
Use inspect-file, if possible, for total row count ( #666 )
...
For large tables, counting the number of rows in the table can take a
significant amount of time. Instead, where an inspect-file is provided
for an immutable database, look up the row-count for a plain count(*).
Thanks, @kevindkeogh
2020-02-25 12:19:29 -08:00
Simon Willison
6cb65555f4
?_searchmode=raw option ( #686 )
2020-02-24 21:56:03 -08:00
Simon Willison
a093c5f79f
.execute_write() and .execute_write_fn() methods on Database ( #683 )
...
Closes #682 .
2020-02-24 20:45:07 -08:00
Simon Willison
411056c4c4
Only --reload on changes to immutable databases, closes #494
2020-02-24 11:44:59 -08:00
Simon Willison
b031fe9763
Updated README news for 0.36
2020-02-21 19:04:46 -08:00
Simon Willison
962a7e16e5
Release notes for 0.36, refs #679
2020-02-21 19:01:57 -08:00
Simon Willison
d6335f1f31
Added shapefile-to-sqlite, datasette-mask-columns, datasette-auth-existing-cookies, datasette-auth-existing-cookies
...
Refs #679
2020-02-21 18:53:35 -08:00
Adrien Di Pasquale
be2265b0e8
Fix db-to-sqlite command in ecosystem doc page ( #669 )
...
Thanks, @adipasquale
2020-02-21 18:32:17 -08:00
Simon Willison
7c6a9c3529
Better tests for prepare_connection() plugin hook, refs #678
2020-02-21 18:27:07 -08:00
Simon Willison
6303ea5048
prepare_connection() now takes datasette and database args, refs #678
2020-02-21 17:32:40 -08:00
Simon Willison
d3f2fade88
Refactored run_sanity_checks to check_connection(conn), refs #674
2020-02-15 09:56:48 -08:00