{"action":"closed","number":148,"pull_request":{"url":"https://api.github.com/repos/mysociety/remit/pulls/148","id":63598761,"html_url":"https://github.com/mysociety/remit/pull/148","diff_url":"https://github.com/mysociety/remit/pull/148.diff","patch_url":"https://github.com/mysociety/remit/pull/148.patch","issue_url":"https://api.github.com/repos/mysociety/remit/issues/148","number":148,"state":"closed","locked":false,"title":"WIP: Add delivery reporting indicators","user":{"login":"stevenday","id":663700,"avatar_url":"https://avatars.githubusercontent.com/u/663700?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenday","html_url":"https://github.com/stevenday","followers_url":"https://api.github.com/users/stevenday/followers","following_url":"https://api.github.com/users/stevenday/following{/other_user}","gists_url":"https://api.github.com/users/stevenday/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenday/subscriptions","organizations_url":"https://api.github.com/users/stevenday/orgs","repos_url":"https://api.github.com/users/stevenday/repos","events_url":"https://api.github.com/users/stevenday/events{/privacy}","received_events_url":"https://api.github.com/users/stevenday/received_events","type":"User","site_admin":false},"body":"This adds the delivery reporting indicators feature as described in #145\n\nThe PR includes:\n- New models for the update, the statuses that different aspects of delivery\n  can be in (so that MSF can manage them in the admin) and the request/invite\n  for a user to complete an update on a specific study.\n- A new token field on the user model to allow login-less access\n- A new page for adding DeliveryUpdates\n- A new mailer for sending invite emails\n- A new admin page for emailing all of the users with invites.\n\nCloses #145","created_at":"2016-03-21T17:07:35Z","updated_at":"2016-04-08T14:55:56Z","closed_at":"2016-04-08T14:55:56Z","merged_at":"2016-04-08T14:55:56Z","merge_commit_sha":"b292bcf0fb86dbd4abac5f8deb3d920bee954058","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mysociety/remit/pulls/148/commits","review_comments_url":"https://api.github.com/repos/mysociety/remit/pulls/148/comments","review_comment_url":"https://api.github.com/repos/mysociety/remit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mysociety/remit/issues/148/comments","statuses_url":"https://api.github.com/repos/mysociety/remit/statuses/b292bcf0fb86dbd4abac5f8deb3d920bee954058","head":{"label":"mysociety:issues/145-delivery-updates","ref":"issues/145-delivery-updates","sha":"b292bcf0fb86dbd4abac5f8deb3d920bee954058","user":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"repo":{"id":48167850,"name":"remit","full_name":"mysociety/remit","owner":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysociety/remit","description":"Research Management Information Tool (ReMIT) for Médecins Sans Frontieres' Manson Unit","fork":false,"url":"https://api.github.com/repos/mysociety/remit","forks_url":"https://api.github.com/repos/mysociety/remit/forks","keys_url":"https://api.github.com/repos/mysociety/remit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysociety/remit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysociety/remit/teams","hooks_url":"https://api.github.com/repos/mysociety/remit/hooks","issue_events_url":"https://api.github.com/repos/mysociety/remit/issues/events{/number}","events_url":"https://api.github.com/repos/mysociety/remit/events","assignees_url":"https://api.github.com/repos/mysociety/remit/assignees{/user}","branches_url":"https://api.github.com/repos/mysociety/remit/branches{/branch}","tags_url":"https://api.github.com/repos/mysociety/remit/tags","blobs_url":"https://api.github.com/repos/mysociety/remit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysociety/remit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysociety/remit/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysociety/remit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysociety/remit/statuses/{sha}","languages_url":"https://api.github.com/repos/mysociety/remit/languages","stargazers_url":"https://api.github.com/repos/mysociety/remit/stargazers","contributors_url":"https://api.github.com/repos/mysociety/remit/contributors","subscribers_url":"https://api.github.com/repos/mysociety/remit/subscribers","subscription_url":"https://api.github.com/repos/mysociety/remit/subscription","commits_url":"https://api.github.com/repos/mysociety/remit/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysociety/remit/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysociety/remit/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysociety/remit/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysociety/remit/contents/{+path}","compare_url":"https://api.github.com/repos/mysociety/remit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysociety/remit/merges","archive_url":"https://api.github.com/repos/mysociety/remit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysociety/remit/downloads","issues_url":"https://api.github.com/repos/mysociety/remit/issues{/number}","pulls_url":"https://api.github.com/repos/mysociety/remit/pulls{/number}","milestones_url":"https://api.github.com/repos/mysociety/remit/milestones{/number}","notifications_url":"https://api.github.com/repos/mysociety/remit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysociety/remit/labels{/name}","releases_url":"https://api.github.com/repos/mysociety/remit/releases{/id}","deployments_url":"https://api.github.com/repos/mysociety/remit/deployments","created_at":"2015-12-17T10:23:31Z","updated_at":"2016-01-11T16:28:48Z","pushed_at":"2016-04-08T14:55:56Z","git_url":"git://github.com/mysociety/remit.git","ssh_url":"git@github.com:mysociety/remit.git","clone_url":"https://github.com/mysociety/remit.git","svn_url":"https://github.com/mysociety/remit","homepage":null,"size":645,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":44,"forks":0,"open_issues":44,"watchers":0,"default_branch":"master"}},"base":{"label":"mysociety:master","ref":"master","sha":"b2e095f74c15dec7865dd1afc48f519d9dcef3f4","user":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"repo":{"id":48167850,"name":"remit","full_name":"mysociety/remit","owner":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysociety/remit","description":"Research Management Information Tool (ReMIT) for Médecins Sans Frontieres' Manson Unit","fork":false,"url":"https://api.github.com/repos/mysociety/remit","forks_url":"https://api.github.com/repos/mysociety/remit/forks","keys_url":"https://api.github.com/repos/mysociety/remit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysociety/remit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysociety/remit/teams","hooks_url":"https://api.github.com/repos/mysociety/remit/hooks","issue_events_url":"https://api.github.com/repos/mysociety/remit/issues/events{/number}","events_url":"https://api.github.com/repos/mysociety/remit/events","assignees_url":"https://api.github.com/repos/mysociety/remit/assignees{/user}","branches_url":"https://api.github.com/repos/mysociety/remit/branches{/branch}","tags_url":"https://api.github.com/repos/mysociety/remit/tags","blobs_url":"https://api.github.com/repos/mysociety/remit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysociety/remit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysociety/remit/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysociety/remit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysociety/remit/statuses/{sha}","languages_url":"https://api.github.com/repos/mysociety/remit/languages","stargazers_url":"https://api.github.com/repos/mysociety/remit/stargazers","contributors_url":"https://api.github.com/repos/mysociety/remit/contributors","subscribers_url":"https://api.github.com/repos/mysociety/remit/subscribers","subscription_url":"https://api.github.com/repos/mysociety/remit/subscription","commits_url":"https://api.github.com/repos/mysociety/remit/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysociety/remit/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysociety/remit/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysociety/remit/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysociety/remit/contents/{+path}","compare_url":"https://api.github.com/repos/mysociety/remit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysociety/remit/merges","archive_url":"https://api.github.com/repos/mysociety/remit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysociety/remit/downloads","issues_url":"https://api.github.com/repos/mysociety/remit/issues{/number}","pulls_url":"https://api.github.com/repos/mysociety/remit/pulls{/number}","milestones_url":"https://api.github.com/repos/mysociety/remit/milestones{/number}","notifications_url":"https://api.github.com/repos/mysociety/remit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysociety/remit/labels{/name}","releases_url":"https://api.github.com/repos/mysociety/remit/releases{/id}","deployments_url":"https://api.github.com/repos/mysociety/remit/deployments","created_at":"2015-12-17T10:23:31Z","updated_at":"2016-01-11T16:28:48Z","pushed_at":"2016-04-08T14:55:56Z","git_url":"git://github.com/mysociety/remit.git","ssh_url":"git@github.com:mysociety/remit.git","clone_url":"https://github.com/mysociety/remit.git","svn_url":"https://github.com/mysociety/remit","homepage":null,"size":645,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":44,"forks":0,"open_issues":44,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mysociety/remit/pulls/148"},"html":{"href":"https://github.com/mysociety/remit/pull/148"},"issue":{"href":"https://api.github.com/repos/mysociety/remit/issues/148"},"comments":{"href":"https://api.github.com/repos/mysociety/remit/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/mysociety/remit/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/mysociety/remit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mysociety/remit/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/mysociety/remit/statuses/b292bcf0fb86dbd4abac5f8deb3d920bee954058"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"stevenday","id":663700,"avatar_url":"https://avatars.githubusercontent.com/u/663700?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenday","html_url":"https://github.com/stevenday","followers_url":"https://api.github.com/users/stevenday/followers","following_url":"https://api.github.com/users/stevenday/following{/other_user}","gists_url":"https://api.github.com/users/stevenday/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenday/subscriptions","organizations_url":"https://api.github.com/users/stevenday/orgs","repos_url":"https://api.github.com/users/stevenday/repos","events_url":"https://api.github.com/users/stevenday/events{/privacy}","received_events_url":"https://api.github.com/users/stevenday/received_events","type":"User","site_admin":false},"comments":1,"review_comments":20,"commits":37,"additions":2623,"deletions":1070,"changed_files":142}}