{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/pulls/2","id":49954068,"html_url":"https://github.com/UKHomeOffice/hof-controllers/pull/2","diff_url":"https://github.com/UKHomeOffice/hof-controllers/pull/2.diff","patch_url":"https://github.com/UKHomeOffice/hof-controllers/pull/2.patch","issue_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/issues/2","number":2,"state":"open","locked":false,"title":"add date-controller with changes and documentation","user":{"login":"JoeChapman","id":1274835,"avatar_url":"https://avatars.githubusercontent.com/u/1274835?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeChapman","html_url":"https://github.com/JoeChapman","followers_url":"https://api.github.com/users/JoeChapman/followers","following_url":"https://api.github.com/users/JoeChapman/following{/other_user}","gists_url":"https://api.github.com/users/JoeChapman/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeChapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeChapman/subscriptions","organizations_url":"https://api.github.com/users/JoeChapman/orgs","repos_url":"https://api.github.com/users/JoeChapman/repos","events_url":"https://api.github.com/users/JoeChapman/events{/privacy}","received_events_url":"https://api.github.com/users/JoeChapman/received_events","type":"User","site_admin":false},"body":"- add date controller \r\n- document date controller\r\n- add error controller without documentation. (it just delegates to hmpo form controller error)\r\n- ensure tests reflect functionality of controller\r\n- amend date controller:\r\n    - default validators\r\n    - defaults can be overriden with field level validate property\r\n    - if overriding, always add `validate` property to \"dateKey\" field.","created_at":"2015-11-06T13:37:30Z","updated_at":"2015-11-06T13:37:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/pulls/2/commits","review_comments_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/pulls/2/comments","review_comment_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/issues/2/comments","statuses_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/statuses/92b31a424d4d95cc1511803443841f1ac7e0043d","head":{"label":"UKHomeOffice:date-controller","ref":"date-controller","sha":"92b31a424d4d95cc1511803443841f1ac7e0043d","user":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"repo":{"id":45553140,"name":"hof-controllers","full_name":"UKHomeOffice/hof-controllers","owner":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UKHomeOffice/hof-controllers","description":"A collection of controllers commonly used in HOF","fork":false,"url":"https://api.github.com/repos/UKHomeOffice/hof-controllers","forks_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/forks","keys_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/teams","hooks_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/hooks","issue_events_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/issues/events{/number}","events_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/events","assignees_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/assignees{/user}","branches_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/branches{/branch}","tags_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/tags","blobs_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/statuses/{sha}","languages_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/languages","stargazers_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/stargazers","contributors_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/contributors","subscribers_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/subscribers","subscription_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/subscription","commits_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/contents/{+path}","compare_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/merges","archive_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/downloads","issues_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/issues{/number}","pulls_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/pulls{/number}","milestones_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/milestones{/number}","notifications_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/labels{/name}","releases_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/releases{/id}","created_at":"2015-11-04T16:48:58Z","updated_at":"2015-11-05T12:51:02Z","pushed_at":"2015-11-06T13:31:48Z","git_url":"git://github.com/UKHomeOffice/hof-controllers.git","ssh_url":"git@github.com:UKHomeOffice/hof-controllers.git","clone_url":"https://github.com/UKHomeOffice/hof-controllers.git","svn_url":"https://github.com/UKHomeOffice/hof-controllers","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"UKHomeOffice:master","ref":"master","sha":"498d03c99b7696b2315b3012cdbfd462a06af60d","user":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"repo":{"id":45553140,"name":"hof-controllers","full_name":"UKHomeOffice/hof-controllers","owner":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UKHomeOffice/hof-controllers","description":"A collection of controllers commonly used in HOF","fork":false,"url":"https://api.github.com/repos/UKHomeOffice/hof-controllers","forks_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/forks","keys_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/teams","hooks_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/hooks","issue_events_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/issues/events{/number}","events_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/events","assignees_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/assignees{/user}","branches_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/branches{/branch}","tags_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/tags","blobs_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/statuses/{sha}","languages_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/languages","stargazers_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/stargazers","contributors_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/contributors","subscribers_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/subscribers","subscription_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/subscription","commits_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/contents/{+path}","compare_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/merges","archive_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/downloads","issues_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/issues{/number}","pulls_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/pulls{/number}","milestones_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/milestones{/number}","notifications_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/labels{/name}","releases_url":"https://api.github.com/repos/UKHomeOffice/hof-controllers/releases{/id}","created_at":"2015-11-04T16:48:58Z","updated_at":"2015-11-05T12:51:02Z","pushed_at":"2015-11-06T13:31:48Z","git_url":"git://github.com/UKHomeOffice/hof-controllers.git","ssh_url":"git@github.com:UKHomeOffice/hof-controllers.git","clone_url":"https://github.com/UKHomeOffice/hof-controllers.git","svn_url":"https://github.com/UKHomeOffice/hof-controllers","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UKHomeOffice/hof-controllers/pulls/2"},"html":{"href":"https://github.com/UKHomeOffice/hof-controllers/pull/2"},"issue":{"href":"https://api.github.com/repos/UKHomeOffice/hof-controllers/issues/2"},"comments":{"href":"https://api.github.com/repos/UKHomeOffice/hof-controllers/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/UKHomeOffice/hof-controllers/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/UKHomeOffice/hof-controllers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UKHomeOffice/hof-controllers/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/UKHomeOffice/hof-controllers/statuses/92b31a424d4d95cc1511803443841f1ac7e0043d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":504,"deletions":1,"changed_files":5}}