Wykres commitów

786 Commity (22354c48ce4d514d7a1b321e5651c7f1340e3f5e)

Autor SHA1 Wiadomość Data
Simon Willison ed1ebc0f1d Run blacken-docs, refs #1770 2022-07-17 18:03:33 -07:00
Simon Willison 6d5e195547 Release 0.62a1
Refs #1300, #1739, #1744, #1746, #1748, #1759, #1770
2022-07-17 17:59:20 -07:00
Simon Willison e543a095cc Updated default plugins in docs, refs #1770 2022-07-17 17:57:41 -07:00
Simon Willison 58fd1e33ec Hint that you can render templates for these hooks, refs #1770 2022-07-17 16:30:58 -07:00
Simon Willison c09c53f345 New handle_exception plugin hook, refs #1770
Also refs:
- https://github.com/simonw/datasette-sentry/issues/1
- https://github.com/simonw/datasette-show-errors/issues/2
2022-07-17 16:24:39 -07:00
Simon Willison 950cc7677f
Fix missing Discord image
Refs https://github.com/simonw/datasette.io/issues/112
2022-07-14 15:18:28 -07:00
Simon Willison c133545fe9
Make discord badge lowercase
Refs https://github.com/simonw/datasette.io/issues/112
2022-07-14 15:04:38 -07:00
Simon Willison 5d76c1f81b
Discord badge
Refs https://github.com/simonw/datasette.io/issues/112
2022-07-14 15:03:33 -07:00
Simon Willison 035dc5e7b9
More than 90 plugins now 2022-07-09 10:25:37 -07:00
Simon Willison 6373bb3414 Expose current SQLite row to render_cell hook, closes #1300 2022-07-07 09:30:49 -07:00
Simon Willison e780b2f5d6
Trying out one-sentence-per-line
As suggested here: https://sive.rs/1s

Markdown and reStructuredText will display this as if it is a single paragraph, even though the sentences themselves are separated by newlines.

