Commit graph

849 commits

Author SHA1 Message Date
Simon Willison
7f89928062 Removed code that conditionally installs black 0.31
Since we no longer support Python 3.5 we don't need this any more.
2019-11-11 21:33:51 -08:00
Simon Willison
c633c035dc Datasette 0.31 in news section 2019-11-11 21:26:56 -08:00
Simon Willison
76fc6a9c73 Release notes for 0.31 2019-11-11 21:18:17 -08:00
Simon Willison
cf7776d36f
Support Python 3.8, stop supporting Python 3.5 (#627)
* Upgrade to uvicorn 0.10.4
* Drop support for Python 3.5
* Bump all dependencies to latest releases
* Update docs to reflect we no longer support 3.5
* Removed code that skipped black unit test on 3.5

Closes #622
2019-11-11 21:09:11 -08:00
Simon Willison
5bc2570121 Include uvicorn version in /-/versions, refs #622 2019-11-11 20:45:12 -08:00
Simon Willison
42ee3e16a9
Bump pint to 0.9 (#624)
This fixes 2 deprecation warnings in Python 3.8 - refs #623 #622
2019-11-10 20:19:01 -08:00
Simon Willison
1c063fae9d
Test against Python 3.8 in Travis (#623)
* Test against Python 3.8 in Travis
* Avoid current_task warnings in Python 3.8
2019-11-10 19:45:34 -08:00
Simon Willison
28c4a6db5b CREATE INDEX statements on table page, closes #618 2019-11-09 17:29:36 -08:00
Simon Willison
10b9d85eda
datasette-csvs on Glitch now uses sqlite-utils
It previously used csvs-to-sqlite but that had heavy dependencies.

See https://support.glitch.com/t/can-you-upgrade-python-to-latest-version/7980/33
2019-11-08 18:15:13 -08:00
Simon Willison
9f5d19c254
Improved documentation for "publish cloudrun" 2019-11-08 18:12:20 -08:00
Simon Willison
83fc5165ac Improved UI for publish cloudrun, closes #608 2019-11-07 18:48:39 -08:00
Simon Willison
f9c146b893 Removed unused special_args_lists variable 2019-11-06 16:55:44 -08:00
Simon Willison
c30f07c58e Removed _group_count=col feature, closes #504 2019-11-05 21:12:55 -08:00
Tobias Kunze
931bfc6661 Handle spaces in DB names (#590)
Closes #503 - thanks, @rixx
2019-11-04 15:16:30 -08:00
Simon Willison
52fa79c607 Use select colnames, not select * for table view - refs #615 2019-11-04 15:03:48 -08:00
Simon Willison
9db22cdf18 pk__notin= filter, closes #614 2019-11-03 20:11:55 -08:00
Tobias Kunze
ee330222f4 Offer to format readonly SQL (#602)
Following discussion in #601, this PR adds a "Format SQL" button to
read-only SQL (if the SQL actually differs from the formatting result).

It also removes a console error on readonly SQL queries.

Thanks, @rixx!
2019-11-03 18:39:55 -08:00
Simon Willison
2bf7ce5f51 Fix CSV export for nullable foreign keys, closes #612 0.30.2 2019-11-02 16:12:46 -07:00
Simon Willison
c3181d9a84 Release notes for 0.30.2 2019-11-02 15:47:20 -07:00
Simon Willison
14da70525b Don't show 'None' as label for nullable foreign key, closes #406 2019-11-02 15:29:40 -07:00
Simon Willison
ed57e4f990 Plugin static assets support both hyphens and underscores in names
Closes #611
2019-11-01 15:15:10 -07:00
Simon Willison
ffae2f0ecd Better documentation of --host, closes #574 2019-11-01 14:57:49 -07:00
Simon Willison
7152e76eda Don't suggest array facet if column is only [], closes #610 2019-11-01 14:45:59 -07:00
Simon Willison
ba5414f16b Only inspect first 100 records for #562 2019-11-01 12:38:15 -07:00
Simon Willison
50287e7c6b Only suggest array facet for arrays of strings - closes #562 2019-11-01 12:37:46 -07:00
Simon Willison
937828f946 Use distinfo.project_name for plugin name if available, closes #606 2019-10-31 22:39:59 -07:00
Simon Willison
3ca290e0db Fixed dumb error 0.30.1 2019-10-30 12:00:21 -07:00
Simon Willison
f5f6cbe03c Release 0.30.1 2019-10-30 11:56:04 -07:00
Simon Willison
e2c390500e Persist _where= in hidden fields, closes #604 2019-10-30 11:49:26 -07:00
Simon Willison
5dd4d2b2d3
Update to latest black (#609) 2019-10-30 11:49:01 -07:00
chris48s
f4c0830529 Always pop as_format off args dict (#603)
Closes #563. Thanks, @chris48s
2019-10-20 19:03:08 -07:00
Simon Willison
8050f9e1ec Update news in README 0.30 2019-10-18 18:08:04 -07:00
Simon Willison
debea4f971 Release 0.30 2019-10-18 18:06:37 -07:00
Simon Willison
e877b1cb12
Don't auto-format SQL on page load (#601)
Closes #600
2019-10-18 16:56:44 -07:00
Simon Willison
b647b5efc2
Fix for /foo v.s. /foo-bar issue, closes #597
Pull request #599
2019-10-18 15:51:07 -07:00
Simon Willison
b6ad1fdc70 Fixed bug returning non-ascii characters in CSV, closes #584 2019-10-17 22:23:01 -07:00
Simon Willison
3e864b1625 Use --platform=managed for publish cloudrun, closes #587 2019-10-17 14:51:45 -07:00
Simon Willison
9366d0bf19
Add Python versions badge 2019-10-14 15:29:16 -07:00
Tobias Kunze
12cec411ca Display metadata footer on custom SQL queries (#589)
Closes #408 - thanks, @rixx!
2019-10-13 20:53:21 -07:00
Tobias Kunze
908fc3999e Sort databases on homepage by argument order - #591
Closes #585 - thanks, @rixx!
2019-10-13 20:52:33 -07:00
Tobias Kunze
af2e6a5cf1 Button to format SQL, closes #136
SQL code will be formatted on page load, and can additionally
be formatted by clicking the "Format SQL" button.

Thanks, @rixx!
2019-10-13 20:46:12 -07:00
Simon Willison
fffd69ec03 Allow EXPLAIN WITH... - closes #583 2019-10-06 10:23:58 -07:00
Simon Willison
a314b76186 Added /-/threads debugging page 2019-10-02 08:35:25 -07:00
Simon Willison
0fc8afde0e Changelog for 0.29.3 release 0.29.3 2019-09-02 17:40:53 -07:00
Simon Willison
2dc5c8dc25
detect_fts now works with alternative table escaping (#571)
Fixes #570. See also https://github.com/simonw/sqlite-utils/pull/57
2019-09-02 17:32:27 -07:00
Simon Willison
f04deebec4 Refactored connection logic to database.connect() 2019-07-26 13:22:57 +03:00
Min ho Kim
27cb29365c Fix numerous typos (#561)
Thanks, @minho42!
2019-07-26 13:25:44 +03:00
Simon Willison
a9453c4dda Fixed CodeMirror on database page, closes #560 2019-07-13 20:38:40 -07:00
Simon Willison
6abe6faff6 Release 0.9.2 0.29.2 2019-07-13 20:04:05 -07:00
Simon Willison
90d4f497f9 Fix plus test for unicode characters in custom query name, closes #558 2019-07-13 19:49:24 -07:00