Wykres commitów

137 Commity (main)

Autor SHA1 Wiadomość Data
Simon Willison ea0a761303
Link to documentation from README 2018-04-20 17:20:56 -07:00
lsb a971718d2a Fix a typo (#232) 2018-04-20 17:19:07 -07:00
Simon Willison 05bdf53358
Added missing hyphen 2018-04-20 14:15:13 -07:00
Simon Willison ae02e9f4ac
Added datasette-cluster-map blog entry to news 2018-04-20 14:14:35 -07:00
Simon Willison 3a5d7951ce
Added Datasette 0.20 to news 2018-04-20 07:36:29 -07:00
Simon Willison 7581320823
Documentation for --install option, refs #223 2018-04-18 08:05:06 -07:00
Simon Willison bf5ec2d611
Updated PyPI link to pypi.org 2018-04-16 19:24:36 -07:00
Simon Willison ba9bfa5831
Datasette 0.19: plugin preview (with release notes) 2018-04-16 19:12:21 -07:00
Simon Willison 1652a9707e
Apache 2.0 license badge 2018-04-16 16:10:12 -07:00
Simon Willison 904f1c75a3
Initial documentation for plugins, closes #213
https://datasette.readthedocs.io/en/latest/plugins.html
2018-04-16 08:12:09 -07:00
Simon Willison 8d394586f5
Added 0.18 to news 2018-04-14 09:04:38 -07:00
Simon Willison bfb4e45a7b
Datasette Publish in readme 2018-04-11 07:43:28 -07:00
Simon Willison 67982b6ecb
Added Datasette 0.15 to news 2018-04-09 09:01:03 -07:00
Simon Willison a290f28caa
table_rows => table_rows_count, filtered_table_rows => filtered_table_rows_count
Renamed properties. Closes #194
2018-04-08 22:24:24 -07:00
Simon Willison 0abd3abacb
New ?_shape=objects/object/lists param for JSON API (#192)
New _shape= parameter replacing old .jsono extension

Now instead of this:

	/database/table.jsono

We use the _shape parameter like this:

	/database/table.json?_shape=objects

Also introduced a new _shape called 'object' which looks like this:

	/database/table.json?_shape=object

Returning an object for the rows key:

	...
	"rows": {
		"pk1": {
			...
		},
		"pk2": {
			...
		}
	}

Refs #122
2018-04-03 07:52:54 -07:00
Simon Willison 0e5f51adfe
Three more news items 2018-03-30 00:03:45 -07:00
Simon Willison 56623e48da
News: Datasette Publish 2018-01-17 07:50:10 -08:00
Simon Willison 4f08fc092f
Updated news 2017-12-12 08:52:19 -08:00
Simon Willison 702829f808
Added Datasette 0.14: customization edition to news 2017-12-09 18:10:30 -08:00
Simon Willison 6bdfcf6076
Added Heroku to README, updated --help output examples
Refs #157
2017-12-09 10:50:08 -08:00
Simon Willison 0539905806
Renamed "datasette build" command to "datasette inspect"
Closes #130
2017-12-07 08:57:31 -08:00
Simon Willison f9c32e717f
Linked to csvs-to-sqlite 2017-12-06 07:09:56 -08:00
Simon Willison 23a4575818
Added News section to Readme 2017-11-25 13:40:43 -08:00
Simon Willison efb82da927
datasette => Datasette 2017-11-24 19:46:24 -08:00
Simon Willison ddc808f387
Added --build=master option to datasette publish and package
The `datasette publish` and `datasette package` commands both now accept an
optional `--build` argument. If provided, this can be used to specify a branch
published to GitHub that should be built into the container.

This makes it easier to test code that has not yet been officially released to
PyPI, e.g.:

    datasette publish now mydb.db --branch=master
2017-11-19 10:20:17 -08:00
Simon Willison b7c4165346 Added --load-extension argument to datasette serve
Allows loading of SQLite extensions. Refs #110.
2017-11-16 08:48:49 -08:00
Simon Willison 5bfb23b949
Added Read The Docs badge
Closes #109
2017-11-16 08:13:55 -08:00
Simon Willison ea183b2ae3 Default to 127.0.0.1 not 0.0.0.0
Closes #98
2017-11-14 21:08:46 -08:00
Simon Willison 7fe1e8b482 Added extra metadata options to publish and package commands
You can now run these commands like so:

    datasette now publish mydb.db \
        --title="My Title" \
        --source="Source" \
        --source_url="http://www.example.com/" \
        --license="CC0" \
        --license_url="https://creativecommons.org/publicdomain/zero/1.0/"

This will write those values into the metadata.json that is packaged with the
app. If you also pass --metadata= that file will be updated with the extra
values before being written into the Docker image.

Closes #92
2017-11-14 21:02:11 -08:00
Simon Willison 075d422c0a
Fixed typo 2017-11-13 21:28:02 -08:00
Simon Willison 98ae6d6a40
Added link to examples 2017-11-13 21:27:21 -08:00
Simon Willison fc7c04fe0b Added 'datasette publish now --force' option
This calls now with --force - which is useful as it means you get a fresh copy of
datasette even if now has already cached that docker layer.
2017-11-13 17:48:03 -08:00
Simon Willison bdfb6d4f13
Fixed package output example 2017-11-13 14:18:44 -08:00
Simon Willison 1e698787a4 Added --sql_time_limit_ms and --extra-options
The serve command now accepts --sql_time_limit_ms for customizing the SQL time
limit.

The publish and package commands now accept --extra-options which can be used
to specify additional options to be passed to the datasite serve command when
it executes inside the rusulting Docker containers.
2017-11-13 14:00:53 -08:00
Simon Willison 452c5f047e
Added Travis CI badge to README
Closes #77
2017-11-13 13:24:14 -08:00
Simon Willison 8252e71da4 Limit on max rows returned, controlled by --max_returned_rows option
If someone executes 'select * from table' against a table with a million rows
in it, we could run into problems: just serializing that much data as JSON is
likely to lock up the server.

Solution: we now have a hard limit on the maximum number of rows that can be
returned by a query. If that limit is exceeded, the server will return a
`"truncated": true` field in the JSON.

This limit can be optionally controlled by the new `--max_returned_rows`
option. Setting that option to 0 disables the limit entirely.

Closes #69
2017-11-13 11:33:01 -08:00
Simon Willison e838bd743d Added README and improved help for 'datasette serve' 2017-11-13 10:41:59 -08:00