Wykres commitów

2090 Commity (keyword-only)

Autor SHA1 Wiadomość Data
Simon Willison 05d9c68268
Promote Discord more in the README 2022-08-14 08:16:53 -07:00
Simon Willison 8cfc723368 Ran blacken-docs 2022-08-09 11:21:53 -07:00
Simon Willison bca2d95d02
Configure readthedocs/readthedocs-preview 2022-08-02 16:38:02 -07:00
Simon Willison 7af67b54b7 How to register temporary plugins in tests, closes #903 2022-07-18 14:31:17 -07:00
Chris Amico 01369176b0
Keep track of datasette.config_dir (#1766)
Thanks, @eyeseast - closes #1764
2022-07-17 18:12:45 -07:00
dependabot[bot] 22354c48ce
Update pytest-asyncio requirement from <0.19,>=0.17 to >=0.17,<0.20 (#1769)
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.17.0...v0.19.0)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-17 18:06:37 -07:00
dependabot[bot] ea6161f847
Bump furo from 2022.4.7 to 2022.6.21 (#1760)
Bumps [furo](https://github.com/pradyunsg/furo) from 2022.4.7 to 2022.6.21.
- [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/2022.04.07...2022.06.21)

---
updated-dependencies:
- dependency-name: furo
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-17 18:06:26 -07:00
Simon Willison ed1ebc0f1d Run blacken-docs, refs #1770 2022-07-17 18:03:33 -07:00
Simon Willison 6d5e195547 Release 0.62a1
Refs #1300, #1739, #1744, #1746, #1748, #1759, #1770
2022-07-17 17:59:20 -07:00
Simon Willison e543a095cc Updated default plugins in docs, refs #1770 2022-07-17 17:57:41 -07:00
Simon Willison 58fd1e33ec Hint that you can render templates for these hooks, refs #1770 2022-07-17 16:30:58 -07:00
Simon Willison c09c53f345 New handle_exception plugin hook, refs #1770
Also refs:
- https://github.com/simonw/datasette-sentry/issues/1
- https://github.com/simonw/datasette-show-errors/issues/2
2022-07-17 16:24:39 -07:00
Simon Willison 8188f55efc Rename handle_500 to handle_exception, refs #1770 2022-07-17 15:24:16 -07:00
Simon Willison 950cc7677f
Fix missing Discord image
Refs https://github.com/simonw/datasette.io/issues/112
2022-07-14 15:18:28 -07:00
Simon Willison c133545fe9
Make discord badge lowercase
Refs https://github.com/simonw/datasette.io/issues/112
2022-07-14 15:04:38 -07:00
Simon Willison 5d76c1f81b
Discord badge
Refs https://github.com/simonw/datasette.io/issues/112
2022-07-14 15:03:33 -07:00
Simon Willison 035dc5e7b9
More than 90 plugins now 2022-07-09 10:25:37 -07:00
Simon Willison 6373bb3414 Expose current SQLite row to render_cell hook, closes #1300 2022-07-07 09:30:49 -07:00
dependabot[bot] 9f1eb0d4ea
Bump black from 22.1.0 to 22.6.0 (#1763)
Bumps [black](https://github.com/psf/black) from 22.1.0 to 22.6.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/22.1.0...22.6.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 10:40:24 -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 e780b2f5d6
Trying out one-sentence-per-line
As suggested here: https://sive.rs/1s

Markdown and reStructuredText will display this as if it is a single paragraph, even though the sentences themselves are separated by newlines.

This could result in more useful diffs. Trying it out on this page first.
2022-06-20 10:54:23 -07:00
Naveen 2e9751672d
chore: Set permissions for GitHub actions (#1740)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-31 12:28:40 -07:00
Simon Willison 8dd816bc76 Applied Black 2022-05-30 15:42:38 -07:00
Simon Willison adedd85b68
Clarify that request.headers names are converted to lowercase 2022-05-28 18:42:31 -07:00
Simon Willison b010af7bb8
Updated copyright years in documentation footer 2022-05-20 15:23:09 -07:00
Simon Willison 4446075334 Append warning to the write element, refs #1746 2022-05-20 13:44:23 -07:00
Simon Willison 1d33fd03b3 Switch docs theme to Furo, refs #1746 2022-05-20 13:34:51 -07:00
Simon Willison 1465fea479 sphinx-copybutton for docs, closes #1748 2022-05-20 12:11:28 -07:00
Simon Willison 18a6e05887
Added "follow a tutorial" to getting started docs
Closes #1747
2022-05-20 12:05:33 -07:00
Simon Willison 0e2f6f1f82
datasette-copyable is an example of register_output_renderer 2022-05-18 17:37:46 -07:00
Simon Willison 7d1e004ff6 Fix test I broke in #1744 2022-05-17 13:09:07 -07:00
Simon Willison b393e164dc
ReST fix 2022-05-17 12:45:28 -07:00
Simon Willison 5555bc8aef
How to run cog, closes #1745 2022-05-17 12:43:44 -07:00
Simon Willison 3508bf7875 --nolock mode to ignore locked files, closes #1744 2022-05-17 12:40:25 -07:00
Simon Willison a5acfff4bd
Empty Datasette([]) list is no longer required 2022-05-16 17:06:40 -07:00
Simon Willison 280ff372ab ETag support for .db downloads, closes #1739 2022-05-03 07:59:46 -07:00
Simon Willison d60f163528
Run on push and PR, closes #1737 2022-05-02 16:40:49 -07:00
Simon Willison c0cbcf2aba Tweaks to test scripts, refs #1737 2022-05-02 16:36:58 -07:00
Simon Willison 847d6b1aac Test wheel against Pyodide, refs #1737, #1733 2022-05-02 16:32:24 -07:00
Simon Willison 943aa2e1f7 Release 0.62a0
Refs #1683, #1701, #1712, #1717, #1718, #1733
2022-05-02 14:38:34 -07:00
Simon Willison 3f00a29141
Clean up compatibility with Pyodide (#1736)
* Optional uvicorn import for Pyodide, refs #1733
* --setting num_sql_threads 0 to disable threading, refs #1735
2022-05-02 13:15:27 -07:00
Simon Willison a29c127789 Rename to_decimal/from_decimal to decode/encode, refs #1734 2022-05-02 12:44:09 -07:00
Simon Willison 687907aa2b Remove python-baseconv dependency, refs #1733, closes #1734 2022-05-02 12:39:06 -07:00
Simon Willison 7e03394734 Optional uvicorn import for Pyodide, refs #1733 2022-05-02 12:20:14 -07:00
Simon Willison 4afc1afc72
Depend on click-default-group-wheel>=1.2.2
Refs #1733
2022-05-02 12:13:11 -07:00
Simon Willison 94a3171b01
.plugin_config() can return None 2022-04-28 13:29:11 -07:00
Simon Willison 942411ef94 Execute some TableView queries in parallel
Use ?_noparallel=1 to opt out (undocumented, useful for benchmark comparisons)

Refs #1723, #1715
2022-04-26 15:50:02 -07:00
Simon Willison 8a0c38f0b8 Rename database->database_name and table-> table_name, refs #1715 2022-04-26 15:50:02 -07:00
Simon Willison c101f0efee
datasette-total-page-time example of asgi_wrapper 2022-04-26 15:34:29 -07:00
Simon Willison 579f59dcec Refactor to remove RowTableShared class, closes #1719
Refs #1715
2022-04-25 11:33:35 -07:00