Wykres commitów

2519 Commity (9989f257094daaf26e0cb0cebe31f17f19d4cad2)

Autor SHA1 Wiadomość Data
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
Simon Willison 5d21057cf1 /-/config example, refs #2254 2024-02-06 15:22:03 -08:00
Simon Willison 5a63ecc557 Rename metadata= to table_config= in facet code, refs #2247 2024-02-06 15:03:19 -08:00
Simon Willison 1e901aa690 /-/config page, closes #2254 2024-02-06 12:33:46 -08:00
Simon Willison 85a1dfe6e0 Configuration via the command-line section
Closes #2252

Closes #2156
2024-02-05 13:43:50 -08:00
Simon Willison efc7357554 Remove Using YAML for metadata section
No longer necessary now we show YAML and JSON examples everywhere.
2024-02-05 13:01:03 -08:00
Simon Willison 503545b203 JavaScript plugins documentation, closes #2250 2024-02-05 11:47:17 -08:00
Simon Willison 7219a56d1e 3 space indent, not 2 2024-02-05 10:34:10 -08:00
Simon Willison 5ea7098e4d Fixed an unnecessary f-string 2024-02-04 10:15:21 -08:00
Simon Willison 4ea109ac4d Two spaces is aesthetically more pleasing here 2024-02-01 15:47:41 -08:00
Simon Willison 6ccef35cc9 More links between events documentation 2024-02-01 15:42:45 -08:00
Simon Willison be4f02335f Treat plugins in metadata as if they were in config, closes #2248 2024-02-01 15:33:33 -08:00
Simon Willison d4bc2b2dfc Remove fail_if_plugins_in_metadata, part of #2248 2024-02-01 14:44:16 -08:00
Simon Willison 4da581d09b Link to config reference 2024-02-01 14:40:49 -08:00
Simon Willison b466749e88 Filled out docs/configuration.rst, closes #2246 2024-01-31 20:03:19 -08:00
Simon Willison bcf7ef963f YAML/JSON examples for allow blocks 2024-01-31 19:45:05 -08:00
Simon Willison 2e4a03b2c4
Run coverage on Python 3.12
- #2245

I hoped this would run slightly faster than 3.9 but there doesn't appear to be a performance improvement.
2024-01-31 15:31:26 -08:00
Simon Willison bcc4f6bf1f
track_event() mechanism for analytics and plugins
* Closes #2240
* Documentation for event plugin hooks, refs #2240
* Include example track_event plugin in docs, refs #2240
* Tests for track_event() and register_events() hooks, refs #2240
* Initial documentation for core events, refs #2240
* Internals documentation for datasette.track_event()
2024-01-31 15:21:40 -08:00
dependabot[bot] 890615b3f2
Bump the python-packages group with 1 update (#2241)
Bumps the python-packages group with 1 update: [furo](https://github.com/pradyunsg/furo).


Updates `furo` from 2023.9.10 to 2024.1.29
- [Release notes](https://github.com/pradyunsg/furo/releases)
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
- [Commits](https://github.com/pradyunsg/furo/compare/2023.09.10...2024.01.29)

---
updated-dependencies:
- dependency-name: furo
  dependency-type: direct:development
  update-type: version-update:semver-major
  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-01-31 10:53:57 -08:00
Simon Willison 959e020297 Ran blacken-docs 2024-01-30 20:40:18 -08:00
gerrymanoim 04e8835297
Remove deprecated/unused args from setup.py (#2222) 2024-01-30 19:56:32 -08:00
Forest Gregg b8230694ff
Set link to download db to nofollow 2024-01-30 19:56:05 -08:00
Simon Willison 5c64af6936 Upgrade to latest Black, closes #2239 2024-01-30 19:55:26 -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
Simon Willison 7a5adb592a Docs on temporary plugins in fixtures, closes #2234 2024-01-12 14:12:14 -08:00
Simon Willison a25bf6bea7 fmt: off to fix problem with Black, closes #2231 2024-01-10 14:12:20 -08:00
Simon Willison 0f63cb83ed
Typo fix 2024-01-10 13:08:52 -08:00
Simon Willison 7506a89be0 Docs on datasette.client for tests, closes #1830
Also covers ds.client.actor_cookie() helper
2024-01-10 13:04:34 -08:00
Simon Willison 48148e66a8 Link from actors_from_ids plugin hook docs to datasette.actors_from_ids() 2024-01-10 10:42:36 -08:00
Simon Willison 2ff4d4a60a Test for ?_extra=count, refs #262 2024-01-08 13:14:25 -08:00
Simon Willison 0b2c6a7ebd Fix for ?_extra=columns bug, closes #2230
Also refs #262 - started a test suite for extras.
2024-01-08 13:12:57 -08:00
Simon Willison 1fc76fee62 1.0a8.dev1 version number
Not going to release this to PyPI but I will build my own wheel of it
2024-01-05 16:59:25 -08:00
Simon Willison c7a4706bcc
jinja2_environment_from_request() plugin hook
Closes #2225
2024-01-05 14:33:23 -08:00
Simon Willison 45b88f2056 Release notes from 0.64.6, refs #2214 2023-12-22 15:24:26 -08:00
Simon Willison 872dae1e1a Fix for CSV labels=on missing foreign key bug, closes #2214 2023-12-22 15:08:11 -08:00
Simon Willison 978249beda Removed rogue print("max_csv_mb")
Found this while working on #2214
2023-12-22 15:07:42 -08:00
Simon Willison 4284c74bc1
db.execute_isolated_fn() method (#2220)
Closes #2218
2023-12-19 10:51:03 -08:00
Simon Willison 89c8ca0f3f Fix for round_trip_load() YAML error, refs #2219 2023-12-19 10:32:55 -08:00
Simon Willison 067cc75dfa
Fixed broken example links in row page documentation 2023-12-12 09:49:04 -08:00