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
649f48cd70
request.full_path property, closes #1184
2021-01-11 13:32:58 -08:00
Simon Willison
e1efa9b7a3
force_https_urls on for publish cloudrun, refs #1178
2021-01-06 10:13:34 -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
5193d0b3e4
Apply prettier to table.js, refs #1166
2020-12-31 13:27:39 -08:00
Simon Willison
6705560148
Refactor out sqlite_extensions option
2020-12-29 14:16:05 -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
Simon Willison
0c616f732c
Release 0.53
...
Refs #1132 , #1135 , #1133 , #1138 , #1137
2020-12-10 17:44:36 -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
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
2dc281645a
Release 0.52.4
...
Refs #1125 , #1131 , #1094
2020-12-05 11:41:40 -08:00
Abdussamet Koçak
705d1a1555
Fix startup error on windows ( #1128 )
...
Fixes https://github.com/simonw/datasette/issues/1094
This import isn't used at all, and causes error on startup on Windows.
2020-12-05 11:35:03 -08:00
Simon Willison
eae103a82b
Write errors to stderr, closes #1131
2020-12-04 21:21:11 -08:00
Simon Willison
49d8fc0568
Try pysqlite3-binary version as well, refs #1125
2020-12-03 20:07:16 -08:00
Simon Willison
00185af74a
Show pysqlite3 version on /-/versions, if installed - #1125
2020-12-03 14:08:50 -08:00
Simon Willison
4cce551666
Release 0.52.3
...
Refs #1124
2020-12-03 11:07:05 -08:00
Simon Willison
ca6e8e53dc
More helpful 404 messages, refs #1124
2020-12-03 11:05:12 -08:00
Simon Willison
63efcb35ce
More tweaks to root_path handling, refs #1124
2020-12-03 11:02:53 -08:00
Simon Willison
6b4c55efea
Fix for Amazon Linux static assets 404ing, refs #1124
2020-12-03 10:53:26 -08:00
Simon Willison
e048791a9a
Release 0.52.2
...
Refs #1116 , #1115 , #1100 , #749 , #1121
2020-12-02 16:57:40 -08:00
Simon Willison
a45a3dff3e
Fix for OPTIONS request against /db, closes #1100
2020-12-02 16:49:55 -08:00
Abdussamet Koçak
daae35be46
Fix misaligned table actions cog
...
Closes #1121 . Thanks, @abdusco
2020-12-02 16:33:36 -08:00
Simon Willison
88ac538b41
transfer-encoding: chunked for DB downloads, refs #749
...
This should get >32MB downloads working on Cloud Run.
2020-12-02 15:47:37 -08:00
Simon Willison
17cbbb1f7f
generated_columns table in fixtures.py, closes #1119
2020-11-30 16:28:02 -08:00
Simon Willison
461670a0b8
Support for generated columns
...
* Support for generated columns, closes #1116
* Show SQLite version in pytest report header
* Use table_info() if SQLite < 3.26.0
* Cache sqlite_version() rather than re-calculate every time
* Adjust test_database_page for SQLite 3.26.0 or higher
2020-11-30 13:29:57 -08:00
Simon Willison
49b6297fb7
Typo fix: messagge_is_html, closes #1118
2020-11-30 13:24:23 -08:00
Simon Willison
dea3c508b3
Revert "Support for generated columns, closes #1116 " - it failed CI
...
This reverts commit 37f87b5e52 .
2020-11-30 12:09:32 -08:00
Simon Willison
37f87b5e52
Support for generated columns, closes #1116
2020-11-30 12:01:15 -08:00
Simon Willison
c745c2715a
Moved comment for clarity
2020-11-29 12:27:34 -08:00
Simon Willison
09033c08be
Suggest --load-extension=spatialite, closes #1115
2020-11-29 12:13:16 -08:00
Simon Willison
242bc89fdf
Release 0.52.1
...
Refs #1098 , #1102 , #1114
2020-11-29 11:38:29 -08:00
Simon Willison
deb0be4ae5
Fix bug where compound foreign keys produced broken links, closes #1098
2020-11-29 11:30:17 -08:00
Simon Willison
e800ffcf7c
/usr/local/lib/mod_spatialite.so
...
Closes #1114
2020-11-29 09:37:43 -08:00
Simon Willison
a8e66f9065
Release 0.52
...
Refs #992 , #1103 , #1104 , #1107 , #1077 , #1110 , #1089 , #1086 , #1088 , #1084
2020-11-28 15:54:35 -08:00