Simon Willison
6ec0081f5d
`query_actions` plugin hook
...
* New query_actions plugin hook, closes #2283
2024-02-27 21:55:16 -08:00
Simon Willison
f99c2f5f8c
?column_notcontains= table filter, closes #2287
2024-02-27 16:07:41 -08:00
Simon Willison
c863443ea1
Documentation for derive_named_parameters()
...
Closes #2284
Refs https://github.com/simonw/datasette-write/issues/7#issuecomment-1967593883
2024-02-27 13:24:47 -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
434123425f
Release 1.0a11
...
Refs #2263 , #2278 , #2279
Closes #2280
2024-02-19 14:48:37 -08:00
Jeroen Van Goey
103b4decbd
fix (typo): Corrected spelling of 'environments' ( #2268 )
...
* fix (typo): Corrected spelling of 'environments'
* ci: add test folder to codespell workflow
2024-02-19 14:41:32 -08:00
dependabot[bot]
158d5d96e9
Bump the python-packages group with 1 update ( #2269 )
...
Bumps the python-packages group with 1 update: [black](https://github.com/psf/black ).
Updates `black` from 24.1.1 to 24.2.0
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.1.1...24.2.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: python-packages
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 14:23:12 -08:00
Simon Willison
28bf3a933f
Applied Black, refs #2278
2024-02-19 14:22:59 -08:00
Simon Willison
26300738e3
Fixes for permissions debug page, closes #2278
2024-02-19 14:17:37 -08:00
Simon Willison
27409a7892
Fix for hook position in wide column names, refs #2263
2024-02-19 14:01:55 -08:00
Simon Willison
392ca2e24c
Improvements to table column cog menu display, closes #2263
...
- Repositions if menu would cause a horizontal scrollbar
- Arrow tip on menu now attempts to align with cog icon on column
2024-02-19 13:40:48 -08:00
Simon Willison
b36a2d8f4b
Require update-row to use insert replace, closes #2279
2024-02-19 12:55:51 -08:00
Simon Willison
3856a8cb24
Consistent Permission denied:, refs #2279
2024-02-19 12:51:14 -08:00
Simon Willison
81629dbeff
Upgrade GitHub Actions, including PyPI publishing
2024-02-17 21:03:41 -08:00
Simon Willison
a4fa1ef3bd
Release 1.0a10
...
Refs #2277
2024-02-17 20:56:15 -08:00
Simon Willison
10f9ba1a00
Take advantage of execute_write_fn(transaction=True)
...
A bunch of places no longer need to do manual transaction handling
thanks to this change. Refs #2277
2024-02-17 20:51:19 -08:00
Simon Willison
5e0e440f2c
database.execute_write_fn(transaction=True) parameter, closes #2277
2024-02-17 20:28:15 -08:00
Simon Willison
e1c80efff8
Note about activating alpha documentation versions on ReadTheDocs
2024-02-16 14:43:36 -08:00
Simon Willison
9906f937d9
Release 1.0a9
...
Refs #2101 , #2260 , #2262 , #2265 , #2270 , #2273 , #2274 , #2275
Closes #2276
2024-02-16 14:36:12 -08:00
Simon Willison
3a999a85fb
Fire insert-rows on /db/-/create if rows were inserted, refs #2260
2024-02-16 13:59:56 -08:00
Simon Willison
244f3ff83a
Test demonstrating fix for permisisons bug in #2262
2024-02-16 13:39:57 -08:00
Simon Willison
8bfa3a51c2
Consider every plugins opinion in datasette.permission_allowed()
...
Closes #2275 , refs #2262
2024-02-16 13:29:39 -08:00
Simon Willison
232a30459b
DATASETTE_TRACE_PLUGINS setting, closes #2274
2024-02-16 13:00:24 -08:00
Simon Willison
47e29e948b
Better comments in permission_allowed_default()
2024-02-16 10:05:18 -08:00
Simon Willison
97de4d6362
Use transaction in delete_everything(), closes #2273
2024-02-15 21:35:49 -08:00
Simon Willison
b89cac3b6a
Use MD5 usedforsecurity=False on Python 3.9 and higher to pass FIPS
...
Closes #2270
2024-02-13 18:23:54 -08:00
Simon Willison
5d79974186
Call them "notable events"
2024-02-10 07:19:47 -08:00
Simon Willison
398a92cf1e
Include database in name of _execute_writes thread, closes #2265
2024-02-08 20:12:31 -08:00
Simon Willison
bd9ed62e5d
Make ds.pemrission_allawed(..., default=) a keyword-only argument, refs #2262
2024-02-08 20:12:31 -08:00
Simon Willison
dcd9ea3622
datasette-events-db as an example of track_events()
2024-02-08 14:14:58 -08:00
Simon Willison
c62cfa6de8
Fix upsert test to detect new alter-table event
2024-02-08 13:36:17 -08:00
Simon Willison
c954795f9a
alter: true for row/-/update, refs #2101
2024-02-08 13:36:17 -08:00
Simon Willison
4e944c29e4
Corrected path used in test_update_row_check_permission
2024-02-08 13:36:17 -08:00
Simon Willison
528d89d1a3
alter: true support for /-/insert and /-/upsert, refs #2101
2024-02-08 13:36:17 -08:00
Simon Willison
b5ccc4d608
Test for Permission denied - need alter-table
2024-02-08 13:36:17 -08:00
Simon Willison
574687834f
Docs for /db/-/create alter: true option, refs #2101
2024-02-08 13:36:17 -08:00
Simon Willison
900d15bcb8
alter table support for /db/-/create API, refs #2101
2024-02-08 13:36:17 -08:00
Simon Willison
569aacd39b
Link to /en/latest/ changelog
2024-02-07 22:53:14 -08:00
Simon Willison
9989f25709
Release 1.0a8
...
Refs Refs #2052 , #2156 , #2243 , #2247 , #2249 , #2252 , #2254 , #2258
2024-02-07 08:34:05 -08:00
Simon Willison
e0794ddd52
Link to annotated release notes blog post
2024-02-07 08:32:47 -08:00
Simon Willison
1e31821d9f
Link to events docs from changelog
2024-02-07 08:31:26 -08:00
Simon Willison
df8d1c055a
Mention JS plugins in release intro
2024-02-06 22:59:58 -08:00
Simon Willison
d0089ba776
Note in changelog about datasette publish, refs #2195
2024-02-06 22:30:30 -08:00
Simon Willison
c64453a4a1
Fix the date on the 1.0a8 release (due to go tomorrow)
...
Refs #2258
2024-02-06 22:28:22 -08:00
Simon Willison
ad01f9d321
1.0a8 release notes
...
Closes #2243
* Changelog for jinja2_environment_from_request and plugin_hook_slots
* track_event() in changelog
* Remove Using YAML for metadata section - no longer necessary now we show YAML and JSON examples everywhere.
* Configuration via the command-line section - #2252
* JavaScript plugins in release notes, refs #2052
* /-/config in changelog, refs #2254
Refs #2052 , #2156 , #2243 , #2247 , #2249 , #2252 , #2254
2024-02-06 22:24:24 -08:00
Simon Willison
9ac9f0152f
Migrate allow from metadata to config if necessary, closes #2249
2024-02-06 22:18:38 -08:00
Simon Willison
60c6692f68
table_config instead of table_metadata ( #2257 )
...
Table configuration that was incorrectly placed in metadata is now treated as if it was in config.
New await datasette.table_config() method.
Closes #2247
2024-02-06 21:57:09 -08:00
Simon Willison
52a1dac5d2
Test proving $env works for datasette.yml, closes #2255
2024-02-06 21:00:55 -08:00
Simon Willison
f049103852
datasette.table_metadata() is now await datasette.table_config(), refs #2247
2024-02-06 17:33:18 -08:00
Simon Willison
69c6e95323
Fixed a bunch of unused imports spotted with ruff
2024-02-06 17:27:20 -08:00