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
Simon Willison
97c71c3a3b
Fixed test for column sorting, refs #981
2020-09-30 14:51:10 -07:00
Simon Willison
ae1f7c3870
Column action menu for sort/faceting, refs #981
2020-09-30 14:43:39 -07:00
Simon Willison
5b8b8ae597
Handle \r\n correctly in CSS escapes, refs #980
2020-09-29 12:16:30 -07:00
Simon Willison
c11383e628
Fix rendering glitch with columns on mobile, closes #978
2020-09-28 15:42:50 -07:00
dependabot-preview[bot]
1f021c3711
Update pytest requirement from <6.1.0,>=5.2.2 to >=5.2.2,<6.2.0 ( #977 )
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/5.2.2...6.1.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-09-28 15:16:34 -07:00
Simon Willison
9a6d0dce28
datasette-json-html as render_cell example
2020-09-23 22:25:06 -07:00
Simon Willison
cac051bb8a
Fix for 'open' bug, closes #973
2020-09-22 08:39:48 -07:00
Simon Willison
a980199e61
New -o option for opening Datasette in your browser, closes #970
2020-09-22 07:26:47 -07:00
Simon Willison
a258339a93
Fixed typo
2020-09-18 23:33:09 -07:00
Simon Willison
368be14c8b
Link to annotated release notes
2020-09-15 17:01:11 -07:00
Simon Willison
432a3d675f
sqlite3.enable_callback_tracebacks(True), closes #891
2020-09-15 14:59:17 -07:00
Simon Willison
d456b25032
Release 0.49.1
...
0.49.1
Refs #967 , #966 , #956
2020-09-15 13:20:15 -07:00
Simon Willison
448d13ea6b
Fix for MagicParameters error with no POST body, closes #967
2020-09-15 13:12:57 -07:00