{"action":"created","comment":{"url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/comments/77431631","id":77431631,"diff_hunk":"@@ -0,0 +1,57 @@\n+<?php\n+\n+/*\n+ * This file is part of the Sententiaregum project.\n+ *\n+ * (c) Maximilian Bosch <maximilian.bosch.27@gmail.com>\n+ * (c) Ben Bieler <benjaminbieler2014@gmail.com>\n+ *\n+ * For the full copyright and license information, please view the LICENSE\n+ * file that was distributed with this source code.\n+ */\n+\n+declare(strict_types=1);\n+\n+namespace AppBundle\\Validator\\Constraints;\n+\n+use Symfony\\Component\\Validator\\Constraint;\n+\n+/**\n+ * Validation constraint for captchas.\n+ *\n+ * @author Benjamin Bieler <benjaminbieler2014@gmail.com>\n+ *\n+ * @Annotation\n+ */\n+class Recaptcha extends Constraint\n+{\n+    /**\n+     * Hash which the user creates.\n+     *\n+     * @var RecaptchaHash (required!!)","path":"src/AppBundle/Validator/Constraints/Recaptcha.php","position":31,"original_position":31,"commit_id":"a5c6631fc223bf7195c15eedab68324b27bf7fe0","original_commit_id":"a5c6631fc223bf7195c15eedab68324b27bf7fe0","user":{"login":"Ma27","id":6025220,"avatar_url":"https://avatars.githubusercontent.com/u/6025220?v=3","gravatar_id":"","url":"https://api.github.com/users/Ma27","html_url":"https://github.com/Ma27","followers_url":"https://api.github.com/users/Ma27/followers","following_url":"https://api.github.com/users/Ma27/following{/other_user}","gists_url":"https://api.github.com/users/Ma27/gists{/gist_id}","starred_url":"https://api.github.com/users/Ma27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ma27/subscriptions","organizations_url":"https://api.github.com/users/Ma27/orgs","repos_url":"https://api.github.com/users/Ma27/repos","events_url":"https://api.github.com/users/Ma27/events{/privacy}","received_events_url":"https://api.github.com/users/Ma27/received_events","type":"User","site_admin":false},"body":"not necessary to add here a note that it's required. If it doesn't exist, an exception will be thrown","created_at":"2016-09-03T05:16:03Z","updated_at":"2016-09-03T05:16:03Z","html_url":"https://github.com/Sententiaregum/Sententiaregum/pull/341#discussion_r77431631","pull_request_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/341","_links":{"self":{"href":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/comments/77431631"},"html":{"href":"https://github.com/Sententiaregum/Sententiaregum/pull/341#discussion_r77431631"},"pull_request":{"href":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/341"}}},"pull_request":{"url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/341","id":83864354,"html_url":"https://github.com/Sententiaregum/Sententiaregum/pull/341","diff_url":"https://github.com/Sententiaregum/Sententiaregum/pull/341.diff","patch_url":"https://github.com/Sententiaregum/Sententiaregum/pull/341.patch","issue_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/issues/341","number":341,"state":"open","locked":false,"title":"Recaptcha","user":{"login":"benbieler","id":10898370,"avatar_url":"https://avatars.githubusercontent.com/u/10898370?v=3","gravatar_id":"","url":"https://api.github.com/users/benbieler","html_url":"https://github.com/benbieler","followers_url":"https://api.github.com/users/benbieler/followers","following_url":"https://api.github.com/users/benbieler/following{/other_user}","gists_url":"https://api.github.com/users/benbieler/gists{/gist_id}","starred_url":"https://api.github.com/users/benbieler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbieler/subscriptions","organizations_url":"https://api.github.com/users/benbieler/orgs","repos_url":"https://api.github.com/users/benbieler/repos","events_url":"https://api.github.com/users/benbieler/events{/privacy}","received_events_url":"https://api.github.com/users/benbieler/received_events","type":"User","site_admin":false},"body":"Resolves #333 \r\n\r\n- [x] Frontend using react-recaptcha.\r\n- [x] Built constraint for DTO.\r\n- [ ] Unit test validator\r\n","created_at":"2016-09-02T21:05:14Z","updated_at":"2016-09-03T05:16:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40409af1f2de20d41c522a41fdcbc50acb8ff39c","assignee":{"login":"Ma27","id":6025220,"avatar_url":"https://avatars.githubusercontent.com/u/6025220?v=3","gravatar_id":"","url":"https://api.github.com/users/Ma27","html_url":"https://github.com/Ma27","followers_url":"https://api.github.com/users/Ma27/followers","following_url":"https://api.github.com/users/Ma27/following{/other_user}","gists_url":"https://api.github.com/users/Ma27/gists{/gist_id}","starred_url":"https://api.github.com/users/Ma27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ma27/subscriptions","organizations_url":"https://api.github.com/users/Ma27/orgs","repos_url":"https://api.github.com/users/Ma27/repos","events_url":"https://api.github.com/users/Ma27/events{/privacy}","received_events_url":"https://api.github.com/users/Ma27/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ma27","id":6025220,"avatar_url":"https://avatars.githubusercontent.com/u/6025220?v=3","gravatar_id":"","url":"https://api.github.com/users/Ma27","html_url":"https://github.com/Ma27","followers_url":"https://api.github.com/users/Ma27/followers","following_url":"https://api.github.com/users/Ma27/following{/other_user}","gists_url":"https://api.github.com/users/Ma27/gists{/gist_id}","starred_url":"https://api.github.com/users/Ma27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ma27/subscriptions","organizations_url":"https://api.github.com/users/Ma27/orgs","repos_url":"https://api.github.com/users/Ma27/repos","events_url":"https://api.github.com/users/Ma27/events{/privacy}","received_events_url":"https://api.github.com/users/Ma27/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/milestones/1","html_url":"https://github.com/Sententiaregum/Sententiaregum/milestones/0.1.0","labels_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/milestones/1/labels","id":1303117,"number":1,"title":"0.1.0","description":"the ``0.1.0`` release should be contain a working infrastructure and architecture including a security system and a basic business model.\r\nThe ``0.x`` releases are not meant to be used in production, but simply milestones for certain features.","creator":{"login":"Ma27","id":6025220,"avatar_url":"https://avatars.githubusercontent.com/u/6025220?v=3","gravatar_id":"","url":"https://api.github.com/users/Ma27","html_url":"https://github.com/Ma27","followers_url":"https://api.github.com/users/Ma27/followers","following_url":"https://api.github.com/users/Ma27/following{/other_user}","gists_url":"https://api.github.com/users/Ma27/gists{/gist_id}","starred_url":"https://api.github.com/users/Ma27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ma27/subscriptions","organizations_url":"https://api.github.com/users/Ma27/orgs","repos_url":"https://api.github.com/users/Ma27/repos","events_url":"https://api.github.com/users/Ma27/events{/privacy}","received_events_url":"https://api.github.com/users/Ma27/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":277,"state":"open","created_at":"2015-09-13T17:04:10Z","updated_at":"2016-09-03T05:02:37Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/341/commits","review_comments_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/341/comments","review_comment_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/issues/341/comments","statuses_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/statuses/a5c6631fc223bf7195c15eedab68324b27bf7fe0","head":{"label":"Sententiaregum:#333-use-recaptcha","ref":"#333-use-recaptcha","sha":"a5c6631fc223bf7195c15eedab68324b27bf7fe0","user":{"login":"Sententiaregum","id":14262478,"avatar_url":"https://avatars.githubusercontent.com/u/14262478?v=3","gravatar_id":"","url":"https://api.github.com/users/Sententiaregum","html_url":"https://github.com/Sententiaregum","followers_url":"https://api.github.com/users/Sententiaregum/followers","following_url":"https://api.github.com/users/Sententiaregum/following{/other_user}","gists_url":"https://api.github.com/users/Sententiaregum/gists{/gist_id}","starred_url":"https://api.github.com/users/Sententiaregum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sententiaregum/subscriptions","organizations_url":"https://api.github.com/users/Sententiaregum/orgs","repos_url":"https://api.github.com/users/Sententiaregum/repos","events_url":"https://api.github.com/users/Sententiaregum/events{/privacy}","received_events_url":"https://api.github.com/users/Sententiaregum/received_events","type":"Organization","site_admin":false},"repo":{"id":42404562,"name":"Sententiaregum","full_name":"Sententiaregum/Sententiaregum","owner":{"login":"Sententiaregum","id":14262478,"avatar_url":"https://avatars.githubusercontent.com/u/14262478?v=3","gravatar_id":"","url":"https://api.github.com/users/Sententiaregum","html_url":"https://github.com/Sententiaregum","followers_url":"https://api.github.com/users/Sententiaregum/followers","following_url":"https://api.github.com/users/Sententiaregum/following{/other_user}","gists_url":"https://api.github.com/users/Sententiaregum/gists{/gist_id}","starred_url":"https://api.github.com/users/Sententiaregum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sententiaregum/subscriptions","organizations_url":"https://api.github.com/users/Sententiaregum/orgs","repos_url":"https://api.github.com/users/Sententiaregum/repos","events_url":"https://api.github.com/users/Sententiaregum/events{/privacy}","received_events_url":"https://api.github.com/users/Sententiaregum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sententiaregum/Sententiaregum","description":"A social network based on Symfony3 and ReactJS","fork":false,"url":"https://api.github.com/repos/Sententiaregum/Sententiaregum","forks_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/forks","keys_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/teams","hooks_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/hooks","issue_events_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/issues/events{/number}","events_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/events","assignees_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/assignees{/user}","branches_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/branches{/branch}","tags_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/tags","blobs_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/statuses/{sha}","languages_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/languages","stargazers_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/stargazers","contributors_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/contributors","subscribers_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/subscribers","subscription_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/subscription","commits_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/contents/{+path}","compare_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/merges","archive_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/downloads","issues_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/issues{/number}","pulls_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls{/number}","milestones_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/milestones{/number}","notifications_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/labels{/name}","releases_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/releases{/id}","deployments_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/deployments","created_at":"2015-09-13T17:01:22Z","updated_at":"2016-08-05T17:04:43Z","pushed_at":"2016-09-02T21:15:13Z","git_url":"git://github.com/Sententiaregum/Sententiaregum.git","ssh_url":"git@github.com:Sententiaregum/Sententiaregum.git","clone_url":"https://github.com/Sententiaregum/Sententiaregum.git","svn_url":"https://github.com/Sententiaregum/Sententiaregum","homepage":"","size":1162,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":30,"forks":2,"open_issues":30,"watchers":6,"default_branch":"master"}},"base":{"label":"Sententiaregum:master","ref":"master","sha":"f6ea8ba6b92229a470847149e1be09922b2db188","user":{"login":"Sententiaregum","id":14262478,"avatar_url":"https://avatars.githubusercontent.com/u/14262478?v=3","gravatar_id":"","url":"https://api.github.com/users/Sententiaregum","html_url":"https://github.com/Sententiaregum","followers_url":"https://api.github.com/users/Sententiaregum/followers","following_url":"https://api.github.com/users/Sententiaregum/following{/other_user}","gists_url":"https://api.github.com/users/Sententiaregum/gists{/gist_id}","starred_url":"https://api.github.com/users/Sententiaregum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sententiaregum/subscriptions","organizations_url":"https://api.github.com/users/Sententiaregum/orgs","repos_url":"https://api.github.com/users/Sententiaregum/repos","events_url":"https://api.github.com/users/Sententiaregum/events{/privacy}","received_events_url":"https://api.github.com/users/Sententiaregum/received_events","type":"Organization","site_admin":false},"repo":{"id":42404562,"name":"Sententiaregum","full_name":"Sententiaregum/Sententiaregum","owner":{"login":"Sententiaregum","id":14262478,"avatar_url":"https://avatars.githubusercontent.com/u/14262478?v=3","gravatar_id":"","url":"https://api.github.com/users/Sententiaregum","html_url":"https://github.com/Sententiaregum","followers_url":"https://api.github.com/users/Sententiaregum/followers","following_url":"https://api.github.com/users/Sententiaregum/following{/other_user}","gists_url":"https://api.github.com/users/Sententiaregum/gists{/gist_id}","starred_url":"https://api.github.com/users/Sententiaregum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sententiaregum/subscriptions","organizations_url":"https://api.github.com/users/Sententiaregum/orgs","repos_url":"https://api.github.com/users/Sententiaregum/repos","events_url":"https://api.github.com/users/Sententiaregum/events{/privacy}","received_events_url":"https://api.github.com/users/Sententiaregum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sententiaregum/Sententiaregum","description":"A social network based on Symfony3 and ReactJS","fork":false,"url":"https://api.github.com/repos/Sententiaregum/Sententiaregum","forks_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/forks","keys_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/teams","hooks_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/hooks","issue_events_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/issues/events{/number}","events_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/events","assignees_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/assignees{/user}","branches_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/branches{/branch}","tags_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/tags","blobs_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/statuses/{sha}","languages_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/languages","stargazers_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/stargazers","contributors_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/contributors","subscribers_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/subscribers","subscription_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/subscription","commits_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/contents/{+path}","compare_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/merges","archive_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/downloads","issues_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/issues{/number}","pulls_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls{/number}","milestones_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/milestones{/number}","notifications_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/labels{/name}","releases_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/releases{/id}","deployments_url":"https://api.github.com/repos/Sententiaregum/Sententiaregum/deployments","created_at":"2015-09-13T17:01:22Z","updated_at":"2016-08-05T17:04:43Z","pushed_at":"2016-09-02T21:15:13Z","git_url":"git://github.com/Sententiaregum/Sententiaregum.git","ssh_url":"git@github.com:Sententiaregum/Sententiaregum.git","clone_url":"https://github.com/Sententiaregum/Sententiaregum.git","svn_url":"https://github.com/Sententiaregum/Sententiaregum","homepage":"","size":1162,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":30,"forks":2,"open_issues":30,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/341"},"html":{"href":"https://github.com/Sententiaregum/Sententiaregum/pull/341"},"issue":{"href":"https://api.github.com/repos/Sententiaregum/Sententiaregum/issues/341"},"comments":{"href":"https://api.github.com/repos/Sententiaregum/Sententiaregum/issues/341/comments"},"review_comments":{"href":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/341/comments"},"review_comment":{"href":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sententiaregum/Sententiaregum/pulls/341/commits"},"statuses":{"href":"https://api.github.com/repos/Sententiaregum/Sententiaregum/statuses/a5c6631fc223bf7195c15eedab68324b27bf7fe0"}}}}
{"actor":{"display_login":"Ma27"}}