{"action":"created","comment":{"url":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/comments/165954920","pull_request_review_id":93968981,"id":165954920,"diff_hunk":"@@ -37,6 +37,8 @@ class BookmarksController < CatalogController\n \n   self.add_show_tools_partial( :add_to_playlist, callback: :add_to_playlist_action )\n \n+  self.add_show_tools_partial( :intercom_push, callback: :intercom_push_action, if: Proc.new { |context, config, options| context.user_can? :intercom_push } )","path":"app/controllers/bookmarks_controller.rb","position":19,"original_position":19,"commit_id":"3137d075c29a35ebef1a334d6e512bdf1aa1bcc4","original_commit_id":"3137d075c29a35ebef1a334d6e512bdf1aa1bcc4","user":{"login":"bkeese","id":7440154,"avatar_url":"https://avatars1.githubusercontent.com/u/7440154?v=4","gravatar_id":"","url":"https://api.github.com/users/bkeese","html_url":"https://github.com/bkeese","followers_url":"https://api.github.com/users/bkeese/followers","following_url":"https://api.github.com/users/bkeese/following{/other_user}","gists_url":"https://api.github.com/users/bkeese/gists{/gist_id}","starred_url":"https://api.github.com/users/bkeese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkeese/subscriptions","organizations_url":"https://api.github.com/users/bkeese/orgs","repos_url":"https://api.github.com/users/bkeese/repos","events_url":"https://api.github.com/users/bkeese/events{/privacy}","received_events_url":"https://api.github.com/users/bkeese/received_events","type":"User","site_admin":false},"body":"I think because of timing of evaluation of this line, putting the conditional here didn't work. Reverting.","created_at":"2018-02-05T12:11:30Z","updated_at":"2018-02-05T12:11:30Z","html_url":"https://github.com/avalonmediasystem/avalon/pull/2797#discussion_r165954920","pull_request_url":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/2797","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/comments/165954920"},"html":{"href":"https://github.com/avalonmediasystem/avalon/pull/2797#discussion_r165954920"},"pull_request":{"href":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/2797"}},"in_reply_to_id":165760463},"pull_request":{"url":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/2797","id":166670191,"html_url":"https://github.com/avalonmediasystem/avalon/pull/2797","diff_url":"https://github.com/avalonmediasystem/avalon/pull/2797.diff","patch_url":"https://github.com/avalonmediasystem/avalon/pull/2797.patch","issue_url":"https://api.github.com/repos/avalonmediasystem/avalon/issues/2797","number":2797,"state":"open","locked":false,"title":"Add bulk action for intercom push","user":{"login":"bkeese","id":7440154,"avatar_url":"https://avatars1.githubusercontent.com/u/7440154?v=4","gravatar_id":"","url":"https://api.github.com/users/bkeese","html_url":"https://github.com/bkeese","followers_url":"https://api.github.com/users/bkeese/followers","following_url":"https://api.github.com/users/bkeese/following{/other_user}","gists_url":"https://api.github.com/users/bkeese/gists{/gist_id}","starred_url":"https://api.github.com/users/bkeese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkeese/subscriptions","organizations_url":"https://api.github.com/users/bkeese/orgs","repos_url":"https://api.github.com/users/bkeese/repos","events_url":"https://api.github.com/users/bkeese/events{/privacy}","received_events_url":"https://api.github.com/users/bkeese/received_events","type":"User","site_admin":false},"body":"Adds bulk action for intercom push.\r\nRefactors intercom push forms and javascript so they can be used also by bulk action.","created_at":"2018-02-01T22:30:54Z","updated_at":"2018-02-05T12:11:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"581d8bcdb8d49e4515ce7581962c6de83dc55013","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/2797/commits","review_comments_url":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/2797/comments","review_comment_url":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/avalonmediasystem/avalon/issues/2797/comments","statuses_url":"https://api.github.com/repos/avalonmediasystem/avalon/statuses/3137d075c29a35ebef1a334d6e512bdf1aa1bcc4","head":{"label":"avalonmediasystem:feature/#5564","ref":"feature/#5564","sha":"3137d075c29a35ebef1a334d6e512bdf1aa1bcc4","user":{"login":"avalonmediasystem","id":1399082,"avatar_url":"https://avatars1.githubusercontent.com/u/1399082?v=4","gravatar_id":"","url":"https://api.github.com/users/avalonmediasystem","html_url":"https://github.com/avalonmediasystem","followers_url":"https://api.github.com/users/avalonmediasystem/followers","following_url":"https://api.github.com/users/avalonmediasystem/following{/other_user}","gists_url":"https://api.github.com/users/avalonmediasystem/gists{/gist_id}","starred_url":"https://api.github.com/users/avalonmediasystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avalonmediasystem/subscriptions","organizations_url":"https://api.github.com/users/avalonmediasystem/orgs","repos_url":"https://api.github.com/users/avalonmediasystem/repos","events_url":"https://api.github.com/users/avalonmediasystem/events{/privacy}","received_events_url":"https://api.github.com/users/avalonmediasystem/received_events","type":"Organization","site_admin":false},"repo":{"id":3336925,"name":"avalon","full_name":"avalonmediasystem/avalon","owner":{"login":"avalonmediasystem","id":1399082,"avatar_url":"https://avatars1.githubusercontent.com/u/1399082?v=4","gravatar_id":"","url":"https://api.github.com/users/avalonmediasystem","html_url":"https://github.com/avalonmediasystem","followers_url":"https://api.github.com/users/avalonmediasystem/followers","following_url":"https://api.github.com/users/avalonmediasystem/following{/other_user}","gists_url":"https://api.github.com/users/avalonmediasystem/gists{/gist_id}","starred_url":"https://api.github.com/users/avalonmediasystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avalonmediasystem/subscriptions","organizations_url":"https://api.github.com/users/avalonmediasystem/orgs","repos_url":"https://api.github.com/users/avalonmediasystem/repos","events_url":"https://api.github.com/users/avalonmediasystem/events{/privacy}","received_events_url":"https://api.github.com/users/avalonmediasystem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/avalonmediasystem/avalon","description":"Avalon Media System – Samvera Application","fork":false,"url":"https://api.github.com/repos/avalonmediasystem/avalon","forks_url":"https://api.github.com/repos/avalonmediasystem/avalon/forks","keys_url":"https://api.github.com/repos/avalonmediasystem/avalon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avalonmediasystem/avalon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avalonmediasystem/avalon/teams","hooks_url":"https://api.github.com/repos/avalonmediasystem/avalon/hooks","issue_events_url":"https://api.github.com/repos/avalonmediasystem/avalon/issues/events{/number}","events_url":"https://api.github.com/repos/avalonmediasystem/avalon/events","assignees_url":"https://api.github.com/repos/avalonmediasystem/avalon/assignees{/user}","branches_url":"https://api.github.com/repos/avalonmediasystem/avalon/branches{/branch}","tags_url":"https://api.github.com/repos/avalonmediasystem/avalon/tags","blobs_url":"https://api.github.com/repos/avalonmediasystem/avalon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avalonmediasystem/avalon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avalonmediasystem/avalon/git/refs{/sha}","trees_url":"https://api.github.com/repos/avalonmediasystem/avalon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avalonmediasystem/avalon/statuses/{sha}","languages_url":"https://api.github.com/repos/avalonmediasystem/avalon/languages","stargazers_url":"https://api.github.com/repos/avalonmediasystem/avalon/stargazers","contributors_url":"https://api.github.com/repos/avalonmediasystem/avalon/contributors","subscribers_url":"https://api.github.com/repos/avalonmediasystem/avalon/subscribers","subscription_url":"https://api.github.com/repos/avalonmediasystem/avalon/subscription","commits_url":"https://api.github.com/repos/avalonmediasystem/avalon/commits{/sha}","git_commits_url":"https://api.github.com/repos/avalonmediasystem/avalon/git/commits{/sha}","comments_url":"https://api.github.com/repos/avalonmediasystem/avalon/comments{/number}","issue_comment_url":"https://api.github.com/repos/avalonmediasystem/avalon/issues/comments{/number}","contents_url":"https://api.github.com/repos/avalonmediasystem/avalon/contents/{+path}","compare_url":"https://api.github.com/repos/avalonmediasystem/avalon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avalonmediasystem/avalon/merges","archive_url":"https://api.github.com/repos/avalonmediasystem/avalon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avalonmediasystem/avalon/downloads","issues_url":"https://api.github.com/repos/avalonmediasystem/avalon/issues{/number}","pulls_url":"https://api.github.com/repos/avalonmediasystem/avalon/pulls{/number}","milestones_url":"https://api.github.com/repos/avalonmediasystem/avalon/milestones{/number}","notifications_url":"https://api.github.com/repos/avalonmediasystem/avalon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avalonmediasystem/avalon/labels{/name}","releases_url":"https://api.github.com/repos/avalonmediasystem/avalon/releases{/id}","deployments_url":"https://api.github.com/repos/avalonmediasystem/avalon/deployments","created_at":"2012-02-02T17:26:29Z","updated_at":"2018-01-22T20:01:14Z","pushed_at":"2018-02-05T12:08:13Z","git_url":"git://github.com/avalonmediasystem/avalon.git","ssh_url":"git@github.com:avalonmediasystem/avalon.git","clone_url":"https://github.com/avalonmediasystem/avalon.git","svn_url":"https://github.com/avalonmediasystem/avalon","homepage":"http://www.avalonmediasystem.org/","size":45242,"stargazers_count":66,"watchers_count":66,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":272,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":34,"open_issues":272,"watchers":66,"default_branch":"master"}},"base":{"label":"avalonmediasystem:develop","ref":"develop","sha":"05209aefe33350ba4e912a7cdeeee0c29b5b34f6","user":{"login":"avalonmediasystem","id":1399082,"avatar_url":"https://avatars1.githubusercontent.com/u/1399082?v=4","gravatar_id":"","url":"https://api.github.com/users/avalonmediasystem","html_url":"https://github.com/avalonmediasystem","followers_url":"https://api.github.com/users/avalonmediasystem/followers","following_url":"https://api.github.com/users/avalonmediasystem/following{/other_user}","gists_url":"https://api.github.com/users/avalonmediasystem/gists{/gist_id}","starred_url":"https://api.github.com/users/avalonmediasystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avalonmediasystem/subscriptions","organizations_url":"https://api.github.com/users/avalonmediasystem/orgs","repos_url":"https://api.github.com/users/avalonmediasystem/repos","events_url":"https://api.github.com/users/avalonmediasystem/events{/privacy}","received_events_url":"https://api.github.com/users/avalonmediasystem/received_events","type":"Organization","site_admin":false},"repo":{"id":3336925,"name":"avalon","full_name":"avalonmediasystem/avalon","owner":{"login":"avalonmediasystem","id":1399082,"avatar_url":"https://avatars1.githubusercontent.com/u/1399082?v=4","gravatar_id":"","url":"https://api.github.com/users/avalonmediasystem","html_url":"https://github.com/avalonmediasystem","followers_url":"https://api.github.com/users/avalonmediasystem/followers","following_url":"https://api.github.com/users/avalonmediasystem/following{/other_user}","gists_url":"https://api.github.com/users/avalonmediasystem/gists{/gist_id}","starred_url":"https://api.github.com/users/avalonmediasystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avalonmediasystem/subscriptions","organizations_url":"https://api.github.com/users/avalonmediasystem/orgs","repos_url":"https://api.github.com/users/avalonmediasystem/repos","events_url":"https://api.github.com/users/avalonmediasystem/events{/privacy}","received_events_url":"https://api.github.com/users/avalonmediasystem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/avalonmediasystem/avalon","description":"Avalon Media System – Samvera Application","fork":false,"url":"https://api.github.com/repos/avalonmediasystem/avalon","forks_url":"https://api.github.com/repos/avalonmediasystem/avalon/forks","keys_url":"https://api.github.com/repos/avalonmediasystem/avalon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avalonmediasystem/avalon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avalonmediasystem/avalon/teams","hooks_url":"https://api.github.com/repos/avalonmediasystem/avalon/hooks","issue_events_url":"https://api.github.com/repos/avalonmediasystem/avalon/issues/events{/number}","events_url":"https://api.github.com/repos/avalonmediasystem/avalon/events","assignees_url":"https://api.github.com/repos/avalonmediasystem/avalon/assignees{/user}","branches_url":"https://api.github.com/repos/avalonmediasystem/avalon/branches{/branch}","tags_url":"https://api.github.com/repos/avalonmediasystem/avalon/tags","blobs_url":"https://api.github.com/repos/avalonmediasystem/avalon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avalonmediasystem/avalon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avalonmediasystem/avalon/git/refs{/sha}","trees_url":"https://api.github.com/repos/avalonmediasystem/avalon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avalonmediasystem/avalon/statuses/{sha}","languages_url":"https://api.github.com/repos/avalonmediasystem/avalon/languages","stargazers_url":"https://api.github.com/repos/avalonmediasystem/avalon/stargazers","contributors_url":"https://api.github.com/repos/avalonmediasystem/avalon/contributors","subscribers_url":"https://api.github.com/repos/avalonmediasystem/avalon/subscribers","subscription_url":"https://api.github.com/repos/avalonmediasystem/avalon/subscription","commits_url":"https://api.github.com/repos/avalonmediasystem/avalon/commits{/sha}","git_commits_url":"https://api.github.com/repos/avalonmediasystem/avalon/git/commits{/sha}","comments_url":"https://api.github.com/repos/avalonmediasystem/avalon/comments{/number}","issue_comment_url":"https://api.github.com/repos/avalonmediasystem/avalon/issues/comments{/number}","contents_url":"https://api.github.com/repos/avalonmediasystem/avalon/contents/{+path}","compare_url":"https://api.github.com/repos/avalonmediasystem/avalon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avalonmediasystem/avalon/merges","archive_url":"https://api.github.com/repos/avalonmediasystem/avalon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avalonmediasystem/avalon/downloads","issues_url":"https://api.github.com/repos/avalonmediasystem/avalon/issues{/number}","pulls_url":"https://api.github.com/repos/avalonmediasystem/avalon/pulls{/number}","milestones_url":"https://api.github.com/repos/avalonmediasystem/avalon/milestones{/number}","notifications_url":"https://api.github.com/repos/avalonmediasystem/avalon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avalonmediasystem/avalon/labels{/name}","releases_url":"https://api.github.com/repos/avalonmediasystem/avalon/releases{/id}","deployments_url":"https://api.github.com/repos/avalonmediasystem/avalon/deployments","created_at":"2012-02-02T17:26:29Z","updated_at":"2018-01-22T20:01:14Z","pushed_at":"2018-02-05T12:08:13Z","git_url":"git://github.com/avalonmediasystem/avalon.git","ssh_url":"git@github.com:avalonmediasystem/avalon.git","clone_url":"https://github.com/avalonmediasystem/avalon.git","svn_url":"https://github.com/avalonmediasystem/avalon","homepage":"http://www.avalonmediasystem.org/","size":45242,"stargazers_count":66,"watchers_count":66,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":272,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":34,"open_issues":272,"watchers":66,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/2797"},"html":{"href":"https://github.com/avalonmediasystem/avalon/pull/2797"},"issue":{"href":"https://api.github.com/repos/avalonmediasystem/avalon/issues/2797"},"comments":{"href":"https://api.github.com/repos/avalonmediasystem/avalon/issues/2797/comments"},"review_comments":{"href":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/2797/comments"},"review_comment":{"href":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/avalonmediasystem/avalon/pulls/2797/commits"},"statuses":{"href":"https://api.github.com/repos/avalonmediasystem/avalon/statuses/3137d075c29a35ebef1a334d6e512bdf1aa1bcc4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bkeese"}}