Wykres commitów

734 Commity (dash-encoding)

Autor SHA1 Wiadomość Data
Simon Willison d2e3fe3fac dash encoding is now like percent encoding but with dashes
Refs https://github.com/simonw/datasette/issues/1439#issuecomment-1059851259
2022-03-06 10:53:25 -08:00
Simon Willison f568c76cfb Another docs typo 2022-03-05 11:49:55 -08:00
Simon Willison d0246ce5c8 Docs typo 2022-03-05 11:49:35 -08:00
Simon Willison d1cb73180b Dash encoding functions, tests and docs, refs #1439 2022-03-05 11:31:49 -08:00
Simon Willison 7d24fd405f
datasette-auth-passwords is now an example of register_commands
Refs https://github.com/simonw/datasette-auth-passwords/issues/19
2022-02-09 09:47:54 -08:00
Simon Willison fa5fc327ad Release 0.60.2
Refs #1632
2022-02-07 15:34:01 -08:00
Simon Willison fdce6f29e1 Reconfigure ReadTheDocs, refs #1176 2022-02-06 22:38:27 -08:00
Simon Willison d9b508ffaa @documented decorator plus unit test plus sphinx.ext.autodoc
New mechanism for marking datasette.utils functions that should be covered by the
documentation, then testing that they have indeed been documented.

Also enabled sphinx.ext.autodoc which can now be used to embed the documented
versions of those functions.

Refs #1176
2022-02-06 22:31:06 -08:00
Simon Willison 9b83ff2ee4
Fixed spelling of "raise" 2022-02-05 22:46:33 -08:00
Simon Willison 8a25ea9bca Implemented import shortcuts, closes #957 2022-02-05 22:34:33 -08:00
Simon Willison d25b55ab5e Fixed rST warnings 2022-02-05 22:32:23 -08:00
Simon Willison 1c6b297e3e Link to datasette.tracer from trace_debug docs, refs #1576 2022-02-04 21:28:35 -08:00
Simon Willison da53e0360d tracer.trace_child_tasks() for asyncio.gather tracing
Also added documentation for datasette.tracer module.

Closes #1576
2022-02-04 21:19:49 -08:00
Simon Willison 8d5779acf0 Refactored alternate_url_json mechanism, refs #1620, #1533 2022-02-02 13:32:47 -08:00
Simon Willison b72b2423c7 rel=alternate JSON for queries and database pages, closes #1620 2022-02-02 13:22:45 -08:00
Simon Willison 3ef47a0896 Link rel=alternate header for tables and rows
Also added Access-Control-Expose-Headers: Link to --cors mode.

Closes #1533

Refs https://github.com/simonw/datasette-notebook/issues/2

