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
Simon Willison
37d18a5bce
datasette publish cloudrun --apt-get-install, closes #1110
2020-11-24 19:05:35 -08:00
Simon Willison
f2e2bfcdd9
Renamed datasette.config() to .setting(), closes #1107
2020-11-24 14:06:32 -08:00
Simon Willison
5a77f7a649
Updated docs renaming config to settings
...
- config.html is now settings.html
- ConfigOption in app.py is now Setting
- updated documentation unit tests
Refs #1106
2020-11-24 13:22:33 -08:00
Simon Willison
33eadb8782
config.json is now settings.json, closes #1104
2020-11-24 12:37:29 -08:00
Simon Willison
2a3d5b720b
Redirect /-/config to /-/settings, closes #1103
2020-11-24 12:19:14 -08:00
Simon Willison
3159263f05
New --setting to replace --config, closes #992
2020-11-24 12:01:47 -08:00
Simon Willison
4bac9f18f9
Fix off-screen action menu bug, refs #1084
2020-11-21 15:33:04 -08:00
Simon Willison
30e64c8d3b
Use f-strings in place of .format()
...
Code transformed like so:
pip install flynt
flynt .
black .
2020-11-15 15:24:22 -08:00
Simon Willison
253f2d9a3c
Use correct QueryInterrupted exception on row page, closes #1088
2020-11-11 20:36:44 -08:00
Simon Willison
2a981e2ac1
Blank foreign key labels now show as hyphens, closes #1086
2020-11-11 15:44:04 -08:00
Simon Willison
d6257e3a7b
Add database/table actions to pattern portfolio
...
Refs #1066 , #1077
2020-11-02 10:53:52 -08:00
Simon Willison
7b19492070
database_actions() plugin hook, closes #1077
2020-11-02 10:27:25 -08:00
Simon Willison
b61f6cceb5
Add nav menu to pattern portfolio
2020-11-01 09:22:13 -08:00
Simon Willison
4785172bbc
Release 0.51.1
2020-10-31 20:33:47 -07:00
Simon Willison
d53d747e6a
Release 0.51
...
Refs #1014 , #1016 , #1019 , #1023 , #1027 , #1028 , #1033 , #1034 , #1036 , #1039
Closes #1076
2020-10-31 15:21:49 -07:00
Simon Willison
a4ca26a265
Address PrefixedUrlString bug in #1075
2020-10-31 13:35:47 -07:00
Simon Willison
84bc7244c1
datasette.client now applies base_url, closes #1026
2020-10-31 12:29:42 -07:00
Simon Willison
7a67bc7a56
datasette.urls methods will not apply base_url prefix twice, refs #1026
2020-10-31 12:11:40 -07:00
Simon Willison
c1d386ef67
Refactor Urls into url_builder.py
...
Refs #1026
2020-10-31 11:43:36 -07:00
Simon Willison
11eb1e026f
datasette.urls.table(..., format="json"), closes #1035
...
Also improved tests for datasette.urls and added format= to some other methods
2020-10-31 11:16:28 -07:00
Simon Willison
f0a740ac21
Remove load_plugin hook - closes #1073
...
Refs #1042
This reverts commit 81dea4b07a .
2020-10-31 09:21:22 -07:00
Simon Willison
a2a7090720
Display messages in right place, closes #1071
2020-10-30 13:12:57 -07:00
Simon Willison
393f1b49d7
Updated nav in pattern portfolio
2020-10-30 13:12:01 -07:00
Simon Willison
59ab24af6b
Release 0.51a2
...
Refs #1068 , #1042 , #1054
2020-10-30 10:56:02 -07:00
Simon Willison
0cb29498c7
Fixed bug with python tests/fixtures.py
...
https://github.com/simonw/datasette/runs/1333357885?check_suite_focus=true
2020-10-30 10:54:47 -07:00
Simon Willison
81dea4b07a
load_template() plugin hook
...
Closes #1042
2020-10-30 10:47:18 -07:00