Simon Willison
|
97b1723dd0
|
Optimize init_internal_db by running PRAGMA in a single function
Refs #1555
|
2021-12-18 19:49:11 -08:00 |
Simon Willison
|
d637ed4676
|
Use execute_write_many to optimize internal DB, refs #1555, #1570
|
2021-12-18 11:11:08 -08:00 |
Simon Willison
|
5cadc24489
|
db.execute_write_script() and db.execute_write_many(), closes #1570
Refs #1555
|
2021-12-18 10:57:22 -08:00 |
Simon Willison
|
2e4ba71b53
|
Optimize create table calls using executescript=True
Refs #1555, #1569
|
2021-12-18 10:34:15 -08:00 |
Simon Willison
|
9e094b7c9d
|
db.execute_write(executescript=True) option, closes #1569
|
2021-12-18 10:34:15 -08:00 |
Simon Willison
|
85c22f4fbc
|
Corrected Datasette(files=) example from #1563
|
2021-12-18 10:10:37 -08:00 |
Simon Willison
|
f81d9d0cd9
|
Trace write SQL queries in addition to read ones, closes #1568
|
2021-12-17 18:42:29 -08:00 |
Simon Willison
|
7c8f8aa209
|
Documentation for Datasette() constructor, closes #1563
|
2021-12-17 18:19:36 -08:00 |
Simon Willison
|
3a0cae4d7f
|
Fix bug introduced by refactor in c35b84a2aa
|
2021-12-17 18:19:09 -08:00 |
Simon Willison
|
359140ceda
|
Datasette() constructor no longer requires files=, closes #1563
|
2021-12-17 18:09:00 -08:00 |
Simon Willison
|
83bacfa945
|
Call _prepare_connection() on write connections, closes #1564
|
2021-12-17 17:58:39 -08:00 |
Simon Willison
|
c35b84a2aa
|
Remove undocumented sqlite_functions mechanism, closes #1567
|
2021-12-17 17:54:39 -08:00 |
Simon Willison
|
0c91e59d2b
|
datasette-leaflet-freedraw is an example of filters_from_request
|
2021-12-17 15:55:06 -08:00 |
Simon Willison
|
d0f24f9bbc
|
Clarifying comment
The new filters stuff is a little bit action-at-a-distance
|
2021-12-17 15:55:06 -08:00 |
dependabot[bot]
|
35cba9e85a
|
Update janus requirement from <0.8,>=0.6.2 to >=0.6.2,<1.1 (#1562)
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.6.2...v1.0.0)
---
updated-dependencies:
- dependency-name: janus
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2021-12-17 15:08:28 -08:00 |
Simon Willison
|
f000a7bd75
|
Use load_extension(?) instead of fstring
|
2021-12-17 12:15:29 -08:00 |
Simon Willison
|
92a5280d2e
|
Release 0.60a0
Refs #473, #625, #1544, #1551, #1552, #1556, #1557
|
2021-12-17 11:13:51 -08:00 |
Simon Willison
|
aa7f0037a4
|
filters_from_request plugin hook, now used in TableView
- New `filters_from_request` plugin hook, closes #473
- Used it to extract the logic from TableView that handles `_search` and
`_through` and `_where` - refs #1518
Also needed for this plugin work: https://github.com/simonw/datasette-leaflet-freedraw/issues/7
|
2021-12-17 11:02:14 -08:00 |
Simon Willison
|
0663d5525c
|
More comments in TableView.data(), refs #1518
|
2021-12-16 14:00:29 -08:00 |
Simon Willison
|
2c07327d23
|
Move columns_to_select to TableView class, add lots of comments, refs #1518
|
2021-12-16 13:43:44 -08:00 |
Simon Willison
|
0d4145d0f4
|
Additional test for #625
|
2021-12-16 12:30:31 -08:00 |
Simon Willison
|
95d0dd7a1c
|
Fix for colliding facet types bug, closes #625
Refs #830
|
2021-12-16 12:12:04 -08:00 |
Simon Willison
|
992496f261
|
?_nosuggest=1 parameter for table views, closes #1557
|
2021-12-16 11:24:54 -08:00 |
Simon Willison
|
20a2ed6bec
|
Fixed bug with metadata config of array/date facets, closes #1552
Thanks @davidbgk for spotting the fix for the bug.
|
2021-12-16 10:47:40 -08:00 |
Simon Willison
|
40e5b0a5b5
|
How to create indexes with sqlite-utils
|
2021-12-16 10:03:10 -08:00 |
Simon Willison
|
eb53837d2a
|
Always show count of distinct facet values, closes #1556
Refs #1423
|
2021-12-15 09:58:01 -08:00 |
Simon Willison
|
4f02c8d4d7
|
Test for JSON in query_string name, refs #621
Plus simplified implementation of test_request_blank_values
|
2021-12-14 12:29:05 -08:00 |
dependabot[bot]
|
f5538e7161
|
Bump black from 21.11b1 to 21.12b0 (#1543)
Bumps [black](https://github.com/psf/black) from 21.11b1 to 21.12b0.
- [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)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2021-12-13 15:22:29 -08:00 |
dependabot[bot]
|
8b411a6b70
|
Update pytest-xdist requirement from <2.5,>=2.2.1 to >=2.2.1,<2.6 (#1548)
Updates the requirements on [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases)
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v2.2.1...v2.5.0)
---
updated-dependencies:
- dependency-name: pytest-xdist
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2021-12-13 15:22:21 -08:00 |
Simon Willison
|
a6ff123de5
|
keep_blank_values=True when parsing query_string, closes #1551
Refs #1518
|
2021-12-12 12:01:51 -08:00 |
Simon Willison
|
492f9835aa
|
Refactor table view API tests to test_table_api.py
Refs #1518
|
2021-12-11 19:07:19 -08:00 |
Simon Willison
|
1876975e3b
|
Refactor table view HTML tests to test_table_html.py
Refs #1518
|
2021-12-11 19:06:45 -08:00 |
Simon Willison
|
737115ea14
|
Label column finder is now case-insensitive
Closes #1544
|
2021-12-07 12:03:42 -08:00 |
Simon Willison
|
36b596e383
|
Framework :: Datasette Trove classifier
|
2021-12-07 11:41:56 -08:00 |
Simon Willison
|
7c02be2ee9
|
Release 0.59.4
Refs #1525, #1527
|
2021-11-29 22:45:37 -08:00 |
Simon Willison
|
ca66246438
|
Updated JSON foreign key tables test for #1525
|
2021-11-29 22:45:04 -08:00 |
Simon Willison
|
35b12746ba
|
Fixed CSV test I broke in #1525
|
2021-11-29 22:37:22 -08:00 |
Simon Willison
|
a37ee74891
|
Correct link to _ prefix on row page, closes #1525
|
2021-11-29 22:34:31 -08:00 |
Simon Willison
|
69244a617b
|
Rename city_id to _city_id in fixtures, refs #1525
|
2021-11-29 22:20:42 -08:00 |
Simon Willison
|
06762776f7
|
Fix for incorrect hidden for fields for _columns, refs #1527
|
2021-11-29 19:04:35 -08:00 |
dependabot[bot]
|
83eb29dece
|
Update janus requirement from <0.7,>=0.6.2 to >=0.6.2,<0.8 (#1529)
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.6.2...v0.7.0)
---
updated-dependencies:
- dependency-name: janus
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2021-11-29 18:37:13 -08:00 |
dependabot[bot]
|
cc4c70b367
|
Bump black from 21.9b0 to 21.11b1 (#1516)
Bumps [black](https://github.com/psf/black) from 21.9b0 to 21.11b1.
- [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)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2021-11-29 18:35:28 -08:00 |
dependabot[bot]
|
3303514a52
|
Update docutils requirement from <0.18 to <0.19 (#1508)
Updates the requirements on [docutils](http://docutils.sourceforge.net/) to permit the latest version.
---
updated-dependencies:
- dependency-name: docutils
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2021-11-29 18:35:18 -08:00 |
dependabot[bot]
|
1beb7d9399
|
Update aiofiles requirement from <0.8,>=0.4 to >=0.4,<0.9 (#1537)
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.8.0)
---
updated-dependencies:
- dependency-name: aiofiles
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2021-11-29 18:29:54 -08:00 |
Simon Willison
|
48f11998b7
|
Release 0.59.3
Refs #448, #838, #1519
|
2021-11-20 15:40:21 -08:00 |
Simon Willison
|
d8c79b1340
|
Link to Apache proxy demo from documentation, closes #1524
|
2021-11-20 15:33:58 -08:00 |
Simon Willison
|
ed77eda6d8
|
Add datasette-redirect-to-https plugin
Also configured suprvisord children to log to stdout, so that I
can see them with flyctly logs -a datasette-apache-proxy-demo
Refs #1524
|
2021-11-20 15:30:25 -08:00 |
Simon Willison
|
f11a13d73f
|
Extract out Apache config to separate file, refs #1524
|
2021-11-20 12:23:40 -08:00 |
Simon Willison
|
250db8192c
|
Hopefully last fix relating to #1519, #838
|
2021-11-20 11:09:05 -08:00 |
Simon Willison
|
08947fa764
|
Fix more broken base_url links
Refs #1519, #838
|
2021-11-20 11:03:08 -08:00 |