Simon Willison
c46bb1d411
Parallel queries experiment
...
Refs #1576
2022-02-23 11:11:58 -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
458f03ad3a
More SpatiaLite details on /-/versions, closes #1607
2022-02-08 22:32:19 -08:00
Simon Willison
1b2f0ab6bb
Revert "Use de-dupe idiom that works with Python 3.6, refs #1632"
...
This reverts commit 5bfd001b55
.
No need for this on the main branch because it doesn't support Python 3.6 any more.
2022-02-07 15:43:45 -08:00
Simon Willison
5bfd001b55
Use de-dupe idiom that works with Python 3.6, refs #1632
2022-02-07 15:42:37 -08:00
Simon Willison
fa5fc327ad
Release 0.60.2
...
Refs #1632
2022-02-07 15:34:01 -08:00
Simon Willison
0cd982fc6a
De-duplicate 'datasette db.db db.db', closes #1632
...
Refs https://github.com/simonw/datasette-publish-fly/pull/12
2022-02-07 15:28:59 -08:00
Simon Willison
03305ea183
Remove python.version, refs #1176
2022-02-06 22:40:47 -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
ac239d34ab
Refactor test_trace into separate test module, refs #1576
2022-02-04 20:45:13 -08:00
Robert Christie
1af1041f91
Jinja template_name should use "/" even on Windows ( #1617 )
...
Closes #1545 . Thanks, Robert Christie
2022-02-02 17:58:35 -08:00
dependabot[bot]
b5e6b1a9e1
Bump black from 21.12b0 to 22.1.0 ( #1616 )
...
Bumps [black](https://github.com/psf/black ) from 21.12b0 to 22.1.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits/22.1.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 14:23:51 -08:00
Simon Willison
a9d8824617
Test against Python 3.11-dev
...
Closes #1621
2022-02-02 13:58:52 -08:00
Simon Willison
23a09b0f6a
Remove JSON rel=alternate from some pages, closes #1623
2022-02-02 13:48:52 -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
2aa686c655
It's not a weekly newsletter
2022-01-26 10:21:05 -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
68cc1e2dbb
Move queries to top of database page, refs #1612
2022-01-25 10:28:15 -08:00
Simon Willison
d194db4204
Output pip freeze to show installed packages, refs #1609
2022-01-20 18:02:04 -08:00
Simon Willison
ffca55dfd7
Show link to /stable/ on /latest/ pages, refs #1608
2022-01-20 14:40:44 -08:00
Simon Willison
150967d98e
Hand-edited pixel favicon, refs #1603
2022-01-20 10:43:15 -08:00
Simon Willison
7c67483f5e
Make test_favicon flexible to changing icon sizes, refs #1603
2022-01-19 21:57:14 -08:00
Simon Willison
b01c9b68d1
Oops I pushed the wrong favicon, refs #1603
2022-01-19 21:54:41 -08:00
Simon Willison
b2eebf5ebf
No need to send this, it's got a default, refs #1603
2022-01-19 21:52:00 -08:00
Simon Willison
0467723ee5
New, improved favicon - refs #1603
2022-01-19 21:46:03 -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
14e320329f
Hidden tables data_licenses, KNN, KNN2 for SpatiaLite, closes #1601
2022-01-19 20:38:49 -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
58652dd925
Hidden tables sqlite1/2/3/4, closes #1587
2022-01-19 20:12:46 -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
10659c3f1f
datasette-debug-asgi plugin to help investigate #1590
2022-01-13 16:38: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
3a0f7d6488
Fixed hidden form fields bug #1527
2022-01-13 16:27:21 -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
3658e57ac2
Fixed bug with table title element, closes #1560
2022-01-13 14:20:07 -08:00