Simon Willison
05258469ae
Implemented macro for #1191
2021-01-24 19:57:57 -08:00
Simon Willison
d5fac82f5b
New hookspecs
2021-01-18 17:31:24 -08:00
Simon Willison
c38c42948c
extra_body_script module support, closes #1187
2021-01-13 18:14:33 -08:00
Simon Willison
fa0c3777b8
script type=module support, closes #1186
2021-01-13 17:50:52 -08:00
Simon Willison
640ac7071b
Better PRAGMA error message, closes #1185
2021-01-12 14:26:19 -08:00
Simon Willison
8e8fc5cee5
Applied Black
2021-01-11 13:34:38 -08:00
Simon Willison
ef2ecc1b89
Standardize on 'query string', not 'querystring', in docs
...
The request property is request.query_string so this is more consistent.
2021-01-11 13:33:54 -08:00
Simon Willison
649f48cd70
request.full_path property, closes #1184
2021-01-11 13:32:58 -08:00
Simon Willison
ed15c9908e
Shrunk ecosystem docs in favour of datasette.io, closes #1182
2021-01-09 14:17:18 -08:00
Simon Willison
faa76390a0
Fixed bug introduced in e1efa9b7
, refs #1178
2021-01-07 16:01:01 -08:00
Simon Willison
4c0995ed60
Fixed bug in example nginx config, refs #1091
2021-01-07 15:42:14 -08:00
Simon Willison
97fb10c17d
Applied Black, refs #1178
2021-01-06 10:22:20 -08:00
Simon Willison
e1efa9b7a3
force_https_urls on for publish cloudrun, refs #1178
2021-01-06 10:13:34 -08:00
Simon Willison
ab7767acbe
tmate session mac
...
So I can test https://github.com/simonw/datasette/issues/93
2021-01-04 13:31:55 -08:00
Ben Pickles
3054e0f730
Install Prettier via package.json ( #1170 )
...
* Error if Prettier isn't already installed
* Temporarily run Prettier check on every commit
* Install and run Prettier via package.json
* Trigger another prettier check on CI
2021-01-04 11:52:33 -08:00
Simon Willison
1e8fa3ac7c
Only run prettier on changes to datasette/static
...
Refs #1166
2021-01-01 13:45:55 -08:00
Simon Willison
a93a65b027
Fixed Prettier formatting, closes #1166
2020-12-31 13:46:32 -08:00
Simon Willison
80870911de
Trying out bad formatting, refs #1166
2020-12-31 13:44:47 -08:00
Simon Willison
9cbc099492
GitHub Actions workflow for Prettier, refs #1166
2020-12-31 13:42:14 -08:00
Simon Willison
5193d0b3e4
Apply prettier to table.js, refs #1166
2020-12-31 13:27:39 -08:00
Simon Willison
1a513ed092
Ignore node_modules
2020-12-31 13:26:37 -08:00
Simon Willison
03933b3084
.prettierrc, refs #1166
2020-12-31 13:25:44 -08:00
Simon Willison
6705560148
Refactor out sqlite_extensions option
2020-12-29 14:16:05 -08:00
Simon Willison
8df116b24c
sqlite-utils now lives at sqlite-utils.datasette.io
2020-12-29 13:38:53 -08:00
Miroslav Šedivý
a882d67962
Modernize code to Python 3.6+ ( #1158 )
...
* Compact dict and set building
* Remove redundant parentheses
* Simplify chained conditions
* Change method name to lowercase
* Use triple double quotes for docstrings
Thanks, @eumiro!
2020-12-23 09:04:32 -08:00
Simon Willison
90eba4c3ca
Prettier CREATE TABLE SQL for _internal
2020-12-22 15:55:43 -08:00
Simon Willison
8919f99c2f
Improved .add_database() method design
...
Closes #1155 - _internal now has a sensible name
Closes #509 - Support opening multiple databases with the same stem
2020-12-22 12:04:18 -08:00
Simon Willison
270de6527b
Foreign keys for _internal database
...
Refs #1099 - Datasette now uses compound foreign keys internally,
so it would be great to link them correctly.
2020-12-22 11:48:54 -08:00
Simon Willison
bc1f1e1ce8
Compound primary key for foreign_keys table in _internal
2020-12-22 11:04:29 -08:00
Simon Willison
810853c5f2
Use time.perf_counter() instead of time.time(), closes #1157
2020-12-21 13:49:14 -08:00
Simon Willison
dcdfb2c301
Rename _schemas to _internal, closes #1156
2020-12-21 11:48:06 -08:00
Simon Willison
ebc7aa287c
In-memory _schemas database tracking schemas of attached tables, closes #1150
2020-12-18 14:34:05 -08:00
Simon Willison
5e9895c67f
Database(memory_name=) for shared in-memory databases, closes #1151
2020-12-17 17:01:18 -08:00
dependabot-preview[bot]
6119bd7973
Update pytest requirement from <6.2.0,>=5.2.2 to >=5.2.2,<6.3.0 ( #1145 )
...
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...6.2.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-12-16 13:44:39 -08:00
Simon Willison
0c616f732c
Release 0.53
...
Refs #1132 , #1135 , #1133 , #1138 , #1137
2020-12-10 17:44:36 -08:00
Simon Willison
02bb373194
Updated release process
2020-12-10 17:38:16 -08:00
Simon Willison
967cc05545
Powered by links to datasette.io, closes #1138
2020-12-10 15:37:08 -08:00
Simon Willison
2c0aca4887
_header=off option for CSV export, closes #1133
2020-12-10 15:28:44 -08:00
Simon Willison
7ef80d0145
News is now on datasette.io/news
...
Closes #1137 , closes #659
2020-12-10 15:24:16 -08:00
Simon Willison
e0b54d0911
No longer using Wiki for examples
2020-12-10 15:20:43 -08:00
Simon Willison
4c6407cd74
Releasing bug fixes from a branch, closes #1136
2020-12-09 12:14:33 -08:00
Simon Willison
387b471b88
Release 0.52.5
...
Refs #1134
2020-12-09 12:13:14 -08:00
Simon Willison
6000d1a724
Fix for combining ?_search_x and ?_searchmode=raw, closes #1134
2020-12-09 11:56:44 -08:00
Simon Willison
fe86d85308
datasette serve --create option, closes #1135
2020-12-09 11:45:45 -08:00
Simon Willison
4c25b035b2
arraynotcontains filter, closes #1132
2020-12-07 14:41:03 -08:00
Simon Willison
8ae0f9f7f0
Fixed spelling of Janary
2020-12-07 12:16:13 -08:00
Simon Willison
62a6f70c64
Fixed Markdown indentation of news
...
To make it easier to programmatically extract.
2020-12-07 12:10:05 -08:00
Simon Willison
e3143700a2
Custom template for docs, linking to datasette.io
2020-12-07 11:00:10 -08:00
Simon Willison
e5930e6f88
Typo fix in release notes
2020-12-05 11:42:42 -08:00
Simon Willison
2dc281645a
Release 0.52.4
...
Refs #1125 , #1131 , #1094
2020-12-05 11:41:40 -08:00