Wykres commitów

1196 Commity (51427323e68c6fef19a72fad48dd44f933207811)

Autor SHA1 Wiadomość Data
Simon Willison 51427323e6 Add message when user logs out, refs #840 2020-06-29 11:31:35 -07:00
Simon Willison 16f592247a Use explicit lifestyle=on for Uvicorn, refs #873 2020-06-29 08:42:50 -07:00
Simon Willison 35aee82c60 Fixed 500 error with /favicon.ico, closes #874 2020-06-28 21:27:11 -07:00
Simon Willison 22d932fafc /-/logout page for logging out of ds_actor cookie
Refs #840
2020-06-28 21:17:58 -07:00
Simon Willison 968ce53689
Added datasette-write to plugins list on Ecosystem 2020-06-28 20:49:45 -07:00
Simon Willison 265483173b Release 0.45a4
Refs #864, #871
2020-06-28 19:31:16 -07:00
Simon Willison a8a5f81372 Made show_messages available to plugins, closes #864 2020-06-28 17:50:47 -07:00
Simon Willison 7ac4936cec .add_message() now works inside plugins, closes #864
Refs #870
2020-06-28 17:25:35 -07:00
Simon Willison af350ba457 Use single Request created in DatasetteRouter, refs #870 2020-06-28 17:01:33 -07:00
Simon Willison 4dad028432 BaseView.as_asgi is now .as_view, refs #870 2020-06-28 16:47:40 -07:00
Simon Willison 3bc2461c77 Refactored AsgiView into BaseView, refs #870 2020-06-28 16:06:30 -07:00
Simon Willison a8bcafc177 Refactored out AsgiRouter, refs #870 2020-06-28 13:45:17 -07:00
Simon Willison 0991ea75cc Renamed _timestamp to _now, refs #842, closes #871 2020-06-28 12:47:28 -07:00
Simon Willison 99fba0fad3 Link to datasette-init plugin hook, refs #834 2020-06-28 12:37:50 -07:00
Simon Willison 8b25b14de1 Added note about unit testing the startup() hook 2020-06-28 09:09:48 -07:00
Simon Willison b28657672f Added register_magic_plugins hook to changelog, refs #842 2020-06-27 20:29:24 -07:00
Simon Willison 1f55a4a2b6 Release notes for 0.45a3 2020-06-27 20:22:49 -07:00
Simon Willison 335f26a0f7 /fixtures/magic_parameters demo, refs #842 2020-06-27 20:11:01 -07:00
Simon Willison 563f5a2d3a
Magic parameters for canned queries
Closes #842

Includes a new plugin hook, register_magic_parameters()
2020-06-27 19:58:16 -07:00
Simon Willison 4b142862f2 Support non-async view functions, closes #867 2020-06-27 11:30:34 -07:00
dependabot-preview[bot] 1bb33dab49
Update pytest-asyncio requirement from <0.13,>=0.10 to >=0.10,<0.15 (#866)
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.10.0...v0.14.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-06-24 11:50:55 -07:00
Simon Willison 1a5b7d318f Fixed test I broke in #863 2020-06-23 21:17:30 -07:00
Simon Willison c5916cbffb Release notes for 0.45a2 2020-06-23 20:28:50 -07:00
Simon Willison 28bb1c5189 csrftoken() now works with .render_template(), closes #863 2020-06-23 20:23:50 -07:00
Simon Willison eed116ac05
render_template needs await 2020-06-23 20:06:30 -07:00
Simon Willison 000528192e New 'Testing plugins' page, closes #687 2020-06-21 20:53:42 -07:00
Simon Willison 74889aa92e How to use the datasette-plugin template, refs #687, closes #855 2020-06-21 19:51:26 -07:00
Simon Willison 751e7b4af7 Update tests for new plugin_hooks.rst, refs #687 2020-06-21 19:41:07 -07:00
Simon Willison c32af6f693 Split out new 'Writing plugins' page, refs #687 2020-06-21 19:37:48 -07:00
Simon Willison 1f42379089 Improved intro on plugin_hooks.rst page, refs #687
https://datasette.readthedocs.io/en/latest/plugin_hooks.html
2020-06-21 17:52:58 -07:00
Simon Willison 36e77e1006 Move plugin hooks docs to plugin_hooks.rst, refs #687 2020-06-21 17:34:10 -07:00
Simon Willison e4216ff503 Fixed rST warning 2020-06-21 17:34:10 -07:00
Simon Willison 84cbf17660
News: A cookiecutter template for writing Datasette plugins 2020-06-20 10:40:05 -07:00
Simon Willison d1640ba76b Don't show prereleases on changelog badge 2020-06-20 08:48:39 -07:00
Simon Willison 55a6ffb93c Link to datasette-saved-queries plugin, closes #852 2020-06-19 20:08:30 -07:00
Simon Willison 64cc536b89
Don't include prereleases in changelog badge 2020-06-18 17:03:23 -07:00
Simon Willison b59b92b1b0 Fix for tests - order was inconsistent, refs #852 2020-06-18 16:52:16 -07:00
Simon Willison 0807c4200f Release notes for 0.45a1, refs #852 2020-06-18 16:40:45 -07:00
Simon Willison 9216127ace Documentation tweak, refs #852 2020-06-18 16:39:43 -07:00
Simon Willison 6c26345836 New plugin hook: canned_queries(), refs #852 2020-06-18 16:35:15 -07:00
Simon Willison d2f387591b Better rST label for alpha release, refs #807 2020-06-18 14:01:36 -07:00
Simon Willison dda932d818 Release notes for 0.45a0
Refs #834 #846 #854 #807
2020-06-18 13:58:09 -07:00
Simon Willison c81f637d86 Documentation for alpha/beta release process, refs #807 2020-06-18 13:49:52 -07:00
Simon Willison 13216cb6bd
Don't push alpha/beta tagged releases to Docker Hub
Refs #807
2020-06-18 13:40:33 -07:00
Simon Willison 6151c25a5a Respect existing scope["actor"] if set, closes #854 2020-06-18 11:37:28 -07:00
Simon Willison d2aef9f7ef Test illustrating POST against register_routes(), closes #853 2020-06-18 09:21:15 -07:00
Simon Willison a4ad5a504c Workaround for 'Too many open files' in test runs, refs #846 2020-06-13 17:26:18 -07:00
Simon Willison 0c27f10f9d
Updated plugin examples to include datasette-psutil 2020-06-13 16:41:26 -07:00
Simon Willison cf7a2bdb40
Action to run tests and upload coverage to codecov.io
Closes #843.
2020-06-13 14:36:49 -07:00
Simon Willison 80c18a18fc Configure code coverage, refs #841, #843 2020-06-13 13:48:23 -07:00