Commit graph

1,447 commits

Author SHA1 Message Date
Simon Willison
bf18b9ba17 Stop using plugin-example.com, closes #1074 2020-10-31 12:47:42 -07:00
Simon Willison
84bc7244c1 datasette.client now applies base_url, closes #1026 2020-10-31 12:29:42 -07:00
Simon Willison
7a67bc7a56 datasette.urls methods will not apply base_url prefix twice, refs #1026 2020-10-31 12:11:40 -07:00
Simon Willison
c1d386ef67 Refactor Urls into url_builder.py
Refs #1026
2020-10-31 11:43:36 -07:00
Simon Willison
11eb1e026f datasette.urls.table(..., format="json"), closes #1035
Also improved tests for datasette.urls and added format= to some other methods
2020-10-31 11:16:28 -07:00
Simon Willison
b84cfe1b08 Confirm table actions work on views, closes #1067 2020-10-31 10:40:09 -07:00
Simon Willison
d6db47f5c1 Deploy demo plugins to latest.datasette.io, refs #1074 2020-10-31 10:36:46 -07:00
Simon Willison
f0a740ac21 Remove load_plugin hook - closes #1073
Refs #1042

This reverts commit 81dea4b07a.
2020-10-31 09:21:22 -07:00
Simon Willison
a2a7090720 Display messages in right place, closes #1071 2020-10-30 13:12:57 -07:00
Simon Willison
393f1b49d7 Updated nav in pattern portfolio 2020-10-30 13:12:01 -07:00
Simon Willison
59ab24af6b Release 0.51a2 0.51a2
Refs #1068, #1042, #1054
2020-10-30 10:56:02 -07:00
Simon Willison
0cb29498c7 Fixed bug with python tests/fixtures.py
https://github.com/simonw/datasette/runs/1333357885?check_suite_focus=true
2020-10-30 10:54:47 -07:00
Simon Willison
a7d9e24ece Update release process with explicit version, refs #1054 2020-10-30 10:52:45 -07:00
Simon Willison
81dea4b07a
load_template() plugin hook
Closes #1042
2020-10-30 10:47:18 -07:00
Simon Willison
fcf43589eb Link to homepage in nav on show-json page 2020-10-30 08:54:01 -07:00
Simon Willison
222f79bb4c debug-menu permission, closes #1068
Also added tests for navigation menu logic.
2020-10-30 08:41:57 -07:00
Simon Willison
9f0987cb57 cursor: pointer; on the new menu icons
Refs #1064, #1066
2020-10-29 22:55:10 -07:00
Simon Willison
0e1e89c6ba Release 0.51a1 0.51a1
Refs #1056, #1039, #998, #1045, #1033, #1036, #1034, #976, #1057, #1058, #1053, #1064, #1066
2020-10-29 22:35:23 -07:00
Simon Willison
2f7731e9e5 table_actions() plugin hook plus menu, closes #1066
Refs #690
2020-10-29 22:16:41 -07:00
Simon Willison
8a4639bc43 Applied Black 2020-10-29 22:14:33 -07:00
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