commits

1,867 rows sorted by message

View and edit SQL

Suggested facets: raw_committer, committer, author_date (date), committer_date (date)

sha message ▼ author_date committer_date raw_author raw_committer repo author committer
0bb483ca5bee61c9f7d148b5755d2eed56001aca /-/static-plugins/PLUGIN_NAME/ now serves static/ from plugins Refs #214 2018-04-18T02:32:48Z 2018-04-18T02:32:48Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
6ccfcefb782bbf86b87bf047d01b979782aa6d97 Added datasette-render-binary plugin to ecosystem 2019-06-09T16:49:06Z 2019-06-09T16:49:06Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
aae49fef3b75848628d824077ec063834e3e5167 Import pysqlite3 if available, closes #360 (#361) 2018-08-16T00:58:56Z 2018-08-16T00:58:56Z Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
fba8ff6e76253af2b03749ed8dd6e28985a7fb8f "$env": "X" mechanism now works with nested lists, closes #837 2020-06-12T00:21:48Z 2020-06-12T00:21:48Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
c0d1b4c32297453adaa4c159edee9be0a9617f2b "datasette inspect foo.db" now just calculates table counts Refs #462 * inspect command now just outputs table counts * test_inspect.py is now only tests for that CLI command * Updated some relevant documentation * Removed docs for /-/inspect since that is about to change 2019-05-11T21:36:57Z 2019-05-11T21:36:57Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
1fb518618c1c246c58daf5085247b430f2aea29f "datasette publish heroku" improvements * Fixed bug where --title= didn't work if -m not provided * Now using Python 3.6.6 instead of Python 3.6.3 2018-07-26T05:43:01Z 2018-07-26T05:43:01Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
f853d5592ec7f901a50381de22a26a9ab098f885 "python3 -m pip" is clearer (thanks @jaap3) (#368) 2019-05-03T18:18:42Z 2019-05-03T18:18:42Z Jaap Roes 93b11f15fd4dc15002baf3d9160dc6eb928bd883 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 jaap3 48517 simonw 9599
236aa065b2ecfbe5a77870689bae432b89a48b23 "sort" and "sort_desc" metadata properties, closes #702 2020-03-22T02:28:35Z 2020-03-22T02:28:35Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
623c552ff4e2eda9cc710063a7cc674aa49264f4 'Try Datasette without installing anything using Glitch' Also new 'Play with a live demo' section, both at the top of the Getting Started documentation page. https://datasette.readthedocs.io/en/latest/getting_started.html Closes #464 2019-05-16T04:57:26Z 2019-05-16T04:57:36Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
bd1db56936d7aa09f5ee87ac8146e19b71ae8b42 'Usage: datasette', not 'Usage: cli' - refs #336 2018-07-24T16:03:07Z 2018-07-24T16:03:07Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
47032636b55718dd711670f19b753f4ada9e8f2f 'datasette serve -i immutable.db' option, refs #419 2019-03-17T23:25:15Z 2019-03-17T23:25:15Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
8c9a9498159c4dfa1dff0593427cc3ee7df9a83c 'github-to-sqlite repos' command, closes #3 2019-09-17T00:17:42Z 2019-09-17T00:17:42Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 github-to-sqlite 207052882 simonw 9599 simonw 9599
0a2dddccd7eb6cedae128c08931f14f12d5bce70 'github-to-sqlite repos' now accepts multiple usernames 2019-11-11T05:02:33Z 2019-11-11T05:02:33Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 github-to-sqlite 207052882 simonw 9599 simonw 9599
b320f58d13e510d51e07187c8a75db856205b88f 'publish now' uses force_https_urls:on - closes #333 2018-07-24T01:51:43Z 2018-07-24T01:51:43Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
1eb04e2ecb764d2e76a0e5731e16c3833df04c93 'releases' command to fetch releases, closes #11 2019-11-09T22:56:53Z 2019-11-09T22:56:53Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 github-to-sqlite 207052882 simonw 9599 simonw 9599
0bc49e938e1e3444df734f9178a9a317f68f9716 'sqlite-utils add-column name type' command, closes #15 2019-02-24T20:04:33Z 2019-02-24T20:04:33Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
9e74289397e28f797290158c27e1dca2083c4e95 'sqlite-utils insert tablename file.json' command 2019-01-25T05:06:41Z 2019-01-25T05:06:41Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
3e21277c76b86b54fb5cc8dd41a3eb14b6164947 --attach and --sql for users-lookup, refs #8 2019-09-08T21:24:27Z 2019-09-08T21:24:27Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 twitter-to-sqlite 206156866 simonw 9599 simonw 9599
1e6995a362e5b8f23331aafb84e631392eb81492 --auth is now optional, closes #9 2019-11-11T05:30:41Z 2019-11-11T05:30:41Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 github-to-sqlite 207052882 simonw 9599 simonw 9599
ddd3d3ac3587afa0e67cdbe65be803d5c8945090 --image-url-prefix and --image-url-suffix, closes #24 2020-05-19T22:27:24Z 2020-05-19T22:27:24Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 dogsheep-photos 256834907 simonw 9599 simonw 9599
61f53476eb3f147231093ab9339c3d7713190f34 --install=datasette-json-html 2020-05-01T03:04:03Z 2020-05-01T03:04:03Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f github-to-sqlite 207052882 simonw 9599 web-flow 19864447
3aed64240fdc5db06700a80304f15afd03d07172 --install=datasette-vega So I can plot graphs using stargazers from #4 2020-05-02T20:14:58Z 2020-05-02T20:14:58Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f github-to-sqlite 207052882 simonw 9599 web-flow 19864447
c3f7fc6925c6c34d64c26d436356ab917da0917d --install=py-gfm 2020-03-25T05:17:20Z 2020-03-25T05:17:20Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 github-to-sqlite 207052882 simonw 9599 simonw 9599
251e4730412210e7fdb1efd476c730ed3ff10e81 --json-cols option for outputting nested JSON, closes #20 2019-05-25T00:56:44Z 2019-05-25T00:56:44Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
cef9a9a8701af86cc7df8b7939398185f0a76f5f --limit= mechanism plus new limits for facets Replaced the --max_returned_rows and --sql_time_limit_ms options to "datasette serve" with a new --limit option, which supports a larger list of limits. Example usage: datasette serve --limit max_returned_rows:1000 \ --limit sql_time_limit_ms:2500 \ --limit default_facet_size:50 \ --limit facet_time_limit_ms:1000 \ --limit facet_suggest_time_limit_ms:500 New docs: https://datasette.readthedocs.io/en/latest/limits.html Closes #270 Closes #264 2018-05-18T05:08:26Z 2018-05-18T05:08:26Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
1dbe2d88fffcbc64ec0db4c0c4af5aa212f88e2e --memory 2Gi, refs #41 2020-07-05T22:42:25Z 2020-07-05T22:42:25Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f github-to-sqlite 207052882 simonw 9599 web-flow 19864447
ddd11b3ddd886d16867c134d73105895c5726cc7 --memory option for publish cloudrun, refs #694 2020-03-05T23:34:21Z 2020-03-05T23:34:36Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
6717c719dd36dc2adc0f9da38a8c8e08129e96b4 --metadata accepts YAML as well as JSON - closes #713 2020-04-02T19:30:53Z 2020-04-02T19:30:53Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
208f56fbaf173fdd8cb03a840e218f85d414a144 --not-null and --default options to insert/update, closes #24 2019-06-13T06:30:16Z 2019-06-13T06:30:16Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
2fed87da6ea990d295672e4db2c8ae97b787913e --not-null-default and not_null_default=, refs #24 2019-06-13T01:35:02Z 2019-06-13T01:35:02Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
973f8f139df6ad425354711052cfc2256de2e522 --plugin-secret option for datasette publish Closes #543 Also added new --show-files option to publish now and publish cloudrun - handy for debugging. 2019-07-08T02:06:31Z 2019-07-08T02:06:31Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
67fc9c5720ed1fcd62b116481f70d4e80b403a22 --port argument for datasette package, plus tests - closes #661 From pull request #663 2020-01-29T22:46:43Z 2020-01-29T22:46:43Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
eac08f0dfc61a99e8887442fc247656d419c76f8 --reload now also reloads if databases change on disk 2018-12-20T15:51:08Z 2018-12-20T15:51:08Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
515eaa8ccba0603de5b14679b74402f3ddf02bd7 --reload now reloads on metadata changes too 2017-12-07T16:42:28Z 2017-12-07T16:42:28Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
9f3d4aba31baf1e2de1910a40bc9663ef53b94e9 --root option and /-/auth-token view, refs #784 2020-06-01T01:03:17Z 2020-06-01T01:16:42Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
98632f0a874b7b9dac6abf0abb9fdb7e2839a4d3 --secret command for datasette publish Closes #787 2020-06-11T16:02:03Z 2020-06-11T16:02:03Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
c53bd21b66b24558b0e219f93eceed4021c36939 --service github-to-sqlite 2020-03-25T05:09:04Z 2020-03-25T05:09:04Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 github-to-sqlite 207052882 simonw 9599 simonw 9599
fced2a9b67d2cbdf9817f1eb75f7c28e413c963b --since and --since_id options for user-timeline, closes #19 Refs #20 Also added some initial rate limit error handling code. 2019-10-16T19:12:41Z 2019-10-16T19:12:41Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 twitter-to-sqlite 206156866 simonw 9599 simonw 9599
e981ac7d4d1e1603257369eb5edba0fc4fdf5ae9 --static option for datasette serve You can now tell Datasette to serve static files from a specific location at a specific mountpoint. For example: datasette serve mydb.db --static extra-css:/tmp/static/css Now if you visit this URL: http://localhost:8001/extra-css/blah.css The following file will be served: /tmp/static/css/blah.css Refs #160 2017-12-03T16:33:36Z 2017-12-03T16:33:36Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
db1e6bc182d11f333e6addaa1a6be87625a4e12b --version-note for datasette, datasette publish and datasette package This is a relatively obscure new command-line argument that helps solve the problem of showing accurate version information in deployed instances of Datasette even if they were deployed directly from source code. You can pass --version-note to datasette publish and package and it will then in turn be passed to datasette when it starts: datasette --version-note=hello fixtures.db Now if you visit /-/versions.json you will see this: { "datasette": { "note": "hello", "version": "0+unknown" }, "python": { "full": "3.6.5 (default, Jun 6 2018, 19:19:24) \n[GCC 6.3.0 20170516]", "version": "3.6.5" }, ... } I plan to use this in some Travis CI configuration, refs #313 2018-06-17T20:14:55Z 2018-06-17T21:19:39Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
3ffb8f3b98252531d11897fd431711e9b8045ace .add_database() and .remove_database() methods, refs #671 Also made a start on the Datasette class documentation, refs #576 2020-02-14T01:25:27Z 2020-02-14T01:27:57Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
7ac4936cec87f5a591e5d2680f0acefc3d35a705 .add_message() now works inside plugins, closes #864 Refs #870 2020-06-29T00:25:35Z 2020-06-29T00:25:35Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
29a3896fe1e09d5c35a90d55690c9f71fae81e24 .database_url(database) no longer needs inspect, refs #420 2019-03-31T23:55:38Z 2019-03-31T23:55:38Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
0c36feb6ca5c3ffb9a6df4c8ea4bb732fcab74f4 .enable_fts() now works with columns with spaces in them, closes #90 2020-03-02T06:10:43Z 2020-03-02T06:10:43Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
a093c5f79fa034a97d2ad8b606745dd3b80365af .execute_write() and .execute_write_fn() methods on Database (#683) Closes #682. 2020-02-25T04:45:08Z 2020-02-25T04:45:07Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
c65b67ca46f70e2da46a5b945f4ed358173262e9 .get() method plus support for compound primary keys (#40) * create_table now handles compound primary keys * CLI now accepts multiple --pk for compound primary keys * Docs for compound primary keys with CLI and Python library * New .get() method plus documentation Closes #36, closes #39 2019-07-15T04:28:51Z 2019-07-15T04:28:51Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f sqlite-utils 140912432 simonw 9599 web-flow 19864447
c611ed80d2e9f721fc7848fd74e6e6baebe5adde .indexes property for introspecting indexes 2018-08-01T01:31:29Z 2018-08-01T01:31:29Z Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 sqlite-utils 140912432 simonw 9599 simonw 9599
7d0f668556b6d9a6c3d70a7b8a07a542857bbb56 .resolve_db_name() and .execute() work without inspect Refs #420 2019-03-31T23:51:52Z 2019-03-31T23:51:52Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
125c625fbc46244a4b4025732e1526fb13c55843 .rows_where(..., order_by=) argument, closes #76 2020-04-16T03:12:55Z 2020-04-16T03:12:55Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
515d362ad60c3dc16272c4fdca932cf0a0e9dafa .table_names and .tables properties plus expanded docs 2018-08-01T00:35:36Z 2018-08-01T00:35:36Z Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 sqlite-utils 140912432 simonw 9599 simonw 9599
bc9c4db34b815f5385abbf4bb491bab0e10779db .update(...) with no update argument sets last_pk 2019-07-28T14:59:52Z 2019-07-28T14:59:52Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
489eda92bc3b528c90b76ac90a3f9b78c8ea02a3 .upsert() and upsert_all() require pk=, closes #73 2020-01-05T17:20:11Z 2020-01-05T17:20:11Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
cccea85be6aaaeadb31f3b588ec7f732628815f5 /-/databases sorts alphabetically Should fix test failure in Python 3.5 2019-05-16T14:56:13Z 2019-05-16T14:56:13Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
22d932fafc3fa9af5a8f5eeab908688eaeb177ea /-/logout page for logging out of ds_actor cookie Refs #840 2020-06-29T04:17:30Z 2020-06-29T04:17:58Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
a7137dfe069e5fceca56f78631baebd4a6a19967 /-/plugins now shows details of hooks, closes #794 Also added /-/plugins?all=1 parameter to see default plugins. 2020-06-02T21:49:28Z 2020-06-02T21:49:28Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
04d21ccd089fcaf7a2b535d217fc541ab19aa54b /-/versions now includes SQLite fts_versions, closes #252 2018-05-11T13:19:25Z 2018-05-11T13:19:25Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
335f26a0f7f00134f02ae0f001946580b0edecf5 /fixtures/magic_parameters demo, refs #842 2020-06-28T03:11:01Z 2020-06-28T03:11:01Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
ac60ce9331dc557837d879680611aca4bd6c28be 0.21.1 bugfix release 2020-04-30T18:20:43Z 2020-04-30T18:20:43Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 twitter-to-sqlite 206156866 simonw 9599 simonw 9599
5d6252788230d168ba09f379d1d2af867e3302ab 0.22.1 bugfix release 2018-05-23T14:00:01Z 2018-05-23T14:00:01Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
63aac537f238239d5fb7f4934545404d37d874f6 1,442 format for facet counts, refs #255 2018-05-15T12:14:14Z 2018-05-16T15:27:24Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 datasette 107914493 simonw 9599 simonw 9599
86bd2bba689e25f09551d611ccfbee1e069e5b66 1.2.2 release notes 2019-06-26T04:23:45Z 2019-06-26T04:23:45Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
89c4ddd4828623888e91a1d2cb396cba12d4e7b4 403 for static directory listing, closes #740 2020-04-27T18:29:04Z 2020-04-27T18:29:04Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
97ae66ccabd0e2eae5a7880ac93bd2ac26bb355e 404s ending in slash redirect to remove that slash, closes #309 2018-06-21T15:13:07Z 2018-06-21T15:13:07Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
06a826c3188af82f27bb6b4e09cc89b782d30bd6 :fire: Removes DS_Store (#81) * :fire: Removes .DS_Store Signed-off-by: Jeff Triplett <jeff.triplett@gmail.com> * :snowflake: Adds .DS_Store to gitignore Signed-off-by: Jeff Triplett <jeff.triplett@gmail.com> 2017-11-13T22:16:54Z 2017-11-13T22:16:54Z Jeff Triplett 207bb2132044fa5a4fe28a579f7588c2eee6e391 Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 datasette 107914493 jefftriplett 50527 simonw 9599
c5068a0972651b3e359ebc2d6c1486b8b7d2c242 :pencil: Updates my_database.py to my_database.db (#9) 2019-02-24T03:55:04Z 2019-02-24T03:55:04Z Jeff Triplett 207bb2132044fa5a4fe28a579f7588c2eee6e391 Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 sqlite-utils 140912432 jefftriplett 50527 simonw 9599
a5792a8c61b9bb6a7a5295c8ec87c2567a5e39a2 <th> now gets class="col-X" - plus added col-X documentation Refs #209 2018-04-18T02:11:11Z 2018-04-18T02:11:54Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
a5881e105a02830d26f07e98177248d5910893da ?_filter_column=col&_filter_op=isnull__1 redirect if filter_op contains a __ the value is set to the right hand side. e.g. ?_filter_column=col&_filter_op=isnull__1&_filter_value=x Redirects to: ?col__isnull=1 Refs #86 2017-11-19T20:33:30Z 2017-11-19T20:33:30Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
386fb11d42767039bb2b389ce98996673d780a42 ?_filter_column=col&_filter_op=op&_filter_value=value redirect Part of implementing the filters UI (refs #86) - the following: /trees/Trees?_filter_column=SiteOrder&_filter_op=gt&_filter_value=2 Now redirects to this; /trees/Trees?SiteOrder__gt=2 2017-11-19T20:25:29Z 2017-11-19T20:25:29Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
db74cf0144df3e2a017c40a3a36ff5e1a78d7e92 ?_fts_table= and ?_fts_pk= arguments, closes #428 2019-04-12T04:21:17Z 2019-04-12T04:21:17Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
db9dbfb816e1e9e4a0845884035eeaeb3110668e ?_hash=1 no longer respected for mutable databases Closes #471, refs #419 2019-05-16T15:10:25Z 2019-05-16T15:10:25Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
700d83d8adfeb3859ebc93828951e5048cb0e425 ?_json_infinity=1 for handling Infinity/-Infinity - fixes #332 2018-07-24T03:07:57Z 2018-07-24T03:07:57Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
ed631e690b81e34fcaeaba1f16c9166f1c505990 ?_labels= and ?_label=COL to expand foreign keys in JSON/CSV These new querystring arguments can be used to request expanded foreign keys in both JSON and CSV formats. ?_labels=on turns on expansions for ALL foreign key columns ?_label=COLUMN1&_label=COLUMN2 can be used to pick specific columns to expand e.g. `Street_Tree_List.json?_label=qSpecies&_label=qLegalStatus` { "rowid": 233, "TreeID": 121240, "qLegalStatus": { "value" 2, "label": "Private" } "qSpecies": { "value": 16, "label": "Sycamore" } "qAddress": "91 Commonwealth Ave", ... } The labels option also works for the HTML and CSV views. HTML defaults to `?_labels=on`, so if you pass `?_labels=off` you can disable foreign key expansion entirely - or you can use `?_label=COLUMN` to request just specific columns. If you expand labels on CSV you get additional columns in the output: `/Street_Tree_List.csv?_label=qLegalStatus` rowid,TreeID,qLegalStatus,qLegalStatus_label... 1,141565,1,Permitted Site... 2,232565,2,Undocumented... I also refactored the existing foreign key expansion code. Closes #233. Refs #266. 2018-06-16T22:18:57Z 2018-06-16T22:18:57Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
0331666e346c68b86de4aa19fbb37f3a408d37ca ?_search=x now works directly against fts virtual table Closes #135 2017-11-20T06:18:07Z 2017-11-20T06:18:07Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
6cb65555f46456eb31b62e855e21b1d8c809b1a2 ?_searchmode=raw option (#686) 2020-02-25T05:56:03Z 2020-02-25T05:56:03Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
2565d623af6222f3ed1c630f753b5f95ad749d49 ?_shape=array experimental feature 2018-05-01T17:40:33Z 2018-05-02T00:20:39Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 datasette 107914493 simonw 9599 simonw 9599
276913b74803554e03e1617389f6998885ea8c06 ?_shape=arrayfirst, closes #287 2018-05-27T00:32:15Z 2018-05-27T00:32:15Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
d4da4c92c8ff19f29ca0cb4b93cb7eaca4553e73 ?_size=max option, closes #249 2018-05-04T18:03:40Z 2018-05-04T18:03:40Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
58a862cee4a065d463da0a08b87134efb6b6e18d ?_trace=1 now adds SQL trace info to JSON/HTML response Also added documentation for it. Refs #435 2019-04-21T17:41:16Z 2019-04-21T17:41:16Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
b463f60158ccf791809cb51cba2cf7a14e491b36 ?_ttl= parameter and default_cache_ttl config Refs #285, Closes #289 2018-05-26T22:17:33Z 2018-05-26T22:17:33Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
bc6a9b45646610f362b4287bc4110440991aa4d6 ?_where= parameter on table views, closes #429 From pull request #430 2019-04-13T01:37:22Z 2019-04-13T01:37:22Z Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
1843d55615fa1bdce7d06919965c40acf22b05bb @cli.command(name="csv") instead of import csv as csv_std 2019-01-29T15:37:01Z 2019-01-29T15:37:12Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
50e2f94b583436b1a6c54be04e78a3029de6b521 Ability to add a column that is a foreign key reference Python API: db["dogs"].add_column("species_id", fk="species") # or db["dogs"].add_column("species_id", fk="species", fk_col="ref") CLI: $ sqlite-utils add-column mydb.db dogs species_id --fk species # or $ sqlite-utils add-column mydb.db dogs species_id --fk species --fk-col ref Closes #16 2019-05-29T04:54:43Z 2019-05-29T04:54:43Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
e7ffbcdb364810213b0697c9bcab064efb1dd469 Ability to create unique indexes, refs #14 2019-02-24T18:41:51Z 2019-02-24T18:41:51Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
7e1ba161ec87b02cf7665a73188258f14036f892 Ability to easily customize _rows_and_columns.html per database table Also added documentation for this. Refs #158, Closes #159. 2017-12-07T06:11:22Z 2017-12-07T06:11:22Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
9faa98222669723d31e918bb16a42c13c363817f Ability to introspect and run queries against views (#55) * db.views_names() method and and db.views property * Separate View and Table classes, both subclassing new Queryable class * view.drop() method * Updated documentation 2019-08-23T12:19:41Z 2019-08-23T12:19:41Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f sqlite-utils 140912432 simonw 9599 web-flow 19864447
66fd63b11999e87c541b2023dd569b771927f283 Ability to list just FTS4 or FTS5 table names 2019-01-25T03:57:04Z 2019-01-25T03:57:04Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 sqlite-utils 140912432 simonw 9599 simonw 9599
3cd06729f457d690603b6060dc552b535517ab09 Ability to over-ride templates for individual tables/databases It is now possible to over-ride templates on a per-database / per-row or per- table basis. When you access e.g. /mydatabase/mytable Datasette will look for the following: - table-mydatabase-mytable.html - table.html If you provided a --template-dir argument to datasette serve it will look in that directory first. The lookup rules are as follows: Index page (/): index.html Database page (/mydatabase): database-mydatabase.html database.html Table page (/mydatabase/mytable): table-mydatabase-mytable.html table.html Row page (/mydatabase/mytable/id): row-mydatabase-mytable.html row.html If a table name has spaces or other unexpected characters in it, the template filename will follow the same rules as our custom <body> CSS classes introduced in 8ab3a169d42d096f - for example, a table called "Food Trucks" will attempt to load the following templates: table-mydatabase-Food-Trucks-399138.html table.html It is possible to extend the default templates using Jinja template inheritance. If you want to customize EVERY row template with some additional content you can do so by creating a row.html template like this: {% extends "default:row.html" %} {% block content %} <h1>EXTRA HTML AT THE TOP OF THE CONTENT BLOCK</h1> <p>This line renders the original block:</p> {{ super() }} {% endblock %} Closes #12, refs #153 2017-11-30T16:30:10Z 2017-11-30T16:38:16Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
75cd432e5a96c5fe2577f839c3a059fd6bf41124 Ability to set custom table/view page size in metadata, closes #751 2020-05-28T05:00:04Z 2020-05-28T05:00:04Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
57b19f09d1ee24b7369ceca8937ce67df2ca1abc Ability to sort using form fields (for mobile portrait mode) We now display sort options as a select box plus a descending checkbox, which means you can apply sort orders even in portrait mode on a mobile phone where the column headers are hidden. Closes #199 2018-04-10T00:30:44Z 2018-04-10T00:34:32Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
cf7a2bdb404734910ec07abc7571351a2d934828 Action to run tests and upload coverage to codecov.io Closes #843. 2020-06-13T21:36:49Z 2020-06-13T21:36:49Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
9366d0bf191daccee6093c54ed51a2855d129cd8 Add Python versions badge 2019-10-14T22:29:16Z 2019-10-14T22:29:16Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
fc47dacbbd4c4d245d7144e4cc014d3303f84b9a Add `__version_info__` derived from `__version__` This might be tuple of more than two values (major and minor version) if commits have been made after a release. 2018-05-22T17:18:00Z 2018-05-22T19:35:21Z Robert Gieseke 106fe7fbf8b80a01038e265a137b3b703422db48 Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 datasette 107914493 rgieseke 198537 simonw 9599
470cf0b05d4fda0d2563f81c7e32af13fe346ccc Add a max-line-length setting for flake8 (#444) This stops my automatic editor linting from flagging lines which are too long. It's been lingering in my checkout for ages. 160 is an arbitrary large number - we could alter it if we have any opinions (but I find the line length limit to be my least favourite part of PEP8). 2019-05-03T13:11:27Z 2019-05-03T13:11:27Z Russ Garrett cd9d55c7c0a7cc0ee69155676fd5e9fc6e1b884b Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 russss 45057 simonw 9599
d996d4122b522eeec3c610f6b2561aa96652ecd2 Add badges to documentation index 2020-05-03T15:46:49Z 2020-05-03T15:46:49Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
60e380e551b44028af0d73ac30c99a8bb04b458b Add badges to documentation index 2020-05-03T15:44:41Z 2020-05-03T15:44:41Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f sqlite-utils 140912432 simonw 9599 web-flow 19864447
e2750c7cc0585adaa8c866be611089e62961ee35 Add col-X classes to HTML table on custom query page 2018-04-19T15:36:14Z 2018-04-19T15:36:14Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
136a70d88741e2a5892c3de437064a9d14494d66 Add column name classes to <td>s, make PK bold 2018-04-17T08:29:48Z 2018-04-18T01:13:02Z Russ Garrett cd9d55c7c0a7cc0ee69155676fd5e9fc6e1b884b Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 datasette 107914493 russss 45057 simonw 9599
539e8a86ba53decf26cd6bd9e53cffb80396719b Add datasette-pretty-json to demo 2020-04-16T19:03:08Z 2020-04-16T19:03:08Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 github-to-sqlite 207052882 simonw 9599 simonw 9599
143c3c5e2c5cf2c608742297d00cac6d499aa9ed Add dependent_repos view, closes #36 Also refs #37 2020-05-02T16:29:47Z 2020-05-02T16:29:58Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 github-to-sqlite 207052882 simonw 9599 simonw 9599
9e27b2a0ba45d92e198fcbac8641da41a62236b8 Add example of named parameter UI to the release notes 2017-11-16T16:09:07Z 2017-11-16T16:46:25Z Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 datasette 107914493 simonw 9599 simonw 9599

Next page

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [commits] (
   [sha] TEXT PRIMARY KEY,
   [message] TEXT,
   [author_date] TEXT,
   [committer_date] TEXT,
   [raw_author] TEXT REFERENCES [raw_authors]([id]),
   [raw_committer] TEXT REFERENCES [raw_authors]([id]),
   [repo] INTEGER REFERENCES [repos]([id]),
   [author] INTEGER REFERENCES [users]([id]),
   [committer] INTEGER REFERENCES [users]([id])
);
CREATE INDEX [idx_commits_committer]
                ON [commits] ([committer]);
CREATE INDEX [idx_commits_author]
                ON [commits] ([author]);
CREATE INDEX [idx_commits_repo]
                ON [commits] ([repo]);
CREATE INDEX [idx_commits_raw_committer]
                ON [commits] ([raw_committer]);
CREATE INDEX [idx_commits_raw_author]
                ON [commits] ([raw_author]);
Powered by Datasette · Query took 90.633ms · About: github-to-sqlite