Githawk: 不显示来自私有仓库的通知

创建于 2017-07-05  ·  22评论  ·  资料来源: GitHawkApp/GitHawk

我只看到来自我加星标或评论的存储库的通知。 我的私人回购中没有任何内容。 此外,没有从我自己的公共存储库中看到任何内容。

这是我的 git url - https://github.com/narup

谢谢

🐛 bug

最有用的评论

@BasThomas不,没有网络身份验证。 糟透了,但由于 GH 并不真正支持它,我也不打算绕过它。

所有22条评论

鉴于它不会在登录时请求任何权限,我认为它只能看到公共信息 - 不过这将是一个不错的功能

@narup@Sherlouk+ 1——如果我们能看到来自用户所属的私有存储库并参与 PR、问题讨论等的通知,

也许是 2.0 功能?

检查 Octobox (http://octobox.io),我发现 Github 客户端需要请求访问其成员组织的存储库的权限。

image

如果权限不可用,我认为 Github 客户端是否能够访问来自私有存储库的通知。

另一个想法——如果 Freetime 在成功验证后使用 Github API 请求用户的存储库列表并显示存储库列表(包括私有存储库),则应用程序可以让用户选择他们想要授权的存储库,从而允许通知可用.

是的,我想我需要添加通过 oauth 请求的权限

👍

user到作用域中,我们将看看是否可以修复它。 我不应该要求任何东西,因为我没有使用网络流。 只需使用 Oauth API 在登录时创建一个新的访问令牌(存储在本地)。 我们会看看这是否有效...

@narup @burnflare @Malecks @Sherlouk @indyfromoz我在上次构建中添加了user范围,但您需要重新验证(创建一个带有新范围的新令牌)。 介意退出并重新登录并再次检查吗?

我也需要建立一个私人组织来测试自己的东西。 梳理文档并没有看到使用 Oauth 的组织有什么特别之处。 可能会 ping octobox 的人。

@rnystrom在登录/退出、终止和重新启动应用程序等后对我没有任何变化。运行构建 484。

我没有收到额外权限的提示 - 似乎没有什么不同!

😞

范围不提示任何内容,只是希望user会请求后端权限工作。 但看起来私有组织存储库需要额外的权限。 会挖。

好的,我设置了我自己的私人仓库来确认,并重现这个问题。 如果这是/notifications端点的限制,我要么必须发挥创造力,要么(最后的手段)放弃私人回购支持......

screen shot 2017-07-08 at 11 13 03 am

img_4603

好吧,搞清楚了。 将切换到 Web oauth 流程,这是请求/授予组织访问权限的唯一方法。

解决了具有 Web 流的组织访问:

https://developer.github.com/apps/building-integrations/setting-up-and-registering-oauth-apps/about-authorization-options-for-oauth-apps/

我的新私人组织通知显示在我的休息客户端中,但未在应用程序中呈现。 弄清楚这一点。

我们现在不能有多个帐户吗?

@BasThomas不,没有网络身份验证。 糟透了,但由于 GH 并不真正支持它,我也不打算绕过它。

我没有看到来自私人回购的一些通知,它们也没有出现在响应中 - 回归?

[
  {
    "unread" : true,
    "reason" : "subscribed",
    "id" : "270587808",
    "repository" : {
      "private" : false,
      "downloads_url" : "https://api.github.com/repos/rnystrom/GitHawk/downloads",
      "issues_url" : "https://api.github.com/repos/rnystrom/GitHawk/issues{/number}",
      "archive_url" : "https://api.github.com/repos/rnystrom/GitHawk/{archive_format}{/ref}",
      "id" : 89921801,
      "tags_url" : "https://api.github.com/repos/rnystrom/GitHawk/tags",
      "trees_url" : "https://api.github.com/repos/rnystrom/GitHawk/git/trees{/sha}",
      "branches_url" : "https://api.github.com/repos/rnystrom/GitHawk/branches{/branch}",
      "notifications_url" : "https://api.github.com/repos/rnystrom/GitHawk/notifications{?since,all,participating}",
      "pulls_url" : "https://api.github.com/repos/rnystrom/GitHawk/pulls{/number}",
      "releases_url" : "https://api.github.com/repos/rnystrom/GitHawk/releases{/id}",
      "html_url" : "https://github.com/rnystrom/GitHawk",
      "forks_url" : "https://api.github.com/repos/rnystrom/GitHawk/forks",
      "url" : "https://api.github.com/repos/rnystrom/GitHawk",
      "description" : "A GitHub project manager app for iOS.",
      "hooks_url" : "https://api.github.com/repos/rnystrom/GitHawk/hooks",
      "stargazers_url" : "https://api.github.com/repos/rnystrom/GitHawk/stargazers",
      "issue_comment_url" : "https://api.github.com/repos/rnystrom/GitHawk/issues/comments{/number}",
      "assignees_url" : "https://api.github.com/repos/rnystrom/GitHawk/assignees{/user}",
      "languages_url" : "https://api.github.com/repos/rnystrom/GitHawk/languages",
      "full_name" : "rnystrom/GitHawk",
      "subscribers_url" : "https://api.github.com/repos/rnystrom/GitHawk/subscribers",
      "comments_url" : "https://api.github.com/repos/rnystrom/GitHawk/comments{/number}",
      "merges_url" : "https://api.github.com/repos/rnystrom/GitHawk/merges",
      "contributors_url" : "https://api.github.com/repos/rnystrom/GitHawk/contributors",
      "name" : "GitHawk",
      "issue_events_url" : "https://api.github.com/repos/rnystrom/GitHawk/issues/events{/number}",
      "commits_url" : "https://api.github.com/repos/rnystrom/GitHawk/commits{/sha}",
      "git_commits_url" : "https://api.github.com/repos/rnystrom/GitHawk/git/commits{/sha}",
      "keys_url" : "https://api.github.com/repos/rnystrom/GitHawk/keys{/key_id}",
      "labels_url" : "https://api.github.com/repos/rnystrom/GitHawk/labels{/name}",
      "git_refs_url" : "https://api.github.com/repos/rnystrom/GitHawk/git/refs{/sha}",
      "blobs_url" : "https://api.github.com/repos/rnystrom/GitHawk/git/blobs{/sha}",
      "owner" : {
        "id" : 739696,
        "organizations_url" : "https://api.github.com/users/rnystrom/orgs",
        "received_events_url" : "https://api.github.com/users/rnystrom/received_events",
        "following_url" : "https://api.github.com/users/rnystrom/following{/other_user}",
        "login" : "rnystrom",
        "avatar_url" : "https://avatars2.githubusercontent.com/u/739696?v=4",
        "url" : "https://api.github.com/users/rnystrom",
        "subscriptions_url" : "https://api.github.com/users/rnystrom/subscriptions",
        "type" : "User",
        "repos_url" : "https://api.github.com/users/rnystrom/repos",
        "html_url" : "https://github.com/rnystrom",
        "events_url" : "https://api.github.com/users/rnystrom/events{/privacy}",
        "site_admin" : false,
        "starred_url" : "https://api.github.com/users/rnystrom/starred{/owner}{/repo}",
        "gists_url" : "https://api.github.com/users/rnystrom/gists{/gist_id}",
        "gravatar_id" : "",
        "followers_url" : "https://api.github.com/users/rnystrom/followers"
      },
      "subscription_url" : "https://api.github.com/repos/rnystrom/GitHawk/subscription",
      "deployments_url" : "https://api.github.com/repos/rnystrom/GitHawk/deployments",
      "milestones_url" : "https://api.github.com/repos/rnystrom/GitHawk/milestones{/number}",
      "contents_url" : "https://api.github.com/repos/rnystrom/GitHawk/contents/{+path}",
      "events_url" : "https://api.github.com/repos/rnystrom/GitHawk/events",
      "teams_url" : "https://api.github.com/repos/rnystrom/GitHawk/teams",
      "collaborators_url" : "https://api.github.com/repos/rnystrom/GitHawk/collaborators{/collaborator}",
      "git_tags_url" : "https://api.github.com/repos/rnystrom/GitHawk/git/tags{/sha}",
      "statuses_url" : "https://api.github.com/repos/rnystrom/GitHawk/statuses/{sha}",
      "fork" : false,
      "compare_url" : "https://api.github.com/repos/rnystrom/GitHawk/compare/{base}...{head}"
    },
    "subscription_url" : "https://api.github.com/notifications/threads/270587808/subscription",
    "subject" : {
      "latest_comment_url" : "https://api.github.com/repos/rnystrom/GitHawk/issues/comments/339895997",
      "title" : "Report bug from screenshot",
      "url" : "https://api.github.com/repos/rnystrom/GitHawk/issues/755",
      "type" : "Issue"
    },
    "last_read_at" : "2017-10-27T04:53:55Z",
    "updated_at" : "2017-10-27T07:32:55Z",
    "url" : "https://api.github.com/notifications/threads/270587808"
  }
]

(将上述通知标记为已读后)
screen shot 2017-10-27 at 09 57 32

存储库是否授予了对 GitHawk 的访问权限?

啊,原来如此👍

使用GitHawk发送

抱歉误报😬

使用GitHawk发送

我想知道我们是否可以以某种方式使其更清楚……可能在提交之前对“新问题”进行一些扫描会有所帮助。

使用GitHawk发送

也许是一个简单的常见问题解答? 也可以从问题模板中提到这一点

使用GitHawk发送

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

BasThomas picture BasThomas  ·  3评论

rnystrom picture rnystrom  ·  3评论

BasThomas picture BasThomas  ·  3评论

rnystrom picture rnystrom  ·  3评论

BasThomas picture BasThomas  ·  3评论