Wykres commitów

1279 Commity (gith)

Autor SHA1 Wiadomość Data
Simon Willison 3c33b42132
Documenting both false and {} for "deny all" is confusing
Refs #906
2020-07-25 14:44:42 -07:00
Simon Willison 980600564c
Updated news section 2020-07-24 18:09:36 -07:00
Simon Willison 092874202c Improvements to allow block logic and debug tool
true and false allow block values are now supported, closes #906

Added a bunch of demo links to the documentation, refs #908
2020-07-24 17:04:06 -07:00
Simon Willison 88065fb74f Increase size of allow/actor fields, refs #908 2020-07-24 16:52:16 -07:00
Simon Willison 12c0bc09cc /-/allow-debug tool, closes #908 2020-07-24 15:55:10 -07:00
abeyerpath 6be5654ffa
Exclude tests from package, properly this time
The `exclude` argument to `find_packages` needs an iterable of package
names.

Closes #456 - thanks, @abeyerpath!
2020-07-24 13:39:53 -07:00
Simon Willison 028f193dd6
How to use a custom domain with Cloud Run 2020-07-22 11:17:05 -07:00
Simon Willison 213e6a8926 content-length for DB downloads, closes #905 2020-07-21 21:52:35 -07:00
Simon Willison 02dc6298bd permission_allowed resource can be a tuple 2020-07-21 08:22:36 -07:00
Simon Willison d9a5ef1c32
Don't need this, we're not using GitHub pages 2020-07-19 17:49:32 -07:00
Simon Willison 1f6a134369 await request.post_body() method, closes #897 2020-07-17 13:12:35 -07:00
Simon Willison c5f06bc356
"white-space: pre-wrap" for all table cells, refs #896 2020-07-16 12:06:45 -07:00
Simon Willison 4691228a81
Fix for version color in nav, refs #892 2020-07-12 13:00:16 -07:00
Simon Willison ee0ef01652 Added new logo to the documentation 2020-07-12 12:53:29 -07:00
Simon Willison cd231e97cd
Updated example for asgi_wrapper 2020-07-07 19:01:13 -07:00
Simon Willison ba739b2457
An open source multi-tool for exploring and publishing data 2020-07-07 12:54:54 -07:00
Simon Willison bcb59ca466
codecov should not be blocking
From https://docs.codecov.io/docs/common-recipe-list
2020-07-02 21:29:32 -07:00
Amjith Ramanujam ea99a4431c
Only load Python files from plugins-dir
Pull request #890. Thanks, @amjith!

* Load only python files from plugins-dir
* Add a test to verify non-python files are not loaded as plugins
2020-07-02 20:08:32 -07:00
Simon Willison 57879dc8b3 Better titles for canned query pages, closes #887 2020-07-01 17:23:37 -07:00
Simon Willison f1f581b7ff Release notes for 0.45
Refs #687, #807, #812, #832, #834, #835, #840, #842, #846, #852, #854, #863, #864, #870
2020-07-01 14:43:07 -07:00
Simon Willison c7e8a4aaac Handle missing request object, refs #884 2020-07-01 14:36:36 -07:00
Simon Willison 1bae24691f Only show 'log out' if ds_cookie present, closes #884 2020-07-01 14:25:59 -07:00
Simon Willison f7c3fc978c
datasette-auth-tokens improved description
Refs https://github.com/simonw/datasette-auth-tokens/issues/1
2020-07-01 12:26:30 -07:00
Simon Willison 676bb64c87 Release 0.45a5
Refs #840, #832, #835, #812
2020-06-30 21:25:35 -07:00
Simon Willison 549b1c2063 New forbidden() plugin hook, closes #812 2020-06-30 21:17:38 -07:00
Simon Willison 3ec5b1abf6 CSRF tests for canned query POST, closes #835 2020-06-30 20:08:00 -07:00
Simon Willison 08b4928a75 asgi-csrf>=0.6, refs #835 2020-06-30 18:18:19 -07:00
Simon Willison 2b85bbdd45 Added logout button to pattern portfolio, closes #876
Refs #875
2020-06-30 16:47:23 -07:00
Simon Willison cfd69593f7 Removed hashes from examples on docs/pages - closes #879 2020-06-30 16:45:34 -07:00
Simon Willison d6e03b0430 Cascading view permissions, closes #832
- If you have table permission but not database permission you can now view the table page
- New BaseView.check_permissions() method
2020-06-30 16:40:50 -07:00
Simon Willison ab76eddf31 Express no opinion if allow block is missing
Default permission policy was returning True by default for permission
checks - which means that if allow was not defined for a level it would
be treated as a passing check.

This is better: we now return None of the allow block is not defined,
which means 'I have no opinion on this' and allows other code to make
its own decisions.

Added while working on #832
2020-06-30 15:49:06 -07:00
Simon Willison 9ac6292614 _header_x now defaults to empty string
Prior to this a request to e.g. https://latest.datasette.io/fixtures/magic_parameters
which did not include a User-Agent header would trigger a 500 error.
2020-06-30 15:00:17 -07:00
Simon Willison 2115d7e345 Logout link in nav, refs #875 2020-06-29 11:40:40 -07:00
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