{"action":"created","comment":{"url":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/comments/76016651","id":76016651,"diff_hunk":"@@ -10,6 +10,8 @@ val sign_up_handler : unit -> string -> unit Lwt.t\n val activation_handler :\n   string -> unit -> Eliom_registration.Action.result Lwt.t\n \n+val add_mail_handler : int64 -> unit -> string -> unit Lwt.t","path":"src/os_handlers.eliomi","position":null,"original_position":4,"commit_id":"25f926f74e40c5d30183af704811f241920564fc","original_commit_id":"3e8ba8d201d3e9bfe0d05ca17eafb643e9a3ab73","user":{"login":"canonici","id":16916089,"avatar_url":"https://avatars.githubusercontent.com/u/16916089?v=3","gravatar_id":"","url":"https://api.github.com/users/canonici","html_url":"https://github.com/canonici","followers_url":"https://api.github.com/users/canonici/followers","following_url":"https://api.github.com/users/canonici/following{/other_user}","gists_url":"https://api.github.com/users/canonici/gists{/gist_id}","starred_url":"https://api.github.com/users/canonici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canonici/subscriptions","organizations_url":"https://api.github.com/users/canonici/orgs","repos_url":"https://api.github.com/users/canonici/repos","events_url":"https://api.github.com/users/canonici/events{/privacy}","received_events_url":"https://api.github.com/users/canonici/received_events","type":"User","site_admin":false},"body":"I changed it a little bit, I was checking twice if the user was connected.\r\n\r\n`val add_mail_handler : unit -> string -> unit Lwt.t`\r\n\r\nIt looks better.","created_at":"2016-08-24T08:46:59Z","updated_at":"2016-08-24T08:46:59Z","html_url":"https://github.com/ocsigen/ocsigen-start/pull/99#discussion_r76016651","pull_request_url":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/99","_links":{"self":{"href":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/comments/76016651"},"html":{"href":"https://github.com/ocsigen/ocsigen-start/pull/99#discussion_r76016651"},"pull_request":{"href":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/99"}}},"pull_request":{"url":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/99","id":82338433,"html_url":"https://github.com/ocsigen/ocsigen-start/pull/99","diff_url":"https://github.com/ocsigen/ocsigen-start/pull/99.diff","patch_url":"https://github.com/ocsigen/ocsigen-start/pull/99.patch","issue_url":"https://api.github.com/repos/ocsigen/ocsigen-start/issues/99","number":99,"state":"open","locked":false,"title":"multimail","user":{"login":"canonici","id":16916089,"avatar_url":"https://avatars.githubusercontent.com/u/16916089?v=3","gravatar_id":"","url":"https://api.github.com/users/canonici","html_url":"https://github.com/canonici","followers_url":"https://api.github.com/users/canonici/followers","following_url":"https://api.github.com/users/canonici/following{/other_user}","gists_url":"https://api.github.com/users/canonici/gists{/gist_id}","starred_url":"https://api.github.com/users/canonici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canonici/subscriptions","organizations_url":"https://api.github.com/users/canonici/orgs","repos_url":"https://api.github.com/users/canonici/repos","events_url":"https://api.github.com/users/canonici/events{/privacy}","received_events_url":"https://api.github.com/users/canonici/received_events","type":"User","site_admin":false},"body":"Support for multiple emails for one user + little rewrite of os_db.ml\r\n\r\nPS:  .sql files need to have a [email citext NOT NULL,] field for the activation table for this to work.","created_at":"2016-08-23T10:17:02Z","updated_at":"2016-08-24T08:46:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50543e311454d9bf4ba1be3ac6c4723d27112fb3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/99/commits","review_comments_url":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/99/comments","review_comment_url":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ocsigen/ocsigen-start/issues/99/comments","statuses_url":"https://api.github.com/repos/ocsigen/ocsigen-start/statuses/25f926f74e40c5d30183af704811f241920564fc","head":{"label":"canonici:multimail","ref":"multimail","sha":"25f926f74e40c5d30183af704811f241920564fc","user":{"login":"canonici","id":16916089,"avatar_url":"https://avatars.githubusercontent.com/u/16916089?v=3","gravatar_id":"","url":"https://api.github.com/users/canonici","html_url":"https://github.com/canonici","followers_url":"https://api.github.com/users/canonici/followers","following_url":"https://api.github.com/users/canonici/following{/other_user}","gists_url":"https://api.github.com/users/canonici/gists{/gist_id}","starred_url":"https://api.github.com/users/canonici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canonici/subscriptions","organizations_url":"https://api.github.com/users/canonici/orgs","repos_url":"https://api.github.com/users/canonici/repos","events_url":"https://api.github.com/users/canonici/events{/privacy}","received_events_url":"https://api.github.com/users/canonici/received_events","type":"User","site_admin":false},"repo":{"id":62063275,"name":"eliom-base-app","full_name":"canonici/eliom-base-app","owner":{"login":"canonici","id":16916089,"avatar_url":"https://avatars.githubusercontent.com/u/16916089?v=3","gravatar_id":"","url":"https://api.github.com/users/canonici","html_url":"https://github.com/canonici","followers_url":"https://api.github.com/users/canonici/followers","following_url":"https://api.github.com/users/canonici/following{/other_user}","gists_url":"https://api.github.com/users/canonici/gists{/gist_id}","starred_url":"https://api.github.com/users/canonici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canonici/subscriptions","organizations_url":"https://api.github.com/users/canonici/orgs","repos_url":"https://api.github.com/users/canonici/repos","events_url":"https://api.github.com/users/canonici/events{/privacy}","received_events_url":"https://api.github.com/users/canonici/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/canonici/eliom-base-app","description":"Eliom Base Application: an Eliom application skeleton ready to use to build your own application with users, (pre)registration, notifications, etc.","fork":true,"url":"https://api.github.com/repos/canonici/eliom-base-app","forks_url":"https://api.github.com/repos/canonici/eliom-base-app/forks","keys_url":"https://api.github.com/repos/canonici/eliom-base-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/canonici/eliom-base-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/canonici/eliom-base-app/teams","hooks_url":"https://api.github.com/repos/canonici/eliom-base-app/hooks","issue_events_url":"https://api.github.com/repos/canonici/eliom-base-app/issues/events{/number}","events_url":"https://api.github.com/repos/canonici/eliom-base-app/events","assignees_url":"https://api.github.com/repos/canonici/eliom-base-app/assignees{/user}","branches_url":"https://api.github.com/repos/canonici/eliom-base-app/branches{/branch}","tags_url":"https://api.github.com/repos/canonici/eliom-base-app/tags","blobs_url":"https://api.github.com/repos/canonici/eliom-base-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/canonici/eliom-base-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/canonici/eliom-base-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/canonici/eliom-base-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/canonici/eliom-base-app/statuses/{sha}","languages_url":"https://api.github.com/repos/canonici/eliom-base-app/languages","stargazers_url":"https://api.github.com/repos/canonici/eliom-base-app/stargazers","contributors_url":"https://api.github.com/repos/canonici/eliom-base-app/contributors","subscribers_url":"https://api.github.com/repos/canonici/eliom-base-app/subscribers","subscription_url":"https://api.github.com/repos/canonici/eliom-base-app/subscription","commits_url":"https://api.github.com/repos/canonici/eliom-base-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/canonici/eliom-base-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/canonici/eliom-base-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/canonici/eliom-base-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/canonici/eliom-base-app/contents/{+path}","compare_url":"https://api.github.com/repos/canonici/eliom-base-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/canonici/eliom-base-app/merges","archive_url":"https://api.github.com/repos/canonici/eliom-base-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/canonici/eliom-base-app/downloads","issues_url":"https://api.github.com/repos/canonici/eliom-base-app/issues{/number}","pulls_url":"https://api.github.com/repos/canonici/eliom-base-app/pulls{/number}","milestones_url":"https://api.github.com/repos/canonici/eliom-base-app/milestones{/number}","notifications_url":"https://api.github.com/repos/canonici/eliom-base-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/canonici/eliom-base-app/labels{/name}","releases_url":"https://api.github.com/repos/canonici/eliom-base-app/releases{/id}","deployments_url":"https://api.github.com/repos/canonici/eliom-base-app/deployments","created_at":"2016-06-27T14:41:15Z","updated_at":"2016-07-06T14:45:08Z","pushed_at":"2016-08-24T08:43:58Z","git_url":"git://github.com/canonici/eliom-base-app.git","ssh_url":"git@github.com:canonici/eliom-base-app.git","clone_url":"https://github.com/canonici/eliom-base-app.git","svn_url":"https://github.com/canonici/eliom-base-app","homepage":"","size":1959,"stargazers_count":0,"watchers_count":0,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ocsigen:master","ref":"master","sha":"0ff666a5867665b31a6c77bc4e60de6c882bd5ea","user":{"login":"ocsigen","id":4729424,"avatar_url":"https://avatars.githubusercontent.com/u/4729424?v=3","gravatar_id":"","url":"https://api.github.com/users/ocsigen","html_url":"https://github.com/ocsigen","followers_url":"https://api.github.com/users/ocsigen/followers","following_url":"https://api.github.com/users/ocsigen/following{/other_user}","gists_url":"https://api.github.com/users/ocsigen/gists{/gist_id}","starred_url":"https://api.github.com/users/ocsigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocsigen/subscriptions","organizations_url":"https://api.github.com/users/ocsigen/orgs","repos_url":"https://api.github.com/users/ocsigen/repos","events_url":"https://api.github.com/users/ocsigen/events{/privacy}","received_events_url":"https://api.github.com/users/ocsigen/received_events","type":"Organization","site_admin":false},"repo":{"id":11151396,"name":"ocsigen-start","full_name":"ocsigen/ocsigen-start","owner":{"login":"ocsigen","id":4729424,"avatar_url":"https://avatars.githubusercontent.com/u/4729424?v=3","gravatar_id":"","url":"https://api.github.com/users/ocsigen","html_url":"https://github.com/ocsigen","followers_url":"https://api.github.com/users/ocsigen/followers","following_url":"https://api.github.com/users/ocsigen/following{/other_user}","gists_url":"https://api.github.com/users/ocsigen/gists{/gist_id}","starred_url":"https://api.github.com/users/ocsigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocsigen/subscriptions","organizations_url":"https://api.github.com/users/ocsigen/orgs","repos_url":"https://api.github.com/users/ocsigen/repos","events_url":"https://api.github.com/users/ocsigen/events{/privacy}","received_events_url":"https://api.github.com/users/ocsigen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ocsigen/ocsigen-start","description":"Eliom Base Application: an Eliom application skeleton ready to use to build your own application with users, (pre)registration, notifications, etc.","fork":false,"url":"https://api.github.com/repos/ocsigen/ocsigen-start","forks_url":"https://api.github.com/repos/ocsigen/ocsigen-start/forks","keys_url":"https://api.github.com/repos/ocsigen/ocsigen-start/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ocsigen/ocsigen-start/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ocsigen/ocsigen-start/teams","hooks_url":"https://api.github.com/repos/ocsigen/ocsigen-start/hooks","issue_events_url":"https://api.github.com/repos/ocsigen/ocsigen-start/issues/events{/number}","events_url":"https://api.github.com/repos/ocsigen/ocsigen-start/events","assignees_url":"https://api.github.com/repos/ocsigen/ocsigen-start/assignees{/user}","branches_url":"https://api.github.com/repos/ocsigen/ocsigen-start/branches{/branch}","tags_url":"https://api.github.com/repos/ocsigen/ocsigen-start/tags","blobs_url":"https://api.github.com/repos/ocsigen/ocsigen-start/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ocsigen/ocsigen-start/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ocsigen/ocsigen-start/git/refs{/sha}","trees_url":"https://api.github.com/repos/ocsigen/ocsigen-start/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ocsigen/ocsigen-start/statuses/{sha}","languages_url":"https://api.github.com/repos/ocsigen/ocsigen-start/languages","stargazers_url":"https://api.github.com/repos/ocsigen/ocsigen-start/stargazers","contributors_url":"https://api.github.com/repos/ocsigen/ocsigen-start/contributors","subscribers_url":"https://api.github.com/repos/ocsigen/ocsigen-start/subscribers","subscription_url":"https://api.github.com/repos/ocsigen/ocsigen-start/subscription","commits_url":"https://api.github.com/repos/ocsigen/ocsigen-start/commits{/sha}","git_commits_url":"https://api.github.com/repos/ocsigen/ocsigen-start/git/commits{/sha}","comments_url":"https://api.github.com/repos/ocsigen/ocsigen-start/comments{/number}","issue_comment_url":"https://api.github.com/repos/ocsigen/ocsigen-start/issues/comments{/number}","contents_url":"https://api.github.com/repos/ocsigen/ocsigen-start/contents/{+path}","compare_url":"https://api.github.com/repos/ocsigen/ocsigen-start/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ocsigen/ocsigen-start/merges","archive_url":"https://api.github.com/repos/ocsigen/ocsigen-start/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ocsigen/ocsigen-start/downloads","issues_url":"https://api.github.com/repos/ocsigen/ocsigen-start/issues{/number}","pulls_url":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls{/number}","milestones_url":"https://api.github.com/repos/ocsigen/ocsigen-start/milestones{/number}","notifications_url":"https://api.github.com/repos/ocsigen/ocsigen-start/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ocsigen/ocsigen-start/labels{/name}","releases_url":"https://api.github.com/repos/ocsigen/ocsigen-start/releases{/id}","deployments_url":"https://api.github.com/repos/ocsigen/ocsigen-start/deployments","created_at":"2013-07-03T13:24:21Z","updated_at":"2016-08-22T14:26:55Z","pushed_at":"2016-08-24T08:43:31Z","git_url":"git://github.com/ocsigen/ocsigen-start.git","ssh_url":"git@github.com:ocsigen/ocsigen-start.git","clone_url":"https://github.com/ocsigen/ocsigen-start.git","svn_url":"https://github.com/ocsigen/ocsigen-start","homepage":"","size":2161,"stargazers_count":19,"watchers_count":19,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":30,"forks":12,"open_issues":30,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/99"},"html":{"href":"https://github.com/ocsigen/ocsigen-start/pull/99"},"issue":{"href":"https://api.github.com/repos/ocsigen/ocsigen-start/issues/99"},"comments":{"href":"https://api.github.com/repos/ocsigen/ocsigen-start/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ocsigen/ocsigen-start/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/ocsigen/ocsigen-start/statuses/25f926f74e40c5d30183af704811f241920564fc"}}}}
{"actor":{"display_login":"canonici"}}