Simon Willison
561c1d2d36
Show logout link if they are logged in AND have ds_actor cookie
...
Otherwise an expired cookie will still cause the logout link to show.
2020-10-29 20:51:37 -07:00
Simon Willison
18a64fbb29
Navigation menu plus menu_links() hook
...
Closes #1064 , refs #690 .
2020-10-29 20:45:15 -07:00
Simon Willison
1a861be19e
Fixed test_max_csv_mb test that I just broke, refs #1063
2020-10-29 15:58:40 -07:00
Simon Willison
178b7e8749
.csv now links to .blob downloads
...
Closes #1063 , closes #1034
2020-10-29 15:47:32 -07:00
Simon Willison
78b3eeaad9
.blob output renderer
...
* _blob_hash= checking plus refactored to use new BadRequest class, refs #1050
* Replace BlobView with new .blob renderer, closes #1050
* .blob downloads on arbitrary queries, closes #1051
2020-10-29 15:01:38 -07:00
Simon Willison
d6f9ff7137
Docs on Designing URLs for your plugin - closes #1053
2020-10-29 12:35:25 -07:00
Simon Willison
89519f9a37
Fixed bug with download of BLOB null, refs #1050
2020-10-28 21:05:40 -07:00
Simon Willison
cefd058c1c
New explicit versioning mechanism
...
Closes #1054
2020-10-28 20:38:15 -07:00
Simon Willison
abcf022249
Margin bottom on metadata description
2020-10-28 10:11:07 -07:00
dependabot-preview[bot]
8796172652
Update aiofiles requirement from <0.6,>=0.4 to >=0.4,<0.7 ( #1059 )
...
Updates the requirements on [aiofiles](https://github.com/Tinche/aiofiles ) to permit the latest version.
- [Release notes](https://github.com/Tinche/aiofiles/releases )
- [Commits](https://github.com/Tinche/aiofiles/compare/v0.4.0...v0.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-28 10:08:27 -07:00
Simon Willison
7d9fedc176
Cascading permissions for .db download, closes #1058
2020-10-27 20:15:41 -07:00
Simon Willison
c3aba4aa98
--cors for /name.db downloads, refs #1057
2020-10-27 13:39:57 -07:00
Simon Willison
e5f5034bcd
Fixed broken footer test
2020-10-27 12:39:55 -07:00
Simon Willison
e7dd3434e1
No underline on nav links in header
2020-10-27 12:39:55 -07:00
Simon Willison
18977ce802
Off-white yellow is now off-white blue
2020-10-27 12:39:55 -07:00
Simon Willison
c069d481af
Mobile view cards now have rounded corners
2020-10-27 12:39:55 -07:00
Simon Willison
f49d15a758
word-break: break-word;
2020-10-27 12:39:55 -07:00
Simon Willison
dab4b73f7d
White cards on mobile
2020-10-27 12:39:55 -07:00
Simon Willison
62286b46a9
Tighten up table column CSS
2020-10-27 12:39:55 -07:00
Simon Willison
fe5e813f06
Styled facets with different bullets
2020-10-27 12:39:55 -07:00
Natalie Downe
df19a48a3b
Implemented new Natalie design
2020-10-27 12:39:55 -07:00
Natalie Downe
6dff22eff8
Visited link colours
2020-10-27 12:39:55 -07:00
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
42f4851e3e
Documentation for .absolute_url(request, path), refs #1034
2020-10-24 18:17:30 -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
a96ad967e4
Cleaned up some rogue full-stops
2020-10-24 16:11: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
7f728d4a37
Extra tests for datasette.urls, refs #1025
2020-10-24 12:21:23 -07:00
Simon Willison
29a977a74e
New app_client_base_url_prefix fixture
2020-10-24 12:03:24 -07:00
Simon Willison
d3e9b0aecb
Document render_template() can take a Template, refs #1045
2020-10-23 17:26:15 -07:00
Simon Willison
8148c9e265
Document render_template(templates) list, closes #1045
2020-10-23 17:22:00 -07:00
Nicholas Bollweg
976e5f74aa
Include LICENSE in sdist ( #1043 )
2020-10-23 13:54:34 -07:00
Nicholas Bollweg
cab8e65261
Add minimum supported python ( #1044 )
2020-10-23 13:53:07 -07:00
Simon Willison
d0cc6f4c32
Use sphinx-to-sqlite==0.1a1
...
To address this bug: https://github.com/simonw/sphinx-to-sqlite/issues/2
2020-10-21 21:57:00 -07:00
Simon Willison
20f8659e2a
Wide tables now scroll horizontally, refs #998
2020-10-21 18:09:01 -07:00
gerrymanoim
6e26b05799
Fix syntax error in register_routes docs ( #1038 )
...
Thanks, @gerrymanoim
2020-10-21 15:44:16 -07:00
Simon Willison
bf82b3d6a6
scale-in animation for column action menu, closes #1039
2020-10-21 10:02:26 -07:00
Simon Willison
66120a7a1c
Release 0.51a0
...
Refs #1023 , #904 , #814 , #1014 , #1016 , #1019 , #1028
2020-10-19 22:31:14 -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
837d0bc995
Tiny typo, refs #904
2020-10-19 18:04:43 -07:00
Simon Willison
5aacc021b5
Docs for datasette.urls, closes #904
2020-10-19 17:51:39 -07:00
Simon Willison
310c3a3e05
New datasette.urls URL builders, refs #904
2020-10-19 17:33:59 -07:00
Simon Willison
c440ffc65a
Updated serve help, refs #1028
2020-10-19 17:33:04 -07:00
Simon Willison
6aa5886379
--load-extension=spatialite shortcut, closes #1028
2020-10-19 15:37:43 -07:00