Commit graph

1,374 commits

Author SHA1 Message Date
Simon Willison
b0b04bb7c1
Delete .readthedocs.yml
It worked fine without configuration, and my attempt to build the xml version failed with an error message:

    Problem in your project's configuration. Invalid "formats": expected one of (htmlzip, pdf, epub), got xml
2020-10-18 11:37:35 -07:00
Simon Willison
a0e9ae3c25
Build extra formats with Read the Docs 2020-10-18 11:20:33 -07:00
Taylor Hodge
568bd7bbf5
Fix broken link in publish docs (#1029) 2020-10-17 13:05:03 -07:00
Jacob Fenton
4f7c0ebd85
Fix table name in spatialite example command (#1022)
The example query for creating a new point geometry seems to be using a table called 'museums' but at one point it instead uses 'events'. I *believe* it is intended to be museums.
2020-10-14 16:46:46 -07:00
dependabot-preview[bot]
7f2edb5dd2
Update janus requirement from <0.6,>=0.4 to >=0.4,<0.7 (#1017)
Updates the requirements on [janus](https://github.com/aio-libs/janus) to permit the latest version.
- [Release notes](https://github.com/aio-libs/janus/releases)
- [Changelog](https://github.com/aio-libs/janus/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/janus/compare/v0.4.0...v0.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-14 14:52:07 -07:00
dependabot-preview[bot]
b4a8e70957
Update asgiref requirement from ~=3.2.10 to >=3.2.10,<3.4.0 (#1018)
Updates the requirements on [asgiref](https://github.com/django/asgiref) to permit the latest version.
- [Release notes](https://github.com/django/asgiref/releases)
- [Changelog](https://github.com/django/asgiref/blob/master/CHANGELOG.txt)
- [Commits](https://github.com/django/asgiref/compare/3.2.10...3.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-14 14:51:34 -07:00
Simon Willison
f3a087a578 Edit SQL button on canned queries, closes #1019 2020-10-13 20:44:18 -07:00
Simon Willison
acf07a6772 x button for clearing filters, refs #1016 2020-10-11 19:53:26 -07:00
Simon Willison
e34e84901d Link: HTTP header pagination, closes #1014 2020-10-10 17:18:45 -07:00
Simon Willison
7e70643852 Removed --debug option, which didn't do anything - closes #814 2020-10-10 16:39:38 -07:00
Simon Willison
822260fb30
Improved homebrew instructions 2020-10-10 16:19:39 -07:00
Simon Willison
a67cb536f1
Promote the Datasette Weekly newsletter 2020-10-10 13:54:27 -07:00
Simon Willison
0e58ae7600 Release 0.50.2 0.50.2
Refs #1011
2020-10-09 20:53:47 -07:00
Simon Willison
7239175f63 Fixed broken column header links, closes #1011 2020-10-09 20:51:56 -07:00
Simon Willison
6fe30c348c Release 0.50.1 0.50.1
Refs #1010
2020-10-09 17:41:35 -07:00
Simon Willison
9f6dd985bc Fix broken CSV/JSON export on query page, refs #1010 2020-10-09 17:39:45 -07:00
Simon Willison
c13d184704 Emergency fix for broken links in 0.50, closes #1010 2020-10-09 17:33:13 -07:00
Simon Willison
549a007683
Clarify that datasette.client HTTP calls are simulated 2020-10-09 16:13:41 -07:00
Simon Willison
99488de329
Link to 0.50 annotated release notes 2020-10-09 14:50:19 -07:00
Simon Willison
ef76c9ea57
Link to annotated release notes 2020-10-09 14:49:13 -07:00
Simon Willison
1bdbc8aa7f Datasette now supports Python 3.9 0.50 2020-10-09 10:57:55 -07:00
Simon Willison
a61f0e4e15 Release 0.50
Refs #1001, #514, #891, #943, #969, #970, #978, #980, #996, #997

Closes #1002
2020-10-09 10:52:44 -07:00
Simon Willison
c12b7a5def Documentation for datasette.client, closes #1006
Refs #1000
2020-10-09 10:20:25 -07:00
Simon Willison
6421ca2b22
Use actions/setup-python@v2 to deploy latest
This should fix an error with Python 3.9.
2020-10-09 09:28:17 -07:00
Simon Willison
896cc2c6ac Replace MockRequest with Request.fake()
Close #1004
2020-10-09 09:26:17 -07:00
Simon Willison
6e091b14b6
Run tests against Python 3.9 2020-10-09 09:22:49 -07:00
Simon Willison
8f97b9b58e
datasette.client internal requests mechanism
Closes #943

* Datasette now requires httpx>=0.15
* Support OPTIONS without 500, closes #1001
* Added internals tests for datasette.client methods
* Datasette's own test mechanism now uses httpx to simulate requests
* Tests simulate HTTP 1.1 now
* Added base_url in a bunch more places
* Mark some tests as xfail - will remove that when new httpx release ships: #1005
2020-10-09 09:11:24 -07:00
Simon Willison
7249ac5ca0 Support OPTIONS without 500, closes #1001 2020-10-08 18:43:53 -07:00
Simon Willison
703439bdc3 Don't suggest datasette-graphql in bulidpacks demo
Refs #997 - it's not a great suggestion because the fivethirtyeight.db
database has so many tables.
2020-10-08 16:50:43 -07:00
Simon Willison
7a029d1eda Link to hosting providers, refs #997 2020-10-08 16:36:22 -07:00
Simon Willison
e4f18fbd37 Deploying using buildpacks docs, closes #997 2020-10-08 16:32:04 -07:00
Simon Willison
e4554c37b7 datasette publish heroku --tar option, closes #969 2020-10-08 16:30:46 -07:00
Simon Willison
107d0887a6 datasette publish heroku now uses Python 3.8.6 2020-10-08 16:22:11 -07:00
Simon Willison
86823ae6f7 Default to Uvicorn workers=1, refs #999 2020-10-08 16:16:55 -07:00
Simon Willison
2458d7b766 Docs on deploying with systemd, refs #514 2020-10-08 15:47:37 -07:00
Simon Willison
b47ac37114 Applied Black 2020-10-07 15:51:25 -07:00
Simon Willison
5070425817 Fix handling of nested custom page wildcard paths, closes #996 2020-10-07 15:51:11 -07:00
Simon Willison
b37431976c custom pages tests templates now in repo 2020-10-07 15:16:41 -07:00
Simon Willison
e02f6c1300 Tests for db.table_columns() and db.table_column_details() 2020-10-06 14:02:30 -07:00
Simon Willison
14982bd900 Release 0.50a1 0.50a1
Refs #995, #993, #989
2020-10-06 13:50:54 -07:00
Geoffrey Hing
ca5ba6b77b
Document setting Google Cloud SDK properties (#995)
Document setting Google Cloud SDK properties to avoid having to respond to interactive prompts when running `datasette publish cloudrun`.

Thanks, @ghing!
2020-10-06 09:25:37 -07:00
Simon Willison
5a184a5d21 Display column type in column action menu, closes #993
Also added new documented db.table_column_details() introspection method.
2020-10-05 17:32:10 -07:00
Simon Willison
e807c4eac0 Sort links remove _next=, closes #989 2020-10-04 11:05:20 -07:00
Simon Willison
b68cc1c6d4 Release 0.50a0 0.50a0
Refs #891, #970, #978, #980, #981
2020-10-01 16:35:04 -07:00
Simon Willison
5d6bc4c268 Allow faceting on compound primary keys, closes #985 2020-10-01 09:50:35 -07:00
Simon Willison
141544613f Extract out menu icon CSS, refs #981 2020-09-30 16:55:00 -07:00
Simon Willison
64127a4593 Show not-blank rows column action, refs #981 2020-09-30 16:43:34 -07:00
Simon Willison
765e8f0209 Close menu when clicked outside, refs #981 2020-09-30 16:21:44 -07:00
Simon Willison
0f2626868b Much improved column menu display logic, refs #981
* Menu links now take into account existing querystring
* No longer shows facet option for primary key columns
* Conditionally displays sort/sort-desc if already sorted
* Does not show facet option if already faceted by this
2020-09-30 16:01:37 -07:00
Simon Willison
fd0b00330f Don't show cog on Link column, refs #981
Also show ascending option before descending option
2020-09-30 15:31:17 -07:00