{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/Daviddt17/island-android-app/pulls/32","id":62758298,"html_url":"https://github.com/Daviddt17/island-android-app/pull/32","diff_url":"https://github.com/Daviddt17/island-android-app/pull/32.diff","patch_url":"https://github.com/Daviddt17/island-android-app/pull/32.patch","issue_url":"https://api.github.com/repos/Daviddt17/island-android-app/issues/32","number":32,"state":"open","locked":false,"title":"User can change their name","user":{"login":"gopenshaw","id":5915490,"avatar_url":"https://avatars.githubusercontent.com/u/5915490?v=3","gravatar_id":"","url":"https://api.github.com/users/gopenshaw","html_url":"https://github.com/gopenshaw","followers_url":"https://api.github.com/users/gopenshaw/followers","following_url":"https://api.github.com/users/gopenshaw/following{/other_user}","gists_url":"https://api.github.com/users/gopenshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/gopenshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopenshaw/subscriptions","organizations_url":"https://api.github.com/users/gopenshaw/orgs","repos_url":"https://api.github.com/users/gopenshaw/repos","events_url":"https://api.github.com/users/gopenshaw/events{/privacy}","received_events_url":"https://api.github.com/users/gopenshaw/received_events","type":"User","site_admin":false},"body":"When \"Edit Username\" is clicked, a user retains their identity, but their display name changes.\r\n\r\nAll other users see display name updates when they swipe refresh on the feed, view post, profile, or view profile. The only display name that doesn't change is the one with the post in the view post activity (all the comments update correctly). I think we will need a cursor loader and a cursor adapter for the post, but I am not sure. I think that change could be another PR.\r\n\r\nThis PR sets up some basic classes for an event stream. User's query for new events from all of the pseudonyms they know. That is more efficient (and more simple) because we can get all types of updates with a single query.\r\n\r\nCurrently the only event is a `ChangeDisplayNameEvent`, so there is no field for event type. When we do unfriending, we will probably have a `ChangeAliasEvent` and a `ChangeGroupKeyEvent`. Then we can handle multiple event types. The assumption of the event type is made in `EncryptedEvent` line 22. We are assuming that all encrypted events are instances of `ChangeDisplayNameEvent`","created_at":"2016-03-14T14:42:28Z","updated_at":"2016-03-14T14:42:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Daviddt17/island-android-app/pulls/32/commits","review_comments_url":"https://api.github.com/repos/Daviddt17/island-android-app/pulls/32/comments","review_comment_url":"https://api.github.com/repos/Daviddt17/island-android-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Daviddt17/island-android-app/issues/32/comments","statuses_url":"https://api.github.com/repos/Daviddt17/island-android-app/statuses/ee471dae512f27bb9b25dc0972965ab0c7c4b9dc","head":{"label":"Daviddt17:change-display-name","ref":"change-display-name","sha":"ee471dae512f27bb9b25dc0972965ab0c7c4b9dc","user":{"login":"Daviddt17","id":5295379,"avatar_url":"https://avatars.githubusercontent.com/u/5295379?v=3","gravatar_id":"","url":"https://api.github.com/users/Daviddt17","html_url":"https://github.com/Daviddt17","followers_url":"https://api.github.com/users/Daviddt17/followers","following_url":"https://api.github.com/users/Daviddt17/following{/other_user}","gists_url":"https://api.github.com/users/Daviddt17/gists{/gist_id}","starred_url":"https://api.github.com/users/Daviddt17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daviddt17/subscriptions","organizations_url":"https://api.github.com/users/Daviddt17/orgs","repos_url":"https://api.github.com/users/Daviddt17/repos","events_url":"https://api.github.com/users/Daviddt17/events{/privacy}","received_events_url":"https://api.github.com/users/Daviddt17/received_events","type":"User","site_admin":false},"repo":{"id":48394477,"name":"island-android-app","full_name":"Daviddt17/island-android-app","owner":{"login":"Daviddt17","id":5295379,"avatar_url":"https://avatars.githubusercontent.com/u/5295379?v=3","gravatar_id":"","url":"https://api.github.com/users/Daviddt17","html_url":"https://github.com/Daviddt17","followers_url":"https://api.github.com/users/Daviddt17/followers","following_url":"https://api.github.com/users/Daviddt17/following{/other_user}","gists_url":"https://api.github.com/users/Daviddt17/gists{/gist_id}","starred_url":"https://api.github.com/users/Daviddt17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daviddt17/subscriptions","organizations_url":"https://api.github.com/users/Daviddt17/orgs","repos_url":"https://api.github.com/users/Daviddt17/repos","events_url":"https://api.github.com/users/Daviddt17/events{/privacy}","received_events_url":"https://api.github.com/users/Daviddt17/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Daviddt17/island-android-app","description":"Android app for Island","fork":false,"url":"https://api.github.com/repos/Daviddt17/island-android-app","forks_url":"https://api.github.com/repos/Daviddt17/island-android-app/forks","keys_url":"https://api.github.com/repos/Daviddt17/island-android-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Daviddt17/island-android-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Daviddt17/island-android-app/teams","hooks_url":"https://api.github.com/repos/Daviddt17/island-android-app/hooks","issue_events_url":"https://api.github.com/repos/Daviddt17/island-android-app/issues/events{/number}","events_url":"https://api.github.com/repos/Daviddt17/island-android-app/events","assignees_url":"https://api.github.com/repos/Daviddt17/island-android-app/assignees{/user}","branches_url":"https://api.github.com/repos/Daviddt17/island-android-app/branches{/branch}","tags_url":"https://api.github.com/repos/Daviddt17/island-android-app/tags","blobs_url":"https://api.github.com/repos/Daviddt17/island-android-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Daviddt17/island-android-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Daviddt17/island-android-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Daviddt17/island-android-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Daviddt17/island-android-app/statuses/{sha}","languages_url":"https://api.github.com/repos/Daviddt17/island-android-app/languages","stargazers_url":"https://api.github.com/repos/Daviddt17/island-android-app/stargazers","contributors_url":"https://api.github.com/repos/Daviddt17/island-android-app/contributors","subscribers_url":"https://api.github.com/repos/Daviddt17/island-android-app/subscribers","subscription_url":"https://api.github.com/repos/Daviddt17/island-android-app/subscription","commits_url":"https://api.github.com/repos/Daviddt17/island-android-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Daviddt17/island-android-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Daviddt17/island-android-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Daviddt17/island-android-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Daviddt17/island-android-app/contents/{+path}","compare_url":"https://api.github.com/repos/Daviddt17/island-android-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Daviddt17/island-android-app/merges","archive_url":"https://api.github.com/repos/Daviddt17/island-android-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Daviddt17/island-android-app/downloads","issues_url":"https://api.github.com/repos/Daviddt17/island-android-app/issues{/number}","pulls_url":"https://api.github.com/repos/Daviddt17/island-android-app/pulls{/number}","milestones_url":"https://api.github.com/repos/Daviddt17/island-android-app/milestones{/number}","notifications_url":"https://api.github.com/repos/Daviddt17/island-android-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Daviddt17/island-android-app/labels{/name}","releases_url":"https://api.github.com/repos/Daviddt17/island-android-app/releases{/id}","deployments_url":"https://api.github.com/repos/Daviddt17/island-android-app/deployments","created_at":"2015-12-21T21:14:19Z","updated_at":"2016-01-16T20:42:45Z","pushed_at":"2016-03-14T14:30:32Z","git_url":"git://github.com/Daviddt17/island-android-app.git","ssh_url":"git@github.com:Daviddt17/island-android-app.git","clone_url":"https://github.com/Daviddt17/island-android-app.git","svn_url":"https://github.com/Daviddt17/island-android-app","homepage":null,"size":957,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Daviddt17:master","ref":"master","sha":"463fad570d81f3eb11264eb724ced6c910ab57fb","user":{"login":"Daviddt17","id":5295379,"avatar_url":"https://avatars.githubusercontent.com/u/5295379?v=3","gravatar_id":"","url":"https://api.github.com/users/Daviddt17","html_url":"https://github.com/Daviddt17","followers_url":"https://api.github.com/users/Daviddt17/followers","following_url":"https://api.github.com/users/Daviddt17/following{/other_user}","gists_url":"https://api.github.com/users/Daviddt17/gists{/gist_id}","starred_url":"https://api.github.com/users/Daviddt17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daviddt17/subscriptions","organizations_url":"https://api.github.com/users/Daviddt17/orgs","repos_url":"https://api.github.com/users/Daviddt17/repos","events_url":"https://api.github.com/users/Daviddt17/events{/privacy}","received_events_url":"https://api.github.com/users/Daviddt17/received_events","type":"User","site_admin":false},"repo":{"id":48394477,"name":"island-android-app","full_name":"Daviddt17/island-android-app","owner":{"login":"Daviddt17","id":5295379,"avatar_url":"https://avatars.githubusercontent.com/u/5295379?v=3","gravatar_id":"","url":"https://api.github.com/users/Daviddt17","html_url":"https://github.com/Daviddt17","followers_url":"https://api.github.com/users/Daviddt17/followers","following_url":"https://api.github.com/users/Daviddt17/following{/other_user}","gists_url":"https://api.github.com/users/Daviddt17/gists{/gist_id}","starred_url":"https://api.github.com/users/Daviddt17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daviddt17/subscriptions","organizations_url":"https://api.github.com/users/Daviddt17/orgs","repos_url":"https://api.github.com/users/Daviddt17/repos","events_url":"https://api.github.com/users/Daviddt17/events{/privacy}","received_events_url":"https://api.github.com/users/Daviddt17/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Daviddt17/island-android-app","description":"Android app for Island","fork":false,"url":"https://api.github.com/repos/Daviddt17/island-android-app","forks_url":"https://api.github.com/repos/Daviddt17/island-android-app/forks","keys_url":"https://api.github.com/repos/Daviddt17/island-android-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Daviddt17/island-android-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Daviddt17/island-android-app/teams","hooks_url":"https://api.github.com/repos/Daviddt17/island-android-app/hooks","issue_events_url":"https://api.github.com/repos/Daviddt17/island-android-app/issues/events{/number}","events_url":"https://api.github.com/repos/Daviddt17/island-android-app/events","assignees_url":"https://api.github.com/repos/Daviddt17/island-android-app/assignees{/user}","branches_url":"https://api.github.com/repos/Daviddt17/island-android-app/branches{/branch}","tags_url":"https://api.github.com/repos/Daviddt17/island-android-app/tags","blobs_url":"https://api.github.com/repos/Daviddt17/island-android-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Daviddt17/island-android-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Daviddt17/island-android-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Daviddt17/island-android-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Daviddt17/island-android-app/statuses/{sha}","languages_url":"https://api.github.com/repos/Daviddt17/island-android-app/languages","stargazers_url":"https://api.github.com/repos/Daviddt17/island-android-app/stargazers","contributors_url":"https://api.github.com/repos/Daviddt17/island-android-app/contributors","subscribers_url":"https://api.github.com/repos/Daviddt17/island-android-app/subscribers","subscription_url":"https://api.github.com/repos/Daviddt17/island-android-app/subscription","commits_url":"https://api.github.com/repos/Daviddt17/island-android-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Daviddt17/island-android-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Daviddt17/island-android-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Daviddt17/island-android-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Daviddt17/island-android-app/contents/{+path}","compare_url":"https://api.github.com/repos/Daviddt17/island-android-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Daviddt17/island-android-app/merges","archive_url":"https://api.github.com/repos/Daviddt17/island-android-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Daviddt17/island-android-app/downloads","issues_url":"https://api.github.com/repos/Daviddt17/island-android-app/issues{/number}","pulls_url":"https://api.github.com/repos/Daviddt17/island-android-app/pulls{/number}","milestones_url":"https://api.github.com/repos/Daviddt17/island-android-app/milestones{/number}","notifications_url":"https://api.github.com/repos/Daviddt17/island-android-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Daviddt17/island-android-app/labels{/name}","releases_url":"https://api.github.com/repos/Daviddt17/island-android-app/releases{/id}","deployments_url":"https://api.github.com/repos/Daviddt17/island-android-app/deployments","created_at":"2015-12-21T21:14:19Z","updated_at":"2016-01-16T20:42:45Z","pushed_at":"2016-03-14T14:30:32Z","git_url":"git://github.com/Daviddt17/island-android-app.git","ssh_url":"git@github.com:Daviddt17/island-android-app.git","clone_url":"https://github.com/Daviddt17/island-android-app.git","svn_url":"https://github.com/Daviddt17/island-android-app","homepage":null,"size":957,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Daviddt17/island-android-app/pulls/32"},"html":{"href":"https://github.com/Daviddt17/island-android-app/pull/32"},"issue":{"href":"https://api.github.com/repos/Daviddt17/island-android-app/issues/32"},"comments":{"href":"https://api.github.com/repos/Daviddt17/island-android-app/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/Daviddt17/island-android-app/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/Daviddt17/island-android-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Daviddt17/island-android-app/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/Daviddt17/island-android-app/statuses/ee471dae512f27bb9b25dc0972965ab0c7c4b9dc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":10,"additions":1523,"deletions":270,"changed_files":31}}