{"action":"created","comment":{"url":"https://api.github.com/repos/eciis/web/pulls/comments/136144593","pull_request_review_id":59640503,"id":136144593,"diff_hunk":"@@ -0,0 +1,74 @@\n+\"\"\"Request user model.\"\"\"\n+\n+from invite import Invite\n+from google.appengine.ext import ndb\n+from custom_exceptions.fieldException import FieldException\n+from models.user import User\n+from models.institution import Institution\n+\n+\n+class RequestUser(Invite):","path":"models/request_user.py","position":10,"original_position":10,"commit_id":"9d982fb4e040e2d5ddad60b6afd3e438cf4b6317","original_commit_id":"9d982fb4e040e2d5ddad60b6afd3e438cf4b6317","user":{"login":"andreldsa","id":2967288,"avatar_url":"https://avatars2.githubusercontent.com/u/2967288?v=4","gravatar_id":"","url":"https://api.github.com/users/andreldsa","html_url":"https://github.com/andreldsa","followers_url":"https://api.github.com/users/andreldsa/followers","following_url":"https://api.github.com/users/andreldsa/following{/other_user}","gists_url":"https://api.github.com/users/andreldsa/gists{/gist_id}","starred_url":"https://api.github.com/users/andreldsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreldsa/subscriptions","organizations_url":"https://api.github.com/users/andreldsa/orgs","repos_url":"https://api.github.com/users/andreldsa/repos","events_url":"https://api.github.com/users/andreldsa/events{/privacy}","received_events_url":"https://api.github.com/users/andreldsa/received_events","type":"User","site_admin":false},"body":"testes","created_at":"2017-08-30T17:58:50Z","updated_at":"2017-08-30T18:00:18Z","html_url":"https://github.com/eciis/web/pull/326#discussion_r136144593","pull_request_url":"https://api.github.com/repos/eciis/web/pulls/326","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/eciis/web/pulls/comments/136144593"},"html":{"href":"https://github.com/eciis/web/pull/326#discussion_r136144593"},"pull_request":{"href":"https://api.github.com/repos/eciis/web/pulls/326"}}},"pull_request":{"url":"https://api.github.com/repos/eciis/web/pulls/326","id":138200472,"html_url":"https://github.com/eciis/web/pull/326","diff_url":"https://github.com/eciis/web/pull/326.diff","patch_url":"https://github.com/eciis/web/pull/326.patch","issue_url":"https://api.github.com/repos/eciis/web/issues/326","number":326,"state":"open","locked":false,"title":"Send inactive user request","user":{"login":"Luiz-FS","id":18005317,"avatar_url":"https://avatars2.githubusercontent.com/u/18005317?v=4","gravatar_id":"","url":"https://api.github.com/users/Luiz-FS","html_url":"https://github.com/Luiz-FS","followers_url":"https://api.github.com/users/Luiz-FS/followers","following_url":"https://api.github.com/users/Luiz-FS/following{/other_user}","gists_url":"https://api.github.com/users/Luiz-FS/gists{/gist_id}","starred_url":"https://api.github.com/users/Luiz-FS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luiz-FS/subscriptions","organizations_url":"https://api.github.com/users/Luiz-FS/orgs","repos_url":"https://api.github.com/users/Luiz-FS/repos","events_url":"https://api.github.com/users/Luiz-FS/events{/privacy}","received_events_url":"https://api.github.com/users/Luiz-FS/received_events","type":"User","site_admin":false},"body":"* I added request user model\r\n* I added request user handler\r\n* Refactored the method of sending notifications\r\n* Refactored model invite","created_at":"2017-08-29T14:43:35Z","updated_at":"2017-08-30T18:00:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4965b713e33ddd023ee3a163feba5f5b8b6b2598","assignee":{"login":"Luiz-FS","id":18005317,"avatar_url":"https://avatars2.githubusercontent.com/u/18005317?v=4","gravatar_id":"","url":"https://api.github.com/users/Luiz-FS","html_url":"https://github.com/Luiz-FS","followers_url":"https://api.github.com/users/Luiz-FS/followers","following_url":"https://api.github.com/users/Luiz-FS/following{/other_user}","gists_url":"https://api.github.com/users/Luiz-FS/gists{/gist_id}","starred_url":"https://api.github.com/users/Luiz-FS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luiz-FS/subscriptions","organizations_url":"https://api.github.com/users/Luiz-FS/orgs","repos_url":"https://api.github.com/users/Luiz-FS/repos","events_url":"https://api.github.com/users/Luiz-FS/events{/privacy}","received_events_url":"https://api.github.com/users/Luiz-FS/received_events","type":"User","site_admin":false},"assignees":[{"login":"Luiz-FS","id":18005317,"avatar_url":"https://avatars2.githubusercontent.com/u/18005317?v=4","gravatar_id":"","url":"https://api.github.com/users/Luiz-FS","html_url":"https://github.com/Luiz-FS","followers_url":"https://api.github.com/users/Luiz-FS/followers","following_url":"https://api.github.com/users/Luiz-FS/following{/other_user}","gists_url":"https://api.github.com/users/Luiz-FS/gists{/gist_id}","starred_url":"https://api.github.com/users/Luiz-FS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luiz-FS/subscriptions","organizations_url":"https://api.github.com/users/Luiz-FS/orgs","repos_url":"https://api.github.com/users/Luiz-FS/repos","events_url":"https://api.github.com/users/Luiz-FS/events{/privacy}","received_events_url":"https://api.github.com/users/Luiz-FS/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/eciis/web/milestones/3","html_url":"https://github.com/eciis/web/milestone/3","labels_url":"https://api.github.com/repos/eciis/web/milestones/3/labels","id":2723344,"number":3,"title":"MT 3","description":"","creator":{"login":"andreldsa","id":2967288,"avatar_url":"https://avatars2.githubusercontent.com/u/2967288?v=4","gravatar_id":"","url":"https://api.github.com/users/andreldsa","html_url":"https://github.com/andreldsa","followers_url":"https://api.github.com/users/andreldsa/followers","following_url":"https://api.github.com/users/andreldsa/following{/other_user}","gists_url":"https://api.github.com/users/andreldsa/gists{/gist_id}","starred_url":"https://api.github.com/users/andreldsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreldsa/subscriptions","organizations_url":"https://api.github.com/users/andreldsa/orgs","repos_url":"https://api.github.com/users/andreldsa/repos","events_url":"https://api.github.com/users/andreldsa/events{/privacy}","received_events_url":"https://api.github.com/users/andreldsa/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":10,"state":"open","created_at":"2017-08-25T13:48:32Z","updated_at":"2017-08-30T17:24:33Z","due_on":"2017-09-29T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/eciis/web/pulls/326/commits","review_comments_url":"https://api.github.com/repos/eciis/web/pulls/326/comments","review_comment_url":"https://api.github.com/repos/eciis/web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eciis/web/issues/326/comments","statuses_url":"https://api.github.com/repos/eciis/web/statuses/9d982fb4e040e2d5ddad60b6afd3e438cf4b6317","head":{"label":"eciis:send-inactive-user-request","ref":"send-inactive-user-request","sha":"9d982fb4e040e2d5ddad60b6afd3e438cf4b6317","user":{"login":"eciis","id":28706805,"avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"repo":{"id":91336041,"name":"web","full_name":"eciis/web","owner":{"login":"eciis","id":28706805,"avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eciis/web","description":"AngularJS Frontend with Appengine Python Backend","fork":false,"url":"https://api.github.com/repos/eciis/web","forks_url":"https://api.github.com/repos/eciis/web/forks","keys_url":"https://api.github.com/repos/eciis/web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eciis/web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eciis/web/teams","hooks_url":"https://api.github.com/repos/eciis/web/hooks","issue_events_url":"https://api.github.com/repos/eciis/web/issues/events{/number}","events_url":"https://api.github.com/repos/eciis/web/events","assignees_url":"https://api.github.com/repos/eciis/web/assignees{/user}","branches_url":"https://api.github.com/repos/eciis/web/branches{/branch}","tags_url":"https://api.github.com/repos/eciis/web/tags","blobs_url":"https://api.github.com/repos/eciis/web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eciis/web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eciis/web/git/refs{/sha}","trees_url":"https://api.github.com/repos/eciis/web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eciis/web/statuses/{sha}","languages_url":"https://api.github.com/repos/eciis/web/languages","stargazers_url":"https://api.github.com/repos/eciis/web/stargazers","contributors_url":"https://api.github.com/repos/eciis/web/contributors","subscribers_url":"https://api.github.com/repos/eciis/web/subscribers","subscription_url":"https://api.github.com/repos/eciis/web/subscription","commits_url":"https://api.github.com/repos/eciis/web/commits{/sha}","git_commits_url":"https://api.github.com/repos/eciis/web/git/commits{/sha}","comments_url":"https://api.github.com/repos/eciis/web/comments{/number}","issue_comment_url":"https://api.github.com/repos/eciis/web/issues/comments{/number}","contents_url":"https://api.github.com/repos/eciis/web/contents/{+path}","compare_url":"https://api.github.com/repos/eciis/web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eciis/web/merges","archive_url":"https://api.github.com/repos/eciis/web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eciis/web/downloads","issues_url":"https://api.github.com/repos/eciis/web/issues{/number}","pulls_url":"https://api.github.com/repos/eciis/web/pulls{/number}","milestones_url":"https://api.github.com/repos/eciis/web/milestones{/number}","notifications_url":"https://api.github.com/repos/eciis/web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eciis/web/labels{/name}","releases_url":"https://api.github.com/repos/eciis/web/releases{/id}","deployments_url":"https://api.github.com/repos/eciis/web/deployments","created_at":"2017-05-15T12:37:06Z","updated_at":"2017-07-28T12:20:07Z","pushed_at":"2017-08-30T17:58:36Z","git_url":"git://github.com/eciis/web.git","ssh_url":"git@github.com:eciis/web.git","clone_url":"https://github.com/eciis/web.git","svn_url":"https://github.com/eciis/web","homepage":"","size":3731,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_projects":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":1,"default_branch":"master"}},"base":{"label":"eciis:master","ref":"master","sha":"0a26174e64c6f0c5b043998fcc8f1c6e8796f1f9","user":{"login":"eciis","id":28706805,"avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"repo":{"id":91336041,"name":"web","full_name":"eciis/web","owner":{"login":"eciis","id":28706805,"avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eciis/web","description":"AngularJS Frontend with Appengine Python Backend","fork":false,"url":"https://api.github.com/repos/eciis/web","forks_url":"https://api.github.com/repos/eciis/web/forks","keys_url":"https://api.github.com/repos/eciis/web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eciis/web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eciis/web/teams","hooks_url":"https://api.github.com/repos/eciis/web/hooks","issue_events_url":"https://api.github.com/repos/eciis/web/issues/events{/number}","events_url":"https://api.github.com/repos/eciis/web/events","assignees_url":"https://api.github.com/repos/eciis/web/assignees{/user}","branches_url":"https://api.github.com/repos/eciis/web/branches{/branch}","tags_url":"https://api.github.com/repos/eciis/web/tags","blobs_url":"https://api.github.com/repos/eciis/web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eciis/web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eciis/web/git/refs{/sha}","trees_url":"https://api.github.com/repos/eciis/web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eciis/web/statuses/{sha}","languages_url":"https://api.github.com/repos/eciis/web/languages","stargazers_url":"https://api.github.com/repos/eciis/web/stargazers","contributors_url":"https://api.github.com/repos/eciis/web/contributors","subscribers_url":"https://api.github.com/repos/eciis/web/subscribers","subscription_url":"https://api.github.com/repos/eciis/web/subscription","commits_url":"https://api.github.com/repos/eciis/web/commits{/sha}","git_commits_url":"https://api.github.com/repos/eciis/web/git/commits{/sha}","comments_url":"https://api.github.com/repos/eciis/web/comments{/number}","issue_comment_url":"https://api.github.com/repos/eciis/web/issues/comments{/number}","contents_url":"https://api.github.com/repos/eciis/web/contents/{+path}","compare_url":"https://api.github.com/repos/eciis/web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eciis/web/merges","archive_url":"https://api.github.com/repos/eciis/web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eciis/web/downloads","issues_url":"https://api.github.com/repos/eciis/web/issues{/number}","pulls_url":"https://api.github.com/repos/eciis/web/pulls{/number}","milestones_url":"https://api.github.com/repos/eciis/web/milestones{/number}","notifications_url":"https://api.github.com/repos/eciis/web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eciis/web/labels{/name}","releases_url":"https://api.github.com/repos/eciis/web/releases{/id}","deployments_url":"https://api.github.com/repos/eciis/web/deployments","created_at":"2017-05-15T12:37:06Z","updated_at":"2017-07-28T12:20:07Z","pushed_at":"2017-08-30T17:58:36Z","git_url":"git://github.com/eciis/web.git","ssh_url":"git@github.com:eciis/web.git","clone_url":"https://github.com/eciis/web.git","svn_url":"https://github.com/eciis/web","homepage":"","size":3731,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_projects":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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eciis/web/pulls/326"},"html":{"href":"https://github.com/eciis/web/pull/326"},"issue":{"href":"https://api.github.com/repos/eciis/web/issues/326"},"comments":{"href":"https://api.github.com/repos/eciis/web/issues/326/comments"},"review_comments":{"href":"https://api.github.com/repos/eciis/web/pulls/326/comments"},"review_comment":{"href":"https://api.github.com/repos/eciis/web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eciis/web/pulls/326/commits"},"statuses":{"href":"https://api.github.com/repos/eciis/web/statuses/9d982fb4e040e2d5ddad60b6afd3e438cf4b6317"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"andreldsa"}}