Wykres commitów

1120 Commity (008e2f63c217aa066027a872ee706b07bd084857)

Autor SHA1 Wiadomość Data
Simon Willison 84616a2364 request.args.getlist() returns [] if missing, refs #774
Also added some unit tests for request.args
2020-05-29 15:51:30 -07:00
Simon Willison 7ccd55a163 Views do support sorting now, refs #508 2020-05-29 15:44:22 -07:00
Simon Willison 3e8932bf64
Upgrade to actions/cache@v2 2020-05-29 15:12:10 -07:00
Simon Willison 3c1a60589e Consistent capitalization of SpatiaLite in the docs 2020-05-28 11:27:44 -07:00
Simon Willison 21a8ffc82d
Tip about referencing issues in release notes commit 2020-05-28 10:49:58 -07:00
Simon Willison 7bb30c1f11 request.url now respects force_https_urls, closes #781 2020-05-28 10:10:06 -07:00
Simon Willison 40885ef24e
Noted tool for converting release notes to Markdown 2020-05-28 07:41:22 -07:00
Simon Willison d56f402822 Release notes for 0.43
Refs #581, #770, #729, #706, #751, #706, #744, #771, #773
2020-05-28 07:11:06 -07:00
Simon Willison 5ab411c733 can_render mechanism for register_output_renderer, closes #770 2020-05-27 22:57:05 -07:00
Simon Willison 75cd432e5a Ability to set custom table/view page size in metadata, closes #751 2020-05-27 22:00:04 -07:00
Simon Willison 510c1989d4 Removed xfail, refs #773 2020-05-27 21:11:53 -07:00
Simon Willison 6d95cb4f91 Unit test for register_facet_classes plugin, closes #773
I was a bit lazy with this one. I didn't hook up a test for the facet_results mechanism.
The custom facet hook isn't a great design so I will probably rethink it at some point
in the future anyway.
2020-05-27 21:09:16 -07:00
Simon Willison defead17a4 Test for publish_subcommand hook, refs #773 2020-05-27 20:30:32 -07:00
Simon Willison cbeea23d00 Test for prepare_jinja2_environment, refs #773 2020-05-27 20:13:32 -07:00
Simon Willison 57f48b8416 Made register_output_renderer callback optionally awaitable, closes #776 2020-05-27 19:43:30 -07:00
Simon Willison 52c4387c7d Redesigned register_output_renderer plugin hook, closes #581 2020-05-27 19:21:41 -07:00
Simon Willison 446e5de65d Refactored test plugins into tests/plugins, closes #775 2020-05-27 17:57:25 -07:00
Simon Willison 4b96857f17 Link to request object documentation, refs #706 2020-05-27 15:35:25 -07:00
Simon Willison 50652f474b Stop using .raw_args, deprecate and undocument it - refs #706 2020-05-27 15:29:42 -07:00
Simon Willison 6d7cb02f00 Documentation for request object, refs #706 2020-05-27 15:17:53 -07:00
Simon Willison ad88c9b3f3 Mechanism for adding a default URL fragment to a canned query
Closes #767
2020-05-27 14:52:03 -07:00
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