{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/comments/23340911","id":23340911,"diff_hunk":"@@ -841,6 +855,17 @@ def get_client_key_secret(self):\n                 return key, secret\n         return '', ''\n \n+    def is_past_due(self):\n+        \"\"\"\n+        Is it now past this problem's due date, including grace period?\n+        \"\"\"\n+        due_date = self.due  # pylint: disable=no-member\n+        if self.graceperiod is not None and due_date:  # pylint: disable=no-member","path":"common/lib/xmodule/xmodule/lti_module.py","position":62,"original_position":62,"commit_id":"38a12668f439ea7cb3daebfad7ac7fab8c47ec15","original_commit_id":"05c00fdb999be1a4aed36d8520012ea5949cdd72","user":{"login":"jbau","id":721283,"avatar_url":"https://avatars.githubusercontent.com/u/721283?v=3","gravatar_id":"","url":"https://api.github.com/users/jbau","html_url":"https://github.com/jbau","followers_url":"https://api.github.com/users/jbau/followers","following_url":"https://api.github.com/users/jbau/following{/other_user}","gists_url":"https://api.github.com/users/jbau/gists{/gist_id}","starred_url":"https://api.github.com/users/jbau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbau/subscriptions","organizations_url":"https://api.github.com/users/jbau/orgs","repos_url":"https://api.github.com/users/jbau/repos","events_url":"https://api.github.com/users/jbau/events{/privacy}","received_events_url":"https://api.github.com/users/jbau/received_events","type":"User","site_admin":false},"body":"The fields are in https://github.com/edx/edx-platform/blob/master/common/lib/xmodule/xmodule/modulestore/inheritance.py -- to implement inheritance, they get mixed into blocks in the course hierarchy.","created_at":"2015-01-21T22:35:54Z","updated_at":"2015-01-21T22:35:54Z","html_url":"https://github.com/edx/edx-platform/pull/5926#discussion_r23340911","pull_request_url":"https://api.github.com/repos/edx/edx-platform/pulls/5926","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/comments/23340911"},"html":{"href":"https://github.com/edx/edx-platform/pull/5926#discussion_r23340911"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/5926"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/5926","id":24275389,"html_url":"https://github.com/edx/edx-platform/pull/5926","diff_url":"https://github.com/edx/edx-platform/pull/5926.diff","patch_url":"https://github.com/edx/edx-platform/pull/5926.patch","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/5926","number":5926,"state":"open","locked":false,"title":"Make LTI grade submissions respect deadlines","user":{"login":"kluo","id":868615,"avatar_url":"https://avatars.githubusercontent.com/u/868615?v=3","gravatar_id":"","url":"https://api.github.com/users/kluo","html_url":"https://github.com/kluo","followers_url":"https://api.github.com/users/kluo/followers","following_url":"https://api.github.com/users/kluo/following{/other_user}","gists_url":"https://api.github.com/users/kluo/gists{/gist_id}","starred_url":"https://api.github.com/users/kluo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kluo/subscriptions","organizations_url":"https://api.github.com/users/kluo/orgs","repos_url":"https://api.github.com/users/kluo/repos","events_url":"https://api.github.com/users/kluo/events{/privacy}","received_events_url":"https://api.github.com/users/kluo/received_events","type":"User","site_admin":false},"body":"@sarina Thanks!\r\nhttps://openedx.atlassian.net/browse/TNL-805","created_at":"2014-11-12T07:50:34Z","updated_at":"2015-01-21T22:35:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d20a572461be6f215c3a72e35fce73a2744fcc0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-platform/pulls/5926/commits","review_comments_url":"https://api.github.com/repos/edx/edx-platform/pulls/5926/comments","review_comment_url":"https://api.github.com/repos/edx/edx-platform/pulls/comments/{number}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/5926/comments","statuses_url":"https://api.github.com/repos/edx/edx-platform/statuses/38a12668f439ea7cb3daebfad7ac7fab8c47ec15","head":{"label":"Stanford-Online:kluo/lti-grades-past-due","ref":"kluo/lti-grades-past-due","sha":"38a12668f439ea7cb3daebfad7ac7fab8c47ec15","user":{"login":"Stanford-Online","id":2159497,"avatar_url":"https://avatars.githubusercontent.com/u/2159497?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanford-Online","html_url":"https://github.com/Stanford-Online","followers_url":"https://api.github.com/users/Stanford-Online/followers","following_url":"https://api.github.com/users/Stanford-Online/following{/other_user}","gists_url":"https://api.github.com/users/Stanford-Online/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanford-Online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanford-Online/subscriptions","organizations_url":"https://api.github.com/users/Stanford-Online/orgs","repos_url":"https://api.github.com/users/Stanford-Online/repos","events_url":"https://api.github.com/users/Stanford-Online/events{/privacy}","received_events_url":"https://api.github.com/users/Stanford-Online/received_events","type":"Organization","site_admin":false},"repo":{"id":11616657,"name":"edx-platform","full_name":"Stanford-Online/edx-platform","owner":{"login":"Stanford-Online","id":2159497,"avatar_url":"https://avatars.githubusercontent.com/u/2159497?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanford-Online","html_url":"https://github.com/Stanford-Online","followers_url":"https://api.github.com/users/Stanford-Online/followers","following_url":"https://api.github.com/users/Stanford-Online/following{/other_user}","gists_url":"https://api.github.com/users/Stanford-Online/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanford-Online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanford-Online/subscriptions","organizations_url":"https://api.github.com/users/Stanford-Online/orgs","repos_url":"https://api.github.com/users/Stanford-Online/repos","events_url":"https://api.github.com/users/Stanford-Online/events{/privacy}","received_events_url":"https://api.github.com/users/Stanford-Online/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Stanford-Online/edx-platform","description":"the edX learning management system (LMS) and course authoring tool, Studio","fork":true,"url":"https://api.github.com/repos/Stanford-Online/edx-platform","forks_url":"https://api.github.com/repos/Stanford-Online/edx-platform/forks","keys_url":"https://api.github.com/repos/Stanford-Online/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stanford-Online/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stanford-Online/edx-platform/teams","hooks_url":"https://api.github.com/repos/Stanford-Online/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/Stanford-Online/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/Stanford-Online/edx-platform/events","assignees_url":"https://api.github.com/repos/Stanford-Online/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/Stanford-Online/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/Stanford-Online/edx-platform/tags","blobs_url":"https://api.github.com/repos/Stanford-Online/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stanford-Online/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stanford-Online/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stanford-Online/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stanford-Online/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/Stanford-Online/edx-platform/languages","stargazers_url":"https://api.github.com/repos/Stanford-Online/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/Stanford-Online/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/Stanford-Online/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/Stanford-Online/edx-platform/subscription","commits_url":"https://api.github.com/repos/Stanford-Online/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stanford-Online/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stanford-Online/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stanford-Online/edx-platform/issues/comments/{number}","contents_url":"https://api.github.com/repos/Stanford-Online/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/Stanford-Online/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stanford-Online/edx-platform/merges","archive_url":"https://api.github.com/repos/Stanford-Online/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stanford-Online/edx-platform/downloads","issues_url":"https://api.github.com/repos/Stanford-Online/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/Stanford-Online/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/Stanford-Online/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/Stanford-Online/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stanford-Online/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/Stanford-Online/edx-platform/releases{/id}","created_at":"2013-07-23T19:05:46Z","updated_at":"2015-01-20T20:05:50Z","pushed_at":"2015-01-21T22:30:45Z","git_url":"git://github.com/Stanford-Online/edx-platform.git","ssh_url":"git@github.com:Stanford-Online/edx-platform.git","clone_url":"https://github.com/Stanford-Online/edx-platform.git","svn_url":"https://github.com/Stanford-Online/edx-platform","homepage":"http://code.edx.org/","size":370027,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":51,"forks":3,"open_issues":51,"watchers":9,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"1eaf84a4436f645a3309ba39bb49a20522fcf5dd","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":10391073,"name":"edx-platform","full_name":"edx/edx-platform","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-platform","description":"Open edX, the edX platform that powers http://edx.org","fork":false,"url":"https://api.github.com/repos/edx/edx-platform","forks_url":"https://api.github.com/repos/edx/edx-platform/forks","keys_url":"https://api.github.com/repos/edx/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-platform/teams","hooks_url":"https://api.github.com/repos/edx/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-platform/events","assignees_url":"https://api.github.com/repos/edx/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-platform/tags","blobs_url":"https://api.github.com/repos/edx/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-platform/languages","stargazers_url":"https://api.github.com/repos/edx/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-platform/subscription","commits_url":"https://api.github.com/repos/edx/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-platform/issues/comments/{number}","contents_url":"https://api.github.com/repos/edx/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-platform/merges","archive_url":"https://api.github.com/repos/edx/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-platform/downloads","issues_url":"https://api.github.com/repos/edx/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-platform/releases{/id}","created_at":"2013-05-30T20:20:38Z","updated_at":"2015-01-21T21:40:52Z","pushed_at":"2015-01-21T22:13:41Z","git_url":"git://github.com/edx/edx-platform.git","ssh_url":"git@github.com:edx/edx-platform.git","clone_url":"https://github.com/edx/edx-platform.git","svn_url":"https://github.com/edx/edx-platform","homepage":"http://openedx.org/","size":1582008,"stargazers_count":1692,"watchers_count":1692,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":966,"mirror_url":null,"open_issues_count":126,"forks":966,"open_issues":126,"watchers":1692,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/5926"},"html":{"href":"https://github.com/edx/edx-platform/pull/5926"},"issue":{"href":"https://api.github.com/repos/edx/edx-platform/issues/5926"},"comments":{"href":"https://api.github.com/repos/edx/edx-platform/issues/5926/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/5926/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/5926/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-platform/statuses/38a12668f439ea7cb3daebfad7ac7fab8c47ec15"}}}}