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
...
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
...
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
...
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
Simon Willison
65ca17d729
Fix for DeprecationWarning: invalid escape sequence
2020-09-15 13:10:38 -07:00
Simon Willison
853c5fc370
Fixed incorrect canned query example, closes #966
2020-09-14 20:52:44 -07:00
Simon Willison
cb515a9d75
Don't push preleases to Docker Hub, refs #940
2020-09-14 15:09:03 -07:00
Simon Willison
26de3a18bc
tmate debugging tool
2020-09-14 14:53:54 -07:00
Simon Willison
c0249525d7
Release 0.49
...
Refs #880 , #944 , #945 , #947 , #948 , #953 , #958 , #962 , #963 , #964 , #965
2020-09-14 14:38:24 -07:00
Simon Willison
72ac2fd32c
JSON API for writable canned queries, closes #880
2020-09-14 14:23:18 -07:00
Simon Willison
894999a14e
Improved test for JSON POST, refs #880
2020-09-14 13:25:09 -07:00
Simon Willison
896fce228f
Canned query writes support JSON POST body, refs #880
2020-09-14 13:18:15 -07:00
Simon Willison
1552ac931e
Documented custom error pages, closes #965
2020-09-14 11:47:16 -07:00
Simon Willison
3817152e31
Rename default error template to error.html, refs #965
2020-09-14 11:30:31 -07:00
Simon Willison
699be7dea9
raise_404() function for use in custom templates, closes #964
2020-09-14 10:39:25 -07:00
Simon Willison
30b98e4d29
Single, not double quotes - refs #940
2020-09-13 19:47:21 -07:00
Simon Willison
c18117cf08
Release notes for 0.49a1
...
Refs #948 #958 #962 #947 #963 #944
2020-09-13 19:40:10 -07:00
Simon Willison
cc77fcd133
Optional path parameters for custom pages, closes #944
2020-09-13 19:34:43 -07:00