{"action":"created","comment":{"url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/comments/213285874","pull_request_review_id":150088583,"id":213285874,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzI4NTg3NA==","diff_hunk":"@@ -0,0 +1,63 @@\n+<?php\n+  class SignInView {\n+\n+    static function renderModule($notice = '') {\n+      echo '<h1>Sign In</h1>';\n+      self::renderForm($notice);\n+    }\n+\n+    static function renderForm($notice) {\n+      if($notice) {\n+        echo '<p>' . $notice . '</p>';\n+      }\n+\n+      echo '<form action=\"index.php?mod=auth&opt=in\" method=\"post\">\n+        <label for=\"login\">Login</label>\n+        <input type=\"text\" name=\"login\" id=\"login\" required>\n+        <label for=\"password\">Password</label>\n+        <input type=\"password\" name=\"password\" id=\"password\" required>\n+        <input type=\"submit\" aria-label=\"Sign In\" value=\"Sign In\">\n+      </form>';\n+    }\n+\n+  }\n+\n+  class SignUpView {\n+\n+    static function renderModule($notice = '') {\n+      echo '<h1>Sign Up</h1>';\n+      self::renderForm($notice);\n+    }\n+\n+    static function renderForm($notice) {\n+      if($notice) {\n+        echo '<p>' . $notice . '</p>';\n+      }\n+\n+      echo '<form action=\"index.php?mod=auth&opt=in\" method=\"post\">\n+        <label for=\"login\">Login</label>\n+        <input type=\"text\" name=\"login\" required>\n+        <label for=\"email\">E-mail</label>\n+        <input type=\"email\" name=\"email\" required>\n+        <label for=\"confirm_email\">E-mail confirmation</label>\n+        <input type=\"email\" name=\"confirm_email\" required>\n+        <label for=\"password\">Password</label>\n+        <input type=\"password\" name=\"password\" required>","path":"Sources/Modules/Authentication/view.php","position":45,"original_position":45,"commit_id":"84063ac4575a4cf353ed92f02776ecc38466887f","original_commit_id":"84063ac4575a4cf353ed92f02776ecc38466887f","user":{"login":"accesslint[bot]","id":25971091,"node_id":"MDM6Qm90MjU5NzEwOTE=","avatar_url":"https://avatars1.githubusercontent.com/in/1502?v=4","gravatar_id":"","url":"https://api.github.com/users/accesslint%5Bbot%5D","html_url":"https://github.com/apps/accesslint","followers_url":"https://api.github.com/users/accesslint%5Bbot%5D/followers","following_url":"https://api.github.com/users/accesslint%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/accesslint%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/accesslint%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/accesslint%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/accesslint%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/accesslint%5Bbot%5D/repos","events_url":"https://api.github.com/users/accesslint%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/accesslint%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Looks like there's a label missing for this input. That makes it hard for people using screen readers or voice control to use the input. If you don't want a visual label, try an `aria-label` attribute.","created_at":"2018-08-28T12:05:54Z","updated_at":"2018-08-28T12:05:54Z","html_url":"https://github.com/AlexisValentin/no-lack-of-laque/pull/6#discussion_r213285874","pull_request_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/6","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/comments/213285874"},"html":{"href":"https://github.com/AlexisValentin/no-lack-of-laque/pull/6#discussion_r213285874"},"pull_request":{"href":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/6","id":211138967,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMTM4OTY3","html_url":"https://github.com/AlexisValentin/no-lack-of-laque/pull/6","diff_url":"https://github.com/AlexisValentin/no-lack-of-laque/pull/6.diff","patch_url":"https://github.com/AlexisValentin/no-lack-of-laque/pull/6.patch","issue_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/issues/6","number":6,"state":"open","locked":false,"title":"[MODULES] Create authentication module","user":{"login":"AlexisValentin","id":11422759,"node_id":"MDQ6VXNlcjExNDIyNzU5","avatar_url":"https://avatars2.githubusercontent.com/u/11422759?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexisValentin","html_url":"https://github.com/AlexisValentin","followers_url":"https://api.github.com/users/AlexisValentin/followers","following_url":"https://api.github.com/users/AlexisValentin/following{/other_user}","gists_url":"https://api.github.com/users/AlexisValentin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisValentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisValentin/subscriptions","organizations_url":"https://api.github.com/users/AlexisValentin/orgs","repos_url":"https://api.github.com/users/AlexisValentin/repos","events_url":"https://api.github.com/users/AlexisValentin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisValentin/received_events","type":"User","site_admin":false},"body":":information_source: Pull request features : \r\n* Create a full authentication module\r\n* Create a sign in service\r\n* Create a sign up service\r\n* Create a sign out service\r\n* Handle error cases\r\n* Fake data because of no available database yet\r\n* Create a login session","created_at":"2018-08-27T15:06:34Z","updated_at":"2018-08-28T12:05:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb6c7f400450dfe580ae72a9ee14594e163c6549","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1031759886,"node_id":"MDU6TGFiZWwxMDMxNzU5ODg2","url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/labels/Work","name":"Work","color":"ff9a00","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/6/commits","review_comments_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/6/comments","review_comment_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/issues/6/comments","statuses_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/statuses/84063ac4575a4cf353ed92f02776ecc38466887f","head":{"label":"AlexisValentin:dev","ref":"dev","sha":"84063ac4575a4cf353ed92f02776ecc38466887f","user":{"login":"AlexisValentin","id":11422759,"node_id":"MDQ6VXNlcjExNDIyNzU5","avatar_url":"https://avatars2.githubusercontent.com/u/11422759?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexisValentin","html_url":"https://github.com/AlexisValentin","followers_url":"https://api.github.com/users/AlexisValentin/followers","following_url":"https://api.github.com/users/AlexisValentin/following{/other_user}","gists_url":"https://api.github.com/users/AlexisValentin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisValentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisValentin/subscriptions","organizations_url":"https://api.github.com/users/AlexisValentin/orgs","repos_url":"https://api.github.com/users/AlexisValentin/repos","events_url":"https://api.github.com/users/AlexisValentin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisValentin/received_events","type":"User","site_admin":false},"repo":{"id":142299991,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIyOTk5OTE=","name":"no-lack-of-laque","full_name":"AlexisValentin/no-lack-of-laque","owner":{"login":"AlexisValentin","id":11422759,"node_id":"MDQ6VXNlcjExNDIyNzU5","avatar_url":"https://avatars2.githubusercontent.com/u/11422759?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexisValentin","html_url":"https://github.com/AlexisValentin","followers_url":"https://api.github.com/users/AlexisValentin/followers","following_url":"https://api.github.com/users/AlexisValentin/following{/other_user}","gists_url":"https://api.github.com/users/AlexisValentin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisValentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisValentin/subscriptions","organizations_url":"https://api.github.com/users/AlexisValentin/orgs","repos_url":"https://api.github.com/users/AlexisValentin/repos","events_url":"https://api.github.com/users/AlexisValentin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisValentin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexisValentin/no-lack-of-laque","description":null,"fork":false,"url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque","forks_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/forks","keys_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/teams","hooks_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/hooks","issue_events_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/issues/events{/number}","events_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/events","assignees_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/assignees{/user}","branches_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/branches{/branch}","tags_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/tags","blobs_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/languages","stargazers_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/stargazers","contributors_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/contributors","subscribers_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/subscribers","subscription_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/subscription","commits_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/contents/{+path}","compare_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/merges","archive_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/downloads","issues_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/issues{/number}","pulls_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/labels{/name}","releases_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/releases{/id}","deployments_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/deployments","created_at":"2018-07-25T12:56:17Z","updated_at":"2018-08-27T11:30:58Z","pushed_at":"2018-08-28T12:05:47Z","git_url":"git://github.com/AlexisValentin/no-lack-of-laque.git","ssh_url":"git@github.com:AlexisValentin/no-lack-of-laque.git","clone_url":"https://github.com/AlexisValentin/no-lack-of-laque.git","svn_url":"https://github.com/AlexisValentin/no-lack-of-laque","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"AlexisValentin:master","ref":"master","sha":"71597f1f857b3f9a12eb628c3c976f69baeee420","user":{"login":"AlexisValentin","id":11422759,"node_id":"MDQ6VXNlcjExNDIyNzU5","avatar_url":"https://avatars2.githubusercontent.com/u/11422759?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexisValentin","html_url":"https://github.com/AlexisValentin","followers_url":"https://api.github.com/users/AlexisValentin/followers","following_url":"https://api.github.com/users/AlexisValentin/following{/other_user}","gists_url":"https://api.github.com/users/AlexisValentin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisValentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisValentin/subscriptions","organizations_url":"https://api.github.com/users/AlexisValentin/orgs","repos_url":"https://api.github.com/users/AlexisValentin/repos","events_url":"https://api.github.com/users/AlexisValentin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisValentin/received_events","type":"User","site_admin":false},"repo":{"id":142299991,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIyOTk5OTE=","name":"no-lack-of-laque","full_name":"AlexisValentin/no-lack-of-laque","owner":{"login":"AlexisValentin","id":11422759,"node_id":"MDQ6VXNlcjExNDIyNzU5","avatar_url":"https://avatars2.githubusercontent.com/u/11422759?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexisValentin","html_url":"https://github.com/AlexisValentin","followers_url":"https://api.github.com/users/AlexisValentin/followers","following_url":"https://api.github.com/users/AlexisValentin/following{/other_user}","gists_url":"https://api.github.com/users/AlexisValentin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisValentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisValentin/subscriptions","organizations_url":"https://api.github.com/users/AlexisValentin/orgs","repos_url":"https://api.github.com/users/AlexisValentin/repos","events_url":"https://api.github.com/users/AlexisValentin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisValentin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexisValentin/no-lack-of-laque","description":null,"fork":false,"url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque","forks_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/forks","keys_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/teams","hooks_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/hooks","issue_events_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/issues/events{/number}","events_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/events","assignees_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/assignees{/user}","branches_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/branches{/branch}","tags_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/tags","blobs_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/languages","stargazers_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/stargazers","contributors_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/contributors","subscribers_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/subscribers","subscription_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/subscription","commits_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/contents/{+path}","compare_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/merges","archive_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/downloads","issues_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/issues{/number}","pulls_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/labels{/name}","releases_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/releases{/id}","deployments_url":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/deployments","created_at":"2018-07-25T12:56:17Z","updated_at":"2018-08-27T11:30:58Z","pushed_at":"2018-08-28T12:05:47Z","git_url":"git://github.com/AlexisValentin/no-lack-of-laque.git","ssh_url":"git@github.com:AlexisValentin/no-lack-of-laque.git","clone_url":"https://github.com/AlexisValentin/no-lack-of-laque.git","svn_url":"https://github.com/AlexisValentin/no-lack-of-laque","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/6"},"html":{"href":"https://github.com/AlexisValentin/no-lack-of-laque/pull/6"},"issue":{"href":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/issues/6"},"comments":{"href":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/AlexisValentin/no-lack-of-laque/statuses/84063ac4575a4cf353ed92f02776ecc38466887f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"accesslint"}}