Commit graph

959 commits

Author SHA1 Message Date
Simon Willison
e37f4077c0 Remove 'Serve!' line from serve CLI output
It wasn't adding anything, and it was confusing when run in
conjunction with the new config directory mode from #731
2020-04-27 15:02:28 -07:00
Simon Willison
89c4ddd482 403 for static directory listing, closes #740 2020-04-27 11:29:04 -07:00
Simon Willison
25014ca25e
Configuration directory mode, closes #731 2020-04-27 09:30:24 -07:00
Simon Willison
1b7b66c465 Make request available when rendering custom pages, closes #738 2020-04-26 12:01:46 -07:00
Simon Willison
304e7b1d9f
Mechanism for creating custom pages using templates
Closes #648
2020-04-26 11:46:43 -07:00
Simon Willison
227bb3e91f
Added more example plugins 2020-04-22 06:47:20 -07:00
Simon Willison
8da108193b Fixed a couple of spelling errors 0.40 2020-04-21 21:06:39 -07:00
Simon Willison
edb39c91f7 Release Datasette 0.40 2020-04-21 21:00:34 -07:00
Simon Willison
15e2321804 Extra body CSS class for canned queries, closes #727 2020-04-15 14:07:28 -07:00
Simon Willison
d349d57cdf Smarter merging of metadata and extra_metadata, closes #724 2020-04-10 11:34:09 -07:00
Simon Willison
d55fe8cdfc Fixed bug with Templates considered comment, closes #689 2020-04-05 12:38:33 -07:00
Simon Willison
e89b0ef2f9 Expose extra_template_vars in _contex=1, refs #693 2020-04-05 11:49:15 -07:00
Simon Willison
09253817de Fix for missing view_name bug, closes #716 2020-04-05 11:28:20 -07:00
Simon Willison
e0e7a0facf Removed Zeit Now v1 support, closes #710 2020-04-04 16:04:33 -07:00
Simon Willison
07e208cc6d Refactored .custom_sql() method to new QueryView class
Refs #698
2020-04-02 18:12:13 -07:00
Simon Willison
b07312c2b3 dedent SQL for neighborhood_search fixture
Makes this page a little prettier:
https://latest.datasette.io/fixtures/neighborhood_search
2020-04-02 17:54:27 -07:00
Simon Willison
6717c719dd
--metadata accepts YAML as well as JSON - closes #713 2020-04-02 12:30:53 -07:00
Simon Willison
2aaad72789 Refactor template setup into Datasette constructor
Closes #707
2020-03-26 18:12:43 -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 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 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 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