This could result in more useful diffs. Trying it out on this page first.
2022-06-20 10:54:23 -07:00
Simon Willison 8dd816bc76 Applied Black 2022-05-30 15:42:38 -07:00
Simon Willison adedd85b68
Clarify that request.headers names are converted to lowercase 2022-05-28 18:42:31 -07:00
Simon Willison b010af7bb8
Updated copyright years in documentation footer 2022-05-20 15:23:09 -07:00
Simon Willison 4446075334 Append warning to the write element, refs #1746 2022-05-20 13:44:23 -07:00
Simon Willison 1d33fd03b3 Switch docs theme to Furo, refs #1746 2022-05-20 13:34:51 -07:00
Simon Willison 1465fea479 sphinx-copybutton for docs, closes #1748 2022-05-20 12:11:28 -07:00
Simon Willison 18a6e05887
Added "follow a tutorial" to getting started docs
Closes #1747
2022-05-20 12:05:33 -07:00
Simon Willison 0e2f6f1f82
datasette-copyable is an example of register_output_renderer 2022-05-18 17:37:46 -07:00
Simon Willison b393e164dc
ReST fix 2022-05-17 12:45:28 -07:00
Simon Willison 5555bc8aef
How to run cog, closes #1745 2022-05-17 12:43:44 -07:00
Simon Willison 3508bf7875 --nolock mode to ignore locked files, closes #1744 2022-05-17 12:40:25 -07:00
Simon Willison a5acfff4bd
Empty Datasette([]) list is no longer required 2022-05-16 17:06:40 -07:00
Simon Willison 943aa2e1f7 Release 0.62a0
Refs #1683, #1701, #1712, #1717, #1718, #1733
2022-05-02 14:38:34 -07:00
Simon Willison 3f00a29141
Clean up compatibility with Pyodide (#1736)
* Optional uvicorn import for Pyodide, refs #1733
* --setting num_sql_threads 0 to disable threading, refs #1735
2022-05-02 13:15:27 -07:00
Simon Willison 687907aa2b Remove python-baseconv dependency, refs #1733, closes #1734 2022-05-02 12:39:06 -07:00
Simon Willison 94a3171b01
.plugin_config() can return None 2022-04-28 13:29:11 -07:00
Simon Willison c101f0efee
datasette-total-page-time example of asgi_wrapper 2022-04-26 15:34:29 -07:00
Simon Willison 7463b051cf Cosmetic tweaks after blacken-docs, refs #1718 2022-04-24 09:59:20 -07:00
Simon Willison 289e4cf80a Finished applying blacken-docs, closes #1718 2022-04-24 09:17:59 -07:00
Simon Willison 498e1536f5 One more blacken-docs test, refs #1718 2022-04-24 09:08:56 -07:00
Simon Willison 92b26673d8 Fix blacken-docs errors and warnings, refs #1718 2022-04-24 09:03:14 -07:00
Simon Willison 36573638b0 Apply Black to code examples in documentation, refs #1718
Uses blacken-docs. This has a deliberate error which I hope will fail CI.
2022-04-24 08:50:43 -07:00
Simon Willison e64d14e413 Use type integer for --timeout, refs #1717 2022-04-24 07:09:08 -07:00
Simon Willison 4bd3a30e1e Update cog docs for publish cloudrun, refs #1717 2022-04-24 07:04:11 -07:00
Simon Willison 8338c66a57
datasette-geojson is an example of register_output_renderer 2022-04-21 11:05:43 -07:00
Simon Willison 90d1be9952 Tilde encoding now encodes space as plus, closes #1701
Refs #1657
2022-04-06 08:55:01 -07:00
Simon Willison df88d03298
Warn about Cloud Run and bots
Refs #1698
2022-04-02 23:05:10 -07:00
Simon Willison 5c5e9b3657 Request.fake(... url_vars), plus .fake() is now documented
Also made 'from datasette import Request' shortcut work.

Closes #1697
2022-03-31 19:01:58 -07:00
Simon Willison e73fa72917
Fixed bug in httpx_mock example, closes #1691 2022-03-26 15:46:08 -07:00
Simon Willison bd8a58ae61
Fix message_type in documentation, closes #1689 2022-03-26 13:51:20 -07:00
Simon Willison 6b99e4a66b
Added missing hookimpl import
Useful for copying and pasting to create a quick plugin
2022-03-25 16:44:35 -07:00
Simon Willison d431a9055e Release 0.61.1
Refs #1682

Refs https://github.com/simonw/datasette-hashed-urls/issues/13
2022-03-23 11:54:10 -07:00
Simon Willison d7c793d799 Release 0.61
Refs #957, #1228, #1533, #1545, #1576, #1577, #1587, #1601, #1603, #1607, #1612, #1621, #1649, #1654, #1657, #1661, #1668, #1675, #1678
2022-03-23 11:12:26 -07:00
Simon Willison 1a7750eb29 Documented datasette.check_visibility() method, closes #1678 2022-03-21 12:01:37 -07:00
Simon Willison e627510b76 BaseView.check_permissions is now datasette.ensure_permissions, closes #1675
Refs #1660
2022-03-21 10:13:16 -07:00
Simon Willison 4a4164b811 Added another note to the 0.61a0 release notes, refs #1228 2022-03-19 18:23:03 -07:00
Simon Willison cb4854a435 Fixed typo 2022-03-19 18:17:58 -07:00
Simon Willison 5471e3c491 Release 0.61a0
Refs #957, #1533, #1545, #1576, #1577, #1587, #1601, #1603, #1607, #1612, #1621, #1649, #1654, #1657, #1661, #1668
2022-03-19 18:14:40 -07:00
Simon Willison 7a6654a253 Databases can now have a .route separate from their .name, refs #1668 2022-03-19 17:11:17 -07:00