Commit graph

822 commits

Author SHA1 Message Date
Simon Willison
9f54f00a50 Release 0.63.1
Refs ##1843, #1876, #1883
2022-11-10 23:01:20 -08:00
Simon Willison
867e0abd34 Tests now close SQLite database connections and files explicitly, refs #1843
Also added a db.close() method to the Database class.
2022-11-03 13:37:26 -07:00
Simon Willison
bf00b0b59b Release 0.63
Refs #1646, #1786, #1787, #1789, #1794, #1800, #1804, #1805, #1808, #1809, #1816, #1819, #1825, #1829, #1831, #1834, #1844, #1853, #1860

Closes #1869
2022-10-27 15:11:26 -07:00
Simon Willison
e5e0459a0b Release notes for 0.63, refs #1869 2022-10-27 13:58:00 -07:00
Simon Willison
9676b2deb0 Upgrade Docker images to Python 3.11, closes #1853 2022-10-25 12:04:53 -07:00
Simon Willison
a0dd5fa02f Fixed typo in release notes 2022-10-23 20:14:49 -07:00
Simon Willison
602c0888ce Release 0.63a1
Refs #1646, #1819, #1825, #1829, #1831, #1832, #1834, #1844, #1848
2022-10-23 20:07:09 -07:00
Simon Willison
78dad236df
check_visibility can now take multiple permissions into account
Closes #1829
2022-10-23 19:11:33 -07:00
Simon Willison
fdf9891c3f Use shot-scraper images from datasette-screenshots repo, closes #1844 2022-10-14 12:57:00 -07:00
Simon Willison
b7fec7f902 .sqlite/.sqlite3 extensions for config directory mode
Closes #1646
2022-10-07 16:03:30 -07:00
Simon Willison
b6ba117b79
Clarify request or None for two hooks 2022-10-04 18:25:52 -07:00
Simon Willison
4218c9cd74
reST markup fix 2022-10-04 11:45:36 -07:00
Simon Willison
34defdc10a
Browse the plugins directory 2022-09-28 17:39:36 -07:00
Adam Simpson
984b1df12c
Add documentation for serving via OpenRC (#1825)
* Add documentation for serving via OpenRC
2022-09-27 21:21:36 -07:00
Simon Willison
7fb4ea4e39
Update note about render_cell signature, refs #1826 2022-09-27 21:06:40 -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
ddc999ad12 Async support for prepare_jinja2_environment, closes #1809 2022-09-16 20:38:24 -07:00
Simon Willison
b40872f5e5 prepare_jinja2_environment(datasette) argument, refs #1809 2022-09-14 14:31:54 -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
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
456dc155d4 Ran cog, refs #1789 2022-08-23 11:40:48 -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
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
080d4b3e06 Switch to python:3.10.6-slim-bullseye for datasette publish - refs #1768 2022-08-14 08:49:14 -07:00
Simon Willison
8eb699de7b
Datasette Lite in Getting Started docs, closes #1781 2022-08-14 08:24:39 -07:00
Simon Willison
8cfc723368 Ran blacken-docs 2022-08-09 11:21:53 -07:00
Simon Willison
7af67b54b7 How to register temporary plugins in tests, closes #903 2022-07-18 14:31:17 -07:00
Simon Willison
ed1ebc0f1d Run blacken-docs, refs #1770 2022-07-17 18:03:33 -07:00
Simon Willison
6d5e195547 Release 0.62a1
Refs #1300, #1739, #1744, #1746, #1748, #1759, #1770
2022-07-17 17:59:20 -07:00
Simon Willison
e543a095cc Updated default plugins in docs, refs #1770 2022-07-17 17:57:41 -07:00
Simon Willison
58fd1e33ec Hint that you can render templates for these hooks, refs #1770 2022-07-17 16:30:58 -07:00
Simon Willison
c09c53f345 New handle_exception plugin hook, refs #1770
Also refs:
- https://github.com/simonw/datasette-sentry/issues/1
- https://github.com/simonw/datasette-show-errors/issues/2
2022-07-17 16:24:39 -07:00
Simon Willison
950cc7677f
Fix missing Discord image
Refs https://github.com/simonw/datasette.io/issues/112
2022-07-14 15:18:28 -07:00
Simon Willison
c133545fe9
Make discord badge lowercase
Refs https://github.com/simonw/datasette.io/issues/112
2022-07-14 15:04:38 -07:00
Simon Willison
5d76c1f81b
Discord badge
Refs https://github.com/simonw/datasette.io/issues/112
2022-07-14 15:03:33 -07:00
Simon Willison
035dc5e7b9
More than 90 plugins now 2022-07-09 10:25:37 -07:00
Simon Willison
6373bb3414 Expose current SQLite row to render_cell hook, closes #1300 2022-07-07 09:30:49 -07:00
Simon Willison
e780b2f5d6
Trying out one-sentence-per-line
As suggested here: https://sive.rs/1s

Markdown and reStructuredText will display this as if it is a single paragraph, even though the sentences themselves are separated by newlines.

This could result in more useful diffs. Trying it out on this page first.
2022-06-20 10:54:23 -07:00
Simon Willison
8dd816bc76 Applied Black 2022-05-30 15:42:38 -07:00
Simon Willison
adedd85b68
Clarify that request.headers names are converted to lowercase 2022-05-28 18:42:31 -07:00
Simon Willison
b010af7bb8
Updated copyright years in documentation footer 2022-05-20 15:23:09 -07:00