Wykres commitów

903 Commity (b031fe97636b80b05fec409ee1dffb7d044fd4e9)

Autor SHA1 Wiadomość Data
Simon Willison b031fe9763 Updated README news for 0.36 2020-02-21 19:04:46 -08:00
Simon Willison 962a7e16e5 Release notes for 0.36, refs #679 2020-02-21 19:01:57 -08:00
Simon Willison d6335f1f31 Added shapefile-to-sqlite, datasette-mask-columns, datasette-auth-existing-cookies, datasette-auth-existing-cookies
Refs #679
2020-02-21 18:53:35 -08:00
Adrien Di Pasquale be2265b0e8
Fix db-to-sqlite command in ecosystem doc page (#669)
Thanks, @adipasquale
2020-02-21 18:32:17 -08:00
Simon Willison 7c6a9c3529 Better tests for prepare_connection() plugin hook, refs #678 2020-02-21 18:27:07 -08:00
Simon Willison 6303ea5048 prepare_connection() now takes datasette and database args, refs #678 2020-02-21 17:32:40 -08:00
Simon Willison d3f2fade88 Refactored run_sanity_checks to check_connection(conn), refs #674 2020-02-15 09:56:48 -08:00
Simon Willison f1442a8151 Replaced self.ds.execute with db.execute in more places 2020-02-13 18:20:05 -08:00
Simon Willison efa54b439f Docs for .render_template(), refs #577
Also improved parameter documentation for other methods, refs #576
2020-02-13 17:58:32 -08:00
Simon Willison 3ffb8f3b98 .add_database() and .remove_database() methods, refs #671
Also made a start on the Datasette class documentation, refs #576
2020-02-13 17:27:57 -08:00
Simon Willison cf5f4386ef Run black against everything, not just tests and datasette dirs 2020-02-13 15:02:10 -08:00
Simon Willison b38a792ef0 Apply Black, update copyright to be 2017-2020 2020-02-13 15:01:14 -08:00
Simon Willison 0091dfe3e5 More reliable tie-break ordering for facet results
I was seeing a weird bug where the order of results running tests
on my laptop was inconsistent, causing pytest failures even though
the order of tests in Travis CI was fine.

I think the fix is to explicitly state how facet ordering ties on
the count should be resolved.
2020-02-12 22:36:42 -08:00
Simon Willison 298a899e79 Reformatted with black 2020-02-12 22:05:46 -08:00
Simon Willison 30b6f71b30 Updated release notes with #653 2020-02-04 18:17:47 -08:00
Jay Graves 33a12c8ae5
Allow leading comments in SQL input field (#653)
Thanks, @jaywgraves!
2020-02-04 18:13:24 -08:00
Simon Willison ce12244037 Release notes for 0.35 2020-02-04 18:02:32 -08:00
Simon Willison 4d7dae9eb7
Added a bunch more plugins to the Ecosystem page 2020-02-04 12:49:41 -08:00
Simon Willison 70b915fb4b
Datasette.render_template() method, closes #577
Pull request #664.
2020-02-04 12:26:17 -08:00
Simon Willison 286ed286b6
geojson-to-sqlite 2020-01-30 23:09:56 -08:00
Simon Willison e7f60d2a9b Release notes for Datasette 0.34, plus news updates 2020-01-29 16:09:01 -08:00
Simon Willison 67fc9c5720
--port argument for datasette package, plus tests - closes #661
From pull request #663
2020-01-29 14:46:43 -08:00
Katie McLaughlin 34d77d780f gcloud run is now GA, s/beta// (#660)
Thanks, @glasnt
2020-01-21 15:28:11 -08:00
Simon Willison 3c861f363d _search= queries now correctly escaped, fixes #651
Queries with reserved words or characters according to the SQLite
FTS5 query language could cause errors.

Queries are now escaped like so:

    dog cat => "dog" "cat"
2019-12-29 18:48:30 +00:00
Simon Willison 59e7014c8a Release 0.33 2019-12-22 16:27:04 +00:00
Simon Willison dc98b0f41d Link to JSK Medium post from news 2019-12-22 16:16:58 +00:00
Simon Willison d54318fc7f Added template_debug setting, closes #654 2019-12-22 16:04:45 +00:00
Simon Willison ceef5ce684 Documentation for --port=0 2019-12-22 15:42:30 +00:00
Simon Willison 85c19c4037 Apply black 2019-12-22 15:34:20 +00:00
Simon Willison 9c3f0b73de Bump to uvicorn 0.11 2019-12-22 15:33:04 +00:00
Simon Willison 16665c9ee6 Better handling of corrupted database files 2019-12-22 15:31:40 +00:00
Simon Willison d6b6c9171f Include asyncio task information in /-/threads debug page 2019-12-04 22:47:17 -08:00
Simon Willison 2039e78e58
Added Niche Museums to News 2019-12-02 22:53:59 -08:00
Simon Willison a562f29655 Examples of things you can do with plugins 2019-11-27 11:19:11 -08:00
Simon Willison f9d0ce4233
Added datasette-haversine to plugins list 2019-11-27 06:04:32 -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