Wykres commitów

2404 Commity (json-extras-query)

Autor SHA1 Wiadomość Data
Simon Willison ee24ea9452 Add pip as a dependency too, for Rye - refs #2065 2023-07-26 07:10:27 -07:00
Simon Willison e17a1373b3 Add setuptools to dependencies
Refs #2065
2023-07-26 07:10:27 -07:00
Simon Willison e8ac498e24 Work in progress on query view, refs #2049 2023-07-26 07:10:24 -07:00
Simon Willison d7aa14b17f Homepage test now just asserts isinstance(x, int) - closes #2092 2023-07-26 06:51:25 -07:00
Simon Willison b5647ebd53 Fix all E741 Ambiguous variable name warnings, refs #2090 2023-07-26 06:51:25 -07:00
Simon Willison 737a1a7fd2 Fixed spelling error, refs #2089
Also ensure codespell runs as part of just lint
2023-07-26 06:51:25 -07:00
Simon Willison c0c764727f Justfile I use for local development
Now with codespell, refs #2089
2023-07-26 06:51:25 -07:00
Simon Willison 71491551e0 codespell>=2.5.5, also spellcheck README - refs #2089 2023-07-26 06:51:25 -07:00
dependabot[bot] a88cd45ae5 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-07-26 06:51:25 -07:00
Simon Willison ba7bc2ab0f Better docs for startup() hook 2023-07-26 06:51:25 -07:00
Simon Willison 007294008d
Merge branch 'main' into json-extras-query 2023-05-25 17:25:56 -07:00
Simon Willison 8ea00e038d New View base class (#2080)
* New View base class, closes #2078
* Use new View subclass for PatternPortfolioView
2023-05-25 17:23:53 -07:00
Simon Willison 94882aa72b --cors Access-Control-Max-Age: 3600, closes #2079 2023-05-25 17:23:53 -07:00
Simon Willison 0805771061 Rename callable.py to check_callable.py, refs #2078 2023-05-25 17:23:53 -07:00
Simon Willison 3f39fba7ea datasette.utils.check_callable(obj) - refs #2078 2023-05-25 17:23:53 -07:00
Simon Willison 59c52b5874 Action: Deploy a Datasette branch preview to Vercel
Closes #2070
2023-05-25 17:23:53 -07:00
Simon Willison 01353c7ee8 Build docs with 3.11 on ReadTheDocs
Inspired by https://github.com/simonw/sqlite-utils/issues/540
2023-05-25 17:23:53 -07:00
Simon Willison 305655c816 Add pip as a dependency too, for Rye - refs #2065 2023-05-25 17:23:53 -07:00
Simon Willison 3a7be0c5b1 Hopeful fix for Python 3.7 httpx failure, refs #2066 2023-05-25 17:23:53 -07:00
Simon Willison bbbfdb034c Add setuptools to dependencies
Refs #2065
2023-05-25 17:23:52 -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 6ae5312158 ?sql=... now displays HTML 2023-05-22 18:44:07 -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 fdb141f622 shape_arrayfirst for query view 2023-05-08 17:52:22 -07:00
Simon Willison 6f903d5a98 Fixed a test 2023-05-08 17:51:19 -07:00
Simon Willison 3304fd43a2 refresh_schemas() on database view 2023-05-08 17:51:05 -07:00
Simon Willison 8b86fb7fb4 Better debugging 2023-05-08 17:50:12 -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 a706f34b92 Remove debug lines 2023-04-26 22:07:05 -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 026429fadd Work in progress on query view, refs #2049 2023-04-26 20:47:03 -07:00
Simon Willison 249fcf8e3e
Add setuptools to dependencies
Refs #2065
2023-04-26 20:36:10 -07:00
Simon Willison 40dc5f5c50 WIP 2023-04-12 17:04:26 -07:00
Simon Willison 7b41521b33 WIP new JSON for queries, refs #2049 2023-04-05 16:25:29 -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