Wykres commitów

869 Commity (plugin-load-metadata)

Autor SHA1 Wiadomość Data
Simon Willison d11fd2cbaa Experimental load_metadata() hook, refs #357 2019-11-25 20:57:52 -08:00
Simon Willison df2879ee2a Better documentation for --static, closes #641
https://datasette.readthedocs.io/en/stable/custom_templates.html#serving-static-files
2019-11-25 18:31:42 -08:00
Simon Willison aca41618f8 index view is also important for plugin hooks 2019-11-25 09:04:39 -08:00
Simon Willison d3e1c3017e Display 0 results, closes #637 2019-11-22 22:07:01 -08:00
Simon Willison fd137da7f8 Suggest column facet only if at least one count > 1
Fixes #638
2019-11-21 16:56:55 -08:00
Simon Willison c16be14517
How to upgrade using Docker 2019-11-20 10:02:07 -08:00
Simon Willison 440a70428c Include rowid in filter select, closes #636 2019-11-19 15:01:10 -08:00
Simon Willison a9909c29cc Move .execute() from Datasette to Database
Refs #569 - I split this change out from #579
2019-11-15 14:52:03 -08:00
Simon Willison 8fc9a5d877
Datasette 0.32 and datasette-template-sql in news 2019-11-14 15:46:37 -08:00
Simon Willison a95bedb9c4 Release notes for 0.32 2019-11-14 15:20:21 -08:00
Simon Willison 8c642f04e0
Render templates using Jinja async mode
Closes #628
2019-11-14 15:14:22 -08:00
Simon Willison b51f258d00 Release notes for 0.31.2 2019-11-13 08:48:36 -08:00
Simon Willison f524510230 Fix "publish heroku" + upgrade to use Python 3.8.0
Closes #633. Closes #632.
2019-11-13 08:42:47 -08:00
Stanley Zheng 848dec4deb Fix for datasette publish with just --source_url (#631)
Closes #572
2019-11-12 20:28:42 -08:00
Simon Willison bbd00e903c
Badge linking to datasette on hub.docker.com 2019-11-12 18:38:13 -08:00
Simon Willison a22c7761b6 Fixed typo in release notes 2019-11-12 18:18:39 -08:00
Simon Willison 16265f6a1a Release notes for 0.31.1 2019-11-12 18:18:04 -08:00
Simon Willison d977fbadf7
datasette publish uses python:3.8 base Docker image, closes #629 2019-11-11 22:03:09 -08:00
Simon Willison f554be39fc
ReST fix 2019-11-11 22:00:13 -08:00
Simon Willison 1c518680e9
Final steps: build stable branch of Read The Docs 2019-11-11 21:57:48 -08:00
Simon Willison 7f89928062 Removed code that conditionally installs black
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 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 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