Simon Willison
7e983fede6
?_facet_size=max, ... now links to that, closes #1337
...
Refs #1332
2021-05-27 09:00:58 -07:00
Simon Willison
51d7881140
'Show all columns' menu item if any _col= set, closes #1341
...
Refs #615
2021-05-26 21:31:12 -07:00
Simon Willison
f1c29fd6a1
?_col=/?_nocol= to show/hide columns on the table page
...
Closes #615
* Cog icon for hiding columns
* Show all columns cog menu item
* Do not allow hide column on primary keys
* Allow both ?_col= and ?_nocol=
* De-duplicate if ?_col= passed multiple times
* 400 error if user tries to ?_nocol= a primary key
* Documentation for ?_col= and ?_nocol=
2021-05-26 21:17:43 -07:00
Simon Willison
c0a748e5c3
Markup fix, refs #1320
2021-05-24 11:15:15 -07:00
Simon Willison
56af118fc1
How to apt-get install in Docker container, refs #1320
2021-05-24 11:14:45 -07:00
Simon Willison
fc972350a8
Docker image should now allow apt-get install, closes #1320
2021-05-24 11:07:03 -07:00
Simon Willison
eae3084b46
Fixed another Jinja warning, refs #1338
2021-05-24 10:52:09 -07:00
Simon Willison
2bd9d54b27
Fix Jinja warnings, closes #1338 , refs #1331
2021-05-23 18:41:50 -07:00
Simon Willison
a443dba82f
Release 0.57a0
...
Refs #1281 , #1282 , #1289 , #1290 , #1308 , #1313 , #1314 , #1321 , #1323 , #1325 , #1330 , #1332 , #1335
2021-05-22 17:45:54 -07:00
Simon Willison
9789b94da4
?_facet_size=100 parameter, closes #1332
2021-05-22 17:34:33 -07:00
dependabot[bot]
5e9672c9bb
Bump black from 21.4b2 to 21.5b1 ( #1321 )
...
Bumps [black](https://github.com/psf/black ) from 21.4b2 to 21.5b1.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 16:55:39 -07:00
dependabot[bot]
5c3b3ef97e
Update click requirement from ~=7.1.1 to >=7.1.1,<8.1.0 ( #1323 )
...
Updates the requirements on [click](https://github.com/pallets/click ) to permit the latest version.
- [Release notes](https://github.com/pallets/click/releases )
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/click/compare/7.1.1...8.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 16:54:48 -07:00
dependabot[bot]
b64d872046
Update itsdangerous requirement from ~=1.1 to >=1.1,<3.0 ( #1325 )
...
Updates the requirements on [itsdangerous](https://github.com/pallets/itsdangerous ) to permit the latest version.
- [Release notes](https://github.com/pallets/itsdangerous/releases )
- [Changelog](https://github.com/pallets/itsdangerous/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/itsdangerous/compare/1.1.0...2.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 16:54:24 -07:00
dependabot[bot]
593d3e8173
Update aiofiles requirement from <0.7,>=0.4 to >=0.4,<0.8 ( #1330 )
...
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.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 16:53:56 -07:00
Abdussamet Koçak
459259175e
Fix small typo ( #1335 )
2021-05-22 16:53:34 -07:00
dependabot[bot]
9b3b7e280c
Update jinja2 requirement from <2.12.0,>=2.10.3 to >=2.10.3,<3.1.0 ( #1324 )
...
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/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/2.10.3...3.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 10:19:40 -07:00
dependabot-preview[bot]
1b697539f5
Bump black from 20.8b1 to 21.4b2 ( #1313 )
...
Bumps [black](https://github.com/psf/black ) from 20.8b1 to 21.4b2.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/master/CHANGES.md )
- [Commits](https://github.com/psf/black/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-29 08:47:49 -07:00
dependabot-preview[bot]
5e60bad404
Upgrade to GitHub-native Dependabot ( #1314 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-29 08:47:21 -07:00
Simon Willison
a4bb2abce0
Show primary key cells in bold without affecting columns called 'link', closes #1308
2021-04-23 23:07:37 -07:00
dependabot-preview[bot]
6ed9238178
Update pytest-asyncio requirement from <0.15,>=0.10 to >=0.10,<0.16 ( #1303 )
...
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.15.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-19 11:18:17 -07:00
Simon Willison
0a7621f96f
Use pytest-xdist to speed up tests ( #1290 )
...
* Run tests in CI using pytest-xdist
* Documentation for pytest-xdist
Closes #1289
2021-04-02 20:42:28 -07:00
Simon Willison
59ef4a20cb
© 2017-2021
2021-04-02 13:27:03 -07:00
Simon Willison
87b583a128
Clearer help text for --reload
...
Immutable databases are not commonly used, but it's useful to clarify
that --reload will pick up on changes to metadata.
2021-04-02 13:20:51 -07:00
Marjorie Roswell
7b1a9a1999
Fix little typo ( #1282 )
2021-03-29 12:57:34 -07:00
Simon Willison
0486303b60
Explicitly push version tag, refs #1281
2021-03-28 18:42:42 -07:00
Simon Willison
8291065b13
Hopeful fix for Docker tag error, refs #1281
2021-03-28 18:39:02 -07:00
Simon Willison
849c4f06ea
Workflow for manually pushing a Docker tag, refs #1281
2021-03-28 18:36:07 -07:00
Simon Willison
13fd9bdf01
docker push --all-tags, refs #1281
2021-03-28 18:07:49 -07:00
Simon Willison
af5a7f1c09
Release 0.56
...
Refs #1005 , #1031 , #1141 , #1229 , #1236 , #1239 , #1246 , #1247 , #1252 , #1266 , #1276 , #1278
2021-03-28 17:41:12 -07:00
Simon Willison
d579fcf4f7
Applied some fixes suggested by @withshubh in #1260
2021-03-28 17:20:55 -07:00
Campbell Allen
f92d823766
ensure immutable databses when starting in configuration directory mode with ( #1229 )
...
* check if immutables is empty list of None
* update docs on how to create the inspect-data.json
2021-03-28 17:17:31 -07:00
Bob Whitelock
e72397d65b
Add styling to lists within table cells ( fixes #1141 ) ( #1252 )
...
This overrides the Datasette reset (see
d0fd833b8c/datasette/static/app.css (L35-L38)
),
to add back the default styling of list items displayed within Datasette
table cells.
2021-03-28 17:14:04 -07:00
vincent d warmerdam
c96a3826cf
Added `--app` to fly install command. ( #1279 )
2021-03-28 17:11:55 -07:00
Simon Willison
48d5e0e6ac
Fix for no such table: pragma_database_list, refs #1276
2021-03-28 16:44:29 -07:00
Simon Willison
3fcfc85134
Fix links in SpatiaLite tutorial, closes #1278
2021-03-27 09:16:45 -07:00
Simon Willison
8ebdcc916d
Remove obsolete note about building SpatiaLite from source, refs #1249
2021-03-26 21:33:15 -07:00
Simon Willison
5fd0289065
Build Dockerfile with SpatiaLite 5, refs #1249
2021-03-26 21:27:40 -07:00
Simon Willison
6ad544df5e
Fixed master -> main in a bunch of places, mainly docs
2021-03-23 09:19:41 -07:00
Simon Willison
c4f1ec7f33
Documentation for Response.asgi_send(), closes #1266
2021-03-20 14:32:23 -07:00
Konstantin Baikov
8e18c79431
Use context manager instead of plain open ( #1211 )
...
Context manager with open closes the files after usage.
When the object is already a pathlib.Path i used read_text
write_text functions
In some cases pathlib.Path.open were used in context manager,
it is basically the same as builtin open.
Thanks, Konstantin Baikov!
2021-03-11 08:15:49 -08:00
Jean-Baptiste Pressac
a1bcd2fbe5
Minor typo in IP adress ( #1256 )
...
127.0.01 replaced by 127.0.0.1
2021-03-10 10:26:39 -08:00
Bob Whitelock
d0fd833b8c
Add compile option to Dockerfile to fix failing test ( fixes #696 ) ( #1223 )
...
This test was failing when run inside the Docker container:
`test_searchable[/fixtures/searchable.json?_search=te*+AND+do*&_searchmode=raw-expected_rows3]`,
with this error:
```
def test_searchable(app_client, path, expected_rows):
response = app_client.get(path)
> assert expected_rows == response.json["rows"]
E AssertionError: assert [[1, 'barry c...sel', 'puma']] == []
E Left contains 2 more items, first extra item: [1, 'barry cat', 'terry dog', 'panther']
E Full diff:
E + []
E - [[1, 'barry cat', 'terry dog', 'panther'],
E - [2, 'terry dog', 'sara weasel', 'puma']]
```
The issue was that the version of sqlite3 built inside the Docker
container was built with FTS3 and FTS4 enabled, but without the
`SQLITE_ENABLE_FTS3_PARENTHESIS` compile option passed, which adds
support for using `AND` and `NOT` within `match` expressions (see
https://sqlite.org/fts3.html#compiling_and_enabling_fts3_and_fts4 and
https://www.sqlite.org/compile.html ).
Without this, the `AND` used in the search in this test was being
interpreted as a literal string, and so no matches were found. Adding
this compile option fixes this.
Thanks, @bobwhitelock
2021-03-06 23:41:17 -08:00
David Boucha
4f9a2f1f47
Fix small typo ( #1243 )
...
Thanks, @UtahDave
2021-03-03 21:46:10 -08:00
Simon Willison
7c87532acc
New .add_memory_database() method, closes #1247
2021-02-28 20:02:18 -08:00
Simon Willison
47eb885cc2
JSON faceting now suggested even if column has blank strings, closes #1246
2021-02-28 19:44:04 -08:00
Simon Willison
cc6774cbaa
Upgrade httpx and remove xfail from tests, refs #1005
2021-02-28 14:34:44 -08:00
Simon Willison
afed51b1e3
Note about where to find plugin examples, closes #1244
2021-02-26 09:27:09 -08:00
Simon Willison
726f781c50
Fix for arraycontains bug, closes #1239
2021-02-22 16:22:47 -08:00
Simon Willison
42caabf7e9
Fixed typo
2021-02-22 09:35:41 -08:00
Simon Willison
1f9cca33b4
Resizable SQL editor using cm-resize, refs #1236
2021-02-19 15:47:52 -08:00