Simon Willison
cd57b0f712
Brought back parameter fields, closes #2132
2023-08-08 06:45:04 -07:00
Simon Willison
1377a290cd
New JSON design for query views ( #2118 )
...
* Refs #2111 , closes #2110
* New Context dataclass/subclass mechanism, refs #2127
* Define QueryContext and extract get_tables() method, refs #2127
* Fix OPTIONS bug by porting DaatbaseView to be a View subclass
* Expose async_view_for_class.view_class for test_routes test
* Error/truncated aruments for renderers, closes #2130
2023-08-07 18:47:39 -07:00
dependabot[bot]
5139c0886a
Bump the python-packages group with 3 updates ( #2128 )
...
Bumps the python-packages group with 3 updates: [sphinx](https://github.com/sphinx-doc/sphinx ), [furo](https://github.com/pradyunsg/furo ) and [blacken-docs](https://github.com/asottile/blacken-docs ).
Updates `sphinx` from 6.1.3 to 7.1.2
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v6.1.3...v7.1.2 )
Updates `furo` from 2023.3.27 to 2023.7.26
- [Release notes](https://github.com/pradyunsg/furo/releases )
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md )
- [Commits](https://github.com/pradyunsg/furo/compare/2023.03.27...2023.07.26 )
Updates `blacken-docs` from 1.14.0 to 1.15.0
- [Changelog](https://github.com/adamchainz/blacken-docs/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/asottile/blacken-docs/compare/1.14.0...1.15.0 )
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: python-packages
- dependency-name: furo
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: python-packages
- dependency-name: blacken-docs
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: python-packages
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 09:19:23 -07:00
Simon Willison
adf54f5c80
Use dependabot grouped updates
2023-08-07 08:45:10 -07:00
Simon Willison
0818182399
Update cli-reference for editable change, refs #2106
2023-07-26 11:52:57 -07:00
Simon Willison
18dd88ee4d
Refactored DatabaseDownload to database_download, closes #2116
2023-07-26 11:43:55 -07:00
Simon Willison
dc5171eb1b
Make editable work with -e '.[test]', refs #2106
2023-07-26 11:28:03 -07:00
Simon Willison
278ac91a4d
datasette install -e option, closes #2106
2023-07-22 11:42:46 -07:00
dependabot[bot]
3a51ca9014
Bump black from 23.3.0 to 23.7.0 ( #2099 )
...
Bumps [black](https://github.com/psf/black ) from 23.3.0 to 23.7.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/compare/23.3.0...23.7.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 14:19:24 -07:00
Simon Willison
0f7192b615
One last YAML/JSON change, closes #1153
2023-07-08 13:08:09 -07:00
Simon Willison
42ca574720
Removed accidental test code I added, refs #1153
2023-07-08 12:50:22 -07:00
Simon Willison
2fd871a906
Drop support for Python 3.7, refs #2097
2023-07-08 11:40:19 -07:00
Simon Willison
45e6d370ce
Install docs dependencies for tests, refs #1153
2023-07-08 11:35:15 -07:00
Simon Willison
50a6355c08
Workaround to get sphinx-build working again, refs 1153
2023-07-08 11:22:21 -07:00
Simon Willison
c076fb65e0
Applied sphinx-inline-tabs to remaining examples, refs #1153
2023-07-08 11:00:08 -07:00
Simon Willison
0183e1a72d
Preserve JSON key order in YAML, refs #1153
2023-07-08 10:27:36 -07:00
Simon Willison
38fcc96e67
Removed duplicate imports, refs #1153
2023-07-08 10:09:26 -07:00
Simon Willison
3b336d8071
Utility function for cog for generating YAML/JSON tabs, refs #1153
2023-07-08 09:37:47 -07:00
Simon Willison
d7b21a8623
metadata.yaml now treated as default in docs
...
Added sphinx-inline-tabs to provide JSON and YAML tabs to show examples.
Refs #1153
2023-07-08 09:37:01 -07:00
Simon Willison
8cd60fd1d8
Homepage test now just asserts isinstance(x, int) - closes #2092
2023-06-29 08:24:09 -07:00
Simon Willison
c39d600aef
Fix all E741 Ambiguous variable name warnings, refs #2090
2023-06-29 08:05:24 -07:00
Simon Willison
99ba051188
Fixed spelling error, refs #2089
...
Also ensure codespell runs as part of just lint
2023-06-29 07:46:22 -07:00
Simon Willison
84b32b447a
Justfile I use for local development
...
Now with codespell, refs #2089
2023-06-29 07:44:13 -07:00
Simon Willison
d45a7213ed
codespell>=2.5.5, also spellcheck README - refs #2089
2023-06-29 07:43:01 -07:00
dependabot[bot]
ede6203618
Bump blacken-docs from 1.13.0 to 1.14.0 ( #2083 )
...
Bumps [blacken-docs](https://github.com/asottile/blacken-docs ) from 1.13.0 to 1.14.0.
- [Changelog](https://github.com/adamchainz/blacken-docs/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/asottile/blacken-docs/compare/1.13.0...1.14.0 )
---
updated-dependencies:
- dependency-name: blacken-docs
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 07:31:54 -07:00
Simon Willison
d1d78ec0eb
Better docs for startup() hook
2023-06-23 13:06:35 -07:00
Simon Willison
dda99fc09f
New View base class ( #2080 )
...
* New View base class, closes #2078
* Use new View subclass for PatternPortfolioView
2023-05-25 17:18:43 -07:00
Simon Willison
b49fa446d6
--cors Access-Control-Max-Age: 3600, closes #2079
2023-05-25 15:05:58 -07:00
Simon Willison
9584879534
Rename callable.py to check_callable.py, refs #2078
2023-05-25 11:49:40 -07:00
Simon Willison
2e43a14da1
datasette.utils.check_callable(obj) - refs #2078
2023-05-25 11:35:34 -07:00
Simon Willison
49184c569c
Action: Deploy a Datasette branch preview to Vercel
...
Closes #2070
2023-05-09 09:24:28 -07:00
Simon Willison
d3d16b5ccf
Build docs with 3.11 on ReadTheDocs
...
Inspired by https://github.com/simonw/sqlite-utils/issues/540
2023-05-07 11:44:27 -07:00
Simon Willison
55c526a537
Add pip as a dependency too, for Rye - refs #2065
2023-04-26 22:07:35 -07:00
Simon Willison
0b0c5cd7a9
Hopeful fix for Python 3.7 httpx failure, refs #2066
2023-04-26 21:20:38 -07:00
Simon Willison
249fcf8e3e
Add setuptools to dependencies
...
Refs #2065
2023-04-26 20:36:10 -07:00
Simon Willison
5890a20c37
Mention API tokens in DATASETTE_SECRET docs
2023-03-31 09:45:16 -07:00
Simon Willison
4c1e277edb
Updated JSON API shape documentation, refs #262
2023-03-28 23:21:42 -07:00
dependabot[bot]
30c88e3570
Bump black from 22.12.0 to 23.3.0 ( #2047 )
...
Bumps [black](https://github.com/psf/black ) from 22.12.0 to 23.3.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/compare/22.12.0...23.3.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Simon Willison <swillison@gmail.com>
2023-03-28 23:12:05 -07:00
dependabot[bot]
bbd5489dbc
Bump blacken-docs from 1.12.1 to 1.13.0 ( #1992 )
...
Bumps [blacken-docs](https://github.com/asottile/blacken-docs ) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/asottile/blacken-docs/releases )
- [Changelog](https://github.com/adamchainz/blacken-docs/blob/main/HISTORY.rst )
- [Commits](https://github.com/asottile/blacken-docs/compare/v1.12.1...1.13.0 )
---
updated-dependencies:
- dependency-name: blacken-docs
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 23:11:33 -07:00
dependabot[bot]
d52402447e
Bump sphinx from 6.1.2 to 6.1.3 ( #1986 )
...
Bumps [sphinx](https://github.com/sphinx-doc/sphinx ) from 6.1.2 to 6.1.3.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v6.1.2...v6.1.3 )
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 23:09:48 -07:00
dependabot[bot]
848a9a420d
Bump furo from 2022.12.7 to 2023.3.27 ( #2046 )
...
Bumps [furo](https://github.com/pradyunsg/furo ) from 2022.12.7 to 2023.3.27.
- [Release notes](https://github.com/pradyunsg/furo/releases )
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md )
- [Commits](https://github.com/pradyunsg/furo/compare/2022.12.07...2023.03.27 )
---
updated-dependencies:
- dependency-name: furo
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 23:08:00 -07:00
Simon Willison
651b78d8e6
Redesign ?_extra=extras a bit, refs #262
2023-03-28 23:07:30 -07:00
Simon Willison
c025b0180f
Drop jQuery dependency
2023-03-26 16:38:58 -07:00
Simon Willison
db8cf899e2
Use block scripts instead, refs #1608
2023-03-26 16:27:58 -07:00
Simon Willison
5c1cfa451d
Link docs /latest/ to /stable/ again
...
Re-implementing the pattern from https://til.simonwillison.net/readthedocs/link-from-latest-to-stable
Refs #1608
2023-03-26 16:23:28 -07:00
Simon Willison
3feed1f66e
Re-applied Black
2023-03-22 15:54:35 -07:00
Simon Willison
d97e82df3c
?_extra= support and TableView refactor to table_view
...
* Implemented ?_extra= option for JSON views, refs #262
* New dependency: asyncinject
* Remove now-obsolete TableView class
2023-03-22 15:49:39 -07:00
Simon Willison
56b0758a5f
0.64 release notes, refs #2036
2023-03-08 12:52:37 -08:00
Simon Willison
25fdbe6b27
use tmpdir instead of isolated_filesystem, refs #2037
...
Should hopefully get tests passing for #2036 too.
2023-03-08 12:33:23 -08:00
Simon Willison
bd39cb4805
Use service-specific image ID for Cloud Run deploys, refs #2036
2023-03-08 12:25:55 -08:00