{"action":"created","comment":{"url":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/comments/127780607","pull_request_review_id":50399000,"id":127780607,"diff_hunk":"@@ -184,6 +184,37 @@ def update_timeout(request, code):\n \n @login_required\n @uuid_or_400\n+def set_nag_time(request, code):\n+    assert request.method == \"POST\"\n+\n+    check = get_object_or_404(Check, code=code)\n+    if check.user != request.team.user:\n+        return HttpResponseForbidden()\n+\n+    form = NagTimeForm(request.POST)\n+    if form.is_valid():\n+        check.nag_time = td(seconds=form.cleaned_data[\"nag_time\"])\n+        check.save()\n+\n+    return redirect(\"hc-checks\")\n+\n+\n+@login_required\n+@uuid_or_400\n+def remove_nag_time(request, code):\n+\n+    check = get_object_or_404(Check, code=code)\n+    if check.user_id != request.team.user.id:\n+        return HttpResponseForbidden()\n+\n+    check.nag_time = td(hours=0)\n+    check.save()\n+\n+    return redirect(\"hc-checks\")\n+\n+\n+@login_required\n+@uuid_or_400\n def pause(request, code):\n     assert request.method == \"POST\"\n ","path":"hc/front/views.py","position":46,"original_position":46,"commit_id":"30df789cc34b7909775bd7a5b2359914af48ad83","original_commit_id":"30df789cc34b7909775bd7a5b2359914af48ad83","user":{"login":"amwaleh","id":12892105,"avatar_url":"https://avatars0.githubusercontent.com/u/12892105?v=4","gravatar_id":"","url":"https://api.github.com/users/amwaleh","html_url":"https://github.com/amwaleh","followers_url":"https://api.github.com/users/amwaleh/followers","following_url":"https://api.github.com/users/amwaleh/following{/other_user}","gists_url":"https://api.github.com/users/amwaleh/gists{/gist_id}","starred_url":"https://api.github.com/users/amwaleh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amwaleh/subscriptions","organizations_url":"https://api.github.com/users/amwaleh/orgs","repos_url":"https://api.github.com/users/amwaleh/repos","events_url":"https://api.github.com/users/amwaleh/events{/privacy}","received_events_url":"https://api.github.com/users/amwaleh/received_events","type":"User","site_admin":false},"body":"remove the file `media/dojo.db`","created_at":"2017-07-17T18:07:11Z","updated_at":"2017-07-17T18:09:48Z","html_url":"https://github.com/andela/dashiki-healthchecks/pull/15#discussion_r127780607","pull_request_url":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/comments/127780607"},"html":{"href":"https://github.com/andela/dashiki-healthchecks/pull/15#discussion_r127780607"},"pull_request":{"href":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/15","id":130843789,"html_url":"https://github.com/andela/dashiki-healthchecks/pull/15","diff_url":"https://github.com/andela/dashiki-healthchecks/pull/15.diff","patch_url":"https://github.com/andela/dashiki-healthchecks/pull/15.patch","issue_url":"https://api.github.com/repos/andela/dashiki-healthchecks/issues/15","number":15,"state":"open","locked":false,"title":"Ft nag user 147170295","user":{"login":"dmwiine","id":2500488,"avatar_url":"https://avatars1.githubusercontent.com/u/2500488?v=4","gravatar_id":"","url":"https://api.github.com/users/dmwiine","html_url":"https://github.com/dmwiine","followers_url":"https://api.github.com/users/dmwiine/followers","following_url":"https://api.github.com/users/dmwiine/following{/other_user}","gists_url":"https://api.github.com/users/dmwiine/gists{/gist_id}","starred_url":"https://api.github.com/users/dmwiine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmwiine/subscriptions","organizations_url":"https://api.github.com/users/dmwiine/orgs","repos_url":"https://api.github.com/users/dmwiine/repos","events_url":"https://api.github.com/users/dmwiine/events{/privacy}","received_events_url":"https://api.github.com/users/dmwiine/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-17T12:27:57Z","updated_at":"2017-07-17T18:09:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"55a64f017603296187859426b1144bb70ac36bc1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/15/commits","review_comments_url":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/15/comments","review_comment_url":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/dashiki-healthchecks/issues/15/comments","statuses_url":"https://api.github.com/repos/andela/dashiki-healthchecks/statuses/30df789cc34b7909775bd7a5b2359914af48ad83","head":{"label":"andela:ft-nag-user-147170295","ref":"ft-nag-user-147170295","sha":"30df789cc34b7909775bd7a5b2359914af48ad83","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":93849088,"name":"dashiki-healthchecks","full_name":"andela/dashiki-healthchecks","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/dashiki-healthchecks","description":null,"fork":false,"url":"https://api.github.com/repos/andela/dashiki-healthchecks","forks_url":"https://api.github.com/repos/andela/dashiki-healthchecks/forks","keys_url":"https://api.github.com/repos/andela/dashiki-healthchecks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/dashiki-healthchecks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/dashiki-healthchecks/teams","hooks_url":"https://api.github.com/repos/andela/dashiki-healthchecks/hooks","issue_events_url":"https://api.github.com/repos/andela/dashiki-healthchecks/issues/events{/number}","events_url":"https://api.github.com/repos/andela/dashiki-healthchecks/events","assignees_url":"https://api.github.com/repos/andela/dashiki-healthchecks/assignees{/user}","branches_url":"https://api.github.com/repos/andela/dashiki-healthchecks/branches{/branch}","tags_url":"https://api.github.com/repos/andela/dashiki-healthchecks/tags","blobs_url":"https://api.github.com/repos/andela/dashiki-healthchecks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/dashiki-healthchecks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/dashiki-healthchecks/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/dashiki-healthchecks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/dashiki-healthchecks/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/dashiki-healthchecks/languages","stargazers_url":"https://api.github.com/repos/andela/dashiki-healthchecks/stargazers","contributors_url":"https://api.github.com/repos/andela/dashiki-healthchecks/contributors","subscribers_url":"https://api.github.com/repos/andela/dashiki-healthchecks/subscribers","subscription_url":"https://api.github.com/repos/andela/dashiki-healthchecks/subscription","commits_url":"https://api.github.com/repos/andela/dashiki-healthchecks/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/dashiki-healthchecks/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/dashiki-healthchecks/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/dashiki-healthchecks/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/dashiki-healthchecks/contents/{+path}","compare_url":"https://api.github.com/repos/andela/dashiki-healthchecks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/dashiki-healthchecks/merges","archive_url":"https://api.github.com/repos/andela/dashiki-healthchecks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/dashiki-healthchecks/downloads","issues_url":"https://api.github.com/repos/andela/dashiki-healthchecks/issues{/number}","pulls_url":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/dashiki-healthchecks/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/dashiki-healthchecks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/dashiki-healthchecks/labels{/name}","releases_url":"https://api.github.com/repos/andela/dashiki-healthchecks/releases{/id}","deployments_url":"https://api.github.com/repos/andela/dashiki-healthchecks/deployments","created_at":"2017-06-09T10:43:45Z","updated_at":"2017-06-28T16:00:17Z","pushed_at":"2017-07-17T17:59:50Z","git_url":"git://github.com/andela/dashiki-healthchecks.git","ssh_url":"git@github.com:andela/dashiki-healthchecks.git","clone_url":"https://github.com/andela/dashiki-healthchecks.git","svn_url":"https://github.com/andela/dashiki-healthchecks","homepage":null,"size":3473,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"6c02f9d617a54b62eca858efe6192ec3f3df67fe","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":93849088,"name":"dashiki-healthchecks","full_name":"andela/dashiki-healthchecks","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/dashiki-healthchecks","description":null,"fork":false,"url":"https://api.github.com/repos/andela/dashiki-healthchecks","forks_url":"https://api.github.com/repos/andela/dashiki-healthchecks/forks","keys_url":"https://api.github.com/repos/andela/dashiki-healthchecks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/dashiki-healthchecks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/dashiki-healthchecks/teams","hooks_url":"https://api.github.com/repos/andela/dashiki-healthchecks/hooks","issue_events_url":"https://api.github.com/repos/andela/dashiki-healthchecks/issues/events{/number}","events_url":"https://api.github.com/repos/andela/dashiki-healthchecks/events","assignees_url":"https://api.github.com/repos/andela/dashiki-healthchecks/assignees{/user}","branches_url":"https://api.github.com/repos/andela/dashiki-healthchecks/branches{/branch}","tags_url":"https://api.github.com/repos/andela/dashiki-healthchecks/tags","blobs_url":"https://api.github.com/repos/andela/dashiki-healthchecks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/dashiki-healthchecks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/dashiki-healthchecks/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/dashiki-healthchecks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/dashiki-healthchecks/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/dashiki-healthchecks/languages","stargazers_url":"https://api.github.com/repos/andela/dashiki-healthchecks/stargazers","contributors_url":"https://api.github.com/repos/andela/dashiki-healthchecks/contributors","subscribers_url":"https://api.github.com/repos/andela/dashiki-healthchecks/subscribers","subscription_url":"https://api.github.com/repos/andela/dashiki-healthchecks/subscription","commits_url":"https://api.github.com/repos/andela/dashiki-healthchecks/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/dashiki-healthchecks/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/dashiki-healthchecks/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/dashiki-healthchecks/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/dashiki-healthchecks/contents/{+path}","compare_url":"https://api.github.com/repos/andela/dashiki-healthchecks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/dashiki-healthchecks/merges","archive_url":"https://api.github.com/repos/andela/dashiki-healthchecks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/dashiki-healthchecks/downloads","issues_url":"https://api.github.com/repos/andela/dashiki-healthchecks/issues{/number}","pulls_url":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/dashiki-healthchecks/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/dashiki-healthchecks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/dashiki-healthchecks/labels{/name}","releases_url":"https://api.github.com/repos/andela/dashiki-healthchecks/releases{/id}","deployments_url":"https://api.github.com/repos/andela/dashiki-healthchecks/deployments","created_at":"2017-06-09T10:43:45Z","updated_at":"2017-06-28T16:00:17Z","pushed_at":"2017-07-17T17:59:50Z","git_url":"git://github.com/andela/dashiki-healthchecks.git","ssh_url":"git@github.com:andela/dashiki-healthchecks.git","clone_url":"https://github.com/andela/dashiki-healthchecks.git","svn_url":"https://github.com/andela/dashiki-healthchecks","homepage":null,"size":3473,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/15"},"html":{"href":"https://github.com/andela/dashiki-healthchecks/pull/15"},"issue":{"href":"https://api.github.com/repos/andela/dashiki-healthchecks/issues/15"},"comments":{"href":"https://api.github.com/repos/andela/dashiki-healthchecks/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/dashiki-healthchecks/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/andela/dashiki-healthchecks/statuses/30df789cc34b7909775bd7a5b2359914af48ad83"}}}}
{"actor":{"display_login":"amwaleh"}}