{"html_url": "https://github.com/simonw/datasette/issues/805#issuecomment-651302221", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/805", "id": 651302221, "node_id": "MDEyOklzc3VlQ29tbWVudDY1MTMwMjIyMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-29T19:02:45Z", "updated_at": "2020-06-29T19:05:26Z", "author_association": "OWNER", "body": "No I prefer the idea that logged out users can still perform some writes, in a not-likely-to-attract-abuse way.\r\n\r\nSo a root-user-can-configure-polls, logged-out-users-can-vote-in-them demo would be good.\r\n\r\nOr... crazy idea: a collaborative drawing program? A grid of cells of emoji, anyone can add an emoji to a cell. Would involve a bit of JavaScript. I could use https://github.com/joeattardi/emoji-button for this.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 632724154, "label": "Writable canned queries live demo on Glitch"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/805#issuecomment-651301202", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/805", "id": 651301202, "node_id": "MDEyOklzc3VlQ29tbWVudDY1MTMwMTIwMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-29T19:00:37Z", "updated_at": "2020-06-29T19:00:37Z", "author_association": "OWNER", "body": "How about a blog? Pre-configured canned queries that are only available to `\"root\"`, plus datasette-template-sql and default templates for the index page and blog entry pages.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 632724154, "label": "Writable canned queries live demo on Glitch"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/805#issuecomment-650891257", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/805", "id": 650891257, "node_id": "MDEyOklzc3VlQ29tbWVudDY1MDg5MTI1Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-29T03:56:48Z", "updated_at": "2020-06-29T03:56:48Z", "author_association": "OWNER", "body": "Using `datasette-glitch` and the new https://github.com/simonw/datasette-write - currently running on `datasette==0.45a4` - works on Glitch. The console shows a login link which gives you a cookie which allows you access to the `/-/write` interface.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 632724154, "label": "Writable canned queries live demo on Glitch"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/805#issuecomment-650784162", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/805", "id": 650784162, "node_id": "MDEyOklzc3VlQ29tbWVudDY1MDc4NDE2Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-28T15:48:32Z", "updated_at": "2020-06-28T15:48:32Z", "author_association": "OWNER", "body": "https://github.com/simonw/datasette-glitch is my new plugin that outputs the root login link on Glitch when the server starts.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 632724154, "label": "Writable canned queries live demo on Glitch"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/805#issuecomment-650681496", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/805", "id": 650681496, "node_id": "MDEyOklzc3VlQ29tbWVudDY1MDY4MTQ5Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-28T03:11:51Z", "updated_at": "2020-06-28T03:11:51Z", "author_association": "OWNER", "body": "I can use magic parameters from #842 in this.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 632724154, "label": "Writable canned queries live demo on Glitch"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/805#issuecomment-643501428", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/805", "id": 643501428, "node_id": "MDEyOklzc3VlQ29tbWVudDY0MzUwMTQyOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-12T22:06:08Z", "updated_at": "2020-06-12T22:06:08Z", "author_association": "OWNER", "body": "This needs the `startup` hook, see https://github.com/simonw/datasette/issues/834#issuecomment-643501064", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 632724154, "label": "Writable canned queries live demo on Glitch"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/805#issuecomment-641017851", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/805", "id": 641017851, "node_id": "MDEyOklzc3VlQ29tbWVudDY0MTAxNzg1MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-09T04:17:00Z", "updated_at": "2020-06-09T04:17:00Z", "author_association": "OWNER", "body": "I can't get Datasette working on Glitch installed from a URL - I'm going to try this on Glitch once I've shipped the 0.44 release in #806.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 632724154, "label": "Writable canned queries live demo on Glitch"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/805#issuecomment-641017721", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/805", "id": 641017721, "node_id": "MDEyOklzc3VlQ29tbWVudDY0MTAxNzcyMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-09T04:16:28Z", "updated_at": "2020-06-09T04:16:28Z", "author_association": "OWNER", "body": "Create `data.db` with:\r\n```\r\necho '{\"emoji\": \"\ud83d\udc2f\", \"score\": 0}' | sqlite-utils insert data.db emojis --pk=emoji -\r\necho '{\"emoji\": \"\ud83d\udc3a\", \"score\": 0}' | sqlite-utils insert data.db emojis --pk=emoji -\r\n```\r\nThen run Datasette with this `metadata.yaml`:\r\n```yaml\r\ntitle: Datasette Poll\r\ndatabases:\r\n data:\r\n queries:\r\n vote:\r\n sql: |-\r\n update emojis set score = score + 1 where emoji = :emoji\r\n write: true\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 632724154, "label": "Writable canned queries live demo on Glitch"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/805#issuecomment-640122664", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/805", "id": 640122664, "node_id": "MDEyOklzc3VlQ29tbWVudDY0MDEyMjY2NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-06T21:50:41Z", "updated_at": "2020-06-06T21:50:41Z", "author_association": "OWNER", "body": "Part of #806 ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 632724154, "label": "Writable canned queries live demo on Glitch"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/805#issuecomment-640116970", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/805", "id": 640116970, "node_id": "MDEyOklzc3VlQ29tbWVudDY0MDExNjk3MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-06T20:55:03Z", "updated_at": "2020-06-06T20:55:03Z", "author_association": "OWNER", "body": "Would be useful if I had a plugin that could authenticate users based on a secret environment variable (maybe for a password) - that way I could have an \"admin\" account on the Glitch app that is allowed to setup new polls, while anonymous users can only vote on them.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 632724154, "label": "Writable canned queries live demo on Glitch"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/805#issuecomment-640116842", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/805", "id": 640116842, "node_id": "MDEyOklzc3VlQ29tbWVudDY0MDExNjg0Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-06T20:53:51Z", "updated_at": "2020-06-06T20:53:51Z", "author_association": "OWNER", "body": "I'd like to illustrate writable canned queries without the risk of someone abusing and breaking it (or filling it with bad content).\r\n\r\nI don't want to have to monitor it, so an application that won't run out of disk space after a few months would be good too.\r\n\r\nMaybe a polling app? If I'm only tracking integer numbers of votes it shouldn't ever run out of space.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 632724154, "label": "Writable canned queries live demo on Glitch"}, "performed_via_github_app": null}