Simon Willison
|
1f55a4a2b6
|
Release notes for 0.45a3
|
2020-06-27 20:22:49 -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 |
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
|
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
|
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
|
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
|
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
|
0c27f10f9d
|
Updated plugin examples to include datasette-psutil
|
2020-06-13 16:41:26 -07:00 |
Simon Willison
|
ae99af2536
|
Fixed rST code formatting, refs #834
|
2020-06-13 10:59:35 -07:00 |
Simon Willison
|
09a3479a54
|
New "startup" plugin hook, closes #834
|
2020-06-13 10:55:41 -07:00 |
Simon Willison
|
b906030235
|
Release Datasette 0.44
Refs #395, #519, #576, #699, #706, #774, #777, #781, #784, #788, #790, #797,
#798, #800, #802, #804, #819, #822, #825, #826, #827, #828, #829, #830,
#833, #836, #837, #839
Closes #806.
|
2020-06-11 18:19:30 -07:00 |
Simon Willison
|
793a52b317
|
Link to datasett-auth-tokens and datasette-permissions-sql in docs, refs #806
|
2020-06-11 17:43:51 -07:00 |
Simon Willison
|
1d2e8e09a0
|
Some last touches to the 0.44 release notes, refs #806
|
2020-06-11 17:33:16 -07:00 |
Simon Willison
|
fba8ff6e76
|
"$env": "X" mechanism now works with nested lists, closes #837
|
2020-06-11 17:21:48 -07:00 |
Simon Willison
|
09bf3c6322
|
Documentation for publish --secret, refs #787
|
2020-06-11 09:14:30 -07:00 |
Simon Willison
|
fcc7cd6379
|
rST formatting
|
2020-06-11 09:05:15 -07:00 |
Simon Willison
|
98632f0a87
|
--secret command for datasette publish
Closes #787
|
2020-06-11 09:02:03 -07:00 |
Simon Willison
|
ce4958018e
|
Clarify that view-query also lets you execute writable queries
|
2020-06-10 17:10:28 -07:00 |
Simon Willison
|
198545733b
|
Document that "allow": {} denies all
https://github.com/simonw/datasette/issues/831#issuecomment-642324847
|
2020-06-10 16:56:53 -07:00 |
Simon Willison
|
9f236c4c00
|
Warn that register_facet_classes may change, refs #830
Also documented policy that plugin hooks should not be shipped without a real example. Refs #818
|
2020-06-10 13:06:46 -07:00 |
Simon Willison
|
57e812d5de
|
ds_author cookie can now expire, closes #829
Refs https://github.com/simonw/datasette-auth-github/issues/62#issuecomment-642152076
|
2020-06-10 12:39:54 -07:00 |
Simon Willison
|
d828abadde
|
Fix horizontal scrollbar on changelog, refs #828
|
2020-06-09 21:20:07 -07:00 |
Simon Willison
|
f3951539f1
|
Hopefully fix horizontal scroll with changelog on mobile
|
2020-06-09 18:19:11 -07:00 |
Simon Willison
|
d94fc39e33
|
Crafty JavaScript trick for generating commit references
|
2020-06-09 16:43:58 -07:00 |
Simon Willison
|
b3919d8059
|
Mostly complete release notes for 0.44, refs #806
|
2020-06-09 16:03:42 -07:00 |
Simon Willison
|
b5f04f42ab
|
ds_actor cookie documentation, closes #826
|
2020-06-09 15:32:24 -07:00 |
Simon Willison
|
008e2f63c2
|
response.set_cookie(), closes #795
|
2020-06-09 15:19:37 -07:00 |
Simon Willison
|
f240970b83
|
Fixed tests/fixtures.py, closes #804
|
2020-06-09 12:58:12 -07:00 |
Simon Willison
|
56eb80a459
|
Documented CSRF protection, closes #827
|
2020-06-09 12:32:52 -07:00 |
Simon Willison
|
7633b9ab24
|
unauthenticated: true method plus allow block docs, closes #825
|
2020-06-09 10:01:03 -07:00 |
Simon Willison
|
70dd14876e
|
Improved documentation for permissions, refs #699
|
2020-06-09 09:04:46 -07:00 |
Simon Willison
|
3aa87eeaf2
|
Documentation no loger suggests that actor["id"] is required, closes #823
|
2020-06-09 07:58:12 -07:00 |
Simon Willison
|
fa87d16612
|
Clearer docs for actor_matches_allow
|
2020-06-09 07:10:46 -07:00 |
Simon Willison
|
5a6a73e319
|
Replace os.urandom(32).hex() with secrets.token_hex(32)
|
2020-06-08 21:37:35 -07:00 |
Simon Willison
|
fac8e93815
|
request.url_vars property, closes #822
|
2020-06-08 20:40:00 -07:00 |
Simon Willison
|
db660db463
|
Docs + unit tests for Response, closes #821
|
2020-06-08 20:32:10 -07:00 |
Simon Willison
|
f5e79adf26
|
register_routes() plugin hook (#819)
Fixes #215
|
2020-06-08 20:12:06 -07:00 |
Simon Willison
|
49d6d2f7b0
|
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-08 17:05:44 -07:00 |
Simon Willison
|
e0a4664fba
|
Better example plugin for permission_allowed
Also fixed it so default permission checks run after plugin permission checks, refs #818
|
2020-06-08 15:09:57 -07:00 |
Simon Willison
|
8205d58316
|
Corrected documentation for resource in view-query
|
2020-06-08 13:10:40 -07:00 |
Simon Willison
|
5437085382
|
Documentation for allow blocks on more stuff, closes #811
|
2020-06-08 12:32:27 -07:00 |
Simon Willison
|
c7d145e016
|
Updated example for extra_template_vars hook, closes #816
|
2020-06-08 12:06:05 -07:00 |
Simon Willison
|
799c5d5357
|
Renamed resource_identifier to resource, refs #817
|
2020-06-08 11:59:53 -07:00 |
Simon Willison
|
c9f1ec616e
|
Removed resource_type from permissions system, closes #817
Refs #811, #699
|
2020-06-08 11:51:03 -07:00 |
Simon Willison
|
177059284d
|
New request.actor property, refs #811
|
2020-06-08 10:05:32 -07:00 |
Simon Willison
|
613fa551a1
|
Removed view-row permission, for the moment - refs #811
https://github.com/simonw/datasette/issues/811#issuecomment-640338347
|
2020-06-07 20:14:27 -07:00 |
Simon Willison
|
5ed2853cf3
|
Fix permissions documenation test
|
2020-06-07 14:01:22 -07:00 |
Simon Willison
|
a1e801453a
|
Renamed execute-query permission to execute-sql, refs #811
|
2020-06-07 13:20:59 -07:00 |
Simon Willison
|
4340845754
|
Nested permission checks for all views, refs #811
|
2020-06-07 13:03:08 -07:00 |
Simon Willison
|
86dec9e8ff
|
Added permission check to every view, closes #808
|
2020-06-06 22:30:36 -07:00 |
Simon Willison
|
bd4de0647d
|
Improved permissions documentation
|
2020-06-06 19:09:59 -07:00 |
Simon Willison
|
7dc23cd71a
|
Whitespace
|
2020-06-06 13:05:09 -07:00 |
Simon Willison
|
f1daf64e72
|
Link to canned query permissions documentation
|
2020-06-06 12:46:40 -07:00 |
Simon Willison
|
14f6b4d200
|
actor_matches_allow utility function, refs #800
|
2020-06-06 11:39:11 -07:00 |
Simon Willison
|
d4c7b85f55
|
Documentation for "id": "*", refs #800
|
2020-06-06 11:23:54 -07:00 |
Simon Willison
|
30a8132d58
|
Docs for authentication + canned query permissions, refs #800
Closes #786
|
2020-06-06 11:18:46 -07:00 |
Simon Willison
|
0da7f49b24
|
Rename RequestParameters to MultiParams, refs #799
|
2020-06-05 10:52:50 -07:00 |
Simon Willison
|
0c064c5fe2
|
More things you can do with plugins
|
2020-06-04 20:10:40 -07:00 |
Simon Willison
|
2074efa5a4
|
Another actor_from_request example
|
2020-06-04 18:38:32 -07:00 |
Simon Willison
|
8524866fdf
|
Link to authentication docs
|
2020-06-04 16:58:19 -07:00 |
Simon Willison
|
9cb44be42f
|
Docs and tests for "params", closes #797
|
2020-06-03 14:04:40 -07:00 |
Simon Willison
|
aa82d03704
|
Basic writable canned queries
Refs #698. First working version of this feature.
* request.post_vars() no longer discards empty values
|
2020-06-03 08:16:50 -07:00 |
Simon Willison
|
a7137dfe06
|
/-/plugins now shows details of hooks, closes #794
Also added /-/plugins?all=1 parameter to see default plugins.
|
2020-06-02 14:49:28 -07:00 |
Simon Willison
|
4fa7cf6853
|
Flash messages mechanism, closes #790
|
2020-06-02 14:12:18 -07:00 |
Simon Willison
|
1d0bea157a
|
New request.cookies property
|
2020-06-02 14:11:41 -07:00 |
Simon Willison
|
dfdbdf378a
|
Added /-/permissions debug tool, closes #788
Also started the authentication.rst docs page, refs #786.
Part of authentication work, refs #699.
|
2020-05-31 22:00:36 -07:00 |
Simon Willison
|
9f3d4aba31
|
--root option and /-/auth-token view, refs #784
|
2020-05-31 18:16:42 -07:00 |
Simon Willison
|
7690d5ba40
|
Docs for --secret/DATASETTE_SECRET - closes #785
|
2020-05-31 18:16:42 -07:00 |
Simon Willison
|
fa27e44fe0
|
datasette.sign() and datasette.unsign() methods, refs #785
|
2020-05-31 18:16:42 -07:00 |
Simon Willison
|
1fc6ceefb9
|
Added /-/actor.json - refs #699
Also added JSON highlighting to introspection documentation.
|
2020-05-31 18:16:42 -07:00 |
Simon Willison
|
9315bacf6f
|
Implemented datasette.permission_allowed(), refs #699
|
2020-05-31 18:16:42 -07:00 |
Simon Willison
|
461c82838d
|
Implemented actor_from_request with tests, refs #699
Also added datasette argument to permission_allowed hook
|
2020-05-31 18:16:42 -07:00 |
Simon Willison
|
060a56735c
|
actor_from_request and permission_allowed hookspecs, refs #699
|
2020-05-31 18:16:42 -07:00 |
Simon Willison
|
c4fbe50676
|
Documentation for Database introspection methods, closes #684
Refs #576
|
2020-05-30 11:40:30 -07:00 |
Simon Willison
|
3c5afaeb23
|
Re-arranged internals documentation
Request is more useful to most people than Database.
|
2020-05-30 11:06:13 -07:00 |
Simon Willison
|
5ae14c9f20
|
Improved documentation for RequestParameters class
|
2020-05-30 10:54:22 -07:00 |
Simon Willison
|
31fb006a9b
|
Added datasette.get_database() method
Refs #576
|
2020-05-30 07:29:59 -07:00 |
Simon Willison
|
81be31322a
|
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-29 16:22:22 -07:00 |
Simon Willison
|
84616a2364
|
request.args.getlist() returns [] if missing, refs #774
Also added some unit tests for request.args
|
2020-05-29 15:51:30 -07:00 |
Simon Willison
|
7ccd55a163
|
Views do support sorting now, refs #508
|
2020-05-29 15:44:22 -07:00 |
Simon Willison
|
3c1a60589e
|
Consistent capitalization of SpatiaLite in the docs
|
2020-05-28 11:27:44 -07:00 |
Simon Willison
|
21a8ffc82d
|
Tip about referencing issues in release notes commit
|
2020-05-28 10:49:58 -07:00 |
Simon Willison
|
40885ef24e
|
Noted tool for converting release notes to Markdown
|
2020-05-28 07:41:22 -07:00 |
Simon Willison
|
d56f402822
|
Release notes for 0.43
Refs #581, #770, #729, #706, #751, #706, #744, #771, #773
|
2020-05-28 07:11:06 -07:00 |
Simon Willison
|
5ab411c733
|
can_render mechanism for register_output_renderer, closes #770
|
2020-05-27 22:57:05 -07:00 |
Simon Willison
|
75cd432e5a
|
Ability to set custom table/view page size in metadata, closes #751
|
2020-05-27 22:00:04 -07:00 |
Simon Willison
|
57f48b8416
|
Made register_output_renderer callback optionally awaitable, closes #776
|
2020-05-27 19:43:30 -07:00 |
Simon Willison
|
52c4387c7d
|
Redesigned register_output_renderer plugin hook, closes #581
|
2020-05-27 19:21:41 -07:00 |
Simon Willison
|
4b96857f17
|
Link to request object documentation, refs #706
|
2020-05-27 15:35:25 -07:00 |
Simon Willison
|
50652f474b
|
Stop using .raw_args, deprecate and undocument it - refs #706
|
2020-05-27 15:29:42 -07:00 |
Simon Willison
|
6d7cb02f00
|
Documentation for request object, refs #706
|
2020-05-27 15:17:53 -07:00 |
Simon Willison
|
ad88c9b3f3
|
Mechanism for adding a default URL fragment to a canned query
Closes #767
|
2020-05-27 14:52:03 -07:00 |
Simon Willison
|
af5702220c
|
Added datasette-media plugin to the docs
|
2020-05-27 13:34:12 -07:00 |
Simon Willison
|
9e6075d21f
|
rST fixes for register_output_renderer docs
|
2020-05-27 11:35:31 -07:00 |
Simon Willison
|
af6c6c5d6f
|
Release 0.42, refs #685
|
2020-05-08 10:38:27 -07:00 |
Simon Willison
|
2694ddcf14
|
Test for .execute_fn(), refs #685
|
2020-05-08 10:29:17 -07:00 |
Simon Willison
|
5ab848f0b8
|
RST fix
|
2020-05-08 10:04:47 -07:00 |
Simon Willison
|
545c71b604
|
Small cleanup
|
2020-05-08 09:57:01 -07:00 |
Simon Willison
|
ec9cdc3ffa
|
Documentation for .execute_fn(), refs #685
|
2020-05-08 09:52:53 -07:00 |
Simon Willison
|
4433306c18
|
Improvements + docs for db.execute() and Results class
* Including new results.first() and results.single_value() methods. Closes #685
|
2020-05-08 09:05:46 -07:00 |
Simon Willison
|
182e5c8745
|
Release Datasette 0.41
Refs #648 #731 #750 #151 #761 #752 #719 #756 #748
|
2020-05-06 11:20:58 -07:00 |
Simon Willison
|
9212f0c9c3
|
Removed note about virtual environments
Simplifies things now that we also talk about pipx.
|
2020-05-04 12:35:28 -07:00 |
Simon Willison
|
0cdf111ae6
|
Move pip/pipx to top of installation instructions
Less intimidating than Docker, hopefully.
|
2020-05-04 12:31:13 -07:00 |
Simon Willison
|
7e2bb31464
|
Documented installation using pipx, closes #756
|
2020-05-04 12:10:31 -07:00 |
Simon Willison
|
9424687e9e
|
Consistently return charset utf-8, closes #752
|
2020-05-04 10:42:10 -07:00 |
Simon Willison
|
d996d4122b
|
Add badges to documentation index
|
2020-05-03 08:46:49 -07:00 |
Simon Willison
|
b3aa5f4313
|
Added 'not like' table filter, refs #750
|
2020-05-02 12:04:54 -07:00 |
Simon Willison
|
4df1b4d8b0
|
Re-arranged full-text search docs
Also documented ?_searchmode=raw - closes #748
|
2020-04-30 14:06:00 -07:00 |
Simon Willison
|
cf2d547ffc
|
Documentation for #747
|
2020-04-30 12:02:28 -07:00 |
Simon Willison
|
25014ca25e
|
Configuration directory mode, closes #731
|
2020-04-27 09:30:24 -07:00 |
Simon Willison
|
304e7b1d9f
|
Mechanism for creating custom pages using templates
Closes #648
|
2020-04-26 11:46:43 -07:00 |
Simon Willison
|
227bb3e91f
|
Added more example plugins
|
2020-04-22 06:47:20 -07:00 |
Simon Willison
|
8da108193b
|
Fixed a couple of spelling errors
|
2020-04-21 21:06:39 -07:00 |
Simon Willison
|
edb39c91f7
|
Release Datasette 0.40
|
2020-04-21 21:00:34 -07:00 |
Simon Willison
|
15e2321804
|
Extra body CSS class for canned queries, closes #727
|
2020-04-15 14:07:28 -07:00 |
Simon Willison
|
e0e7a0facf
|
Removed Zeit Now v1 support, closes #710
|
2020-04-04 16:04:33 -07:00 |
Simon Willison
|
6717c719dd
|
--metadata accepts YAML as well as JSON - closes #713
|
2020-04-02 12:30:53 -07:00 |
Simon Willison
|
2aaad72789
|
Refactor template setup into Datasette constructor
Closes #707
|
2020-03-26 18:12:43 -07:00 |
Simon Willison
|
99b1e91965
|
Fixed RST bug
|
2020-03-24 21:46:52 -07:00 |
Simon Willison
|
dedd775512
|
Release 0.39
|
2020-03-24 21:02:37 -07:00 |
Simon Willison
|
7656fd64d8
|
base_url configuration setting, closes #394
* base_url configuration setting
* base_url works for static assets as well
|
2020-03-24 17:18:43 -07:00 |
Simon Willison
|
5f4aeb1f19
|
Removed documentation for Zeit Now v1, refs #710
|
2020-03-24 15:45:24 -07:00 |
Simon Willison
|
c0aa929cdd
|
Added datasette-publish-fly plugin to docs, closes #704
|
2020-03-24 15:38:58 -07:00 |
Simon Willison
|
3b3cb3e8df
|
Added example plugins to plugin hooks docs, closes #709
|
2020-03-24 15:29:34 -07:00 |
Simon Willison
|
236aa065b2
|
"sort" and "sort_desc" metadata properties, closes #702
|
2020-03-21 19:28:35 -07:00 |
Simon Willison
|
3d656f4b31
|
Updated documentation formatting
|
2020-03-21 18:31:54 -07:00 |
Simon Willison
|
fd2a74dc09
|
Updated publish_subcommand example
|
2020-03-18 17:47:53 -07:00 |
Simon Willison
|
7e357abbc3
|
Release 0.38
|
2020-03-08 16:26:50 -07:00 |
Simon Willison
|
af9cd4ca64
|
Fixes for new --memory option, refs #694
|
2020-03-05 17:44:15 -06:00 |
Simon Willison
|
be20e6991e
|
Changelog for 0.37.1
|
2020-03-02 19:43:08 -08:00 |
Simon Willison
|
4933035b75
|
RST fix
|
2020-03-02 08:10:16 -08:00 |
Simon Willison
|
613f6fad72
|
Improved extra_template_vars documentation
|
2020-03-02 07:12:34 -08:00 |
Simon Willison
|
0f8e91c68f
|
Documentation fix
|
2020-02-25 23:13:39 -08:00 |
Simon Willison
|
1a77f30d3c
|
Fixed typo
|
2020-02-25 23:11:19 -08:00 |
Simon Willison
|
c9e6841482
|
News and release notes for 0.37
|
2020-02-25 17:22:02 -08:00 |
Simon Willison
|
78198df668
|
Fixed incorrect target name
|
2020-02-25 17:10:30 -08:00 |
Simon Willison
|
6cb65555f4
|
?_searchmode=raw option (#686)
|
2020-02-24 21:56:03 -08:00 |