LL#	metadata.json.1
2022-02-01 23:49:09 -08:00
Simon Willison 84391763a8
Clarify that magic parameters don't work for custom SQL 2022-01-25 10:39:03 -08:00
Simon Willison ffca55dfd7 Show link to /stable/ on /latest/ pages, refs #1608 2022-01-20 14:40:44 -08:00
Simon Willison e1770766ce Return plugins and hooks in predictable order 2022-01-19 21:14:04 -08:00
Simon Willison 43c30ce023 Use cog to maintain default plugin list in plugins.rst, closes #1600
Also fixed a bug I spotted where datasette.filters showed the same hook three times.
2022-01-19 21:04:09 -08:00
Simon Willison fae3983c51 Drop support for Python 3.6, closes #1577
Refs #1606
2022-01-19 20:31:22 -08:00
Simon Willison cb29119db9 Release 0.60
Refs #473, #625, #1527, #1544, #1547, #1551, #1552, #1555, #1556, #1557,
#1563, #1564, #1568, #1570, #1575, #1579, #1588, #1594
2022-01-13 17:36:51 -08:00
Simon Willison 3664ddd400 Replace update-docs-help.py with cog, closes #1598 2022-01-13 16:47:53 -08:00
Simon Willison ab7d6a7179 Updated settings help URL to avoid redirect 2022-01-13 16:38:16 -08:00
Simon Willison 714b4df1b1 Fixed reStructuredText warning, refs #1594 2022-01-13 16:36:28 -08:00
Simon Willison 76d66d5b2b Tweak order of documentation contents 2022-01-13 16:30:00 -08:00
Simon Willison 515f8d38eb Help summaries for publish cloudrun/heroku 2022-01-13 16:12:54 -08:00
Simon Willison 8cf4b77a92 Better copy for 'datasette plugins --help' 2022-01-13 16:11:07 -08:00
Simon Willison 8f5c44a166 Better --help summaries for install and uninstall 2022-01-13 16:09:38 -08:00
Simon Willison 88bc2ceae1 --help summary for 'datasette inspect', closes #1597 2022-01-13 16:07:30 -08:00
Simon Willison 5698e2af01 Promote Datasette Desktop in installation docs, closes #1466 2022-01-13 13:55:13 -08:00
Simon Willison 4b23f01f3e CLI reference docs, maintained by cog - refs #1594 2022-01-13 13:35:54 -08:00
Simon Willison 8c401ee0f0 Fixed remaining code and docs for new block=True default, closes #1579 2021-12-23 11:18:20 -08:00
Simon Willison 75153ea9b9 Updated db.execute_write_fn() docs for block=True default, refs #1579 2021-12-23 11:16:31 -08:00
Simon Willison 00a2895cd2 execute_write defaut is now block=True, closes #1579 2021-12-23 11:03:49 -08:00
Simon Willison 6b1384b2f5
Track plausible for docs.datasette.io not datasette.io 2021-12-20 15:55:17 -08:00
Simon Willison 554aae5c51
Plausible analytics for the documentation 2021-12-20 09:23:05 -08:00
Simon Willison dbaac79946 Release 0.60a1
Refs #1547, #1555, #1562, #1563, #1564, #1567, #1568, #1569, #1570, #1571, #1572
2021-12-19 14:08:10 -08:00
Simon Willison 5cadc24489 db.execute_write_script() and db.execute_write_many(), closes #1570
Refs #1555
2021-12-18 10:57:22 -08:00
Simon Willison 9e094b7c9d db.execute_write(executescript=True) option, closes #1569 2021-12-18 10:34:15 -08:00
Simon Willison 85c22f4fbc
Corrected Datasette(files=) example from #1563 2021-12-18 10:10:37 -08:00
Simon Willison 7c8f8aa209 Documentation for Datasette() constructor, closes #1563 2021-12-17 18:19:36 -08:00
Simon Willison 0c91e59d2b datasette-leaflet-freedraw is an example of filters_from_request 2021-12-17 15:55:06 -08:00
Simon Willison 92a5280d2e Release 0.60a0
Refs #473, #625, #1544, #1551, #1552, #1556, #1557
2021-12-17 11:13:51 -08:00
Simon Willison aa7f0037a4
filters_from_request plugin hook, now used in TableView
- New `filters_from_request` plugin hook, closes #473
- Used it to extract the logic from TableView that handles `_search` and
`_through` and `_where` - refs #1518

Also needed for this plugin work: https://github.com/simonw/datasette-leaflet-freedraw/issues/7
2021-12-17 11:02:14 -08:00
Simon Willison 95d0dd7a1c Fix for colliding facet types bug, closes #625
Refs #830
2021-12-16 12:12:04 -08:00
Simon Willison 992496f261 ?_nosuggest=1 parameter for table views, closes #1557 2021-12-16 11:24:54 -08:00
Simon Willison 20a2ed6bec Fixed bug with metadata config of array/date facets, closes #1552
Thanks @davidbgk for spotting the fix for the bug.
2021-12-16 10:47:40 -08:00
Simon Willison 40e5b0a5b5
How to create indexes with sqlite-utils 2021-12-16 10:03:10 -08:00
Simon Willison 7c02be2ee9 Release 0.59.4
Refs #1525, #1527
2021-11-29 22:45:37 -08:00