{"action":"created","comment":{"url":"https://api.github.com/repos/novoda/dashboards/pulls/comments/88219003","pull_request_review_id":8797571,"id":88219003,"diff_hunk":"@@ -1,10 +1,17 @@\n-const SO_URL = 'http://stackoverflow.com/search?q=novoda+hasaccepted%3Ano'\n+const SO_URL = 'http://stackoverflow.com/search?q=novoda+hasaccepted%3Ano+closed%3Ano+duplicate%3Ano+created%3A3m...'\n const httpClient = require('request-promise-native');\n+const BASE_URL = 'http://api.stackexchange.com/2.2/search/advanced?order=desc&sort=activity&q=novoda&accepted=False&site=stackoverflow&closed=False&duplicate=False';\n const REQUEST = {\n-  url: 'http://api.stackexchange.com/2.2/search/advanced?order=desc&sort=activity&q=novoda&accepted=False&site=stackoverflow',\n+  url: buildUrl(),\n   gzip: true\n };\n \n+function buildUrl() {\n+  var date = new Date();\n+  date.setMonth(date.getMonth() - 3);\n+  return BASE_URL + `&min=${date.getTime() / 1000 | 0}`;","path":"node-server/server/widget/stackoverflow.js","position":14,"original_position":14,"commit_id":"714618003d6c80ff3dfbc2ab51f101a0f7e59ca9","original_commit_id":"714618003d6c80ff3dfbc2ab51f101a0f7e59ca9","user":{"login":"frapontillo","id":1140238,"avatar_url":"https://avatars.githubusercontent.com/u/1140238?v=3","gravatar_id":"","url":"https://api.github.com/users/frapontillo","html_url":"https://github.com/frapontillo","followers_url":"https://api.github.com/users/frapontillo/followers","following_url":"https://api.github.com/users/frapontillo/following{/other_user}","gists_url":"https://api.github.com/users/frapontillo/gists{/gist_id}","starred_url":"https://api.github.com/users/frapontillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frapontillo/subscriptions","organizations_url":"https://api.github.com/users/frapontillo/orgs","repos_url":"https://api.github.com/users/frapontillo/repos","events_url":"https://api.github.com/users/frapontillo/events{/privacy}","received_events_url":"https://api.github.com/users/frapontillo/received_events","type":"User","site_admin":false},"body":"`Math.round`? xD","created_at":"2016-11-16T11:34:37Z","updated_at":"2016-11-16T11:34:37Z","html_url":"https://github.com/novoda/dashboards/pull/8#discussion_r88219003","pull_request_url":"https://api.github.com/repos/novoda/dashboards/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/comments/88219003"},"html":{"href":"https://github.com/novoda/dashboards/pull/8#discussion_r88219003"},"pull_request":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/novoda/dashboards/pulls/8","id":93784377,"html_url":"https://github.com/novoda/dashboards/pull/8","diff_url":"https://github.com/novoda/dashboards/pull/8.diff","patch_url":"https://github.com/novoda/dashboards/pull/8.patch","issue_url":"https://api.github.com/repos/novoda/dashboards/issues/8","number":8,"state":"open","locked":false,"title":"PT-320/Implement template system","user":{"login":"florianmski","id":479277,"avatar_url":"https://avatars.githubusercontent.com/u/479277?v=3","gravatar_id":"","url":"https://api.github.com/users/florianmski","html_url":"https://github.com/florianmski","followers_url":"https://api.github.com/users/florianmski/followers","following_url":"https://api.github.com/users/florianmski/following{/other_user}","gists_url":"https://api.github.com/users/florianmski/gists{/gist_id}","starred_url":"https://api.github.com/users/florianmski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianmski/subscriptions","organizations_url":"https://api.github.com/users/florianmski/orgs","repos_url":"https://api.github.com/users/florianmski/repos","events_url":"https://api.github.com/users/florianmski/events{/privacy}","received_events_url":"https://api.github.com/users/florianmski/received_events","type":"User","site_admin":false},"body":"> Tracked in JIRA by [PT-320](https://novoda.atlassian.net/browse/PT-320)\r\n\r\n### Scope of the PR\r\n\r\nAdd a template system so we can now use a default template to render data, removing a lot of duplication and making it easier to write new simple dashboard that only require a title and a text (`classic` template) or a slack message (`message` template).\r\n","created_at":"2016-11-15T15:16:25Z","updated_at":"2016-11-16T11:34:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb77c7e18e45b4dcf337f5517476948a68a92978","assignee":{"login":"frapontillo","id":1140238,"avatar_url":"https://avatars.githubusercontent.com/u/1140238?v=3","gravatar_id":"","url":"https://api.github.com/users/frapontillo","html_url":"https://github.com/frapontillo","followers_url":"https://api.github.com/users/frapontillo/followers","following_url":"https://api.github.com/users/frapontillo/following{/other_user}","gists_url":"https://api.github.com/users/frapontillo/gists{/gist_id}","starred_url":"https://api.github.com/users/frapontillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frapontillo/subscriptions","organizations_url":"https://api.github.com/users/frapontillo/orgs","repos_url":"https://api.github.com/users/frapontillo/repos","events_url":"https://api.github.com/users/frapontillo/events{/privacy}","received_events_url":"https://api.github.com/users/frapontillo/received_events","type":"User","site_admin":false},"assignees":[{"login":"frapontillo","id":1140238,"avatar_url":"https://avatars.githubusercontent.com/u/1140238?v=3","gravatar_id":"","url":"https://api.github.com/users/frapontillo","html_url":"https://github.com/frapontillo","followers_url":"https://api.github.com/users/frapontillo/followers","following_url":"https://api.github.com/users/frapontillo/following{/other_user}","gists_url":"https://api.github.com/users/frapontillo/gists{/gist_id}","starred_url":"https://api.github.com/users/frapontillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frapontillo/subscriptions","organizations_url":"https://api.github.com/users/frapontillo/orgs","repos_url":"https://api.github.com/users/frapontillo/repos","events_url":"https://api.github.com/users/frapontillo/events{/privacy}","received_events_url":"https://api.github.com/users/frapontillo/received_events","type":"User","site_admin":false},{"login":"xrigau","id":1626673,"avatar_url":"https://avatars.githubusercontent.com/u/1626673?v=3","gravatar_id":"","url":"https://api.github.com/users/xrigau","html_url":"https://github.com/xrigau","followers_url":"https://api.github.com/users/xrigau/followers","following_url":"https://api.github.com/users/xrigau/following{/other_user}","gists_url":"https://api.github.com/users/xrigau/gists{/gist_id}","starred_url":"https://api.github.com/users/xrigau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrigau/subscriptions","organizations_url":"https://api.github.com/users/xrigau/orgs","repos_url":"https://api.github.com/users/xrigau/repos","events_url":"https://api.github.com/users/xrigau/events{/privacy}","received_events_url":"https://api.github.com/users/xrigau/received_events","type":"User","site_admin":false},{"login":"ouchadam","id":1848238,"avatar_url":"https://avatars.githubusercontent.com/u/1848238?v=3","gravatar_id":"","url":"https://api.github.com/users/ouchadam","html_url":"https://github.com/ouchadam","followers_url":"https://api.github.com/users/ouchadam/followers","following_url":"https://api.github.com/users/ouchadam/following{/other_user}","gists_url":"https://api.github.com/users/ouchadam/gists{/gist_id}","starred_url":"https://api.github.com/users/ouchadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouchadam/subscriptions","organizations_url":"https://api.github.com/users/ouchadam/orgs","repos_url":"https://api.github.com/users/ouchadam/repos","events_url":"https://api.github.com/users/ouchadam/events{/privacy}","received_events_url":"https://api.github.com/users/ouchadam/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/novoda/dashboards/pulls/8/commits","review_comments_url":"https://api.github.com/repos/novoda/dashboards/pulls/8/comments","review_comment_url":"https://api.github.com/repos/novoda/dashboards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/novoda/dashboards/issues/8/comments","statuses_url":"https://api.github.com/repos/novoda/dashboards/statuses/714618003d6c80ff3dfbc2ab51f101a0f7e59ca9","head":{"label":"novoda:PT-320/implement_template_system","ref":"PT-320/implement_template_system","sha":"714618003d6c80ff3dfbc2ab51f101a0f7e59ca9","user":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"repo":{"id":73312159,"name":"dashboards","full_name":"novoda/dashboards","owner":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/novoda/dashboards","description":"Get some fancy dashboards in your office!","fork":false,"url":"https://api.github.com/repos/novoda/dashboards","forks_url":"https://api.github.com/repos/novoda/dashboards/forks","keys_url":"https://api.github.com/repos/novoda/dashboards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novoda/dashboards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novoda/dashboards/teams","hooks_url":"https://api.github.com/repos/novoda/dashboards/hooks","issue_events_url":"https://api.github.com/repos/novoda/dashboards/issues/events{/number}","events_url":"https://api.github.com/repos/novoda/dashboards/events","assignees_url":"https://api.github.com/repos/novoda/dashboards/assignees{/user}","branches_url":"https://api.github.com/repos/novoda/dashboards/branches{/branch}","tags_url":"https://api.github.com/repos/novoda/dashboards/tags","blobs_url":"https://api.github.com/repos/novoda/dashboards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novoda/dashboards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novoda/dashboards/git/refs{/sha}","trees_url":"https://api.github.com/repos/novoda/dashboards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novoda/dashboards/statuses/{sha}","languages_url":"https://api.github.com/repos/novoda/dashboards/languages","stargazers_url":"https://api.github.com/repos/novoda/dashboards/stargazers","contributors_url":"https://api.github.com/repos/novoda/dashboards/contributors","subscribers_url":"https://api.github.com/repos/novoda/dashboards/subscribers","subscription_url":"https://api.github.com/repos/novoda/dashboards/subscription","commits_url":"https://api.github.com/repos/novoda/dashboards/commits{/sha}","git_commits_url":"https://api.github.com/repos/novoda/dashboards/git/commits{/sha}","comments_url":"https://api.github.com/repos/novoda/dashboards/comments{/number}","issue_comment_url":"https://api.github.com/repos/novoda/dashboards/issues/comments{/number}","contents_url":"https://api.github.com/repos/novoda/dashboards/contents/{+path}","compare_url":"https://api.github.com/repos/novoda/dashboards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novoda/dashboards/merges","archive_url":"https://api.github.com/repos/novoda/dashboards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novoda/dashboards/downloads","issues_url":"https://api.github.com/repos/novoda/dashboards/issues{/number}","pulls_url":"https://api.github.com/repos/novoda/dashboards/pulls{/number}","milestones_url":"https://api.github.com/repos/novoda/dashboards/milestones{/number}","notifications_url":"https://api.github.com/repos/novoda/dashboards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novoda/dashboards/labels{/name}","releases_url":"https://api.github.com/repos/novoda/dashboards/releases{/id}","deployments_url":"https://api.github.com/repos/novoda/dashboards/deployments","created_at":"2016-11-09T18:53:32Z","updated_at":"2016-11-09T18:54:04Z","pushed_at":"2016-11-16T10:57:04Z","git_url":"git://github.com/novoda/dashboards.git","ssh_url":"git@github.com:novoda/dashboards.git","clone_url":"https://github.com/novoda/dashboards.git","svn_url":"https://github.com/novoda/dashboards","homepage":null,"size":1058,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"novoda:master","ref":"master","sha":"e50220b3a1e47eb5508806263373870e106bc282","user":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"repo":{"id":73312159,"name":"dashboards","full_name":"novoda/dashboards","owner":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/novoda/dashboards","description":"Get some fancy dashboards in your office!","fork":false,"url":"https://api.github.com/repos/novoda/dashboards","forks_url":"https://api.github.com/repos/novoda/dashboards/forks","keys_url":"https://api.github.com/repos/novoda/dashboards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novoda/dashboards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novoda/dashboards/teams","hooks_url":"https://api.github.com/repos/novoda/dashboards/hooks","issue_events_url":"https://api.github.com/repos/novoda/dashboards/issues/events{/number}","events_url":"https://api.github.com/repos/novoda/dashboards/events","assignees_url":"https://api.github.com/repos/novoda/dashboards/assignees{/user}","branches_url":"https://api.github.com/repos/novoda/dashboards/branches{/branch}","tags_url":"https://api.github.com/repos/novoda/dashboards/tags","blobs_url":"https://api.github.com/repos/novoda/dashboards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novoda/dashboards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novoda/dashboards/git/refs{/sha}","trees_url":"https://api.github.com/repos/novoda/dashboards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novoda/dashboards/statuses/{sha}","languages_url":"https://api.github.com/repos/novoda/dashboards/languages","stargazers_url":"https://api.github.com/repos/novoda/dashboards/stargazers","contributors_url":"https://api.github.com/repos/novoda/dashboards/contributors","subscribers_url":"https://api.github.com/repos/novoda/dashboards/subscribers","subscription_url":"https://api.github.com/repos/novoda/dashboards/subscription","commits_url":"https://api.github.com/repos/novoda/dashboards/commits{/sha}","git_commits_url":"https://api.github.com/repos/novoda/dashboards/git/commits{/sha}","comments_url":"https://api.github.com/repos/novoda/dashboards/comments{/number}","issue_comment_url":"https://api.github.com/repos/novoda/dashboards/issues/comments{/number}","contents_url":"https://api.github.com/repos/novoda/dashboards/contents/{+path}","compare_url":"https://api.github.com/repos/novoda/dashboards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novoda/dashboards/merges","archive_url":"https://api.github.com/repos/novoda/dashboards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novoda/dashboards/downloads","issues_url":"https://api.github.com/repos/novoda/dashboards/issues{/number}","pulls_url":"https://api.github.com/repos/novoda/dashboards/pulls{/number}","milestones_url":"https://api.github.com/repos/novoda/dashboards/milestones{/number}","notifications_url":"https://api.github.com/repos/novoda/dashboards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novoda/dashboards/labels{/name}","releases_url":"https://api.github.com/repos/novoda/dashboards/releases{/id}","deployments_url":"https://api.github.com/repos/novoda/dashboards/deployments","created_at":"2016-11-09T18:53:32Z","updated_at":"2016-11-09T18:54:04Z","pushed_at":"2016-11-16T10:57:04Z","git_url":"git://github.com/novoda/dashboards.git","ssh_url":"git@github.com:novoda/dashboards.git","clone_url":"https://github.com/novoda/dashboards.git","svn_url":"https://github.com/novoda/dashboards","homepage":null,"size":1058,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/8"},"html":{"href":"https://github.com/novoda/dashboards/pull/8"},"issue":{"href":"https://api.github.com/repos/novoda/dashboards/issues/8"},"comments":{"href":"https://api.github.com/repos/novoda/dashboards/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/novoda/dashboards/statuses/714618003d6c80ff3dfbc2ab51f101a0f7e59ca9"}}}}
{"actor":{"display_login":"frapontillo"}}