Wykres commitów

2355 Commity (d97e82df3c8a3f2e97038d7080167be9bb74a68d)

Autor SHA1 Wiadomość Data
dependabot[bot] bffefc7db0
Bump furo from 2022.9.29 to 2022.12.7 (#1935)
Bumps [furo](https://github.com/pradyunsg/furo) from 2022.9.29 to 2022.12.7.
- [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.09.29...2022.12.07)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 13:12:07 -08:00
Simon Willison 05daa15aac Documentation for /-/create ignore/replace, closes #1927 2022-12-07 17:42:54 -08:00
Simon Willison 34cffff02a Refactor _headers() for write API tests 2022-12-07 17:39:07 -08:00
Simon Willison dee18ed8ce test_create_table_error_rows_twice_with_duplicates, refs #1927 2022-12-07 17:29:24 -08:00
Simon Willison 9342b60f14 test_create_table_error_if_pk_changed, refs #1927 2022-12-07 17:27:01 -08:00
Simon Willison 6b27537988 ignore/replace to create requires pk, refs #1927 2022-12-07 17:18:40 -08:00
Simon Willison 272982e8a6
/db/table/-/upsert API
Close #1878

Also made a few tweaks to how _r works in tokens and actors,
refs #1855 - I needed that mechanism for the tests.
2022-12-07 17:12:15 -08:00
Simon Willison 93ababe6f7 Initial attempt at insert/replace for /-/create, refs #1927 2022-12-02 23:00:18 -08:00
Simon Willison cab5b60e09
datasette-auth-passwords is another actor_from_request example 2022-12-02 08:39:52 -08:00
Simon Willison d7e5e3c9f9 Fix for todomvc permission check
Refs https://github.com/simonw/todomvc-datasette/issues/2
2022-12-01 17:38:23 -08:00
Simon Willison 27efa8c381 todomvc permissions and fixed DATASETTE_SECRET for new demo
Refs https://github.com/simonw/todomvc-datasette/issues/2
2022-12-01 17:29:44 -08:00
Simon Willison 03f247845e
datasette-ephemeral-tables>=0.2.2
Refs https://github.com/simonw/datasette-ephemeral-tables/issues/5
2022-12-01 16:37:53 -08:00
Simon Willison e2f71c6f81
Bump ephemeral limit up to 15 minutes per table
Refs #1915
2022-12-01 15:44:43 -08:00
Simon Willison 692fbfc40a Release 1.0a1
Refs #1922, #1917, #1915, #1916, #1918, #1924
2022-12-01 13:30:39 -08:00
Simon Willison f3c8da7acd MAke the sign in as root button bigger on latest.datasette.io 2022-12-01 13:29:31 -08:00
Simon Willison 99da46f725 Docs for insert API ignore/replace - closes #1924 2022-11-30 18:07:48 -08:00
Simon Willison 7fde34cfcb Documentation and test for UNIQUE constraint failed, refs #1924 2022-11-30 18:05:29 -08:00
Simon Willison 9a1536b52a Move CORS headers into base class, refs #1922 2022-11-30 15:48:32 -08:00
Simon Willison 31d6a0bc5e Applied Black, refs #1922 2022-11-30 15:17:39 -08:00
Simon Willison f0fadc28dd Access-Control-Allow-Headers: Authorization, Content-Type - refs #1922 2022-11-30 15:11:18 -08:00
Simon Willison 418eb7c5c6
Try Python 3.9 for Cloud Run deploy, refs #1923 2022-11-30 14:59:17 -08:00
Simon Willison ec1dde5dd2
Try version 318.0.0 of google-github-actions/setup-gcloud
Refs #1923
2022-11-30 14:50:53 -08:00
Simon Willison 2cd7ecaa0a Apply Black, refs #1922 2022-11-30 13:54:47 -08:00
Simon Willison 6bfd71f5c6 Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS - refs #1922 2022-11-30 12:25:12 -08:00
Simon Willison 4c18730e71 Update tests to export 200 for OPTIONS calls, refs #1922 2022-11-30 10:29:48 -08:00
Simon Willison 48725bb4ea CORS headers for write APIs, refs #1922 2022-11-30 09:27:10 -08:00
Simon Willison 4ddd77e512
No need for pkginfo pin any more
The upstream issue was fixed. Refs #1913
2022-11-29 21:25:40 -08:00
Simon Willison 8404b21556 405 method not allowed for GET to POST endpoints, closes #1916 2022-11-29 21:15:13 -08:00
Simon Willison 5518397338 Show mutable DBs first in API explorer, closes #1918 2022-11-29 21:07:51 -08:00
Simon Willison 6b47734c04 _memory database should not be mutable, closes #1917 2022-11-29 21:06:52 -08:00
Simon Willison 9f5321ff1e
latest now uses datasette-ephemeral-tables>=0.2.1
Fix for https://github.com/simonw/datasette-ephemeral-tables/issues/4
2022-11-29 20:43:27 -08:00
Simon Willison 7588d27f4a
latest.datasette.io uses datasette-ephemeral-tables>=0.2
To show the countdown timer from:
https://github.com/simonw/datasette-ephemeral-tables/issues/3

Refs #1915
2022-11-29 17:51:15 -08:00
Simon Willison 53a8e5bae5 Deploy datasette-ephemeral-tables plugin
Refs #1915
2022-11-29 15:58:25 -08:00
Simon Willison 4a0bd960e9 Pin pkginfo==1.8.3 as workaround for #1913 2022-11-29 11:57:54 -08:00
Simon Willison 07aad51176
Merge pull request #1912 from simonw/1.0-dev
Merge 1.0-dev (with initial write API) back into main
2022-11-29 11:39:36 -08:00
Simon Willison b8fc8e2cd7
Merge branch 'main' into 1.0-dev 2022-11-29 11:34:39 -08:00
Simon Willison 4d49a5a397 Release 1.0a0
Refs #1850, #1851, #1852, #1856, #1858, #1863, #1864, #1871, #1874, #1882

Closes #1891
2022-11-29 11:22:54 -08:00
Simon Willison 6bda225786 Tests for rowid and compound pk row deletion, closes #1864 2022-11-29 10:53:55 -08:00
Simon Willison 1154048f79 Compound primary key support for /db/-/create - closes #1911
Needed for tests in #1864
2022-11-29 10:47:48 -08:00
Simon Willison 484bef0d3b /db/table/pk/-/update endpoint, closes #1863 2022-11-29 10:06:19 -08:00
Simon Willison 21f8aab531 Release 0.63.2
Refs #1904, #1905
2022-11-18 16:59:05 -08:00
Simon Willison 733447d7c7 Upgrade to Python 3.11 on Heroku, refs #1905 2022-11-18 16:44:46 -08:00
Simon Willison 72ac9bf82f --generate-dir option to publish heroku, refs #1905 2022-11-18 16:34:33 -08:00
Simon Willison 5be728c2dd Pin httpx in Pyodide test, refs #1904
Should help get tests to pass for #1896 too
2022-11-18 14:52:05 -08:00
Simon Willison 0fe1619910 Pin httpx in Pyodide test, refs #1904
Should help get tests to pass for #1896 too
2022-11-18 14:50:19 -08:00
Simon Willison ee64130fa8 Refactor to use new resolve_database/table/row methods, refs #1896 2022-11-18 14:46:25 -08:00
Simon Willison c588a89f26 db.view_exists() method, needed by #1896 2022-11-18 14:16:38 -08:00
Simon Willison b29ccb59c7 Add test for db.view_names() 2022-11-18 14:13:48 -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