{"action":"closed","number":374,"pull_request":{"url":"https://api.github.com/repos/learningequality/kolibri/pulls/374","id":81000567,"html_url":"https://github.com/learningequality/kolibri/pull/374","diff_url":"https://github.com/learningequality/kolibri/pull/374.diff","patch_url":"https://github.com/learningequality/kolibri/pull/374.patch","issue_url":"https://api.github.com/repos/learningequality/kolibri/issues/374","number":374,"state":"closed","locked":false,"title":"Content logging","user":{"login":"jayoshih","id":7447496,"avatar_url":"https://avatars.githubusercontent.com/u/7447496?v=3","gravatar_id":"","url":"https://api.github.com/users/jayoshih","html_url":"https://github.com/jayoshih","followers_url":"https://api.github.com/users/jayoshih/followers","following_url":"https://api.github.com/users/jayoshih/following{/other_user}","gists_url":"https://api.github.com/users/jayoshih/gists{/gist_id}","starred_url":"https://api.github.com/users/jayoshih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayoshih/subscriptions","organizations_url":"https://api.github.com/users/jayoshih/orgs","repos_url":"https://api.github.com/users/jayoshih/repos","events_url":"https://api.github.com/users/jayoshih/events{/privacy}","received_events_url":"https://api.github.com/users/jayoshih/received_events","type":"User","site_admin":false},"body":"## Summary\r\nNew code logs users' interactions with content. The session logs record users' interaction each time they navigate to a piece of content. The summary log records users' cumulative interactions with each content item. There is a timer that updates how much time is spent (only counts when user is watching to a video, listening to audio, or has a document open). There is also a progress tracker that records how much time of video/audio content has been played or is automatically set to 100% after 15 seconds of viewing a pdf document. If the user is anonymous, only a content session log is created, not a summary log.\r\n\r\n\r\n## TODO\r\n\r\n- [ ] Have tests been written for the new code?\r\n- [ ] Has documentation been written/updated?\r\n- [ ] New dependencies (if any) added to requirements file\r\n- [ ] Add an entry to CHANGELOG.rst\r\n- [ ] Add yourself it AUTHORS.rst if you don't appear there\r\n\r\n## Reviewer guidance\r\nAdded ability to track users' progress on content (how much time was spent and how much progress was made)\r\n\r\n## Issues addressed\r\n- Added in progress tracking\r\n\r\n## Documentation\r\n(none)\r\n\r\n## Screenshots (if appropriate)","created_at":"2016-08-11T17:50:15Z","updated_at":"2016-08-12T22:42:34Z","closed_at":"2016-08-12T22:42:34Z","merged_at":"2016-08-12T22:42:34Z","merge_commit_sha":"3954400d33f877e6cbf27836334b51e052ee2ff8","assignee":{"login":"jamalex","id":618416,"avatar_url":"https://avatars.githubusercontent.com/u/618416?v=3","gravatar_id":"","url":"https://api.github.com/users/jamalex","html_url":"https://github.com/jamalex","followers_url":"https://api.github.com/users/jamalex/followers","following_url":"https://api.github.com/users/jamalex/following{/other_user}","gists_url":"https://api.github.com/users/jamalex/gists{/gist_id}","starred_url":"https://api.github.com/users/jamalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamalex/subscriptions","organizations_url":"https://api.github.com/users/jamalex/orgs","repos_url":"https://api.github.com/users/jamalex/repos","events_url":"https://api.github.com/users/jamalex/events{/privacy}","received_events_url":"https://api.github.com/users/jamalex/received_events","type":"User","site_admin":false},"assignees":[{"login":"jamalex","id":618416,"avatar_url":"https://avatars.githubusercontent.com/u/618416?v=3","gravatar_id":"","url":"https://api.github.com/users/jamalex","html_url":"https://github.com/jamalex","followers_url":"https://api.github.com/users/jamalex/followers","following_url":"https://api.github.com/users/jamalex/following{/other_user}","gists_url":"https://api.github.com/users/jamalex/gists{/gist_id}","starred_url":"https://api.github.com/users/jamalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamalex/subscriptions","organizations_url":"https://api.github.com/users/jamalex/orgs","repos_url":"https://api.github.com/users/jamalex/repos","events_url":"https://api.github.com/users/jamalex/events{/privacy}","received_events_url":"https://api.github.com/users/jamalex/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/learningequality/kolibri/milestones/1","html_url":"https://github.com/learningequality/kolibri/milestones/MVP","labels_url":"https://api.github.com/repos/learningequality/kolibri/milestones/1/labels","id":1939812,"number":1,"title":"MVP","description":"","creator":{"login":"jamalex","id":618416,"avatar_url":"https://avatars.githubusercontent.com/u/618416?v=3","gravatar_id":"","url":"https://api.github.com/users/jamalex","html_url":"https://github.com/jamalex","followers_url":"https://api.github.com/users/jamalex/followers","following_url":"https://api.github.com/users/jamalex/following{/other_user}","gists_url":"https://api.github.com/users/jamalex/gists{/gist_id}","starred_url":"https://api.github.com/users/jamalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamalex/subscriptions","organizations_url":"https://api.github.com/users/jamalex/orgs","repos_url":"https://api.github.com/users/jamalex/repos","events_url":"https://api.github.com/users/jamalex/events{/privacy}","received_events_url":"https://api.github.com/users/jamalex/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":2,"state":"open","created_at":"2016-08-12T21:24:10Z","updated_at":"2016-08-12T22:42:34Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/learningequality/kolibri/pulls/374/commits","review_comments_url":"https://api.github.com/repos/learningequality/kolibri/pulls/374/comments","review_comment_url":"https://api.github.com/repos/learningequality/kolibri/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learningequality/kolibri/issues/374/comments","statuses_url":"https://api.github.com/repos/learningequality/kolibri/statuses/d12b4ed2740d8c63c1702151330279f3647f6609","head":{"label":"jayoshih:content-logging","ref":"content-logging","sha":"d12b4ed2740d8c63c1702151330279f3647f6609","user":{"login":"jayoshih","id":7447496,"avatar_url":"https://avatars.githubusercontent.com/u/7447496?v=3","gravatar_id":"","url":"https://api.github.com/users/jayoshih","html_url":"https://github.com/jayoshih","followers_url":"https://api.github.com/users/jayoshih/followers","following_url":"https://api.github.com/users/jayoshih/following{/other_user}","gists_url":"https://api.github.com/users/jayoshih/gists{/gist_id}","starred_url":"https://api.github.com/users/jayoshih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayoshih/subscriptions","organizations_url":"https://api.github.com/users/jayoshih/orgs","repos_url":"https://api.github.com/users/jayoshih/repos","events_url":"https://api.github.com/users/jayoshih/events{/privacy}","received_events_url":"https://api.github.com/users/jayoshih/received_events","type":"User","site_admin":false},"repo":{"id":52636211,"name":"kolibri","full_name":"jayoshih/kolibri","owner":{"login":"jayoshih","id":7447496,"avatar_url":"https://avatars.githubusercontent.com/u/7447496?v=3","gravatar_id":"","url":"https://api.github.com/users/jayoshih","html_url":"https://github.com/jayoshih","followers_url":"https://api.github.com/users/jayoshih/followers","following_url":"https://api.github.com/users/jayoshih/following{/other_user}","gists_url":"https://api.github.com/users/jayoshih/gists{/gist_id}","starred_url":"https://api.github.com/users/jayoshih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayoshih/subscriptions","organizations_url":"https://api.github.com/users/jayoshih/orgs","repos_url":"https://api.github.com/users/jayoshih/repos","events_url":"https://api.github.com/users/jayoshih/events{/privacy}","received_events_url":"https://api.github.com/users/jayoshih/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jayoshih/kolibri","description":"This is where Kolibri shall be born, watch and participate!","fork":true,"url":"https://api.github.com/repos/jayoshih/kolibri","forks_url":"https://api.github.com/repos/jayoshih/kolibri/forks","keys_url":"https://api.github.com/repos/jayoshih/kolibri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jayoshih/kolibri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jayoshih/kolibri/teams","hooks_url":"https://api.github.com/repos/jayoshih/kolibri/hooks","issue_events_url":"https://api.github.com/repos/jayoshih/kolibri/issues/events{/number}","events_url":"https://api.github.com/repos/jayoshih/kolibri/events","assignees_url":"https://api.github.com/repos/jayoshih/kolibri/assignees{/user}","branches_url":"https://api.github.com/repos/jayoshih/kolibri/branches{/branch}","tags_url":"https://api.github.com/repos/jayoshih/kolibri/tags","blobs_url":"https://api.github.com/repos/jayoshih/kolibri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jayoshih/kolibri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jayoshih/kolibri/git/refs{/sha}","trees_url":"https://api.github.com/repos/jayoshih/kolibri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jayoshih/kolibri/statuses/{sha}","languages_url":"https://api.github.com/repos/jayoshih/kolibri/languages","stargazers_url":"https://api.github.com/repos/jayoshih/kolibri/stargazers","contributors_url":"https://api.github.com/repos/jayoshih/kolibri/contributors","subscribers_url":"https://api.github.com/repos/jayoshih/kolibri/subscribers","subscription_url":"https://api.github.com/repos/jayoshih/kolibri/subscription","commits_url":"https://api.github.com/repos/jayoshih/kolibri/commits{/sha}","git_commits_url":"https://api.github.com/repos/jayoshih/kolibri/git/commits{/sha}","comments_url":"https://api.github.com/repos/jayoshih/kolibri/comments{/number}","issue_comment_url":"https://api.github.com/repos/jayoshih/kolibri/issues/comments{/number}","contents_url":"https://api.github.com/repos/jayoshih/kolibri/contents/{+path}","compare_url":"https://api.github.com/repos/jayoshih/kolibri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jayoshih/kolibri/merges","archive_url":"https://api.github.com/repos/jayoshih/kolibri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jayoshih/kolibri/downloads","issues_url":"https://api.github.com/repos/jayoshih/kolibri/issues{/number}","pulls_url":"https://api.github.com/repos/jayoshih/kolibri/pulls{/number}","milestones_url":"https://api.github.com/repos/jayoshih/kolibri/milestones{/number}","notifications_url":"https://api.github.com/repos/jayoshih/kolibri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jayoshih/kolibri/labels{/name}","releases_url":"https://api.github.com/repos/jayoshih/kolibri/releases{/id}","deployments_url":"https://api.github.com/repos/jayoshih/kolibri/deployments","created_at":"2016-02-26T22:12:13Z","updated_at":"2016-02-26T22:12:14Z","pushed_at":"2016-08-12T21:55:41Z","git_url":"git://github.com/jayoshih/kolibri.git","ssh_url":"git@github.com:jayoshih/kolibri.git","clone_url":"https://github.com/jayoshih/kolibri.git","svn_url":"https://github.com/jayoshih/kolibri","homepage":"http://learningequality.org/kolibri/","size":7352,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"learningequality:master","ref":"master","sha":"8d3e387159660794afdfb8342c81da239d9907b0","user":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"repo":{"id":49976939,"name":"kolibri","full_name":"learningequality/kolibri","owner":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learningequality/kolibri","description":"This is where Kolibri shall be born, watch and participate!","fork":false,"url":"https://api.github.com/repos/learningequality/kolibri","forks_url":"https://api.github.com/repos/learningequality/kolibri/forks","keys_url":"https://api.github.com/repos/learningequality/kolibri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learningequality/kolibri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learningequality/kolibri/teams","hooks_url":"https://api.github.com/repos/learningequality/kolibri/hooks","issue_events_url":"https://api.github.com/repos/learningequality/kolibri/issues/events{/number}","events_url":"https://api.github.com/repos/learningequality/kolibri/events","assignees_url":"https://api.github.com/repos/learningequality/kolibri/assignees{/user}","branches_url":"https://api.github.com/repos/learningequality/kolibri/branches{/branch}","tags_url":"https://api.github.com/repos/learningequality/kolibri/tags","blobs_url":"https://api.github.com/repos/learningequality/kolibri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learningequality/kolibri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learningequality/kolibri/git/refs{/sha}","trees_url":"https://api.github.com/repos/learningequality/kolibri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learningequality/kolibri/statuses/{sha}","languages_url":"https://api.github.com/repos/learningequality/kolibri/languages","stargazers_url":"https://api.github.com/repos/learningequality/kolibri/stargazers","contributors_url":"https://api.github.com/repos/learningequality/kolibri/contributors","subscribers_url":"https://api.github.com/repos/learningequality/kolibri/subscribers","subscription_url":"https://api.github.com/repos/learningequality/kolibri/subscription","commits_url":"https://api.github.com/repos/learningequality/kolibri/commits{/sha}","git_commits_url":"https://api.github.com/repos/learningequality/kolibri/git/commits{/sha}","comments_url":"https://api.github.com/repos/learningequality/kolibri/comments{/number}","issue_comment_url":"https://api.github.com/repos/learningequality/kolibri/issues/comments{/number}","contents_url":"https://api.github.com/repos/learningequality/kolibri/contents/{+path}","compare_url":"https://api.github.com/repos/learningequality/kolibri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learningequality/kolibri/merges","archive_url":"https://api.github.com/repos/learningequality/kolibri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learningequality/kolibri/downloads","issues_url":"https://api.github.com/repos/learningequality/kolibri/issues{/number}","pulls_url":"https://api.github.com/repos/learningequality/kolibri/pulls{/number}","milestones_url":"https://api.github.com/repos/learningequality/kolibri/milestones{/number}","notifications_url":"https://api.github.com/repos/learningequality/kolibri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learningequality/kolibri/labels{/name}","releases_url":"https://api.github.com/repos/learningequality/kolibri/releases{/id}","deployments_url":"https://api.github.com/repos/learningequality/kolibri/deployments","created_at":"2016-01-19T19:22:07Z","updated_at":"2016-07-15T21:33:22Z","pushed_at":"2016-08-12T22:42:35Z","git_url":"git://github.com/learningequality/kolibri.git","ssh_url":"git@github.com:learningequality/kolibri.git","clone_url":"https://github.com/learningequality/kolibri.git","svn_url":"https://github.com/learningequality/kolibri","homepage":"http://learningequality.org/kolibri/","size":7996,"stargazers_count":25,"watchers_count":25,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":32,"forks":31,"open_issues":32,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learningequality/kolibri/pulls/374"},"html":{"href":"https://github.com/learningequality/kolibri/pull/374"},"issue":{"href":"https://api.github.com/repos/learningequality/kolibri/issues/374"},"comments":{"href":"https://api.github.com/repos/learningequality/kolibri/issues/374/comments"},"review_comments":{"href":"https://api.github.com/repos/learningequality/kolibri/pulls/374/comments"},"review_comment":{"href":"https://api.github.com/repos/learningequality/kolibri/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learningequality/kolibri/pulls/374/commits"},"statuses":{"href":"https://api.github.com/repos/learningequality/kolibri/statuses/d12b4ed2740d8c63c1702151330279f3647f6609"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jamalex","id":618416,"avatar_url":"https://avatars.githubusercontent.com/u/618416?v=3","gravatar_id":"","url":"https://api.github.com/users/jamalex","html_url":"https://github.com/jamalex","followers_url":"https://api.github.com/users/jamalex/followers","following_url":"https://api.github.com/users/jamalex/following{/other_user}","gists_url":"https://api.github.com/users/jamalex/gists{/gist_id}","starred_url":"https://api.github.com/users/jamalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamalex/subscriptions","organizations_url":"https://api.github.com/users/jamalex/orgs","repos_url":"https://api.github.com/users/jamalex/repos","events_url":"https://api.github.com/users/jamalex/events{/privacy}","received_events_url":"https://api.github.com/users/jamalex/received_events","type":"User","site_admin":false},"comments":3,"review_comments":31,"commits":24,"additions":513,"deletions":9,"changed_files":17}}
{"actor":{"display_login":"jamalex"}}