Wykres commitów

59 Commity (a8e66f9065fb55a3863cc05dfb2ce52f9618cdb7)

Autor SHA1 Wiadomość Data
Simon Willison a8e66f9065 Release 0.52
Refs #992, #1103, #1104, #1107, #1077, #1110, #1089, #1086, #1088, #1084
2020-11-28 15:54:35 -08:00
Simon Willison f2e2bfcdd9 Renamed datasette.config() to .setting(), closes #1107 2020-11-24 14:06:32 -08:00
Simon Willison 5a77f7a649 Updated docs renaming config to settings
- config.html is now settings.html
- ConfigOption in app.py is now Setting
- updated documentation unit tests

Refs #1106
2020-11-24 13:22:33 -08:00
Simon Willison 5eb8e9bf25 Removed words that minimize involved difficulty, closes #1089 2020-11-12 12:07:19 -08:00
Simon Willison 84bc7244c1 datasette.client now applies base_url, closes #1026 2020-10-31 12:29:42 -07:00
Simon Willison 7a67bc7a56 datasette.urls methods will not apply base_url prefix twice, refs #1026 2020-10-31 12:11:40 -07:00
Simon Willison 11eb1e026f datasette.urls.table(..., format="json"), closes #1035
Also improved tests for datasette.urls and added format= to some other methods
2020-10-31 11:16:28 -07:00
Simon Willison 42f4851e3e Documentation for .absolute_url(request, path), refs #1034 2020-10-24 18:17:30 -07:00
Simon Willison a96ad967e4 Cleaned up some rogue full-stops 2020-10-24 16:11:14 -07:00
Simon Willison 5a15197960
/db/table/-/blob/pk/column.blob download URL, refs #1036 2020-10-24 16:09:18 -07:00
Simon Willison 10c35bd371 urls.static_plugins() method, closes #1033
Also documented how to package static assets and templates in plugins, closes #575
2020-10-24 13:03:40 -07:00
Simon Willison d3e9b0aecb Document render_template() can take a Template, refs #1045 2020-10-23 17:26:15 -07:00
Simon Willison 8148c9e265 Document render_template(templates) list, closes #1045 2020-10-23 17:22:00 -07:00
Simon Willison 0d1763fb2f More datasette.urls usage, refs #1025 2020-10-19 21:24:47 -07:00
Simon Willison 5aacc021b5 Docs for datasette.urls, closes #904 2020-10-19 17:51:39 -07:00
Simon Willison 549a007683
Clarify that datasette.client HTTP calls are simulated 2020-10-09 16:13:41 -07:00
Simon Willison a61f0e4e15 Release 0.50
Refs #1001, #514, #891, #943, #969, #970, #978, #980, #996, #997

Closes #1002
2020-10-09 10:52:44 -07:00
Simon Willison c12b7a5def Documentation for datasette.client, closes #1006
Refs #1000
2020-10-09 10:20:25 -07:00
Simon Willison 5a184a5d21 Display column type in column action menu, closes #993
Also added new documented db.table_column_details() introspection method.
2020-10-05 17:32:10 -07:00
Simon Willison 52eabb019d Release 0.48
Refs #939, #938, #935, #914
2020-08-16 11:56:31 -07:00
Simon Willison af12f45c2b Documentation and tests for db.is_mutable 2020-08-15 16:27:32 -07:00
Simon Willison 02dc6298bd permission_allowed resource can be a tuple 2020-07-21 08:22:36 -07:00
Simon Willison 1f6a134369 await request.post_body() method, closes #897 2020-07-17 13:12:35 -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 793a52b317 Link to datasett-auth-tokens and datasette-permissions-sql in docs, refs #806 2020-06-11 17:43:51 -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 008e2f63c2 response.set_cookie(), closes #795 2020-06-09 15:19:37 -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 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 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 bd4de0647d Improved permissions documentation 2020-06-06 19:09:59 -07:00
Simon Willison 0da7f49b24 Rename RequestParameters to MultiParams, refs #799 2020-06-05 10:52:50 -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 fa27e44fe0 datasette.sign() and datasette.unsign() methods, refs #785 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 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 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 2694ddcf14 Test for .execute_fn(), refs #685 2020-05-08 10:29:17 -07:00