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
Simon Willison
7463b051cf
Cosmetic tweaks after blacken-docs, refs #1718
2022-04-24 09:59:20 -07:00
Simon Willison
289e4cf80a
Finished applying blacken-docs, closes #1718
2022-04-24 09:17:59 -07:00
Simon Willison
498e1536f5
One more blacken-docs test, refs #1718
2022-04-24 09:08:56 -07:00
Simon Willison
92b26673d8
Fix blacken-docs errors and warnings, refs #1718
2022-04-24 09:03:14 -07:00
Simon Willison
36573638b0
Apply Black to code examples in documentation, refs #1718
...
Uses blacken-docs. This has a deliberate error which I hope will fail CI.
2022-04-24 08:50:43 -07:00
Simon Willison
40ef8ebac2
Run tests on pull requests
2022-04-24 07:10:13 -07:00
Simon Willison
e64d14e413
Use type integer for --timeout, refs #1717
2022-04-24 07:09:08 -07:00
Simon Willison
4bd3a30e1e
Update cog docs for publish cloudrun, refs #1717
2022-04-24 07:04:11 -07:00
Tim Sherratt
3001e1e394
Add timeout option to Cloudrun build ( #1717 )
...
* Add timeout option for build phase
* Make the --timeout setting optional
* Add test for --timeout setting
Thanks, @wragge
2022-04-24 07:03:08 -07:00
Simon Willison
d57c347f35
Ignore Black commits in git blame, refs #1716
2022-04-22 14:58:46 -07:00
Simon Willison
8338c66a57
datasette-geojson is an example of register_output_renderer
2022-04-21 11:05:43 -07:00
Simon Willison
0bc5186b7b
Tooltip and commas for byte length display, closes #1712
2022-04-12 11:44:12 -07:00