{"action":"created","comment":{"url":"https://api.github.com/repos/ding2/ting_infomedia/pulls/comments/34224924","id":34224924,"diff_hunk":"@@ -60,6 +71,36 @@ function ting_infomedia_theme($existing, $type, $theme, $path) {\n   return $render_array;\n }\n \n+/**\n+ * Implements infomedia_url_alter (@see ting.entities.inc::getOnline_url\n+ *\n+ * @param $url\n+ *   The original url.\n+ * @param $entity *\n+ *   The entity the url belongs to.\n+ */\n+function ting_infomedia_infomedia_url_alter(&$url, $entity){\n+  $url = ting_infomedia_parse_url($url);\n+}\n+\n+/**\n+ * Alter infomedia url.\n+ *\n+ * @param $url\n+ *   The original url.\n+ * @return string\n+ *   The modified url.\n+ */\n+function ting_infomedia_parse_url($url){\n+  $url = parse_url($url, PHP_URL_QUERY);\n+  parse_str($url, $parts);\n+  global $user;\n+  if(!ding_user_is_provider_user($user)) {","path":"ting_infomedia.module","position":73,"original_position":73,"commit_id":"57d6168fd52a4a565a1dc13515c7e0002cd07f5c","original_commit_id":"57d6168fd52a4a565a1dc13515c7e0002cd07f5c","user":{"login":"kasperg","id":73966,"avatar_url":"https://avatars.githubusercontent.com/u/73966?v=3","gravatar_id":"","url":"https://api.github.com/users/kasperg","html_url":"https://github.com/kasperg","followers_url":"https://api.github.com/users/kasperg/followers","following_url":"https://api.github.com/users/kasperg/following{/other_user}","gists_url":"https://api.github.com/users/kasperg/gists{/gist_id}","starred_url":"https://api.github.com/users/kasperg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasperg/subscriptions","organizations_url":"https://api.github.com/users/kasperg/orgs","repos_url":"https://api.github.com/users/kasperg/repos","events_url":"https://api.github.com/users/kasperg/events{/privacy}","received_events_url":"https://api.github.com/users/kasperg/received_events","type":"User","site_admin":false},"body":"A whitespace issue here.","created_at":"2015-07-09T05:37:57Z","updated_at":"2015-07-09T05:37:57Z","html_url":"https://github.com/ding2/ting_infomedia/pull/5#discussion_r34224924","pull_request_url":"https://api.github.com/repos/ding2/ting_infomedia/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/ding2/ting_infomedia/pulls/comments/34224924"},"html":{"href":"https://github.com/ding2/ting_infomedia/pull/5#discussion_r34224924"},"pull_request":{"href":"https://api.github.com/repos/ding2/ting_infomedia/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/ding2/ting_infomedia/pulls/5","id":37897818,"html_url":"https://github.com/ding2/ting_infomedia/pull/5","diff_url":"https://github.com/ding2/ting_infomedia/pull/5.diff","patch_url":"https://github.com/ding2/ting_infomedia/pull/5.patch","issue_url":"https://api.github.com/repos/ding2/ting_infomedia/issues/5","number":5,"state":"open","locked":false,"title":"Issue378","user":{"login":"pjohans","id":953804,"avatar_url":"https://avatars.githubusercontent.com/u/953804?v=3","gravatar_id":"","url":"https://api.github.com/users/pjohans","html_url":"https://github.com/pjohans","followers_url":"https://api.github.com/users/pjohans/followers","following_url":"https://api.github.com/users/pjohans/following{/other_user}","gists_url":"https://api.github.com/users/pjohans/gists{/gist_id}","starred_url":"https://api.github.com/users/pjohans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjohans/subscriptions","organizations_url":"https://api.github.com/users/pjohans/orgs","repos_url":"https://api.github.com/users/pjohans/repos","events_url":"https://api.github.com/users/pjohans/events{/privacy}","received_events_url":"https://api.github.com/users/pjohans/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-17T13:02:49Z","updated_at":"2015-07-09T05:37:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69cdb4978adadd68d3c156d1cf079b6acbd5982c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ding2/ting_infomedia/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ding2/ting_infomedia/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ding2/ting_infomedia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ding2/ting_infomedia/issues/5/comments","statuses_url":"https://api.github.com/repos/ding2/ting_infomedia/statuses/57d6168fd52a4a565a1dc13515c7e0002cd07f5c","head":{"label":"pjohans:Issue378","ref":"Issue378","sha":"57d6168fd52a4a565a1dc13515c7e0002cd07f5c","user":{"login":"pjohans","id":953804,"avatar_url":"https://avatars.githubusercontent.com/u/953804?v=3","gravatar_id":"","url":"https://api.github.com/users/pjohans","html_url":"https://github.com/pjohans","followers_url":"https://api.github.com/users/pjohans/followers","following_url":"https://api.github.com/users/pjohans/following{/other_user}","gists_url":"https://api.github.com/users/pjohans/gists{/gist_id}","starred_url":"https://api.github.com/users/pjohans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjohans/subscriptions","organizations_url":"https://api.github.com/users/pjohans/orgs","repos_url":"https://api.github.com/users/pjohans/repos","events_url":"https://api.github.com/users/pjohans/events{/privacy}","received_events_url":"https://api.github.com/users/pjohans/received_events","type":"User","site_admin":false},"repo":{"id":37529791,"name":"ting_infomedia","full_name":"pjohans/ting_infomedia","owner":{"login":"pjohans","id":953804,"avatar_url":"https://avatars.githubusercontent.com/u/953804?v=3","gravatar_id":"","url":"https://api.github.com/users/pjohans","html_url":"https://github.com/pjohans","followers_url":"https://api.github.com/users/pjohans/followers","following_url":"https://api.github.com/users/pjohans/following{/other_user}","gists_url":"https://api.github.com/users/pjohans/gists{/gist_id}","starred_url":"https://api.github.com/users/pjohans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjohans/subscriptions","organizations_url":"https://api.github.com/users/pjohans/orgs","repos_url":"https://api.github.com/users/pjohans/repos","events_url":"https://api.github.com/users/pjohans/events{/privacy}","received_events_url":"https://api.github.com/users/pjohans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pjohans/ting_infomedia","description":"articles and review from infomedia webservice","fork":true,"url":"https://api.github.com/repos/pjohans/ting_infomedia","forks_url":"https://api.github.com/repos/pjohans/ting_infomedia/forks","keys_url":"https://api.github.com/repos/pjohans/ting_infomedia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pjohans/ting_infomedia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pjohans/ting_infomedia/teams","hooks_url":"https://api.github.com/repos/pjohans/ting_infomedia/hooks","issue_events_url":"https://api.github.com/repos/pjohans/ting_infomedia/issues/events{/number}","events_url":"https://api.github.com/repos/pjohans/ting_infomedia/events","assignees_url":"https://api.github.com/repos/pjohans/ting_infomedia/assignees{/user}","branches_url":"https://api.github.com/repos/pjohans/ting_infomedia/branches{/branch}","tags_url":"https://api.github.com/repos/pjohans/ting_infomedia/tags","blobs_url":"https://api.github.com/repos/pjohans/ting_infomedia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pjohans/ting_infomedia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pjohans/ting_infomedia/git/refs{/sha}","trees_url":"https://api.github.com/repos/pjohans/ting_infomedia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pjohans/ting_infomedia/statuses/{sha}","languages_url":"https://api.github.com/repos/pjohans/ting_infomedia/languages","stargazers_url":"https://api.github.com/repos/pjohans/ting_infomedia/stargazers","contributors_url":"https://api.github.com/repos/pjohans/ting_infomedia/contributors","subscribers_url":"https://api.github.com/repos/pjohans/ting_infomedia/subscribers","subscription_url":"https://api.github.com/repos/pjohans/ting_infomedia/subscription","commits_url":"https://api.github.com/repos/pjohans/ting_infomedia/commits{/sha}","git_commits_url":"https://api.github.com/repos/pjohans/ting_infomedia/git/commits{/sha}","comments_url":"https://api.github.com/repos/pjohans/ting_infomedia/comments{/number}","issue_comment_url":"https://api.github.com/repos/pjohans/ting_infomedia/issues/comments{/number}","contents_url":"https://api.github.com/repos/pjohans/ting_infomedia/contents/{+path}","compare_url":"https://api.github.com/repos/pjohans/ting_infomedia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pjohans/ting_infomedia/merges","archive_url":"https://api.github.com/repos/pjohans/ting_infomedia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pjohans/ting_infomedia/downloads","issues_url":"https://api.github.com/repos/pjohans/ting_infomedia/issues{/number}","pulls_url":"https://api.github.com/repos/pjohans/ting_infomedia/pulls{/number}","milestones_url":"https://api.github.com/repos/pjohans/ting_infomedia/milestones{/number}","notifications_url":"https://api.github.com/repos/pjohans/ting_infomedia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pjohans/ting_infomedia/labels{/name}","releases_url":"https://api.github.com/repos/pjohans/ting_infomedia/releases{/id}","created_at":"2015-06-16T12:52:07Z","updated_at":"2015-06-16T12:52:07Z","pushed_at":"2015-06-17T13:07:31Z","git_url":"git://github.com/pjohans/ting_infomedia.git","ssh_url":"git@github.com:pjohans/ting_infomedia.git","clone_url":"https://github.com/pjohans/ting_infomedia.git","svn_url":"https://github.com/pjohans/ting_infomedia","homepage":"","size":143,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":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":0,"default_branch":"master"}},"base":{"label":"ding2:master","ref":"master","sha":"528afdd7914cbffdcc838533d5d19ed0c0da2464","user":{"login":"ding2","id":564698,"avatar_url":"https://avatars.githubusercontent.com/u/564698?v=3","gravatar_id":"","url":"https://api.github.com/users/ding2","html_url":"https://github.com/ding2","followers_url":"https://api.github.com/users/ding2/followers","following_url":"https://api.github.com/users/ding2/following{/other_user}","gists_url":"https://api.github.com/users/ding2/gists{/gist_id}","starred_url":"https://api.github.com/users/ding2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ding2/subscriptions","organizations_url":"https://api.github.com/users/ding2/orgs","repos_url":"https://api.github.com/users/ding2/repos","events_url":"https://api.github.com/users/ding2/events{/privacy}","received_events_url":"https://api.github.com/users/ding2/received_events","type":"Organization","site_admin":false},"repo":{"id":2215505,"name":"ting_infomedia","full_name":"ding2/ting_infomedia","owner":{"login":"ding2","id":564698,"avatar_url":"https://avatars.githubusercontent.com/u/564698?v=3","gravatar_id":"","url":"https://api.github.com/users/ding2","html_url":"https://github.com/ding2","followers_url":"https://api.github.com/users/ding2/followers","following_url":"https://api.github.com/users/ding2/following{/other_user}","gists_url":"https://api.github.com/users/ding2/gists{/gist_id}","starred_url":"https://api.github.com/users/ding2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ding2/subscriptions","organizations_url":"https://api.github.com/users/ding2/orgs","repos_url":"https://api.github.com/users/ding2/repos","events_url":"https://api.github.com/users/ding2/events{/privacy}","received_events_url":"https://api.github.com/users/ding2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ding2/ting_infomedia","description":"articles and review from infomedia webservice","fork":false,"url":"https://api.github.com/repos/ding2/ting_infomedia","forks_url":"https://api.github.com/repos/ding2/ting_infomedia/forks","keys_url":"https://api.github.com/repos/ding2/ting_infomedia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ding2/ting_infomedia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ding2/ting_infomedia/teams","hooks_url":"https://api.github.com/repos/ding2/ting_infomedia/hooks","issue_events_url":"https://api.github.com/repos/ding2/ting_infomedia/issues/events{/number}","events_url":"https://api.github.com/repos/ding2/ting_infomedia/events","assignees_url":"https://api.github.com/repos/ding2/ting_infomedia/assignees{/user}","branches_url":"https://api.github.com/repos/ding2/ting_infomedia/branches{/branch}","tags_url":"https://api.github.com/repos/ding2/ting_infomedia/tags","blobs_url":"https://api.github.com/repos/ding2/ting_infomedia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ding2/ting_infomedia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ding2/ting_infomedia/git/refs{/sha}","trees_url":"https://api.github.com/repos/ding2/ting_infomedia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ding2/ting_infomedia/statuses/{sha}","languages_url":"https://api.github.com/repos/ding2/ting_infomedia/languages","stargazers_url":"https://api.github.com/repos/ding2/ting_infomedia/stargazers","contributors_url":"https://api.github.com/repos/ding2/ting_infomedia/contributors","subscribers_url":"https://api.github.com/repos/ding2/ting_infomedia/subscribers","subscription_url":"https://api.github.com/repos/ding2/ting_infomedia/subscription","commits_url":"https://api.github.com/repos/ding2/ting_infomedia/commits{/sha}","git_commits_url":"https://api.github.com/repos/ding2/ting_infomedia/git/commits{/sha}","comments_url":"https://api.github.com/repos/ding2/ting_infomedia/comments{/number}","issue_comment_url":"https://api.github.com/repos/ding2/ting_infomedia/issues/comments{/number}","contents_url":"https://api.github.com/repos/ding2/ting_infomedia/contents/{+path}","compare_url":"https://api.github.com/repos/ding2/ting_infomedia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ding2/ting_infomedia/merges","archive_url":"https://api.github.com/repos/ding2/ting_infomedia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ding2/ting_infomedia/downloads","issues_url":"https://api.github.com/repos/ding2/ting_infomedia/issues{/number}","pulls_url":"https://api.github.com/repos/ding2/ting_infomedia/pulls{/number}","milestones_url":"https://api.github.com/repos/ding2/ting_infomedia/milestones{/number}","notifications_url":"https://api.github.com/repos/ding2/ting_infomedia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ding2/ting_infomedia/labels{/name}","releases_url":"https://api.github.com/repos/ding2/ting_infomedia/releases{/id}","created_at":"2011-08-16T12:06:32Z","updated_at":"2015-01-20T14:51:31Z","pushed_at":"2015-06-25T08:23:11Z","git_url":"git://github.com/ding2/ting_infomedia.git","ssh_url":"git@github.com:ding2/ting_infomedia.git","clone_url":"https://github.com/ding2/ting_infomedia.git","svn_url":"https://github.com/ding2/ting_infomedia","homepage":"","size":224,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ding2/ting_infomedia/pulls/5"},"html":{"href":"https://github.com/ding2/ting_infomedia/pull/5"},"issue":{"href":"https://api.github.com/repos/ding2/ting_infomedia/issues/5"},"comments":{"href":"https://api.github.com/repos/ding2/ting_infomedia/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ding2/ting_infomedia/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ding2/ting_infomedia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ding2/ting_infomedia/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ding2/ting_infomedia/statuses/57d6168fd52a4a565a1dc13515c7e0002cd07f5c"}}}}