Simon Willison
|
feddd61789
|
Fix tests I broke in #2302
|
2024-03-12 17:01:51 -07:00 |
Simon Willison
|
9cc6f1908f
|
Gradient on header and footer, closes #2302
|
2024-03-12 16:54:03 -07:00 |
Simon Willison
|
e088abdb46
|
Refactored action menus to a shared include, closes #2301
|
2024-03-12 16:35:34 -07:00 |
Simon Willison
|
b8711988b9
|
row_actions() plugin hook, closes #2299
|
2024-03-12 16:16:05 -07:00 |
Simon Willison
|
909c85cd2b
|
view_actions plugin hook, closes #2297
|
2024-03-12 14:25:28 -07:00 |
Simon Willison
|
daf5ca02ca
|
homepage_actions() plugin hook, closes #2298
|
2024-03-12 13:46:06 -07:00 |
Simon Willison
|
090dff542b
|
Action menu descriptions
* Refactor tests to extract get_actions_links() helper
* Table, database and query action menu items now support optional descriptions
Closes #2294
|
2024-03-06 22:54:06 -05:00 |
Simon Willison
|
6ec0081f5d
|
`query_actions` plugin hook
* New query_actions plugin hook, closes #2283
|
2024-02-27 21:55:16 -08:00 |
Simon Willison
|
dfd4ad558b
|
New design for table and database action menus
Closes #2281
|
2024-02-25 12:54:16 -08:00 |
Simon Willison
|
26300738e3
|
Fixes for permissions debug page, closes #2278
|
2024-02-19 14:17:37 -08:00 |
Forest Gregg
|
b8230694ff
|
Set link to download db to nofollow
|
2024-01-30 19:56:05 -08:00 |
Simon Willison
|
c3caf36af7
|
Template slot family of plugin hooks - top_homepage() and others
New plugin hooks:
top_homepage
top_database
top_table
top_row
top_query
top_canned_query
New datasette.utils.make_slot_function()
Closes #1191
|
2024-01-30 19:54:03 -08:00 |
Cameron Yick
|
452a587e23
|
JavaScript Plugin API, providing custom panels and column menu items
Thanks, Cameron Yick.
https://github.com/simonw/datasette/pull/2052
Co-authored-by: Simon Willison <swillison@gmail.com>
|
2023-10-12 17:00:27 -07:00 |
Simon Willison
|
01e0558825
|
Merge pull request from GHSA-7ch3-7pp7-7cpq
* API explorer requires view-instance permission
* Check database/table permissions on /-/api page
* Release notes for 1.0a4
Refs #2119, #2133, #2138, #2140
Refs https://github.com/simonw/datasette/security/advisories/GHSA-7ch3-7pp7-7cpq
|
2023-08-22 10:10:01 -07:00 |
Simon Willison
|
4535568f2c
|
Fixed display of database color
Closes #2139, closes #2119
|
2023-08-10 22:16:19 -07:00 |
Simon Willison
|
26be9f0445
|
Refactored canned query code, replaced old QueryView, closes #2114
|
2023-08-09 08:26:52 -07:00 |
Simon Willison
|
d97e82df3c
|
?_extra= support and TableView refactor to table_view
* Implemented ?_extra= option for JSON views, refs #262
* New dependency: asyncinject
* Remove now-obsolete TableView class
|
2023-03-22 15:49:39 -07:00 |
Simon Willison
|
5bbe2bcc50
|
Rename filtered_table_rows_count to count, refs #782
|
2022-12-31 12:52:57 -08:00 |
Simon Willison
|
420d0a0ee2
|
Tests for /-/create-token with restrictions, closes #1947
|
2022-12-13 21:13:20 -08:00 |
Simon Willison
|
d98a8effb1
|
UI for restricting permissions on /-/create-token, refs #1947
Also fixes test failures I introduced in #1951
|
2022-12-13 21:03:17 -08:00 |
Simon Willison
|
b8fc8e2cd7
|
Merge branch 'main' into 1.0-dev
|
2022-11-29 11:34:39 -08:00 |
Brian Grinstead
|
3ecd131e57
|
Use DOMContentLoaded instead of load event for CodeMirror initialization. Closes #1894 (#1898)
|
2022-11-17 23:29:00 -08:00 |
Simon Willison
|
63f923d013
|
Remove min-height on CodeMirror, closes #1899
|
2022-11-17 23:21:00 -08:00 |
Simon Willison
|
3db37e9a21
|
Remove min-height on CodeMirror, closes #1899
|
2022-11-17 23:20:49 -08:00 |
Simon Willison
|
22bade4562
|
Use table_columns context for CodeMirror schema, if available - refs #1897
|
2022-11-17 17:23:35 -08:00 |
Brian Grinstead
|
710be684b8
|
Upgrade to CodeMirror 6, add SQL autocomplete (#1893)
* Upgrade to CodeMirror 6
* Update contributing docs
* Change how resizing works
* Define a custom SQLite autocomplete dialect
* Add meta-enter to submit
* Add fixture schema for testing
|
2022-11-17 17:23:35 -08:00 |
Simon Willison
|
b470ab5c41
|
Fix for datalist against foreign key facets
Refs https://github.com/simonw/datasette/issues/1890#issuecomment-1314850524
|
2022-11-17 17:23:35 -08:00 |
Simon Willison
|
aff7a6985e
|
Use table_columns context for CodeMirror schema, if available - refs #1897
|
2022-11-17 16:41:25 -08:00 |
Brian Grinstead
|
ae11fa5887
|
Upgrade to CodeMirror 6, add SQL autocomplete (#1893)
* Upgrade to CodeMirror 6
* Update contributing docs
* Change how resizing works
* Define a custom SQLite autocomplete dialect
* Add meta-enter to submit
* Add fixture schema for testing
|
2022-11-16 15:49:06 -08:00 |
Simon Willison
|
eac028d3f7
|
Fix for datalist against foreign key facets
Refs https://github.com/simonw/datasette/issues/1890#issuecomment-1314850524
|
2022-11-14 22:57:11 -08:00 |
Simon Willison
|
518fc63224
|
API explorer: no error if you format JSON on empty string
Refs #1871
|
2022-11-13 22:06:45 -08:00 |
Simon Willison
|
db796771e2
|
Example links for API explorer, closes #1871
|
2022-11-13 20:58:45 -08:00 |
Simon Willison
|
c603faac5b
|
API explorer: persist form state in # in URL, refs #1871
|
2022-11-13 20:12:36 -08:00 |
Simon Willison
|
ca66ea57d2
|
GET and POST areas toggle each other, refs #1871
|
2022-11-13 13:12:51 -08:00 |
Simon Willison
|
51d60d7ddf
|
details-menu class to avoid accidential details closure
Refs https://github.com/simonw/datasette/issues/1871#issuecomment-1312821031
|
2022-11-13 13:06:58 -08:00 |
Simon Willison
|
bb030ba46f
|
More margin on /-/allow-debug page
|
2022-11-02 22:10:59 -07:00 |
Simon Willison
|
c51d9246b9
|
Permission check testing tool, refs #1881
|
2022-11-02 22:10:07 -07:00 |
Simon Willison
|
000eeb4464
|
Link to Datasette API docs from /-/api, refs #1871
|
2022-11-01 22:45:05 -07:00 |
Simon Willison
|
0b166befc0
|
API explorer can now do GET, has JSON syntax highlighting
Refs #1871
|
2022-11-01 17:31:22 -07:00 |
Simon Willison
|
497290beaf
|
Handle database errors in /-/insert, refs #1866, #1873
Also improved API explorer to show HTTP status of response, refs #1871
|
2022-11-01 12:59:17 -07:00 |
Simon Willison
|
fedbfcc368
|
Neater display of output and errors in API explorer, refs #1871
|
2022-10-30 14:49:07 -07:00 |
Simon Willison
|
9eb9ffae3d
|
Drop API token requirement from API explorer, refs #1871
|
2022-10-30 13:09:55 -07:00 |
Simon Willison
|
f6bf2d8045
|
Initial prototype of API explorer at /-/api, refs #1871
|
2022-10-29 23:20:11 -07:00 |
Simon Willison
|
42f8b402e6
|
Initial prototype of create API token page, refs #1852
|
2022-10-25 17:07:58 -07:00 |
Simon Willison
|
78dad236df
|
check_visibility can now take multiple permissions into account
Closes #1829
|
2022-10-23 19:11:33 -07:00 |
Simon Willison
|
1a5e5f2aa9
|
Refactor breadcrumbs to respect permissions, refs #1831
|
2022-10-13 14:42:52 -07:00 |
Simon Willison
|
a3e6f1b167
|
Increase height of non-JS textarea to fit query
Closes #1786
|
2022-08-18 09:06:02 -07:00 |
Simon Willison
|
c1396bf860
|
Don't allow canned write queries on immutable DBs, closes #1728
|
2022-08-14 09:34:31 -07:00 |
M. Nasimul Haque
|
00e59ec461
|
Extract facet pieces of table.html into included templates
Thanks, @nsmgr8
|
2022-06-20 11:05:44 -07:00 |
Simon Willison
|
c496f2b663
|
Don't show facet in cog menu if not allow_facet, closes #1683
|
2022-03-24 12:16:19 -07:00 |