{"action":"opened","number":51,"pull_request":{"url":"https://api.github.com/repos/allanhaywood/CS441/pulls/51","id":95395791,"html_url":"https://github.com/allanhaywood/CS441/pull/51","diff_url":"https://github.com/allanhaywood/CS441/pull/51.diff","patch_url":"https://github.com/allanhaywood/CS441/pull/51.patch","issue_url":"https://api.github.com/repos/allanhaywood/CS441/issues/51","number":51,"state":"open","locked":false,"title":"Master database manager - Added watched episode backend support","user":{"login":"allanhaywood","id":11560359,"avatar_url":"https://avatars.githubusercontent.com/u/11560359?v=3","gravatar_id":"","url":"https://api.github.com/users/allanhaywood","html_url":"https://github.com/allanhaywood","followers_url":"https://api.github.com/users/allanhaywood/followers","following_url":"https://api.github.com/users/allanhaywood/following{/other_user}","gists_url":"https://api.github.com/users/allanhaywood/gists{/gist_id}","starred_url":"https://api.github.com/users/allanhaywood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanhaywood/subscriptions","organizations_url":"https://api.github.com/users/allanhaywood/orgs","repos_url":"https://api.github.com/users/allanhaywood/repos","events_url":"https://api.github.com/users/allanhaywood/events{/privacy}","received_events_url":"https://api.github.com/users/allanhaywood/received_events","type":"User","site_admin":false},"body":"Added addWatchedEpisode and removeWatchedEpisode to:\r\niconnection interface\r\njsonconnection\r\ndatabasemanager\r\n\r\nAdded tests\r\n\r\nRefactored User class a bit to simplify code, and make lookups more efficient. This also changed so that it doesn't create errors to add an episode that is already watched to the list, or remove one that isn't there. I couldn't think of an instance where this should be considered an error. NOTE: We could add asserts for this, if we wanted to expose it in debug builds.\r\n\r\nNOTE: the EpisodeIdentifier struct has had some capabilities added to support storing in json, and using a QMap, we may want to consider making it a full blown class.","created_at":"2016-11-27T08:11:17Z","updated_at":"2016-11-27T08:11:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/allanhaywood/CS441/pulls/51/commits","review_comments_url":"https://api.github.com/repos/allanhaywood/CS441/pulls/51/comments","review_comment_url":"https://api.github.com/repos/allanhaywood/CS441/pulls/comments{/number}","comments_url":"https://api.github.com/repos/allanhaywood/CS441/issues/51/comments","statuses_url":"https://api.github.com/repos/allanhaywood/CS441/statuses/7479b49545b63ebb9a4da50a0f94cc306ddde797","head":{"label":"allanhaywood:master_database_manager","ref":"master_database_manager","sha":"7479b49545b63ebb9a4da50a0f94cc306ddde797","user":{"login":"allanhaywood","id":11560359,"avatar_url":"https://avatars.githubusercontent.com/u/11560359?v=3","gravatar_id":"","url":"https://api.github.com/users/allanhaywood","html_url":"https://github.com/allanhaywood","followers_url":"https://api.github.com/users/allanhaywood/followers","following_url":"https://api.github.com/users/allanhaywood/following{/other_user}","gists_url":"https://api.github.com/users/allanhaywood/gists{/gist_id}","starred_url":"https://api.github.com/users/allanhaywood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanhaywood/subscriptions","organizations_url":"https://api.github.com/users/allanhaywood/orgs","repos_url":"https://api.github.com/users/allanhaywood/repos","events_url":"https://api.github.com/users/allanhaywood/events{/privacy}","received_events_url":"https://api.github.com/users/allanhaywood/received_events","type":"User","site_admin":false},"repo":{"id":67254894,"name":"CS441","full_name":"allanhaywood/CS441","owner":{"login":"allanhaywood","id":11560359,"avatar_url":"https://avatars.githubusercontent.com/u/11560359?v=3","gravatar_id":"","url":"https://api.github.com/users/allanhaywood","html_url":"https://github.com/allanhaywood","followers_url":"https://api.github.com/users/allanhaywood/followers","following_url":"https://api.github.com/users/allanhaywood/following{/other_user}","gists_url":"https://api.github.com/users/allanhaywood/gists{/gist_id}","starred_url":"https://api.github.com/users/allanhaywood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanhaywood/subscriptions","organizations_url":"https://api.github.com/users/allanhaywood/orgs","repos_url":"https://api.github.com/users/allanhaywood/repos","events_url":"https://api.github.com/users/allanhaywood/events{/privacy}","received_events_url":"https://api.github.com/users/allanhaywood/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/allanhaywood/CS441","description":"Project for Fall 2016 Software Engineering course","fork":false,"url":"https://api.github.com/repos/allanhaywood/CS441","forks_url":"https://api.github.com/repos/allanhaywood/CS441/forks","keys_url":"https://api.github.com/repos/allanhaywood/CS441/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allanhaywood/CS441/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allanhaywood/CS441/teams","hooks_url":"https://api.github.com/repos/allanhaywood/CS441/hooks","issue_events_url":"https://api.github.com/repos/allanhaywood/CS441/issues/events{/number}","events_url":"https://api.github.com/repos/allanhaywood/CS441/events","assignees_url":"https://api.github.com/repos/allanhaywood/CS441/assignees{/user}","branches_url":"https://api.github.com/repos/allanhaywood/CS441/branches{/branch}","tags_url":"https://api.github.com/repos/allanhaywood/CS441/tags","blobs_url":"https://api.github.com/repos/allanhaywood/CS441/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allanhaywood/CS441/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allanhaywood/CS441/git/refs{/sha}","trees_url":"https://api.github.com/repos/allanhaywood/CS441/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allanhaywood/CS441/statuses/{sha}","languages_url":"https://api.github.com/repos/allanhaywood/CS441/languages","stargazers_url":"https://api.github.com/repos/allanhaywood/CS441/stargazers","contributors_url":"https://api.github.com/repos/allanhaywood/CS441/contributors","subscribers_url":"https://api.github.com/repos/allanhaywood/CS441/subscribers","subscription_url":"https://api.github.com/repos/allanhaywood/CS441/subscription","commits_url":"https://api.github.com/repos/allanhaywood/CS441/commits{/sha}","git_commits_url":"https://api.github.com/repos/allanhaywood/CS441/git/commits{/sha}","comments_url":"https://api.github.com/repos/allanhaywood/CS441/comments{/number}","issue_comment_url":"https://api.github.com/repos/allanhaywood/CS441/issues/comments{/number}","contents_url":"https://api.github.com/repos/allanhaywood/CS441/contents/{+path}","compare_url":"https://api.github.com/repos/allanhaywood/CS441/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allanhaywood/CS441/merges","archive_url":"https://api.github.com/repos/allanhaywood/CS441/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allanhaywood/CS441/downloads","issues_url":"https://api.github.com/repos/allanhaywood/CS441/issues{/number}","pulls_url":"https://api.github.com/repos/allanhaywood/CS441/pulls{/number}","milestones_url":"https://api.github.com/repos/allanhaywood/CS441/milestones{/number}","notifications_url":"https://api.github.com/repos/allanhaywood/CS441/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allanhaywood/CS441/labels{/name}","releases_url":"https://api.github.com/repos/allanhaywood/CS441/releases{/id}","deployments_url":"https://api.github.com/repos/allanhaywood/CS441/deployments","created_at":"2016-09-02T21:07:44Z","updated_at":"2016-10-31T00:50:47Z","pushed_at":"2016-11-27T08:07:55Z","git_url":"git://github.com/allanhaywood/CS441.git","ssh_url":"git@github.com:allanhaywood/CS441.git","clone_url":"https://github.com/allanhaywood/CS441.git","svn_url":"https://github.com/allanhaywood/CS441","homepage":null,"size":837,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"allanhaywood:master","ref":"master","sha":"644f1d664a7a88101100ba300bfcadc295ddcffc","user":{"login":"allanhaywood","id":11560359,"avatar_url":"https://avatars.githubusercontent.com/u/11560359?v=3","gravatar_id":"","url":"https://api.github.com/users/allanhaywood","html_url":"https://github.com/allanhaywood","followers_url":"https://api.github.com/users/allanhaywood/followers","following_url":"https://api.github.com/users/allanhaywood/following{/other_user}","gists_url":"https://api.github.com/users/allanhaywood/gists{/gist_id}","starred_url":"https://api.github.com/users/allanhaywood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanhaywood/subscriptions","organizations_url":"https://api.github.com/users/allanhaywood/orgs","repos_url":"https://api.github.com/users/allanhaywood/repos","events_url":"https://api.github.com/users/allanhaywood/events{/privacy}","received_events_url":"https://api.github.com/users/allanhaywood/received_events","type":"User","site_admin":false},"repo":{"id":67254894,"name":"CS441","full_name":"allanhaywood/CS441","owner":{"login":"allanhaywood","id":11560359,"avatar_url":"https://avatars.githubusercontent.com/u/11560359?v=3","gravatar_id":"","url":"https://api.github.com/users/allanhaywood","html_url":"https://github.com/allanhaywood","followers_url":"https://api.github.com/users/allanhaywood/followers","following_url":"https://api.github.com/users/allanhaywood/following{/other_user}","gists_url":"https://api.github.com/users/allanhaywood/gists{/gist_id}","starred_url":"https://api.github.com/users/allanhaywood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanhaywood/subscriptions","organizations_url":"https://api.github.com/users/allanhaywood/orgs","repos_url":"https://api.github.com/users/allanhaywood/repos","events_url":"https://api.github.com/users/allanhaywood/events{/privacy}","received_events_url":"https://api.github.com/users/allanhaywood/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/allanhaywood/CS441","description":"Project for Fall 2016 Software Engineering course","fork":false,"url":"https://api.github.com/repos/allanhaywood/CS441","forks_url":"https://api.github.com/repos/allanhaywood/CS441/forks","keys_url":"https://api.github.com/repos/allanhaywood/CS441/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allanhaywood/CS441/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allanhaywood/CS441/teams","hooks_url":"https://api.github.com/repos/allanhaywood/CS441/hooks","issue_events_url":"https://api.github.com/repos/allanhaywood/CS441/issues/events{/number}","events_url":"https://api.github.com/repos/allanhaywood/CS441/events","assignees_url":"https://api.github.com/repos/allanhaywood/CS441/assignees{/user}","branches_url":"https://api.github.com/repos/allanhaywood/CS441/branches{/branch}","tags_url":"https://api.github.com/repos/allanhaywood/CS441/tags","blobs_url":"https://api.github.com/repos/allanhaywood/CS441/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allanhaywood/CS441/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allanhaywood/CS441/git/refs{/sha}","trees_url":"https://api.github.com/repos/allanhaywood/CS441/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allanhaywood/CS441/statuses/{sha}","languages_url":"https://api.github.com/repos/allanhaywood/CS441/languages","stargazers_url":"https://api.github.com/repos/allanhaywood/CS441/stargazers","contributors_url":"https://api.github.com/repos/allanhaywood/CS441/contributors","subscribers_url":"https://api.github.com/repos/allanhaywood/CS441/subscribers","subscription_url":"https://api.github.com/repos/allanhaywood/CS441/subscription","commits_url":"https://api.github.com/repos/allanhaywood/CS441/commits{/sha}","git_commits_url":"https://api.github.com/repos/allanhaywood/CS441/git/commits{/sha}","comments_url":"https://api.github.com/repos/allanhaywood/CS441/comments{/number}","issue_comment_url":"https://api.github.com/repos/allanhaywood/CS441/issues/comments{/number}","contents_url":"https://api.github.com/repos/allanhaywood/CS441/contents/{+path}","compare_url":"https://api.github.com/repos/allanhaywood/CS441/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allanhaywood/CS441/merges","archive_url":"https://api.github.com/repos/allanhaywood/CS441/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allanhaywood/CS441/downloads","issues_url":"https://api.github.com/repos/allanhaywood/CS441/issues{/number}","pulls_url":"https://api.github.com/repos/allanhaywood/CS441/pulls{/number}","milestones_url":"https://api.github.com/repos/allanhaywood/CS441/milestones{/number}","notifications_url":"https://api.github.com/repos/allanhaywood/CS441/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allanhaywood/CS441/labels{/name}","releases_url":"https://api.github.com/repos/allanhaywood/CS441/releases{/id}","deployments_url":"https://api.github.com/repos/allanhaywood/CS441/deployments","created_at":"2016-09-02T21:07:44Z","updated_at":"2016-10-31T00:50:47Z","pushed_at":"2016-11-27T08:07:55Z","git_url":"git://github.com/allanhaywood/CS441.git","ssh_url":"git@github.com:allanhaywood/CS441.git","clone_url":"https://github.com/allanhaywood/CS441.git","svn_url":"https://github.com/allanhaywood/CS441","homepage":null,"size":837,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/allanhaywood/CS441/pulls/51"},"html":{"href":"https://github.com/allanhaywood/CS441/pull/51"},"issue":{"href":"https://api.github.com/repos/allanhaywood/CS441/issues/51"},"comments":{"href":"https://api.github.com/repos/allanhaywood/CS441/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/allanhaywood/CS441/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/allanhaywood/CS441/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/allanhaywood/CS441/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/allanhaywood/CS441/statuses/7479b49545b63ebb9a4da50a0f94cc306ddde797"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":502,"deletions":103,"changed_files":13}}
{"actor":{"display_login":"allanhaywood"}}