{"action":"created","issue":{"url":"https://api.github.com/repos/18F/dolores-landingham-bot/issues/159","repository_url":"https://api.github.com/repos/18F/dolores-landingham-bot","labels_url":"https://api.github.com/repos/18F/dolores-landingham-bot/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/18F/dolores-landingham-bot/issues/159/comments","events_url":"https://api.github.com/repos/18F/dolores-landingham-bot/issues/159/events","html_url":"https://github.com/18F/dolores-landingham-bot/pull/159","id":146811476,"number":159,"title":"Adding end_date to scheduled_messages","user":{"login":"fentie","id":273815,"avatar_url":"https://avatars.githubusercontent.com/u/273815?v=3","gravatar_id":"","url":"https://api.github.com/users/fentie","html_url":"https://github.com/fentie","followers_url":"https://api.github.com/users/fentie/followers","following_url":"https://api.github.com/users/fentie/following{/other_user}","gists_url":"https://api.github.com/users/fentie/gists{/gist_id}","starred_url":"https://api.github.com/users/fentie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fentie/subscriptions","organizations_url":"https://api.github.com/users/fentie/orgs","repos_url":"https://api.github.com/users/fentie/repos","events_url":"https://api.github.com/users/fentie/events{/privacy}","received_events_url":"https://api.github.com/users/fentie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-08T04:36:50Z","updated_at":"2016-04-08T16:18:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/18F/dolores-landingham-bot/pulls/159","html_url":"https://github.com/18F/dolores-landingham-bot/pull/159","diff_url":"https://github.com/18F/dolores-landingham-bot/pull/159.diff","patch_url":"https://github.com/18F/dolores-landingham-bot/pull/159.patch"},"body":"migration to add new end_date field to scheduled messages, and schema update\r\nfixing typo in contributing instructions\r\nadding end date to allowed parameters in scheduled messages controller\r\nupdating templates to reflect new field\r\nnew spec showing optional creation of scheduled message with end date\r\nnew scope to retrieve only active messages (no end date or future end date)\r\nupdating message sender to only send active messages, using new scope\r\nupdating contributing instructions to reflect code drift\r\nmoving to method syntax vs scope. fixing logic bug. adding spec\r\nspec for sending only active messages"},"comment":{"url":"https://api.github.com/repos/18F/dolores-landingham-bot/issues/comments/207498869","html_url":"https://github.com/18F/dolores-landingham-bot/pull/159#issuecomment-207498869","issue_url":"https://api.github.com/repos/18F/dolores-landingham-bot/issues/159","id":207498869,"user":{"login":"gemfarmer","id":4803473,"avatar_url":"https://avatars.githubusercontent.com/u/4803473?v=3","gravatar_id":"","url":"https://api.github.com/users/gemfarmer","html_url":"https://github.com/gemfarmer","followers_url":"https://api.github.com/users/gemfarmer/followers","following_url":"https://api.github.com/users/gemfarmer/following{/other_user}","gists_url":"https://api.github.com/users/gemfarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/gemfarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemfarmer/subscriptions","organizations_url":"https://api.github.com/users/gemfarmer/orgs","repos_url":"https://api.github.com/users/gemfarmer/repos","events_url":"https://api.github.com/users/gemfarmer/events{/privacy}","received_events_url":"https://api.github.com/users/gemfarmer/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T16:18:29Z","updated_at":"2016-04-08T16:18:29Z","body":"Hey @fentie. Thanks for the PR! \r\n\r\nIt looks like in addition to adding an end date, you also [modified the env configs](https://github.com/18F/dolores-landingham-bot/pull/159/files#diff-6a3371457528722a734f3c51d9238c13R117). Before merging could you please do the following for deployment and documentation purposes?\r\n- [ ] add `AUTH_DOMAIN: gsa.gov` to the [`manifest.yml`](https://github.com/18F/dolores-landingham-bot/blob/master/manifest.yml#L11) within `dolores-app` and `dolores-staging` \r\n- [ ] add `AUTH_DOMAIN='gsa.gov'` to the [`.sample.env`](https://github.com/18F/dolores-landingham-bot/blob/master/.sample.env#L4) "}}