Simon Willison
f6cdca3f6e
Tests should now pass for facets branch
2019-04-16 21:10:49 -07:00
Simon Willison
661488e964
New ?column__date=yyyy-mm-dd filter
2019-04-15 16:02:20 -07:00
Simon Willison
78e9972b46
New colname__in=x,y,z filter, closes #433
2019-04-15 16:02:20 -07:00
Simon Willison
c4645c0f2b
Documentation for filters, plus new documentation unit test
...
https://simonwillison.net/2018/Jul/28/documentation-unit-tests/
2019-04-15 16:02:20 -07:00
Simon Willison
458f858712
Slightly more interesting example link
2019-04-15 16:02:20 -07:00
Simon Willison
f2c767c222
Fixed broken link in documentation
2019-04-12 18:57:43 -07:00
Simon Willison
bc6a9b4564
?_where= parameter on table views, closes #429
...
From pull request #430
2019-04-12 18:37:22 -07:00
Simon Willison
db74cf0144
?_fts_table= and ?_fts_pk= arguments, closes #428
2019-04-11 21:21:17 -07:00
Simon Willison
53bf875483
expand_foreign_keys() no longer uses inspect, refs #420
2019-04-06 19:56:07 -07:00
Simon Willison
47032636b5
'datasette serve -i immutable.db' option, refs #419
2019-03-17 16:25:15 -07:00
Simon Willison
6f6d0ff2b4
URL hashing is now off by default - closes #418
...
Prior to this commit Datasette would calculate the content hash of every
database and redirect to a URL containing that hash, like so:
https://v0-27.datasette.io/fixtures => https://v0-27.datasette.io/fixtures-dd88475
This assumed that all databases were opened in immutable mode and were not
expected to change.
This will be changing as a result of #419 - so this commit takes the first step
in implementing that change by changing this default behaviour. Datasette will
now only redirect hash-free URLs under two circumstances:
* The new `hash_urls` config option is set to true (it defaults to false).
* The user passes `?_hash=1` in the URL
2019-03-17 15:55:04 -07:00
joelondon
9e8c36793b
Update spatialite.rst ( #413 )
...
a line of sql added to create the idx_<table_name> in the python recipe
2019-03-14 22:06:45 -07:00
Simon Willison
9743e1d91b
Support for :memory: databases
...
If you start Datasette with no files, it will connect to :memory: instead.
When starting it with files you can add --memory to also get a :memory: database.
2019-03-14 20:54:42 -07:00
Simon Willison
bf6b0f918d
about and about_url metadata options
2019-03-14 20:54:42 -07:00
Simon Willison
41744d7690
Added datasette-jellyfish
2019-03-09 10:43:12 -08:00
Simon Willison
4147c388cb
Link to sqlite-utils blog entry
2019-03-07 20:30:21 -08:00
Simon Willison
1f91065b20
Added socrata2sql to the ecosystem page
...
A fantastic new tool created by @achavez at the Dallas Morning News.
2019-02-08 08:06:10 -08:00
Simon Willison
d5d39da12b
Expanded section on db-to-sqlite
2019-02-07 22:23:27 -08:00
Simon Willison
436b8bc1d1
Datasette 0.27
2019-01-31 19:47:05 -08:00
Simon Willison
b944bcd0f0
Added documentation on the Datasette Ecosystem
...
https://datasette.readthedocs.io/en/latest/ecosystem.html
2019-01-31 19:36:07 -08:00
Simon Willison
b5dd83981a
Export option: _shape=array&_nl=on for newline-delimited JSON
2019-01-27 17:40:23 -08:00
Simon Willison
909cc8fbdf
New 'datasette plugins' command to list installed plugins
2019-01-26 12:01:16 -08:00
Simon Willison
4722acc73c
Release 0.26.1
2019-01-10 16:51:38 -08:00
Simon Willison
8ce7866312
compile_options output in /-/versions, closes #396
2019-01-10 16:44:50 -08:00
Simon Willison
5b02611512
Corrected import path in plugin docs
2019-01-08 16:25:29 -08:00
Simon Willison
424e146697
Datasette 0.26 release notes
2019-01-02 18:53:59 -08:00
Simon Willison
d95b46b09b
datasette publish now --alias option
...
You can now use --alias to attempt to alias after you deploy.
Also updated now.json to use version: 1
2019-01-01 21:15:54 -08:00
Simon Willison
eac08f0dfc
--reload now also reloads if databases change on disk
2018-12-20 07:51:08 -08:00
Simon Willison
74ad06e128
Updated notes on FTS5 v.s. FTS4
2018-12-18 13:49:51 -08:00
Simon Willison
595da9054e
Better example commit
...
This one updates the README news section as well
2018-12-16 14:56:56 -08:00
Simon Willison
1e2db8547b
Improved release process documentation
2018-12-16 13:47:39 -08:00
Jay Graves
ed78922ae3
Tiny typo in customization docs ( #390 )
...
Thanks, @jaywgraves
2018-12-16 13:32:55 -08:00
Simon Willison
b5128fc53f
Release 0.25.2
2018-12-16 13:26:37 -08:00
Simon Willison
c5f90dd1b2
Added docs on updating docs + the release process
2018-12-16 13:14:50 -08:00
Simon Willison
5e3a432a0c
How to activate your virtual environment
2018-11-14 16:54:54 -08:00
Simon Willison
3dc0b3fa8c
Release 0.25.1
2018-11-04 22:31:41 -08:00
Simon Willison
5debabd3fb
More human friendly 'what is Datasette' intro text
2018-11-04 22:04:23 -08:00
Simon Willison
6b398c2971
Link to dev environment instructions from installation guide
2018-10-27 10:34:31 -07:00
Simon Willison
7dda8898c1
Started contributing docs: setting up a dev environment
...
https://datasette.readthedocs.io/en/latest/contributing.html
2018-10-27 10:13:08 -07:00
Simon Willison
57a71377c9
Releasing Datasette 0.25
2018-09-19 19:48:12 +02:00
Jay Graves
1bcd54a834
Fix small doc typo - thanks @jaywgraves ( #365 )
2018-09-19 18:15:42 +01:00
Simon Willison
1f54e09230
Better docs for publish_subcommand() plugin hook
2018-08-28 11:59:50 +01:00
Simon Willison
b7c6a9f9bd
extra_css_urls(template, database, table, datasette)
...
The extra_css_urls and extra_js_urls hooks now take additional optional
parameters.
Also refactored them out of the Datasette class and into RenderMixin.
Plus improved plugin documentation to explicitly list parameters.
2018-08-28 11:56:57 +01:00
Simon Willison
2e836f72d9
render_cell(value, column, table, database, datasette)
...
The render_cell plugin hook previously was only passed value.
It is now passed (value, column, table, database, datasette).
2018-08-28 03:03:01 -07:00
Simon Willison
9e1fca4b01
Corrected indentation in metadata.rst
2018-08-28 02:56:34 -07:00
Simon Willison
5cf0c6c91c
New plugin hook: extra_body_script
2018-08-28 02:02:49 -07:00
Simon Willison
0a14a4846b
Added plugin_config() method
2018-08-28 01:35:21 -07:00
Simon Willison
7d0299edd4
fts_table and fts_pk metadata configs, available for both tables and views
2018-08-05 17:44:47 -07:00
Simon Willison
5629aaca67
sortable_columns also now works with views
2018-08-05 17:29:23 -07:00
Simon Willison
4ac9132240
render_cell(value) plugin hook, closes #352
...
New plugin hook for customizing the way cells values are rendered in HTML.
The first full example of this hook in use is https://github.com/simonw/datasette-json-html
2018-08-04 17:14:56 -07:00