Simon Willison
af5702220c
Added datasette-media plugin to the docs
2020-05-27 13:34:12 -07:00
Simon Willison
da87e963bf
Test that plugin hooks are unit tested (xfail)
...
This currently fails using xfail. Closes 771.
2020-05-27 13:16:02 -07:00
Simon Willison
41a0cd7b6a
call_with_supported_arguments() util, refs #581
2020-05-27 12:25:52 -07:00
Simon Willison
9e6075d21f
rST fixes for register_output_renderer docs
2020-05-27 11:35:31 -07:00
Simon Willison
2d099ad9c6
Backport of Python 3.8 shutil.copytree, refs #744 ( #769 )
2020-05-27 11:17:43 -07:00
Simon Willison
cee671a58f
Use dirs_exist_ok=True, refs #744 ( #768 )
2020-05-21 10:53:51 -07:00
Simon Willison
faea5093b8
Column headings now black in mobile view, closes #729
2020-05-15 11:16:47 -07:00
Simon Willison
5ea8c6d1cd
type-pk instead of type-link CSS class, closes #729
2020-05-14 22:55:20 -07:00
Simon Willison
504196341c
Visually distinguish float/int columns, closes #729
2020-05-14 22:51:39 -07:00
Simon Willison
fc24edc153
Added project_urls, closes #764
2020-05-11 11:28:53 -07:00
Simon Willison
af6c6c5d6f
Release 0.42, refs #685
2020-05-08 10:38:27 -07:00
Simon Willison
2694ddcf14
Test for .execute_fn(), refs #685
2020-05-08 10:29:17 -07:00
Simon Willison
5ab848f0b8
RST fix
2020-05-08 10:04:47 -07:00
Simon Willison
545c71b604
Small cleanup
2020-05-08 09:57:01 -07:00
Simon Willison
ec9cdc3ffa
Documentation for .execute_fn(), refs #685
2020-05-08 09:52:53 -07:00
Simon Willison
4433306c18
Improvements + docs for db.execute() and Results class
...
* Including new results.first() and results.single_value() methods. Closes #685
2020-05-08 09:05:46 -07:00
Simon Willison
69e3a855dd
Rename execute_against_connection_in_thread() to execute_fn(), refs #685
2020-05-08 07:16:39 -07:00
Simon Willison
182e5c8745
Release Datasette 0.41
...
Refs #648 #731 #750 #151 #761 #752 #719 #756 #748
2020-05-06 11:20:58 -07:00
Simon Willison
0784f2ef9d
Allow specific pragma functions, closes #761
2020-05-06 10:18:31 -07:00
Simon Willison
9212f0c9c3
Removed note about virtual environments
...
Simplifies things now that we also talk about pipx.
2020-05-04 12:35:28 -07:00
Simon Willison
0cdf111ae6
Move pip/pipx to top of installation instructions
...
Less intimidating than Docker, hopefully.
2020-05-04 12:31:13 -07:00
Simon Willison
7e2bb31464
Documented installation using pipx, closes #756
2020-05-04 12:10:31 -07:00
Simon Willison
cc872b1f50
Fixed rogue output in tests, closes #755
2020-05-04 11:42:01 -07:00
Simon Willison
9424687e9e
Consistently return charset utf-8, closes #752
2020-05-04 10:42:10 -07:00
Simon Willison
450d2e2896
Fixed pytest warning about TestClient class
2020-05-04 10:42:10 -07:00
dependabot-preview[bot]
b314e088c5
Update pytest-asyncio requirement from ~=0.10.0 to >=0.10,<0.13 ( #753 )
...
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.10.0...v0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 10:40:48 -07:00
dependabot-preview[bot]
707fe03994
Update beautifulsoup4 requirement from ~=4.8.1 to >=4.8.1,<4.10.0 ( #720 )
...
Updates the requirements on [beautifulsoup4](http://www.crummy.com/software/BeautifulSoup/bs4/ ) to permit the latest version.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 10:14:46 -07:00
Colin Dellow
dbd2d70b38
asgi: check raw_path is not None ( #719 )
...
The ASGI spec
(https://asgi.readthedocs.io/en/latest/specs/www.html#http ) seems to
imply that `None` is a valid value, so we need to check the value
itself, not just whether the key is present.
In particular, the [mangum](https://github.com/erm/mangum ) adapter
passes `None` for this key.
2020-05-04 10:14:25 -07:00
dependabot-preview[bot]
c91fb9e3d4
Update pytest requirement from ~=5.2.2 to >=5.2.2,<5.5.0 ( #721 )
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/5.2.2...5.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 10:13:41 -07:00
dependabot-preview[bot]
aa064de3f4
Update jinja2 requirement from ~=2.10.3 to >=2.10.3,<2.12.0 ( #722 )
...
Updates the requirements on [jinja2](https://github.com/pallets/jinja ) to permit the latest version.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/2.10.3...2.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 10:13:15 -07:00
dependabot-preview[bot]
109c5a430d
Update janus requirement from ~=0.4.0 to >=0.4,<0.6 ( #734 )
...
Updates the requirements on [janus](https://github.com/aio-libs/janus ) to permit the latest version.
- [Release notes](https://github.com/aio-libs/janus/releases )
- [Changelog](https://github.com/aio-libs/janus/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/janus/compare/v0.4.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 09:48:03 -07:00
dependabot-preview[bot]
e232f77055
Update mergedeep requirement from ~=1.1.1 to >=1.1.1,<1.4.0 ( #728 )
...
Updates the requirements on [mergedeep](https://github.com/clarketm/mergedeep ) to permit the latest version.
- [Release notes](https://github.com/clarketm/mergedeep/releases )
- [Commits](https://github.com/clarketm/mergedeep/compare/v1.1.1...v1.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 09:45:49 -07:00
dependabot-preview[bot]
985e59493e
Update aiofiles requirement from ~=0.4.0 to >=0.4,<0.6 ( #725 )
...
Refs #754
Updates the requirements on [aiofiles](https://github.com/Tinche/aiofiles ) to permit the latest version.
- [Release notes](https://github.com/Tinche/aiofiles/releases )
- [Commits](https://github.com/Tinche/aiofiles/compare/v0.4.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 09:17:48 -07:00
Simon Willison
d996d4122b
Add badges to documentation index
2020-05-03 08:46:49 -07:00
Simon Willison
cef23e8861
Started pattern portfolio at /-/patterns, refs #151
2020-05-02 20:05:25 -07:00
Simon Willison
b3aa5f4313
Added 'not like' table filter, refs #750
2020-05-02 12:04:54 -07:00
Simon Willison
4df1b4d8b0
Re-arranged full-text search docs
...
Also documented ?_searchmode=raw - closes #748
2020-04-30 14:06:00 -07:00
Simon Willison
cf2d547ffc
Documentation for #747
2020-04-30 12:02:28 -07:00
Simon Willison
1d91ab71d4
Directory configuration mode supports metadata.yaml, closes #747
2020-04-30 11:47:41 -07:00
Simon Willison
d18086ae01
Changelog badge
2020-04-30 11:31:35 -07:00
Simon Willison
e37f4077c0
Remove 'Serve!' line from serve CLI output
...
It wasn't adding anything, and it was confusing when run in
conjunction with the new config directory mode from #731
2020-04-27 15:02:28 -07:00
Simon Willison
89c4ddd482
403 for static directory listing, closes #740
2020-04-27 11:29:04 -07:00
Simon Willison
25014ca25e
Configuration directory mode, closes #731
2020-04-27 09:30:24 -07:00
Simon Willison
1b7b66c465
Make request available when rendering custom pages, closes #738
2020-04-26 12:01:46 -07:00
Simon Willison
304e7b1d9f
Mechanism for creating custom pages using templates
...
Closes #648
2020-04-26 11:46:43 -07:00
Simon Willison
227bb3e91f
Added more example plugins
2020-04-22 06:47:20 -07:00
Simon Willison
8da108193b
Fixed a couple of spelling errors
2020-04-21 21:06:39 -07:00
Simon Willison
edb39c91f7
Release Datasette 0.40
2020-04-21 21:00:34 -07:00
Simon Willison
15e2321804
Extra body CSS class for canned queries, closes #727
2020-04-15 14:07:28 -07:00
Simon Willison
d349d57cdf
Smarter merging of metadata and extra_metadata, closes #724
2020-04-10 11:34:09 -07:00