{"action":"created","comment":{"url":"https://api.github.com/repos/tootsuite/mastodon/pulls/comments/133817081","pull_request_review_id":57042023,"id":133817081,"diff_hunk":"@@ -4,6 +4,9 @@\n   %td.domain\n     - unless account.local?\n       = link_to account.domain, admin_accounts_path(by_domain: account.domain)\n+  %td.protocol\n+    - unless account.local?\n+      = protocol_for_display(account.protocol)","path":"app/views/admin/accounts/_account.html.haml","position":6,"original_position":6,"commit_id":"07d54a996e4b468c81e990b1355c65a1f160d873","original_commit_id":"07d54a996e4b468c81e990b1355c65a1f160d873","user":{"login":"nightpool","id":233815,"avatar_url":"https://avatars2.githubusercontent.com/u/233815?v=4","gravatar_id":"","url":"https://api.github.com/users/nightpool","html_url":"https://github.com/nightpool","followers_url":"https://api.github.com/users/nightpool/followers","following_url":"https://api.github.com/users/nightpool/following{/other_user}","gists_url":"https://api.github.com/users/nightpool/gists{/gist_id}","starred_url":"https://api.github.com/users/nightpool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightpool/subscriptions","organizations_url":"https://api.github.com/users/nightpool/orgs","repos_url":"https://api.github.com/users/nightpool/repos","events_url":"https://api.github.com/users/nightpool/events{/privacy}","received_events_url":"https://api.github.com/users/nightpool/received_events","type":"User","site_admin":false},"body":"https://github.com/tootsuite/mastodon/blob/master/config/initializers/inflections.rb","created_at":"2017-08-17T20:14:41Z","updated_at":"2017-08-17T20:14:42Z","html_url":"https://github.com/tootsuite/mastodon/pull/4622#discussion_r133817081","pull_request_url":"https://api.github.com/repos/tootsuite/mastodon/pulls/4622","_links":{"self":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/comments/133817081"},"html":{"href":"https://github.com/tootsuite/mastodon/pull/4622#discussion_r133817081"},"pull_request":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/4622"}}},"pull_request":{"url":"https://api.github.com/repos/tootsuite/mastodon/pulls/4622","id":136282471,"html_url":"https://github.com/tootsuite/mastodon/pull/4622","diff_url":"https://github.com/tootsuite/mastodon/pull/4622.diff","patch_url":"https://github.com/tootsuite/mastodon/pull/4622.patch","issue_url":"https://api.github.com/repos/tootsuite/mastodon/issues/4622","number":4622,"state":"closed","locked":false,"title":"Show what protocol is used for accounts in admin/accounts#index","user":{"login":"nullkal","id":418982,"avatar_url":"https://avatars1.githubusercontent.com/u/418982?v=4","gravatar_id":"","url":"https://api.github.com/users/nullkal","html_url":"https://github.com/nullkal","followers_url":"https://api.github.com/users/nullkal/followers","following_url":"https://api.github.com/users/nullkal/following{/other_user}","gists_url":"https://api.github.com/users/nullkal/gists{/gist_id}","starred_url":"https://api.github.com/users/nullkal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nullkal/subscriptions","organizations_url":"https://api.github.com/users/nullkal/orgs","repos_url":"https://api.github.com/users/nullkal/repos","events_url":"https://api.github.com/users/nullkal/events{/privacy}","received_events_url":"https://api.github.com/users/nullkal/received_events","type":"User","site_admin":false},"body":"What this PR looks like: \r\n<img width=\"743\" src=\"https://user-images.githubusercontent.com/418982/29419083-1f75f64a-83a9-11e7-934d-f00fef28eda8.png\">\r\n\r\nThis PR adds \"protocol\" colomn to account list for admin. In addition to it, I added a helper to show protocol names like \"OStatus\", or \"ActivityPub\", not \"ostatus\", nor \"activitypub\".","created_at":"2017-08-17T15:13:16Z","updated_at":"2017-08-17T20:14:42Z","closed_at":"2017-08-17T15:52:41Z","merged_at":"2017-08-17T15:52:41Z","merge_commit_sha":"075d6a1e13aa6477c656e9dbe03e6720cb4e2b32","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tootsuite/mastodon/pulls/4622/commits","review_comments_url":"https://api.github.com/repos/tootsuite/mastodon/pulls/4622/comments","review_comment_url":"https://api.github.com/repos/tootsuite/mastodon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tootsuite/mastodon/issues/4622/comments","statuses_url":"https://api.github.com/repos/tootsuite/mastodon/statuses/07d54a996e4b468c81e990b1355c65a1f160d873","head":{"label":"mstdn-jp:show_protocol_in_accounts_index","ref":"show_protocol_in_accounts_index","sha":"07d54a996e4b468c81e990b1355c65a1f160d873","user":{"login":"mstdn-jp","id":28916808,"avatar_url":"https://avatars2.githubusercontent.com/u/28916808?v=4","gravatar_id":"","url":"https://api.github.com/users/mstdn-jp","html_url":"https://github.com/mstdn-jp","followers_url":"https://api.github.com/users/mstdn-jp/followers","following_url":"https://api.github.com/users/mstdn-jp/following{/other_user}","gists_url":"https://api.github.com/users/mstdn-jp/gists{/gist_id}","starred_url":"https://api.github.com/users/mstdn-jp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstdn-jp/subscriptions","organizations_url":"https://api.github.com/users/mstdn-jp/orgs","repos_url":"https://api.github.com/users/mstdn-jp/repos","events_url":"https://api.github.com/users/mstdn-jp/events{/privacy}","received_events_url":"https://api.github.com/users/mstdn-jp/received_events","type":"Organization","site_admin":false},"repo":{"id":89614609,"name":"mastodon","full_name":"mstdn-jp/mastodon","owner":{"login":"mstdn-jp","id":28916808,"avatar_url":"https://avatars2.githubusercontent.com/u/28916808?v=4","gravatar_id":"","url":"https://api.github.com/users/mstdn-jp","html_url":"https://github.com/mstdn-jp","followers_url":"https://api.github.com/users/mstdn-jp/followers","following_url":"https://api.github.com/users/mstdn-jp/following{/other_user}","gists_url":"https://api.github.com/users/mstdn-jp/gists{/gist_id}","starred_url":"https://api.github.com/users/mstdn-jp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstdn-jp/subscriptions","organizations_url":"https://api.github.com/users/mstdn-jp/orgs","repos_url":"https://api.github.com/users/mstdn-jp/repos","events_url":"https://api.github.com/users/mstdn-jp/events{/privacy}","received_events_url":"https://api.github.com/users/mstdn-jp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mstdn-jp/mastodon","description":"A GNU Social-compatible microblogging server","fork":true,"url":"https://api.github.com/repos/mstdn-jp/mastodon","forks_url":"https://api.github.com/repos/mstdn-jp/mastodon/forks","keys_url":"https://api.github.com/repos/mstdn-jp/mastodon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mstdn-jp/mastodon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mstdn-jp/mastodon/teams","hooks_url":"https://api.github.com/repos/mstdn-jp/mastodon/hooks","issue_events_url":"https://api.github.com/repos/mstdn-jp/mastodon/issues/events{/number}","events_url":"https://api.github.com/repos/mstdn-jp/mastodon/events","assignees_url":"https://api.github.com/repos/mstdn-jp/mastodon/assignees{/user}","branches_url":"https://api.github.com/repos/mstdn-jp/mastodon/branches{/branch}","tags_url":"https://api.github.com/repos/mstdn-jp/mastodon/tags","blobs_url":"https://api.github.com/repos/mstdn-jp/mastodon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mstdn-jp/mastodon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mstdn-jp/mastodon/git/refs{/sha}","trees_url":"https://api.github.com/repos/mstdn-jp/mastodon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mstdn-jp/mastodon/statuses/{sha}","languages_url":"https://api.github.com/repos/mstdn-jp/mastodon/languages","stargazers_url":"https://api.github.com/repos/mstdn-jp/mastodon/stargazers","contributors_url":"https://api.github.com/repos/mstdn-jp/mastodon/contributors","subscribers_url":"https://api.github.com/repos/mstdn-jp/mastodon/subscribers","subscription_url":"https://api.github.com/repos/mstdn-jp/mastodon/subscription","commits_url":"https://api.github.com/repos/mstdn-jp/mastodon/commits{/sha}","git_commits_url":"https://api.github.com/repos/mstdn-jp/mastodon/git/commits{/sha}","comments_url":"https://api.github.com/repos/mstdn-jp/mastodon/comments{/number}","issue_comment_url":"https://api.github.com/repos/mstdn-jp/mastodon/issues/comments{/number}","contents_url":"https://api.github.com/repos/mstdn-jp/mastodon/contents/{+path}","compare_url":"https://api.github.com/repos/mstdn-jp/mastodon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mstdn-jp/mastodon/merges","archive_url":"https://api.github.com/repos/mstdn-jp/mastodon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mstdn-jp/mastodon/downloads","issues_url":"https://api.github.com/repos/mstdn-jp/mastodon/issues{/number}","pulls_url":"https://api.github.com/repos/mstdn-jp/mastodon/pulls{/number}","milestones_url":"https://api.github.com/repos/mstdn-jp/mastodon/milestones{/number}","notifications_url":"https://api.github.com/repos/mstdn-jp/mastodon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mstdn-jp/mastodon/labels{/name}","releases_url":"https://api.github.com/repos/mstdn-jp/mastodon/releases{/id}","deployments_url":"https://api.github.com/repos/mstdn-jp/mastodon/deployments","created_at":"2017-04-27T15:49:42Z","updated_at":"2017-07-27T04:53:43Z","pushed_at":"2017-08-17T16:41:10Z","git_url":"git://github.com/mstdn-jp/mastodon.git","ssh_url":"git@github.com:mstdn-jp/mastodon.git","clone_url":"https://github.com/mstdn-jp/mastodon.git","svn_url":"https://github.com/mstdn-jp/mastodon","homepage":"https://mstdn.jp/","size":42779,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"mstdn-jp"}},"base":{"label":"tootsuite:master","ref":"master","sha":"54a04e36587840e330a0a4df7c4e1855a3c92e03","user":{"login":"tootsuite","id":24979032,"avatar_url":"https://avatars3.githubusercontent.com/u/24979032?v=4","gravatar_id":"","url":"https://api.github.com/users/tootsuite","html_url":"https://github.com/tootsuite","followers_url":"https://api.github.com/users/tootsuite/followers","following_url":"https://api.github.com/users/tootsuite/following{/other_user}","gists_url":"https://api.github.com/users/tootsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/tootsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tootsuite/subscriptions","organizations_url":"https://api.github.com/users/tootsuite/orgs","repos_url":"https://api.github.com/users/tootsuite/repos","events_url":"https://api.github.com/users/tootsuite/events{/privacy}","received_events_url":"https://api.github.com/users/tootsuite/received_events","type":"Organization","site_admin":false},"repo":{"id":52281283,"name":"mastodon","full_name":"tootsuite/mastodon","owner":{"login":"tootsuite","id":24979032,"avatar_url":"https://avatars3.githubusercontent.com/u/24979032?v=4","gravatar_id":"","url":"https://api.github.com/users/tootsuite","html_url":"https://github.com/tootsuite","followers_url":"https://api.github.com/users/tootsuite/followers","following_url":"https://api.github.com/users/tootsuite/following{/other_user}","gists_url":"https://api.github.com/users/tootsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/tootsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tootsuite/subscriptions","organizations_url":"https://api.github.com/users/tootsuite/orgs","repos_url":"https://api.github.com/users/tootsuite/repos","events_url":"https://api.github.com/users/tootsuite/events{/privacy}","received_events_url":"https://api.github.com/users/tootsuite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tootsuite/mastodon","description":"A GNU Social-compatible microblogging server","fork":false,"url":"https://api.github.com/repos/tootsuite/mastodon","forks_url":"https://api.github.com/repos/tootsuite/mastodon/forks","keys_url":"https://api.github.com/repos/tootsuite/mastodon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tootsuite/mastodon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tootsuite/mastodon/teams","hooks_url":"https://api.github.com/repos/tootsuite/mastodon/hooks","issue_events_url":"https://api.github.com/repos/tootsuite/mastodon/issues/events{/number}","events_url":"https://api.github.com/repos/tootsuite/mastodon/events","assignees_url":"https://api.github.com/repos/tootsuite/mastodon/assignees{/user}","branches_url":"https://api.github.com/repos/tootsuite/mastodon/branches{/branch}","tags_url":"https://api.github.com/repos/tootsuite/mastodon/tags","blobs_url":"https://api.github.com/repos/tootsuite/mastodon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tootsuite/mastodon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tootsuite/mastodon/git/refs{/sha}","trees_url":"https://api.github.com/repos/tootsuite/mastodon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tootsuite/mastodon/statuses/{sha}","languages_url":"https://api.github.com/repos/tootsuite/mastodon/languages","stargazers_url":"https://api.github.com/repos/tootsuite/mastodon/stargazers","contributors_url":"https://api.github.com/repos/tootsuite/mastodon/contributors","subscribers_url":"https://api.github.com/repos/tootsuite/mastodon/subscribers","subscription_url":"https://api.github.com/repos/tootsuite/mastodon/subscription","commits_url":"https://api.github.com/repos/tootsuite/mastodon/commits{/sha}","git_commits_url":"https://api.github.com/repos/tootsuite/mastodon/git/commits{/sha}","comments_url":"https://api.github.com/repos/tootsuite/mastodon/comments{/number}","issue_comment_url":"https://api.github.com/repos/tootsuite/mastodon/issues/comments{/number}","contents_url":"https://api.github.com/repos/tootsuite/mastodon/contents/{+path}","compare_url":"https://api.github.com/repos/tootsuite/mastodon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tootsuite/mastodon/merges","archive_url":"https://api.github.com/repos/tootsuite/mastodon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tootsuite/mastodon/downloads","issues_url":"https://api.github.com/repos/tootsuite/mastodon/issues{/number}","pulls_url":"https://api.github.com/repos/tootsuite/mastodon/pulls{/number}","milestones_url":"https://api.github.com/repos/tootsuite/mastodon/milestones{/number}","notifications_url":"https://api.github.com/repos/tootsuite/mastodon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tootsuite/mastodon/labels{/name}","releases_url":"https://api.github.com/repos/tootsuite/mastodon/releases{/id}","deployments_url":"https://api.github.com/repos/tootsuite/mastodon/deployments","created_at":"2016-02-22T15:01:25Z","updated_at":"2017-08-17T18:27:42Z","pushed_at":"2017-08-17T20:11:43Z","git_url":"git://github.com/tootsuite/mastodon.git","ssh_url":"git@github.com:tootsuite/mastodon.git","clone_url":"https://github.com/tootsuite/mastodon.git","svn_url":"https://github.com/tootsuite/mastodon","homepage":"https://joinmastodon.org","size":42825,"stargazers_count":9972,"watchers_count":9972,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1924,"mirror_url":null,"open_issues_count":646,"forks":1924,"open_issues":646,"watchers":9972,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/4622"},"html":{"href":"https://github.com/tootsuite/mastodon/pull/4622"},"issue":{"href":"https://api.github.com/repos/tootsuite/mastodon/issues/4622"},"comments":{"href":"https://api.github.com/repos/tootsuite/mastodon/issues/4622/comments"},"review_comments":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/4622/comments"},"review_comment":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/4622/commits"},"statuses":{"href":"https://api.github.com/repos/tootsuite/mastodon/statuses/07d54a996e4b468c81e990b1355c65a1f160d873"}}}}
{"actor":{"display_login":"nightpool"}}