{"action":"created","comment":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/comments/28177413","id":28177413,"diff_hunk":"@@ -64,7 +65,7 @@ getLoginServices = function () {\n };\n \n hasPasswordService = function () {","path":"shell/packages/sandstorm-accounts-ui/login_buttons.js","position":20,"original_position":20,"commit_id":"1e208769a22bd2390d3fc8087a8b9979ea1cb490","original_commit_id":"1e208769a22bd2390d3fc8087a8b9979ea1cb490","user":{"login":"kentonv","id":4001805,"avatar_url":"https://avatars.githubusercontent.com/u/4001805?v=3","gravatar_id":"","url":"https://api.github.com/users/kentonv","html_url":"https://github.com/kentonv","followers_url":"https://api.github.com/users/kentonv/followers","following_url":"https://api.github.com/users/kentonv/following{/other_user}","gists_url":"https://api.github.com/users/kentonv/gists{/gist_id}","starred_url":"https://api.github.com/users/kentonv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentonv/subscriptions","organizations_url":"https://api.github.com/users/kentonv/orgs","repos_url":"https://api.github.com/users/kentonv/repos","events_url":"https://api.github.com/users/kentonv/events{/privacy}","received_events_url":"https://api.github.com/users/kentonv/received_events","type":"User","site_admin":false},"body":"rename this function?","created_at":"2015-04-10T20:24:38Z","updated_at":"2015-04-10T20:24:38Z","html_url":"https://github.com/sandstorm-io/sandstorm/pull/327#discussion_r28177413","pull_request_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/327","_links":{"self":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/comments/28177413"},"html":{"href":"https://github.com/sandstorm-io/sandstorm/pull/327#discussion_r28177413"},"pull_request":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/327"}}},"pull_request":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/327","id":33000210,"html_url":"https://github.com/sandstorm-io/sandstorm/pull/327","diff_url":"https://github.com/sandstorm-io/sandstorm/pull/327.diff","patch_url":"https://github.com/sandstorm-io/sandstorm/pull/327.patch","issue_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/327","number":327,"state":"open","locked":false,"title":"Add email token login system","user":{"login":"jparyani","id":1595880,"avatar_url":"https://avatars.githubusercontent.com/u/1595880?v=3","gravatar_id":"","url":"https://api.github.com/users/jparyani","html_url":"https://github.com/jparyani","followers_url":"https://api.github.com/users/jparyani/followers","following_url":"https://api.github.com/users/jparyani/following{/other_user}","gists_url":"https://api.github.com/users/jparyani/gists{/gist_id}","starred_url":"https://api.github.com/users/jparyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jparyani/subscriptions","organizations_url":"https://api.github.com/users/jparyani/orgs","repos_url":"https://api.github.com/users/jparyani/repos","events_url":"https://api.github.com/users/jparyani/events{/privacy}","received_events_url":"https://api.github.com/users/jparyani/received_events","type":"User","site_admin":false},"body":"This is an alternate login system, based loosely on accounts-password.\r\n\r\nUsers input their email, and the server sends a message to that address\r\ncontaining a token. The user either clicks a link out of that email or\r\nmanually copies the token into an input box, and then they are logged\r\nin. This package (accounts-email-token), was intended to be generic\r\nenough to be used outside Sandstorm, and may at some point be moved out\r\nand put onto atmosphere.\r\n\r\nOn the Sandstorm side, the only things that needed to chage were the\r\nadmin page, and the accounts-ui. It's a bit of a mess since we're\r\nbuilding on top of meteor's accounts-ui that has a bunch of custom logic\r\nfor accounts-password that I tried to re-use as much as possible.","created_at":"2015-04-09T21:53:38Z","updated_at":"2015-04-10T20:24:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4339af89e0993abfd3735c0b60cd12b0ba0b1b94","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/327/commits","review_comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/327/comments","review_comment_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/327/comments","statuses_url":"https://api.github.com/repos/sandstorm-io/sandstorm/statuses/1e208769a22bd2390d3fc8087a8b9979ea1cb490","head":{"label":"jparyani:add-email-token-login","ref":"add-email-token-login","sha":"1e208769a22bd2390d3fc8087a8b9979ea1cb490","user":{"login":"jparyani","id":1595880,"avatar_url":"https://avatars.githubusercontent.com/u/1595880?v=3","gravatar_id":"","url":"https://api.github.com/users/jparyani","html_url":"https://github.com/jparyani","followers_url":"https://api.github.com/users/jparyani/followers","following_url":"https://api.github.com/users/jparyani/following{/other_user}","gists_url":"https://api.github.com/users/jparyani/gists{/gist_id}","starred_url":"https://api.github.com/users/jparyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jparyani/subscriptions","organizations_url":"https://api.github.com/users/jparyani/orgs","repos_url":"https://api.github.com/users/jparyani/repos","events_url":"https://api.github.com/users/jparyani/events{/privacy}","received_events_url":"https://api.github.com/users/jparyani/received_events","type":"User","site_admin":false},"repo":{"id":18074973,"name":"sandstorm","full_name":"jparyani/sandstorm","owner":{"login":"jparyani","id":1595880,"avatar_url":"https://avatars.githubusercontent.com/u/1595880?v=3","gravatar_id":"","url":"https://api.github.com/users/jparyani","html_url":"https://github.com/jparyani","followers_url":"https://api.github.com/users/jparyani/followers","following_url":"https://api.github.com/users/jparyani/following{/other_user}","gists_url":"https://api.github.com/users/jparyani/gists{/gist_id}","starred_url":"https://api.github.com/users/jparyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jparyani/subscriptions","organizations_url":"https://api.github.com/users/jparyani/orgs","repos_url":"https://api.github.com/users/jparyani/repos","events_url":"https://api.github.com/users/jparyani/events{/privacy}","received_events_url":"https://api.github.com/users/jparyani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jparyani/sandstorm","description":"Personal Cloud Sandbox","fork":true,"url":"https://api.github.com/repos/jparyani/sandstorm","forks_url":"https://api.github.com/repos/jparyani/sandstorm/forks","keys_url":"https://api.github.com/repos/jparyani/sandstorm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jparyani/sandstorm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jparyani/sandstorm/teams","hooks_url":"https://api.github.com/repos/jparyani/sandstorm/hooks","issue_events_url":"https://api.github.com/repos/jparyani/sandstorm/issues/events{/number}","events_url":"https://api.github.com/repos/jparyani/sandstorm/events","assignees_url":"https://api.github.com/repos/jparyani/sandstorm/assignees{/user}","branches_url":"https://api.github.com/repos/jparyani/sandstorm/branches{/branch}","tags_url":"https://api.github.com/repos/jparyani/sandstorm/tags","blobs_url":"https://api.github.com/repos/jparyani/sandstorm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jparyani/sandstorm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jparyani/sandstorm/git/refs{/sha}","trees_url":"https://api.github.com/repos/jparyani/sandstorm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jparyani/sandstorm/statuses/{sha}","languages_url":"https://api.github.com/repos/jparyani/sandstorm/languages","stargazers_url":"https://api.github.com/repos/jparyani/sandstorm/stargazers","contributors_url":"https://api.github.com/repos/jparyani/sandstorm/contributors","subscribers_url":"https://api.github.com/repos/jparyani/sandstorm/subscribers","subscription_url":"https://api.github.com/repos/jparyani/sandstorm/subscription","commits_url":"https://api.github.com/repos/jparyani/sandstorm/commits{/sha}","git_commits_url":"https://api.github.com/repos/jparyani/sandstorm/git/commits{/sha}","comments_url":"https://api.github.com/repos/jparyani/sandstorm/comments{/number}","issue_comment_url":"https://api.github.com/repos/jparyani/sandstorm/issues/comments{/number}","contents_url":"https://api.github.com/repos/jparyani/sandstorm/contents/{+path}","compare_url":"https://api.github.com/repos/jparyani/sandstorm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jparyani/sandstorm/merges","archive_url":"https://api.github.com/repos/jparyani/sandstorm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jparyani/sandstorm/downloads","issues_url":"https://api.github.com/repos/jparyani/sandstorm/issues{/number}","pulls_url":"https://api.github.com/repos/jparyani/sandstorm/pulls{/number}","milestones_url":"https://api.github.com/repos/jparyani/sandstorm/milestones{/number}","notifications_url":"https://api.github.com/repos/jparyani/sandstorm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jparyani/sandstorm/labels{/name}","releases_url":"https://api.github.com/repos/jparyani/sandstorm/releases{/id}","created_at":"2014-03-24T19:10:17Z","updated_at":"2015-04-07T18:25:57Z","pushed_at":"2015-04-10T20:03:55Z","git_url":"git://github.com/jparyani/sandstorm.git","ssh_url":"git@github.com:jparyani/sandstorm.git","clone_url":"https://github.com/jparyani/sandstorm.git","svn_url":"https://github.com/jparyani/sandstorm","homepage":null,"size":4977,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"sandstorm-io:master","ref":"master","sha":"818ef940bb57f998816e438e0c2616a64bd3f2da","user":{"login":"sandstorm-io","id":7479094,"avatar_url":"https://avatars.githubusercontent.com/u/7479094?v=3","gravatar_id":"","url":"https://api.github.com/users/sandstorm-io","html_url":"https://github.com/sandstorm-io","followers_url":"https://api.github.com/users/sandstorm-io/followers","following_url":"https://api.github.com/users/sandstorm-io/following{/other_user}","gists_url":"https://api.github.com/users/sandstorm-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstorm-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstorm-io/subscriptions","organizations_url":"https://api.github.com/users/sandstorm-io/orgs","repos_url":"https://api.github.com/users/sandstorm-io/repos","events_url":"https://api.github.com/users/sandstorm-io/events{/privacy}","received_events_url":"https://api.github.com/users/sandstorm-io/received_events","type":"Organization","site_admin":false},"repo":{"id":15728293,"name":"sandstorm","full_name":"sandstorm-io/sandstorm","owner":{"login":"sandstorm-io","id":7479094,"avatar_url":"https://avatars.githubusercontent.com/u/7479094?v=3","gravatar_id":"","url":"https://api.github.com/users/sandstorm-io","html_url":"https://github.com/sandstorm-io","followers_url":"https://api.github.com/users/sandstorm-io/followers","following_url":"https://api.github.com/users/sandstorm-io/following{/other_user}","gists_url":"https://api.github.com/users/sandstorm-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstorm-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstorm-io/subscriptions","organizations_url":"https://api.github.com/users/sandstorm-io/orgs","repos_url":"https://api.github.com/users/sandstorm-io/repos","events_url":"https://api.github.com/users/sandstorm-io/events{/privacy}","received_events_url":"https://api.github.com/users/sandstorm-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sandstorm-io/sandstorm","description":"Personal Cloud Sandbox","fork":false,"url":"https://api.github.com/repos/sandstorm-io/sandstorm","forks_url":"https://api.github.com/repos/sandstorm-io/sandstorm/forks","keys_url":"https://api.github.com/repos/sandstorm-io/sandstorm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sandstorm-io/sandstorm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sandstorm-io/sandstorm/teams","hooks_url":"https://api.github.com/repos/sandstorm-io/sandstorm/hooks","issue_events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/events{/number}","events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/events","assignees_url":"https://api.github.com/repos/sandstorm-io/sandstorm/assignees{/user}","branches_url":"https://api.github.com/repos/sandstorm-io/sandstorm/branches{/branch}","tags_url":"https://api.github.com/repos/sandstorm-io/sandstorm/tags","blobs_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/refs{/sha}","trees_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sandstorm-io/sandstorm/statuses/{sha}","languages_url":"https://api.github.com/repos/sandstorm-io/sandstorm/languages","stargazers_url":"https://api.github.com/repos/sandstorm-io/sandstorm/stargazers","contributors_url":"https://api.github.com/repos/sandstorm-io/sandstorm/contributors","subscribers_url":"https://api.github.com/repos/sandstorm-io/sandstorm/subscribers","subscription_url":"https://api.github.com/repos/sandstorm-io/sandstorm/subscription","commits_url":"https://api.github.com/repos/sandstorm-io/sandstorm/commits{/sha}","git_commits_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/commits{/sha}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/comments{/number}","issue_comment_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/comments{/number}","contents_url":"https://api.github.com/repos/sandstorm-io/sandstorm/contents/{+path}","compare_url":"https://api.github.com/repos/sandstorm-io/sandstorm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sandstorm-io/sandstorm/merges","archive_url":"https://api.github.com/repos/sandstorm-io/sandstorm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sandstorm-io/sandstorm/downloads","issues_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues{/number}","pulls_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls{/number}","milestones_url":"https://api.github.com/repos/sandstorm-io/sandstorm/milestones{/number}","notifications_url":"https://api.github.com/repos/sandstorm-io/sandstorm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sandstorm-io/sandstorm/labels{/name}","releases_url":"https://api.github.com/repos/sandstorm-io/sandstorm/releases{/id}","created_at":"2014-01-08T07:10:33Z","updated_at":"2015-04-10T19:09:10Z","pushed_at":"2015-04-10T20:20:01Z","git_url":"git://github.com/sandstorm-io/sandstorm.git","ssh_url":"git@github.com:sandstorm-io/sandstorm.git","clone_url":"https://github.com/sandstorm-io/sandstorm.git","svn_url":"https://github.com/sandstorm-io/sandstorm","homepage":"https://sandstorm.io","size":30122,"stargazers_count":2333,"watchers_count":2333,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":149,"mirror_url":null,"open_issues_count":52,"forks":149,"open_issues":52,"watchers":2333,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/327"},"html":{"href":"https://github.com/sandstorm-io/sandstorm/pull/327"},"issue":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/327"},"comments":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/327/comments"},"review_comments":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/327/comments"},"review_comment":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/327/commits"},"statuses":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/statuses/1e208769a22bd2390d3fc8087a8b9979ea1cb490"}}}}