home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 635108074

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

id ▼ html_url issue_url node_id user created_at updated_at author_association body reactions issue performed_via_github_app
642951150 https://github.com/simonw/datasette/issues/824#issuecomment-642951150 https://api.github.com/repos/simonw/datasette/issues/824 MDEyOklzc3VlQ29tbWVudDY0Mjk1MTE1MA== simonw 9599 2020-06-11T22:00:17Z 2020-06-11T22:00:17Z OWNER I got this working: https://github.com/simonw/datasette-auth-github/pull/64 Just one problem: it uses the existing `ds_actor` cookie, which means it doesn't actually exercise the `actor_from_request` plugin! It does use `register_routes` though. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Example authentication plugin 635108074  
642952962 https://github.com/simonw/datasette/issues/824#issuecomment-642952962 https://api.github.com/repos/simonw/datasette/issues/824 MDEyOklzc3VlQ29tbWVudDY0Mjk1Mjk2Mg== simonw 9599 2020-06-11T22:01:58Z 2020-06-11T22:01:58Z OWNER Alternative idea: a plugin that handles Bearer token authentication. Uses `metadata.json` with secret plugin values to map an incoming token to an actor dictionary, which can then be mapped to permissions. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Example authentication plugin 635108074  
642953605 https://github.com/simonw/datasette/issues/824#issuecomment-642953605 https://api.github.com/repos/simonw/datasette/issues/824 MDEyOklzc3VlQ29tbWVudDY0Mjk1MzYwNQ== simonw 9599 2020-06-11T22:02:32Z 2020-06-11T22:02:32Z OWNER `datasette-auth-tokens` can be the name. I can get a simple initial version of it running pretty quickly. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Example authentication plugin 635108074  
642991513 https://github.com/simonw/datasette/issues/824#issuecomment-642991513 https://api.github.com/repos/simonw/datasette/issues/824 MDEyOklzc3VlQ29tbWVudDY0Mjk5MTUxMw== simonw 9599 2020-06-12T00:11:50Z 2020-06-12T00:11:50Z OWNER Done: https://github.com/simonw/datasette-auth-tokens and https://pypi.org/project/datasette-auth-tokens/ {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Example authentication plugin 635108074  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 18.505ms · About: simonw/datasette-graphql