{"action":"created","comment":{"url":"https://api.github.com/repos/levlaz/braindump/pulls/comments/47433129","id":47433129,"diff_hunk":"@@ -25,7 +25,7 @@ def before_request():\n def login():\n     form = LoginForm()\n     if form.validate_on_submit():\n-        user = User.query.filter_by(email=form.email.data.lower()).first()\n+        user = User.query.filter_by(email=form.email.data.lower().strip()).first()","path":"app/auth/views.py","position":5,"original_position":5,"commit_id":"4acad30d77d04002771577f0a9142501722d86b8","original_commit_id":"4acad30d77d04002771577f0a9142501722d86b8","user":{"login":"iamgroot42","id":10141323,"avatar_url":"https://avatars.githubusercontent.com/u/10141323?v=3","gravatar_id":"","url":"https://api.github.com/users/iamgroot42","html_url":"https://github.com/iamgroot42","followers_url":"https://api.github.com/users/iamgroot42/followers","following_url":"https://api.github.com/users/iamgroot42/following{/other_user}","gists_url":"https://api.github.com/users/iamgroot42/gists{/gist_id}","starred_url":"https://api.github.com/users/iamgroot42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamgroot42/subscriptions","organizations_url":"https://api.github.com/users/iamgroot42/orgs","repos_url":"https://api.github.com/users/iamgroot42/repos","events_url":"https://api.github.com/users/iamgroot42/events{/privacy}","received_events_url":"https://api.github.com/users/iamgroot42/received_events","type":"User","site_admin":false},"body":"strip() to remove trailing and spaces before email/username field.","created_at":"2015-12-12T15:54:14Z","updated_at":"2015-12-12T15:54:14Z","html_url":"https://github.com/levlaz/braindump/pull/109#discussion_r47433129","pull_request_url":"https://api.github.com/repos/levlaz/braindump/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/levlaz/braindump/pulls/comments/47433129"},"html":{"href":"https://github.com/levlaz/braindump/pull/109#discussion_r47433129"},"pull_request":{"href":"https://api.github.com/repos/levlaz/braindump/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/levlaz/braindump/pulls/109","id":53478963,"html_url":"https://github.com/levlaz/braindump/pull/109","diff_url":"https://github.com/levlaz/braindump/pull/109.diff","patch_url":"https://github.com/levlaz/braindump/pull/109.patch","issue_url":"https://api.github.com/repos/levlaz/braindump/issues/109","number":109,"state":"open","locked":false,"title":"Added strip() from email/username field. Added e-mail validation whil…","user":{"login":"iamgroot42","id":10141323,"avatar_url":"https://avatars.githubusercontent.com/u/10141323?v=3","gravatar_id":"","url":"https://api.github.com/users/iamgroot42","html_url":"https://github.com/iamgroot42","followers_url":"https://api.github.com/users/iamgroot42/followers","following_url":"https://api.github.com/users/iamgroot42/following{/other_user}","gists_url":"https://api.github.com/users/iamgroot42/gists{/gist_id}","starred_url":"https://api.github.com/users/iamgroot42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamgroot42/subscriptions","organizations_url":"https://api.github.com/users/iamgroot42/orgs","repos_url":"https://api.github.com/users/iamgroot42/repos","events_url":"https://api.github.com/users/iamgroot42/events{/privacy}","received_events_url":"https://api.github.com/users/iamgroot42/received_events","type":"User","site_admin":false},"body":"…e sharing notes.","created_at":"2015-12-12T15:53:43Z","updated_at":"2015-12-12T15:54:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"523b630ca3f0c7793c27057fd4ad1019107f0e65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/levlaz/braindump/pulls/109/commits","review_comments_url":"https://api.github.com/repos/levlaz/braindump/pulls/109/comments","review_comment_url":"https://api.github.com/repos/levlaz/braindump/pulls/comments{/number}","comments_url":"https://api.github.com/repos/levlaz/braindump/issues/109/comments","statuses_url":"https://api.github.com/repos/levlaz/braindump/statuses/4acad30d77d04002771577f0a9142501722d86b8","head":{"label":"iamgroot42:master","ref":"master","sha":"4acad30d77d04002771577f0a9142501722d86b8","user":{"login":"iamgroot42","id":10141323,"avatar_url":"https://avatars.githubusercontent.com/u/10141323?v=3","gravatar_id":"","url":"https://api.github.com/users/iamgroot42","html_url":"https://github.com/iamgroot42","followers_url":"https://api.github.com/users/iamgroot42/followers","following_url":"https://api.github.com/users/iamgroot42/following{/other_user}","gists_url":"https://api.github.com/users/iamgroot42/gists{/gist_id}","starred_url":"https://api.github.com/users/iamgroot42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamgroot42/subscriptions","organizations_url":"https://api.github.com/users/iamgroot42/orgs","repos_url":"https://api.github.com/users/iamgroot42/repos","events_url":"https://api.github.com/users/iamgroot42/events{/privacy}","received_events_url":"https://api.github.com/users/iamgroot42/received_events","type":"User","site_admin":false},"repo":{"id":47691398,"name":"braindump","full_name":"iamgroot42/braindump","owner":{"login":"iamgroot42","id":10141323,"avatar_url":"https://avatars.githubusercontent.com/u/10141323?v=3","gravatar_id":"","url":"https://api.github.com/users/iamgroot42","html_url":"https://github.com/iamgroot42","followers_url":"https://api.github.com/users/iamgroot42/followers","following_url":"https://api.github.com/users/iamgroot42/following{/other_user}","gists_url":"https://api.github.com/users/iamgroot42/gists{/gist_id}","starred_url":"https://api.github.com/users/iamgroot42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamgroot42/subscriptions","organizations_url":"https://api.github.com/users/iamgroot42/orgs","repos_url":"https://api.github.com/users/iamgroot42/repos","events_url":"https://api.github.com/users/iamgroot42/events{/privacy}","received_events_url":"https://api.github.com/users/iamgroot42/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iamgroot42/braindump","description":"BrainDump is a simple, powerful, and open note taking platfform that makes it easy to organize your life.","fork":true,"url":"https://api.github.com/repos/iamgroot42/braindump","forks_url":"https://api.github.com/repos/iamgroot42/braindump/forks","keys_url":"https://api.github.com/repos/iamgroot42/braindump/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iamgroot42/braindump/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iamgroot42/braindump/teams","hooks_url":"https://api.github.com/repos/iamgroot42/braindump/hooks","issue_events_url":"https://api.github.com/repos/iamgroot42/braindump/issues/events{/number}","events_url":"https://api.github.com/repos/iamgroot42/braindump/events","assignees_url":"https://api.github.com/repos/iamgroot42/braindump/assignees{/user}","branches_url":"https://api.github.com/repos/iamgroot42/braindump/branches{/branch}","tags_url":"https://api.github.com/repos/iamgroot42/braindump/tags","blobs_url":"https://api.github.com/repos/iamgroot42/braindump/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iamgroot42/braindump/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iamgroot42/braindump/git/refs{/sha}","trees_url":"https://api.github.com/repos/iamgroot42/braindump/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iamgroot42/braindump/statuses/{sha}","languages_url":"https://api.github.com/repos/iamgroot42/braindump/languages","stargazers_url":"https://api.github.com/repos/iamgroot42/braindump/stargazers","contributors_url":"https://api.github.com/repos/iamgroot42/braindump/contributors","subscribers_url":"https://api.github.com/repos/iamgroot42/braindump/subscribers","subscription_url":"https://api.github.com/repos/iamgroot42/braindump/subscription","commits_url":"https://api.github.com/repos/iamgroot42/braindump/commits{/sha}","git_commits_url":"https://api.github.com/repos/iamgroot42/braindump/git/commits{/sha}","comments_url":"https://api.github.com/repos/iamgroot42/braindump/comments{/number}","issue_comment_url":"https://api.github.com/repos/iamgroot42/braindump/issues/comments{/number}","contents_url":"https://api.github.com/repos/iamgroot42/braindump/contents/{+path}","compare_url":"https://api.github.com/repos/iamgroot42/braindump/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iamgroot42/braindump/merges","archive_url":"https://api.github.com/repos/iamgroot42/braindump/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iamgroot42/braindump/downloads","issues_url":"https://api.github.com/repos/iamgroot42/braindump/issues{/number}","pulls_url":"https://api.github.com/repos/iamgroot42/braindump/pulls{/number}","milestones_url":"https://api.github.com/repos/iamgroot42/braindump/milestones{/number}","notifications_url":"https://api.github.com/repos/iamgroot42/braindump/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iamgroot42/braindump/labels{/name}","releases_url":"https://api.github.com/repos/iamgroot42/braindump/releases{/id}","created_at":"2015-12-09T12:56:38Z","updated_at":"2015-12-09T12:56:39Z","pushed_at":"2015-12-12T15:53:00Z","git_url":"git://github.com/iamgroot42/braindump.git","ssh_url":"git@github.com:iamgroot42/braindump.git","clone_url":"https://github.com/iamgroot42/braindump.git","svn_url":"https://github.com/iamgroot42/braindump","homepage":"https://braindump.pw","size":1748,"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":"levlaz:master","ref":"master","sha":"bbcd8594fd83cbb82ce6c2de2db1207afa849ae1","user":{"login":"levlaz","id":7981032,"avatar_url":"https://avatars.githubusercontent.com/u/7981032?v=3","gravatar_id":"","url":"https://api.github.com/users/levlaz","html_url":"https://github.com/levlaz","followers_url":"https://api.github.com/users/levlaz/followers","following_url":"https://api.github.com/users/levlaz/following{/other_user}","gists_url":"https://api.github.com/users/levlaz/gists{/gist_id}","starred_url":"https://api.github.com/users/levlaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levlaz/subscriptions","organizations_url":"https://api.github.com/users/levlaz/orgs","repos_url":"https://api.github.com/users/levlaz/repos","events_url":"https://api.github.com/users/levlaz/events{/privacy}","received_events_url":"https://api.github.com/users/levlaz/received_events","type":"User","site_admin":false},"repo":{"id":46677994,"name":"braindump","full_name":"levlaz/braindump","owner":{"login":"levlaz","id":7981032,"avatar_url":"https://avatars.githubusercontent.com/u/7981032?v=3","gravatar_id":"","url":"https://api.github.com/users/levlaz","html_url":"https://github.com/levlaz","followers_url":"https://api.github.com/users/levlaz/followers","following_url":"https://api.github.com/users/levlaz/following{/other_user}","gists_url":"https://api.github.com/users/levlaz/gists{/gist_id}","starred_url":"https://api.github.com/users/levlaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levlaz/subscriptions","organizations_url":"https://api.github.com/users/levlaz/orgs","repos_url":"https://api.github.com/users/levlaz/repos","events_url":"https://api.github.com/users/levlaz/events{/privacy}","received_events_url":"https://api.github.com/users/levlaz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/levlaz/braindump","description":"BrainDump is a simple, powerful, and open note taking platfform that makes it easy to organize your life.","fork":false,"url":"https://api.github.com/repos/levlaz/braindump","forks_url":"https://api.github.com/repos/levlaz/braindump/forks","keys_url":"https://api.github.com/repos/levlaz/braindump/keys{/key_id}","collaborators_url":"https://api.github.com/repos/levlaz/braindump/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/levlaz/braindump/teams","hooks_url":"https://api.github.com/repos/levlaz/braindump/hooks","issue_events_url":"https://api.github.com/repos/levlaz/braindump/issues/events{/number}","events_url":"https://api.github.com/repos/levlaz/braindump/events","assignees_url":"https://api.github.com/repos/levlaz/braindump/assignees{/user}","branches_url":"https://api.github.com/repos/levlaz/braindump/branches{/branch}","tags_url":"https://api.github.com/repos/levlaz/braindump/tags","blobs_url":"https://api.github.com/repos/levlaz/braindump/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/levlaz/braindump/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/levlaz/braindump/git/refs{/sha}","trees_url":"https://api.github.com/repos/levlaz/braindump/git/trees{/sha}","statuses_url":"https://api.github.com/repos/levlaz/braindump/statuses/{sha}","languages_url":"https://api.github.com/repos/levlaz/braindump/languages","stargazers_url":"https://api.github.com/repos/levlaz/braindump/stargazers","contributors_url":"https://api.github.com/repos/levlaz/braindump/contributors","subscribers_url":"https://api.github.com/repos/levlaz/braindump/subscribers","subscription_url":"https://api.github.com/repos/levlaz/braindump/subscription","commits_url":"https://api.github.com/repos/levlaz/braindump/commits{/sha}","git_commits_url":"https://api.github.com/repos/levlaz/braindump/git/commits{/sha}","comments_url":"https://api.github.com/repos/levlaz/braindump/comments{/number}","issue_comment_url":"https://api.github.com/repos/levlaz/braindump/issues/comments{/number}","contents_url":"https://api.github.com/repos/levlaz/braindump/contents/{+path}","compare_url":"https://api.github.com/repos/levlaz/braindump/compare/{base}...{head}","merges_url":"https://api.github.com/repos/levlaz/braindump/merges","archive_url":"https://api.github.com/repos/levlaz/braindump/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/levlaz/braindump/downloads","issues_url":"https://api.github.com/repos/levlaz/braindump/issues{/number}","pulls_url":"https://api.github.com/repos/levlaz/braindump/pulls{/number}","milestones_url":"https://api.github.com/repos/levlaz/braindump/milestones{/number}","notifications_url":"https://api.github.com/repos/levlaz/braindump/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/levlaz/braindump/labels{/name}","releases_url":"https://api.github.com/repos/levlaz/braindump/releases{/id}","created_at":"2015-11-22T20:15:55Z","updated_at":"2015-12-12T14:52:39Z","pushed_at":"2015-12-12T15:53:45Z","git_url":"git://github.com/levlaz/braindump.git","ssh_url":"git@github.com:levlaz/braindump.git","clone_url":"https://github.com/levlaz/braindump.git","svn_url":"https://github.com/levlaz/braindump","homepage":"https://braindump.pw","size":3216,"stargazers_count":388,"watchers_count":388,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":29,"forks":38,"open_issues":29,"watchers":388,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/levlaz/braindump/pulls/109"},"html":{"href":"https://github.com/levlaz/braindump/pull/109"},"issue":{"href":"https://api.github.com/repos/levlaz/braindump/issues/109"},"comments":{"href":"https://api.github.com/repos/levlaz/braindump/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/levlaz/braindump/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/levlaz/braindump/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/levlaz/braindump/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/levlaz/braindump/statuses/4acad30d77d04002771577f0a9142501722d86b8"}}}}