Commit graph

858 commits

Author SHA1 Message Date
Natalie Downe
7d69f1ac02 New header and footer 2020-10-27 12:39:55 -07:00
Simon Willison
26bb4a2681 table-wrapper on query page too, refs ##998 2020-10-27 00:56:35 -07:00
Simon Willison
f5dbe61a45 -o now opens to most relevant page, closes #976 2020-10-25 22:06:20 -07:00
Simon Willison
105a2c10fd Fix z-index issue with dropdown menu, closes #1052 2020-10-25 19:19:21 -07:00
Simon Willison
6c9fd4ef1b Better download link display on mobile, refs #1046 2020-10-24 18:00:38 -07:00
Simon Willison
5db7ae3ce1 Link to BLOB downloads, closes #1046 2020-10-24 17:13:14 -07:00
Simon Willison
5a15197960
/db/table/-/blob/pk/column.blob download URL, refs #1036 2020-10-24 16:09:18 -07:00
Simon Willison
10c35bd371 urls.static_plugins() method, closes #1033
Also documented how to package static assets and templates in plugins, closes #575
2020-10-24 13:03:40 -07:00
Simon Willison
20f8659e2a Wide tables now scroll horizontally, refs #998 2020-10-21 18:09:01 -07:00
Simon Willison
bf82b3d6a6 scale-in animation for column action menu, closes #1039 2020-10-21 10:02:26 -07:00
Simon Willison
091441a444 Fixed remaining places that needed datasette.urls, closes #1025 2020-10-19 22:21:19 -07:00
Simon Willison
0d1763fb2f More datasette.urls usage, refs #1025 2020-10-19 21:24:47 -07:00
Simon Willison
310c3a3e05 New datasette.urls URL builders, refs #904 2020-10-19 17:33:59 -07:00
Simon Willison
6aa5886379 --load-extension=spatialite shortcut, closes #1028 2020-10-19 15:37:43 -07:00
Simon Willison
a4def0b8db Clearer _sort_by_desc comment 2020-10-19 15:37:43 -07:00
Simon Willison
f3a087a578 Edit SQL button on canned queries, closes #1019 2020-10-13 20:44:18 -07:00
Simon Willison
acf07a6772 x button for clearing filters, refs #1016 2020-10-11 19:53:26 -07:00
Simon Willison
e34e84901d Link: HTTP header pagination, closes #1014 2020-10-10 17:18:45 -07:00
Simon Willison
7e70643852 Removed --debug option, which didn't do anything - closes #814 2020-10-10 16:39:38 -07:00
Simon Willison
7239175f63 Fixed broken column header links, closes #1011 2020-10-09 20:51:56 -07:00
Simon Willison
9f6dd985bc Fix broken CSV/JSON export on query page, refs #1010 2020-10-09 17:39:45 -07:00
Simon Willison
c13d184704 Emergency fix for broken links in 0.50, closes #1010 2020-10-09 17:33:13 -07:00
Simon Willison
8f97b9b58e
datasette.client internal requests mechanism
Closes #943

* Datasette now requires httpx>=0.15
* Support OPTIONS without 500, closes #1001
* Added internals tests for datasette.client methods
* Datasette's own test mechanism now uses httpx to simulate requests
* Tests simulate HTTP 1.1 now
* Added base_url in a bunch more places
* Mark some tests as xfail - will remove that when new httpx release ships: #1005
2020-10-09 09:11:24 -07:00
Simon Willison
7249ac5ca0 Support OPTIONS without 500, closes #1001 2020-10-08 18:43:53 -07:00
Simon Willison
e4554c37b7 datasette publish heroku --tar option, closes #969 2020-10-08 16:30:46 -07:00
Simon Willison
107d0887a6 datasette publish heroku now uses Python 3.8.6 2020-10-08 16:22:11 -07:00
Simon Willison
86823ae6f7 Default to Uvicorn workers=1, refs #999 2020-10-08 16:16:55 -07:00
Simon Willison
5070425817 Fix handling of nested custom page wildcard paths, closes #996 2020-10-07 15:51:11 -07:00
Simon Willison
5a184a5d21 Display column type in column action menu, closes #993
Also added new documented db.table_column_details() introspection method.
2020-10-05 17:32:10 -07:00
Simon Willison
e807c4eac0 Sort links remove _next=, closes #989 2020-10-04 11:05:20 -07:00
Simon Willison
5d6bc4c268 Allow faceting on compound primary keys, closes #985 2020-10-01 09:50:35 -07:00
Simon Willison
141544613f Extract out menu icon CSS, refs #981 2020-09-30 16:55:00 -07:00
Simon Willison
64127a4593 Show not-blank rows column action, refs #981 2020-09-30 16:43:34 -07:00
Simon Willison
765e8f0209 Close menu when clicked outside, refs #981 2020-09-30 16:21:44 -07:00
Simon Willison
0f2626868b Much improved column menu display logic, refs #981
* Menu links now take into account existing querystring
* No longer shows facet option for primary key columns
* Conditionally displays sort/sort-desc if already sorted
* Does not show facet option if already faceted by this
2020-09-30 16:01:37 -07:00
Simon Willison
fd0b00330f Don't show cog on Link column, refs #981
Also show ascending option before descending option
2020-09-30 15:31:17 -07:00
Simon Willison
ae1f7c3870 Column action menu for sort/faceting, refs #981 2020-09-30 14:43:39 -07:00
Simon Willison
5b8b8ae597 Handle \r\n correctly in CSS escapes, refs #980 2020-09-29 12:16:30 -07:00
Simon Willison
c11383e628 Fix rendering glitch with columns on mobile, closes #978 2020-09-28 15:42:50 -07:00
Simon Willison
cac051bb8a Fix for 'open' bug, closes #973 2020-09-22 08:39:48 -07:00
Simon Willison
a980199e61 New -o option for opening Datasette in your browser, closes #970 2020-09-22 07:26:47 -07:00
Simon Willison
432a3d675f sqlite3.enable_callback_tracebacks(True), closes #891 2020-09-15 14:59:17 -07:00
Simon Willison
448d13ea6b Fix for MagicParameters error with no POST body, closes #967 2020-09-15 13:12:57 -07:00
Simon Willison
65ca17d729 Fix for DeprecationWarning: invalid escape sequence 2020-09-15 13:10:38 -07:00
Simon Willison
72ac2fd32c JSON API for writable canned queries, closes #880 2020-09-14 14:23:18 -07:00
Simon Willison
896fce228f Canned query writes support JSON POST body, refs #880 2020-09-14 13:18:15 -07:00
Simon Willison
3817152e31 Rename default error template to error.html, refs #965 2020-09-14 11:30:31 -07:00
Simon Willison
699be7dea9 raise_404() function for use in custom templates, closes #964 2020-09-14 10:39:25 -07:00
Simon Willison
cc77fcd133 Optional path parameters for custom pages, closes #944 2020-09-13 19:34:43 -07:00
Simon Willison
ea340cf320 Correctly persist selected facets in hidden fields
Closes #963
2020-09-12 14:54:01 -07:00