Simon Willison
b545b6a04e
Test for bool(results), closes #1832
2022-10-04 21:32:11 -07:00
Simon Willison
e0e8522622
Use new datasette.io/discord link for Discord
...
Refs https://github.com/simonw/datasette.io/issues/119
2022-09-30 15:25:28 -07:00
Simon Willison
49a11a6042
Keyword-only arguments for a bunch of internal methods, refs #1822
2022-09-26 17:43:55 -07:00
Simon Willison
5f9f567acb
Show SQL query when reporting time limit error, closes #1819
2022-09-26 16:06:01 -07:00
Simon Willison
212137a90b
Release 0.63a0
...
Refs #1786 , #1787 , #1789 , #1794 , #1800 , #1804 , #1805 , #1808 , #1809 , #1816
2022-09-26 14:14:25 -07:00
Simon Willison
cb1e093fd3
Fixed error message, closes #1816
2022-09-19 18:15:40 -07:00
Simon Willison
df851c117d
Validate settings.json keys on startup, closes #1816
...
Refs #1814
2022-09-19 16:46:39 -07:00
Simon Willison
ddc999ad12
Async support for prepare_jinja2_environment, closes #1809
2022-09-16 20:38:24 -07:00
dependabot[bot]
2ebcffe222
Bump furo from 2022.6.21 to 2022.9.15 ( #1812 )
...
Bumps [furo](https://github.com/pradyunsg/furo ) from 2022.6.21 to 2022.9.15.
- [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.06.21...2022.09.15 )
---
updated-dependencies:
- dependency-name: furo
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 12:50:52 -07:00
Simon Willison
b40872f5e5
prepare_jinja2_environment(datasette) argument, refs #1809
2022-09-14 14:31:54 -07:00
Simon Willison
610425460b
Add --nolock to the README Chrome demo
...
Refs #1744
2022-09-10 14:24:26 -07:00
Simon Willison
fb7e70d5e7
Database(is_mutable=) now defaults to True, closes #1808
...
Refs https://github.com/simonw/datasette-upload-dbs/issues/6
2022-09-09 09:19:20 -07:00
Simon Willison
bf8d84af54
word-wrap: anywhere on links in cells, refs #1805
2022-09-06 20:34:59 -07:00
Simon Willison
5aa359b869
Apply cell truncation on query page too, refs #1805
2022-09-06 16:58:30 -07:00
Simon Willison
d0737e4de5
truncate_cells_html now affects URLs too, refs #1805
2022-09-06 16:50:43 -07:00
Simon Willison
ff9c87197d
Fixed Sphinx warnings on cli-reference page
2022-09-06 11:26:21 -07:00
Simon Willison
d0476897e1
Fixed Sphinx warning about language = None
2022-09-06 11:24:30 -07:00
Simon Willison
0a7815d203
Documentation for facet_size in metadata, closes #1804
2022-09-06 11:06:49 -07:00
Simon Willison
303c6c733d
Fix for incorrectly handled _facet_size=max, refs #1804
2022-09-06 11:05:00 -07:00
Simon Willison
8430c3bc7d
table facet_size in metadata, refs #1804
2022-09-06 08:59:19 -07:00
Simon Willison
d80775a48d
Raise error if it's not about loops, refs #1802
2022-09-06 08:29:07 -07:00
Daniel Rech
c9d1943aed
Fix word break in facets by adding ul.tight-bullets li word-break: break-all ( #1794 )
...
Thanks, @dmr
2022-09-05 17:45:41 -07:00
Simon Willison
64288d827f
Workaround for test failure: RuntimeError: There is no current event loop ( #1803 )
...
* Remove ensure_eventloop hack
* Hack to recover from intermittent RuntimeError calling asyncio.Lock()
2022-09-05 17:40:19 -07:00
Simon Willison
1c29b925d3
Run tests in serial again
...
Because this didn't fix the issue I'm seeing in #1802
Revert "Run tests in serial, refs #1802"
This reverts commit b91e17280c
.
2022-09-05 17:10:52 -07:00
Simon Willison
b2b901e8c4
Skip SpatiaLite test if no conn.enable_load_extension()
...
Ran into this problem while working on #1802
2022-09-05 17:09:57 -07:00
Simon Willison
b91e17280c
Run tests in serial, refs #1802
2022-09-05 16:50:53 -07:00
dependabot[bot]
294ecd45f7
Bump black from 22.6.0 to 22.8.0 ( #1797 )
...
Bumps [black](https://github.com/psf/black ) from 22.6.0 to 22.8.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.6.0...22.8.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 11:51:51 -07:00
Simon Willison
51030df186
Don't use upper bound dependencies any more
...
See https://iscinumpy.dev/post/bound-version-constraints/ for the rationale behind this change.
Closes #1800
2022-09-05 11:35:40 -07:00
Simon Willison
ba35105eee
Test `--load-extension` in GitHub Actions ( #1792 )
...
* Run the --load-extension test, refs #1789
* Ran cog, refs #1789
2022-08-23 17:11:45 -07:00
Simon Willison
456dc155d4
Ran cog, refs #1789
2022-08-23 11:40:48 -07:00
Simon Willison
fd1086c686
Applied Black, refs #1789
2022-08-23 11:35:41 -07:00
Alex Garcia
1d64c9a8da
Add new entrypoint option to --load-extensions. ( #1789 )
...
Thanks, @asg017
2022-08-23 11:34:30 -07:00
Manuel Kaufmann
663ac431fe
Use Read the Docs action v1 ( #1778 )
...
Read the Docs repository was renamed from `readthedocs/readthedocs-preview` to `readthedocs/actions/`. Now, the `preview` action is under `readthedocs/actions/preview` and is tagged as `v1`
2022-08-19 17:04:16 -07:00
Simon Willison
0d9d33955b
Clarify you can publish multiple files, closes #1788
2022-08-18 16:06:12 -07:00
Simon Willison
aff3df03d4
Ignore ro which stands for read only
...
Refs #1787 where it caused tests to break
2022-08-18 14:55:08 -07:00
Simon Willison
6c0ba7c00c
Improved CLI reference documentation, refs #1787
2022-08-18 14:52:04 -07:00
Simon Willison
09a41662e7
Fix typo
2022-08-18 09:10:48 -07:00
Simon Willison
a3e6f1b167
Increase height of non-JS textarea to fit query
...
Closes #1786
2022-08-18 09:06:02 -07:00
Simon Willison
481eb96d85
https://datasette.io/tutorials/clean-data tutorial
...
Refs #1783
2022-08-15 13:17:28 -07:00
Simon Willison
a107e3a028
datasette-sentry is an example of handle_exception
2022-08-14 16:07:46 -07:00
Simon Willison
815162cf02
Release 0.62
...
Refs #903 , #1300 , #1683 , #1701 , #1712 , #1717 , #1718 , #1728 , #1733 , #1738 , #1739 , #1744 , #1746 , #1748 , #1759 , #1766 , #1768 , #1770 , #1773 , #1779
Closes #1782
2022-08-14 10:32:42 -07:00
Simon Willison
5e6c5c9e31
Document datasette.config_dir, refs #1766
2022-08-14 10:18:47 -07:00
Simon Willison
82167105ee
--min-instances and --max-instances Cloud Run publish options, closes #1779
2022-08-14 10:07:30 -07:00
Simon Willison
c1396bf860
Don't allow canned write queries on immutable DBs, closes #1728
2022-08-14 09:34:31 -07:00
Simon Willison
1563c22a8c
Don't duplicate _sort_desc, refs #1738
2022-08-14 09:13:12 -07:00
Simon Willison
080d4b3e06
Switch to python:3.10.6-slim-bullseye for datasette publish - refs #1768
2022-08-14 08:49:14 -07:00
Simon Willison
668415df9f
Upgrade Docker baes to 3.10.6-slim-bullseye - refs #1768
2022-08-14 08:47:17 -07:00
Simon Willison
df4fd2d7dd
_sort= works even if sort column not selected, closes #1773
2022-08-14 08:44:02 -07:00
Simon Willison
8eb699de7b
Datasette Lite in Getting Started docs, closes #1781
2022-08-14 08:24:39 -07:00
Simon Willison
db00c00f63
Promote Datasette Lite in the README, refs #1781
2022-08-14 08:19:30 -07:00