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
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
42efb799ea
Fixed invalid test for generated columns, refs #1119
2020-12-04 21:20:12 -08:00
Simon Willison
49d8fc0568
Try pysqlite3-binary version as well, refs #1125
2020-12-03 20:07:16 -08:00
Simon Willison
e2fea36540
Switch to google-github-actions/setup-gcloud - refs #1126
2020-12-03 19:12:33 -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