Simon Willison
eda652cf6e
--ssl-keyfile and --ssl-certfile options to "datasette serve"
...
Closes #1221
2021-02-11 16:52:16 -08:00
Simon Willison
aa1fe0692c
Updated demo and video links
2021-02-07 19:27:02 -08:00
Simon Willison
3a3de76009
Release 0.54.1
...
Refs #1214
2021-02-02 13:24:05 -08:00
Simon Willison
7a2ed9f8a1
Fixed bug with ?_sort= and ?_search=, closes #1214
2021-02-02 13:21:03 -08:00
Simon Willison
beb98bf454
Fixed typo in code example
2021-01-31 00:49:09 -08:00
Simon Willison
dde3c500c7
Using pdb for errors thrown inside Datasette
...
Closes #1207
2021-01-28 18:12:32 -08:00
Simon Willison
1600d2a3ec
Renamed /:memory: to /_memory, with redirects - closes #1205
2021-01-28 14:48:56 -08:00
Simon Willison
382e9ecd1d
Removed a rogue full-stop
2021-01-25 09:35:06 -08:00
Simon Willison
0b9ac1b2e9
Release 0.54
...
Refs #509 , #1091 , #1150 , #1151 , #1166 , #1167 , #1178 , #1181 , #1182 , #1184 , #1185 , #1186 , #1187 , #1194 , #1198
2021-01-25 09:33:29 -08:00
Simon Willison
a5ede3cdd4
Fixed bug loading database called 'test-database (1).sqlite'
...
Closes #1181 .
Also now ensures that database URLs have special characters URL-quoted.
2021-01-24 21:13:05 -08:00
Simon Willison
07e1635615
All ?_ parameters now copied to hidden form fields, closes #1194
2021-01-24 19:10:10 -08:00
Simon Willison
f3a1555318
Contributing docs for Black and Prettier, closes #1167
...
Refs #1203
2021-01-24 17:58:15 -08:00
Simon Willison
ffff3a4c53
Easier way to run Prettier locally ( #1203 )
...
Thanks, Ben Pickles - refs #1167
2021-01-24 17:41:46 -08:00
Simon Willison
b6a7b58fa0
Initial docs for _internal database, closes #1154
2021-01-24 16:08:29 -08:00
Simon Willison
f78e956eca
Plugin testing documentation on using pytest-httpx
...
Closes #1198
2021-01-24 12:38:29 -08:00
Simon Willison
25c2933667
publish heroku now uses python-3.8.7
2021-01-22 16:46:25 -08:00
Simon Willison
5378f02352
Better tool for extracting issue numbers
2021-01-19 12:50:12 -08:00
Simon Willison
57f4d7b82f
Release 0.54a0
...
Refs #1091 , #1145 , #1151 , #1156 , #1157 , #1158 , #1166 , #1170 , #1178 , #1182 , #1184 , #1185 , #1186 , #1187
2021-01-19 12:47:30 -08:00
Simon Willison
7e3cfd9cf7
Clarify the name of plugin used in /-/static-plugins/
2021-01-19 12:27:45 -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