commits

1,867 rows sorted by author_date descending

View and edit SQL

sha message author_date ▲ committer_date raw_author raw_committer repo author committer
647c5ff0f3e8140f40d7f41f0874ce4e1f4df65c Fixed broken CSS on 404 page, closes #777 2020-06-09T00:35:23Z 2020-06-09T00:35:23Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
49d6d2f7b0f6cb02e25022e1c9403811f1fa0a7c allow_sql block to control execute-sql upermission in metadata.json, closes #813 Also removed the --config allow_sql:0 mechanism in favour of the new allow_sql block. 2020-06-09T00:05:44Z 2020-06-09T00:05:44Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
e0a4664fbab5556454dac7f3c798253a34db2928 Better example plugin for permission_allowed Also fixed it so default permission checks run after plugin permission checks, refs #818 2020-06-08T22:09:57Z 2020-06-08T22:09:57Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
8205d58316ced1d5ae589b29a5a1b5ecb6257ab0 Corrected documentation for resource in view-query 2020-06-08T20:10:40Z 2020-06-08T20:10:40Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
54370853828bdf87ca844fd0fc00900e0e2e659d Documentation for allow blocks on more stuff, closes #811 2020-06-08T19:32:27Z 2020-06-08T19:32:27Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
c7d145e016522dd6ee229d4d0b3ba79a7a8877c1 Updated example for extra_template_vars hook, closes #816 2020-06-08T19:06:05Z 2020-06-08T19:06:05Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
040fc0546f1ad602125ecdc27d9d013d830aa808 Updated tests, refs #817 2020-06-08T19:02:56Z 2020-06-08T19:02:56Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
799c5d53570d773203527f19530cf772dc2eeb24 Renamed resource_identifier to resource, refs #817 2020-06-08T18:59:11Z 2020-06-08T18:59:53Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
c9f1ec616e5a8c83f554baaedd38663569fb9b91 Removed resource_type from permissions system, closes #817 Refs #811, #699 2020-06-08T18:51:03Z 2020-06-08T18:51:03Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
5598c5de011db95396b65b5c8c251cbe6884d6ae Database list on index page respects table/view permissions, refs #811 2020-06-08T18:34:14Z 2020-06-08T18:34:14Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
dcec89270a2e3b9fabed93f1d7b9be3ef86e9ed2 View list respects view-table permission, refs #811 Also makes a small change to the /fixtures.json JSON: "views": ["view_name"] Is now: "views": [{"name": "view_name", "private": true}] 2020-06-08T18:20:21Z 2020-06-08T18:20:59Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
9ac27f67fe346e753b562b711a2086e4c616d51d Show padlock on private query page, refs #811 2020-06-08T18:13:32Z 2020-06-08T18:13:32Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
aa420009c08921d0c9a68cf60a57959be0e8a2e5 Show padlock on private table page, refs #811 2020-06-08T18:07:11Z 2020-06-08T18:07:11Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
dfff34e1987976e72f58ee7b274952840b1f4b71 Applied black, refs #811 2020-06-08T18:03:33Z 2020-06-08T18:03:33Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
ab14b20b248dafbe7f9f9487985614939c83b517 Get tests working again 2020-06-08T17:16:24Z 2020-06-08T17:16:24Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
177059284dc953e6c76f86213aa470db2ff3eaca New request.actor property, refs #811 2020-06-08T17:05:32Z 2020-06-08T17:05:32Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
2a8b39800f194925658bd9e1b5e4cc12619d5e9c Updated tests, refs #811 2020-06-08T14:50:06Z 2020-06-08T14:50:06Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
3ce7f2e7dae010de97b67618c111ea5853164a69 Show padlock on private database page, refs #811 2020-06-08T14:23:10Z 2020-06-08T14:23:10Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
1cf86e5eccf3f92b483bacbad860879cf39b0ad6 Show padlock on private index page, refs #811 2020-06-08T14:18:37Z 2020-06-08T14:18:47Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
cc218fa9be55842656d030545c308392e3736053 Move assert_permissions_checked() calls from test_html.py to test_permissions.py, refs #811 2020-06-08T14:02:31Z 2020-06-08T14:02:31Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
e18f8c3f871fe1e9e00554b5c6c75409cc1a5e6d New check_visibility() utility function, refs #811 2020-06-08T13:49:55Z 2020-06-08T13:49:55Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
9397d718345c4b35d2a5c55bfcbd1468876b5ab9 Implemented view-table, refs #811 2020-06-08T04:47:22Z 2020-06-08T04:47:22Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
b26292a4582ea7fe16c59d0ac99f3bd8c3d4b1d0 Test that view-query is respected by query list, refs #811 2020-06-08T03:56:49Z 2020-06-08T03:56:49Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
9b42e1a4f5902fb7d6ad0111189900e2656ffda3 view-database permission Also now using 🔒 to indicate private resources - resources that would not be available to the anonymous user. Refs #811 2020-06-08T03:50:37Z 2020-06-08T03:50:37Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
613fa551a1be31645deb0ece4b46638c181827e0 Removed view-row permission, for the moment - refs #811 https://github.com/simonw/datasette/issues/811#issuecomment-640338347 2020-06-08T03:14:27Z 2020-06-08T03:14:27Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
cd92e4fe2a47039a8c780e4e7183a0d2e7446884 Fixed test name, this executes view-query, not execute-sql - refs #811 2020-06-07T21:33:52Z 2020-06-07T21:33:56Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
8571ce388a23dd98adbdc1b7eff6c6eef5a9d1af Implemented view-instance permission, refs #811 2020-06-07T21:30:39Z 2020-06-07T21:30:39Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
ece0ba6f4bc152af6f605fc5f536ffa46af95274 Test + default impl for view-query permission, refs #811 2020-06-07T21:23:16Z 2020-06-07T21:23:16Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
abc733912447f284b38ddc389d18ba0a8cef8bcf Nicer pattern for make_app_client() in tests, closes #395 2020-06-07T21:14:10Z 2020-06-07T21:14:10Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
5ed2853cf3432a0f5a3511df8d2ffe9c6c79a584 Fix permissions documenation test 2020-06-07T21:01:22Z 2020-06-07T21:01:22Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
a1e801453aaeb540d2aea8cccb90b425af737c44 Renamed execute-query permission to execute-sql, refs #811 2020-06-07T20:20:59Z 2020-06-07T20:20:59Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
4340845754e90fe778a7da8668b4fd9bf6ccc2c6 Nested permission checks for all views, refs #811 2020-06-07T20:03:08Z 2020-06-07T20:03:08Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
86dec9e8fffd6c4efec928ae9b5713748dec7e74 Added permission check to every view, closes #808 2020-06-07T05:30:36Z 2020-06-07T05:30:36Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
bd4de0647d660709de122303a1aece3a8ef88394 Improved permissions documentation 2020-06-07T02:09:59Z 2020-06-07T02:09:59Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
7dc23cd71aeb5a0e194f25fd1b8e569e3bb2149b Whitespace 2020-06-06T20:05:09Z 2020-06-06T20:05:09Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
f1daf64e722f9aedc61bea1636a9df715c4c4a8e Link to canned query permissions documentation 2020-06-06T19:46:40Z 2020-06-06T19:46:40Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
415ccd7cbdeebfb52f514a0387221023aa8b4d91 Merge pull request #803 from simonw/canned-query-permissions 2020-06-06T19:40:19Z 2020-06-06T19:40:19Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
3359d54a4eb9c9725c27a85437661b5180c4099a Use cookies when accessing csrftoken_from 2020-06-06T19:33:08Z 2020-06-06T19:33:08Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
966eec7f75d2e1b809b001bb7e82f35d477f77ea Check permissions on canned query page, refs #800 2020-06-06T19:27:00Z 2020-06-06T19:27:00Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
070838bfa19b177f59ef3bd8f0139266adecda90 Better test for Vary header 2020-06-06T19:26:19Z 2020-06-06T19:26:19Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
3f83d4632a643266f46ccd955d951be7aacbab99 Respect query permissions on database page, refs #800 2020-06-06T19:05:22Z 2020-06-06T19:05:22Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
14f6b4d200f24940a795ddc0825319ab2891bde2 actor_matches_allow utility function, refs #800 2020-06-06T18:39:11Z 2020-06-06T18:39:11Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
d4c7b85f556230923d37ff327a068ed08aa9b62b Documentation for "id": "*", refs #800 2020-06-06T18:23:54Z 2020-06-06T18:23:54Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
30a8132d58a89fed0e034e058b62fab5180fae0f Docs for authentication + canned query permissions, refs #800 Closes #786 2020-06-06T18:18:46Z 2020-06-06T18:18:46Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
9c563d6aed072f14d3d25f58e84659f9caa1a243 Bump asgi-csrf to 0.5.1 for a bug fix Refs https://github.com/simonw/asgi-csrf/issues/10 2020-06-06T00:15:52Z 2020-06-06T00:15:52Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
75c143a84cee2fad878c6318755582522b9afff3 Fixed /-/plugins?all=1, refs #802 2020-06-05T23:55:08Z 2020-06-05T23:55:08Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
f786033a5f0098371cb1df1ce83959b27c588115 Fixed 'datasette plugins' command, with tests - closes #802 2020-06-05T23:46:37Z 2020-06-05T23:46:37Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
033a1bb22c70a955d9fd1d3b4675a0e2e5c8b8cd Removed rogue print() from test 2020-06-05T19:06:43Z 2020-06-05T19:06:43Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
84a9c4ff75460f91c049bd30bba3cee1fd89d9e2 CSRF protection (#798) Closes #793. * Rename RequestParameters to MultiParams, refs #799 * Allow tuples as well as lists in MultiParams, refs #799 * Use csrftokens when running tests, refs #799 * Use new csrftoken() function, refs https://github.com/simonw/asgi-csrf/issues/7 * Check for Vary: Cookie hedaer, refs https://github.com/simonw/asgi-csrf/issues/8 2020-06-05T19:05:57Z 2020-06-05T19:05:57Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
d96ac1d52cacf34bae09705eb8f9a0e3f81c426b Allow tuples as well as lists in MultiParams, refs #799 2020-06-05T18:01:06Z 2020-06-05T18:01:06Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
0da7f49b24e429e81317e370cb01de941f1b873e Rename RequestParameters to MultiParams, refs #799 2020-06-05T17:52:50Z 2020-06-05T17:52:50Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
0c064c5fe220b7b3d8dcf85b02b4e60452c47232 More things you can do with plugins 2020-06-05T03:10:40Z 2020-06-05T03:10:40Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
2074efa5a49f72cf1c47c28894de6c0b1f0fb3b1 Another actor_from_request example 2020-06-05T01:38:32Z 2020-06-05T01:38:32Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
8524866fdf0b43a68e1ee24c419c80b5cddaaeca Link to authentication docs 2020-06-04T23:58:19Z 2020-06-04T23:58:19Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
9cb44be42f012a68c8c3904a37008200cc7bb1f4 Docs and tests for "params", closes #797 2020-06-03T21:04:40Z 2020-06-03T21:04:40Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
aa82d0370463580f2cb10d9617f1bcbe45cc994a Basic writable canned queries Refs #698. First working version of this feature. * request.post_vars() no longer discards empty values 2020-06-03T15:16:50Z 2020-06-03T15:16:50Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
0934844c0b6d124163d0185fb6a41ba5a71433da request.post_vars() no longer discards empty values 2020-06-03T13:48:39Z 2020-06-03T13:48:39Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
9690ce606823bbfceb0c50d59e03adf7bb1a8475 More efficient modifiation of scope 2020-06-03T00:05:33Z 2020-06-03T00:05:33Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
3c5e4f266dfa07bd0bbb530d17019207f787d806 Added messages to pattern portfolio, refs #790 2020-06-02T22:34:50Z 2020-06-02T22:34:50Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
a7137dfe069e5fceca56f78631baebd4a6a19967 /-/plugins now shows details of hooks, closes #794 Also added /-/plugins?all=1 parameter to see default plugins. 2020-06-02T21:49:28Z 2020-06-02T21:49:28Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
5278c04682929f0b155102827f9150c7b2112215 More consistent use of response.text/response.json in tests, closes #792 2020-06-02T21:29:12Z 2020-06-02T21:29:12Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
4fa7cf68536628344356d3ef8c92c25c249067a0 Flash messages mechanism, closes #790 2020-06-02T21:08:12Z 2020-06-02T21:12:18Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
1d0bea157ac7074f23229af247565a78fa71c03f New request.cookies property 2020-06-02T21:06:53Z 2020-06-02T21:11:41Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
b4cd8797b8592a8bf060a76eb7227f3f1ba61d32 permission_checks is now _permission_checks 2020-06-02T17:43:50Z 2020-06-02T21:11:32Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
dfdbdf378aba9afb66666f66b78df2f2069d2595 Added /-/permissions debug tool, closes #788 Also started the authentication.rst docs page, refs #786. Part of authentication work, refs #699. 2020-06-01T05:00:36Z 2020-06-01T05:00:36Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
57cf5139c552cb7feab9947daa949ca434cc0a66 Default actor_from_request hook supporting ds_actor signed cookie Refs #784, refs #699 2020-06-01T01:06:16Z 2020-06-01T01:16:42Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
9f3d4aba31baf1e2de1910a40bc9663ef53b94e9 --root option and /-/auth-token view, refs #784 2020-06-01T01:03:17Z 2020-06-01T01:16:42Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
7690d5ba40fda37ba4ba38ad56fe06c3aed071de Docs for --secret/DATASETTE_SECRET - closes #785 2020-06-01T00:18:06Z 2020-06-01T01:16:42Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
fa27e44fe09f57dcb87157be97f15b6add7f14ad datasette.sign() and datasette.unsign() methods, refs #785 2020-05-31T22:42:08Z 2020-06-01T01:16:42Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
1fc6ceefb9eddd29844e7bfe3e06a83df6ce3dc4 Added /-/actor.json - refs #699 Also added JSON highlighting to introspection documentation. 2020-05-31T01:51:00Z 2020-06-01T01:16:42Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
9315bacf6f63e20781d21d170e55a55b2c54fcdd Implemented datasette.permission_allowed(), refs #699 2020-05-30T22:24:43Z 2020-06-01T01:16:42Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
461c82838d65dd9f61c5be725343a82c61b5c3f3 Implemented actor_from_request with tests, refs #699 Also added datasette argument to permission_allowed hook 2020-05-30T22:06:33Z 2020-06-01T01:16:42Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
060a56735c1d3bde0a4c7674e82b5f45bef34dee actor_from_request and permission_allowed hookspecs, refs #699 2020-05-30T20:24:00Z 2020-06-01T01:16:42Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
c4fbe50676929b512940aab90de590a78ac5d7fc Documentation for Database introspection methods, closes #684 Refs #576 2020-05-30T18:40:30Z 2020-05-30T18:40:30Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
124acf34a678f0af438dc31a2dceebf28612f249 Removed db.get_outbound_foreign_keys method It duplicated the functionality of db.foreign_keys_for_table. 2020-05-30T18:39:46Z 2020-05-30T18:39:46Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
4d798ca0e3df246bd47f0600cc7b5118ba33ac16 Added test for db.mtime_ns 2020-05-30T18:17:20Z 2020-05-30T18:17:20Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
3c5afaeb231c94a55309f1c0187ff6dedd5b5fb8 Re-arranged internals documentation Request is more useful to most people than Database. 2020-05-30T18:06:13Z 2020-05-30T18:06:13Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
5ae14c9f20e0dc59c588f0e93eedfefe0f0f3e8e Improved documentation for RequestParameters class 2020-05-30T17:54:22Z 2020-05-30T17:54:22Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
de1cde65a67cf9acb227b4df67230b47fdfc9a0e Moved request tests to test_internals_request.py 2020-05-30T17:45:11Z 2020-05-30T17:45:11Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
012c76901af65442e90eac4b36db43455e3c922f _ prefix for many private methods of Datasette, refs #576 2020-05-30T14:38:46Z 2020-05-30T14:38:46Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
ca56c226a9f1b02e871d7d7b392619a805b7f1ed Renamed test_database.py to test_internals_database.py Also added a db fixture to remove some boilerplate. 2020-05-30T14:33:02Z 2020-05-30T14:33:02Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
31fb006a9b05067a8eb2f774ad3a3b15b4565924 Added datasette.get_database() method Refs #576 2020-05-30T14:28:29Z 2020-05-30T14:29:59Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
81be31322a968d23cf57cee62b58df55433385e3 New implementation for RequestParams - no longer subclasses dict - request.args[key] now returns first item, not all items - removed request.raw_args entirely Closes #774 2020-05-29T23:18:01Z 2020-05-29T23:22:22Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
f272cbc65fbf56368413320e21c87dc842e0a083 Use request.args.getlist instead of request.args[...], refs #774 2020-05-29T22:57:46Z 2020-05-29T22:57:46Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
84616a2364df56f966f579eecc0716b9877f0d70 request.args.getlist() returns [] if missing, refs #774 Also added some unit tests for request.args 2020-05-29T22:51:30Z 2020-05-29T22:51:30Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
3e8932bf6443bd5168f22d559597aed619205995 Upgrade to actions/cache@v2 2020-05-29T22:12:10Z 2020-05-29T22:12:10Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
7ccd55a1638d7d2762f2789f192e5bb81fb0d0c7 Views do support sorting now, refs #508 2020-05-28T18:54:57Z 2020-05-29T22:44:22Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
3c1a60589e14849344acd8aa6da0a60b40fbfc60 Consistent capitalization of SpatiaLite in the docs 2020-05-28T18:27:24Z 2020-05-28T18:27:44Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
21a8ffc82dcf5e8e5f484ce39ee9713f959e0ad5 Tip about referencing issues in release notes commit 2020-05-28T17:49:58Z 2020-05-28T17:49:58Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
7bb30c1f11f7246baf7bb6a229f6b93572c4cbe3 request.url now respects force_https_urls, closes #781 2020-05-28T17:09:32Z 2020-05-28T17:10:06Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
40885ef24e32d91502b6b8bbad1c7376f50f2830 Noted tool for converting release notes to Markdown 2020-05-28T14:41:22Z 2020-05-28T14:41:22Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
d56f402822df102f9cf1a9a056449d01a15e3aae Release notes for 0.43 Refs #581, #770, #729, #706, #751, #706, #744, #771, #773 2020-05-28T14:10:21Z 2020-05-28T14:11:06Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
5ab411c733233435d613d04c610a5a41fd0b7735 can_render mechanism for register_output_renderer, closes #770 2020-05-28T05:57:05Z 2020-05-28T05:57:05Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
75cd432e5a96c5fe2577f839c3a059fd6bf41124 Ability to set custom table/view page size in metadata, closes #751 2020-05-28T05:00:04Z 2020-05-28T05:00:04Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
510c1989d43cd9b7c9f116ad161b7380220ac5d5 Removed xfail, refs #773 2020-05-28T04:11:53Z 2020-05-28T04:11:53Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
6d95cb4f9146a5c4584a147bdf243c778a0f23f5 Unit test for register_facet_classes plugin, closes #773 I was a bit lazy with this one. I didn't hook up a test for the facet_results mechanism. The custom facet hook isn't a great design so I will probably rethink it at some point in the future anyway. 2020-05-28T04:09:16Z 2020-05-28T04:09:16Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
defead17a4c9d68670ba2d9aeec9c2a70b5b059e Test for publish_subcommand hook, refs #773 2020-05-28T03:30:32Z 2020-05-28T03:30:32Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
cbeea23d00b36f72386e68b67d76fdb8a151a486 Test for prepare_jinja2_environment, refs #773 2020-05-28T03:13:32Z 2020-05-28T03:13:32Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
57f48b8416f5e13df138d63db5bfffd0bb99a9b4 Made register_output_renderer callback optionally awaitable, closes #776 2020-05-28T02:43:30Z 2020-05-28T02:43:30Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
52c4387c7d37c867104e3728cc1f4c4d1e100642 Redesigned register_output_renderer plugin hook, closes #581 2020-05-28T02:21:41Z 2020-05-28T02:21:41Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599

Next page

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [commits] (
   [sha] TEXT PRIMARY KEY,
   [message] TEXT,
   [author_date] TEXT,
   [committer_date] TEXT,
   [raw_author] TEXT REFERENCES [raw_authors]([id]),
   [raw_committer] TEXT REFERENCES [raw_authors]([id]),
   [repo] INTEGER REFERENCES [repos]([id]),
   [author] INTEGER REFERENCES [users]([id]),
   [committer] INTEGER REFERENCES [users]([id])
);
CREATE INDEX [idx_commits_committer]
                ON [commits] ([committer]);
CREATE INDEX [idx_commits_author]
                ON [commits] ([author]);
CREATE INDEX [idx_commits_repo]
                ON [commits] ([repo]);
CREATE INDEX [idx_commits_raw_committer]
                ON [commits] ([raw_committer]);
CREATE INDEX [idx_commits_raw_author]
                ON [commits] ([raw_author]);
Powered by Datasette · Query took 25.869ms · About: github-to-sqlite