Simon Willison
8da2db4b71
WIP
2019-01-04 17:34:22 -08:00
Simon Willison
424e146697
Datasette 0.26 release notes
2019-01-02 18:53:59 -08:00
Simon Willison
996e8822d2
Fix CSV export hidden form fields, closes #393
2019-01-02 18:43:56 -08:00
Simon Willison
8b8ae55e7c
Pass --token to 'now alias', if provided
2019-01-01 21:35:16 -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
a2bfcfc1b1
Fix some regex DeprecationWarnings ( #392 )
2018-12-28 18:22:27 -08:00
Simon Willison
eac08f0dfc
--reload now also reloads if databases change on disk
2018-12-20 07:51:08 -08:00
Simon Willison
48d24c6589
Link to new tutorial from the README
2018-12-18 21:39:35 -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
84d7890b63
Upgrade pytest to 4.0.2
2018-12-16 13:18:55 -08:00
Simon Willison
c5f90dd1b2
Added docs on updating docs + the release process
2018-12-16 13:14:50 -08:00
Simon Willison
54a59b9fdb
Use python-3.6.7 runtime for Heroku deploys
2018-12-16 12:53:00 -08:00
Simon Willison
3de8fac1d3
New make_app_client() pattern
...
Because next version of pytest discourages calling fixture factories as functions
2018-11-20 09:46:47 -08:00
Simon Willison
5e3a432a0c
How to activate your virtual environment
2018-11-14 16:54:54 -08:00
Simon Willison
d0393e821e
Travis to use Python 3.7-dev for a little longer
...
3.7 produces a 403 forbidden error: https://travis-ci.org/simonw/datasette/jobs/450716231#L6
2018-11-04 22:45:38 -08:00
Simon Willison
c2c03f8e7b
Compatible with Python 3.7
2018-11-04 22:40:03 -08:00
Simon Willison
3dc0b3fa8c
Release 0.25.1
2018-11-04 22:31:41 -08:00
Simon Willison
b6546da535
Use Zeit cloud v1 to avoid 100MB image limit
...
Closes #366 - thanks @slygent
2018-11-04 22:22:34 -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
24cea27196
Link to "The interesting ideas in Datasette"
2018-10-03 19:40:04 -07:00
Simon Willison
96af802352
Travis applies :latest tag to Docker release, refs #329
2018-09-19 20:23:56 +02: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
b7257a21bf
Fix json.loads in Python 3.5
...
3.5 requires a str, not a bytes
https://travis-ci.org/simonw/datasette/jobs/421660555
2018-08-28 17:55:30 +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
fbf446965b
Refactoring: renamed "name" variable to "database"
2018-08-28 11:25:13 +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
1905c03364
New ds.metadata() method
2018-08-28 00:45:39 -07:00
Simon Willison
0bd41d4cb0
Do not show default plugins on /-/plugins
2018-08-28 00:36:22 -07:00
Simon Willison
aae49fef3b
Import pysqlite3 if available, closes #360 ( #361 )
2018-08-15 17:58:56 -07:00
Simon Willison
2189be1440
Refactor to use new datasatte.config(key) method
2018-08-11 13:09:07 -07:00
Simon Willison
e1db8194e8
Bump versions of pytest, pluggy and beautifulsoup4 ( #358 )
2018-08-07 18:11:12 -07:00
Simon Willison
fe5b6ea95a
Hide 'view and edit SQL' if config.allow_sql turned off
2018-08-05 20:17:17 -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
Simon Willison
295d005ca4
Renamed variable, since docs are not written in Markdown
2018-07-27 21:56:51 -07:00
Simon Willison
8128497b79
Only run documented_views() fixture once per session
...
Speeds up tests, because previously it ran once per view class.
2018-07-27 21:49:20 -07:00
Simon Willison
788a542d3c
Docs for IndexView, TableView, RowView, closes #299
...
Also removed xfail from test_view_classes_are_documented, so any future *View
classes that are added without documentation will cause the tests to fail.
2018-07-27 21:21:42 -07:00
Simon Willison
8da6b0d542
Added labels so unit tests can detect docs, refs #299
2018-07-27 20:26:18 -07:00