{"action":"created","issue":{"url":"https://api.github.com/repos/18F/identity-idp/issues/299","repository_url":"https://api.github.com/repos/18F/identity-idp","labels_url":"https://api.github.com/repos/18F/identity-idp/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/18F/identity-idp/issues/299/comments","events_url":"https://api.github.com/repos/18F/identity-idp/issues/299/events","html_url":"https://github.com/18F/identity-idp/pull/299","id":166906620,"number":299,"title":"Add table to hold user visible account activity","user":{"login":"sbc100","id":515813,"avatar_url":"https://avatars.githubusercontent.com/u/515813?v=3","gravatar_id":"","url":"https://api.github.com/users/sbc100","html_url":"https://github.com/sbc100","followers_url":"https://api.github.com/users/sbc100/followers","following_url":"https://api.github.com/users/sbc100/following{/other_user}","gists_url":"https://api.github.com/users/sbc100/gists{/gist_id}","starred_url":"https://api.github.com/users/sbc100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbc100/subscriptions","organizations_url":"https://api.github.com/users/sbc100/orgs","repos_url":"https://api.github.com/users/sbc100/repos","events_url":"https://api.github.com/users/sbc100/events{/privacy}","received_events_url":"https://api.github.com/users/sbc100/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/18F/identity-idp/labels/ready%20for%20review","name":"ready for review","color":"0e8a16"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-21T20:09:50Z","updated_at":"2016-07-26T18:22:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/18F/identity-idp/pulls/299","html_url":"https://github.com/18F/identity-idp/pull/299","diff_url":"https://github.com/18F/identity-idp/pull/299.diff","patch_url":"https://github.com/18F/identity-idp/pull/299.patch"},"body":"**Why**: We want to give the user some visibility into\r\nthe history of the activity on their account.  The precise\r\nsubset of events and the retention schedule are not final\r\nbut this gives us a simple framework for managing them.\r\n\r\nfixes https://github.com/18F/identity-private/issues/512"},"comment":{"url":"https://api.github.com/repos/18F/identity-idp/issues/comments/235359159","html_url":"https://github.com/18F/identity-idp/pull/299#issuecomment-235359159","issue_url":"https://api.github.com/repos/18F/identity-idp/issues/299","id":235359159,"user":{"login":"monfresh","id":811150,"avatar_url":"https://avatars.githubusercontent.com/u/811150?v=3","gravatar_id":"","url":"https://api.github.com/users/monfresh","html_url":"https://github.com/monfresh","followers_url":"https://api.github.com/users/monfresh/followers","following_url":"https://api.github.com/users/monfresh/following{/other_user}","gists_url":"https://api.github.com/users/monfresh/gists{/gist_id}","starred_url":"https://api.github.com/users/monfresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monfresh/subscriptions","organizations_url":"https://api.github.com/users/monfresh/orgs","repos_url":"https://api.github.com/users/monfresh/repos","events_url":"https://api.github.com/users/monfresh/events{/privacy}","received_events_url":"https://api.github.com/users/monfresh/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T18:22:45Z","updated_at":"2016-07-26T18:22:45Z","body":"@pkarman If we choose to use Postgres to store events with Ahoy, it becomes read and write. But I agree with Sam that we might prefer to use some other store for Ahoy while still being able to write and read events to and from a DB. One potential solution we discussed over lunch was to customize Ahoy's `track_event` method such that it sends the data to our store of choice and in addition, writes specific events that match a particular name to the DB. That way, the DB only contains the user-facing events."}}
{"actor":{"display_login":"monfresh"}}