{"action":"opened","number":293,"pull_request":{"url":"https://api.github.com/repos/ivaldi/brimir/pulls/293","id":86296407,"html_url":"https://github.com/ivaldi/brimir/pull/293","diff_url":"https://github.com/ivaldi/brimir/pull/293.diff","patch_url":"https://github.com/ivaldi/brimir/pull/293.patch","issue_url":"https://api.github.com/repos/ivaldi/brimir/issues/293","number":293,"state":"open","locked":false,"title":"Captcha","user":{"login":"git-jls","id":9994176,"avatar_url":"https://avatars.githubusercontent.com/u/9994176?v=3","gravatar_id":"","url":"https://api.github.com/users/git-jls","html_url":"https://github.com/git-jls","followers_url":"https://api.github.com/users/git-jls/followers","following_url":"https://api.github.com/users/git-jls/following{/other_user}","gists_url":"https://api.github.com/users/git-jls/gists{/gist_id}","starred_url":"https://api.github.com/users/git-jls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-jls/subscriptions","organizations_url":"https://api.github.com/users/git-jls/orgs","repos_url":"https://api.github.com/users/git-jls/repos","events_url":"https://api.github.com/users/git-jls/events{/privacy}","received_events_url":"https://api.github.com/users/git-jls/received_events","type":"User","site_admin":false},"body":"When creating new tickets as a non signed in user, this will add a captcha above the submit button.\r\nTo use the captcha two keys are needed:\r\n\r\n    RECAPTCHA_PUBLIC_KEY\r\n    RECAPTCHA_PRIVATE_KEY\r\n\r\nThese keys are set by the recaptcha.rb file in the config/initializer directory and are read from the secrets.yml file.\r\n\r\nThis pull request will include two testing keys, but for production a set of keys need to be created at the [official website](https://www.google.com/recaptcha) and exported to the environment directly, like so:\r\n\r\n    export RECAPTCHA_PUBLIC_KEY=\"[YOUR_KEY]\"\r\n    export RECAPTCHA_PRIVATE_KEY=\"[YOUR_KEY]\"\r\n\r\nThis pull request also includes an entry about captcha in the README.md and two tests that check for breakage.\r\n\r\nThis should fix [#228] (https://github.com/ivaldi/brimir/issues/228)\r\n","created_at":"2016-09-22T08:29:12Z","updated_at":"2016-09-22T08:29:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ivaldi/brimir/pulls/293/commits","review_comments_url":"https://api.github.com/repos/ivaldi/brimir/pulls/293/comments","review_comment_url":"https://api.github.com/repos/ivaldi/brimir/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ivaldi/brimir/issues/293/comments","statuses_url":"https://api.github.com/repos/ivaldi/brimir/statuses/2280ac98f916380a85ac0726fcb06f14368433bf","head":{"label":"git-jls:captcha","ref":"captcha","sha":"2280ac98f916380a85ac0726fcb06f14368433bf","user":{"login":"git-jls","id":9994176,"avatar_url":"https://avatars.githubusercontent.com/u/9994176?v=3","gravatar_id":"","url":"https://api.github.com/users/git-jls","html_url":"https://github.com/git-jls","followers_url":"https://api.github.com/users/git-jls/followers","following_url":"https://api.github.com/users/git-jls/following{/other_user}","gists_url":"https://api.github.com/users/git-jls/gists{/gist_id}","starred_url":"https://api.github.com/users/git-jls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-jls/subscriptions","organizations_url":"https://api.github.com/users/git-jls/orgs","repos_url":"https://api.github.com/users/git-jls/repos","events_url":"https://api.github.com/users/git-jls/events{/privacy}","received_events_url":"https://api.github.com/users/git-jls/received_events","type":"User","site_admin":false},"repo":{"id":68369538,"name":"brimir","full_name":"git-jls/brimir","owner":{"login":"git-jls","id":9994176,"avatar_url":"https://avatars.githubusercontent.com/u/9994176?v=3","gravatar_id":"","url":"https://api.github.com/users/git-jls","html_url":"https://github.com/git-jls","followers_url":"https://api.github.com/users/git-jls/followers","following_url":"https://api.github.com/users/git-jls/following{/other_user}","gists_url":"https://api.github.com/users/git-jls/gists{/gist_id}","starred_url":"https://api.github.com/users/git-jls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-jls/subscriptions","organizations_url":"https://api.github.com/users/git-jls/orgs","repos_url":"https://api.github.com/users/git-jls/repos","events_url":"https://api.github.com/users/git-jls/events{/privacy}","received_events_url":"https://api.github.com/users/git-jls/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/git-jls/brimir","description":"Email helpdesk built using Ruby on Rails and Zurb Foundation","fork":true,"url":"https://api.github.com/repos/git-jls/brimir","forks_url":"https://api.github.com/repos/git-jls/brimir/forks","keys_url":"https://api.github.com/repos/git-jls/brimir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/git-jls/brimir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/git-jls/brimir/teams","hooks_url":"https://api.github.com/repos/git-jls/brimir/hooks","issue_events_url":"https://api.github.com/repos/git-jls/brimir/issues/events{/number}","events_url":"https://api.github.com/repos/git-jls/brimir/events","assignees_url":"https://api.github.com/repos/git-jls/brimir/assignees{/user}","branches_url":"https://api.github.com/repos/git-jls/brimir/branches{/branch}","tags_url":"https://api.github.com/repos/git-jls/brimir/tags","blobs_url":"https://api.github.com/repos/git-jls/brimir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/git-jls/brimir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/git-jls/brimir/git/refs{/sha}","trees_url":"https://api.github.com/repos/git-jls/brimir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/git-jls/brimir/statuses/{sha}","languages_url":"https://api.github.com/repos/git-jls/brimir/languages","stargazers_url":"https://api.github.com/repos/git-jls/brimir/stargazers","contributors_url":"https://api.github.com/repos/git-jls/brimir/contributors","subscribers_url":"https://api.github.com/repos/git-jls/brimir/subscribers","subscription_url":"https://api.github.com/repos/git-jls/brimir/subscription","commits_url":"https://api.github.com/repos/git-jls/brimir/commits{/sha}","git_commits_url":"https://api.github.com/repos/git-jls/brimir/git/commits{/sha}","comments_url":"https://api.github.com/repos/git-jls/brimir/comments{/number}","issue_comment_url":"https://api.github.com/repos/git-jls/brimir/issues/comments{/number}","contents_url":"https://api.github.com/repos/git-jls/brimir/contents/{+path}","compare_url":"https://api.github.com/repos/git-jls/brimir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/git-jls/brimir/merges","archive_url":"https://api.github.com/repos/git-jls/brimir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/git-jls/brimir/downloads","issues_url":"https://api.github.com/repos/git-jls/brimir/issues{/number}","pulls_url":"https://api.github.com/repos/git-jls/brimir/pulls{/number}","milestones_url":"https://api.github.com/repos/git-jls/brimir/milestones{/number}","notifications_url":"https://api.github.com/repos/git-jls/brimir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/git-jls/brimir/labels{/name}","releases_url":"https://api.github.com/repos/git-jls/brimir/releases{/id}","deployments_url":"https://api.github.com/repos/git-jls/brimir/deployments","created_at":"2016-09-16T09:57:45Z","updated_at":"2016-09-16T09:57:47Z","pushed_at":"2016-09-22T08:05:20Z","git_url":"git://github.com/git-jls/brimir.git","ssh_url":"git@github.com:git-jls/brimir.git","clone_url":"https://github.com/git-jls/brimir.git","svn_url":"https://github.com/git-jls/brimir","homepage":"http://getbrimir.com","size":1934,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"ivaldi:master","ref":"master","sha":"dc920d94e3aed2fc867c2266be85294e490dc3c1","user":{"login":"ivaldi","id":129135,"avatar_url":"https://avatars.githubusercontent.com/u/129135?v=3","gravatar_id":"","url":"https://api.github.com/users/ivaldi","html_url":"https://github.com/ivaldi","followers_url":"https://api.github.com/users/ivaldi/followers","following_url":"https://api.github.com/users/ivaldi/following{/other_user}","gists_url":"https://api.github.com/users/ivaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/ivaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivaldi/subscriptions","organizations_url":"https://api.github.com/users/ivaldi/orgs","repos_url":"https://api.github.com/users/ivaldi/repos","events_url":"https://api.github.com/users/ivaldi/events{/privacy}","received_events_url":"https://api.github.com/users/ivaldi/received_events","type":"Organization","site_admin":false},"repo":{"id":6827131,"name":"brimir","full_name":"ivaldi/brimir","owner":{"login":"ivaldi","id":129135,"avatar_url":"https://avatars.githubusercontent.com/u/129135?v=3","gravatar_id":"","url":"https://api.github.com/users/ivaldi","html_url":"https://github.com/ivaldi","followers_url":"https://api.github.com/users/ivaldi/followers","following_url":"https://api.github.com/users/ivaldi/following{/other_user}","gists_url":"https://api.github.com/users/ivaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/ivaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivaldi/subscriptions","organizations_url":"https://api.github.com/users/ivaldi/orgs","repos_url":"https://api.github.com/users/ivaldi/repos","events_url":"https://api.github.com/users/ivaldi/events{/privacy}","received_events_url":"https://api.github.com/users/ivaldi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ivaldi/brimir","description":"Email helpdesk built using Ruby on Rails and Zurb Foundation","fork":false,"url":"https://api.github.com/repos/ivaldi/brimir","forks_url":"https://api.github.com/repos/ivaldi/brimir/forks","keys_url":"https://api.github.com/repos/ivaldi/brimir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivaldi/brimir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivaldi/brimir/teams","hooks_url":"https://api.github.com/repos/ivaldi/brimir/hooks","issue_events_url":"https://api.github.com/repos/ivaldi/brimir/issues/events{/number}","events_url":"https://api.github.com/repos/ivaldi/brimir/events","assignees_url":"https://api.github.com/repos/ivaldi/brimir/assignees{/user}","branches_url":"https://api.github.com/repos/ivaldi/brimir/branches{/branch}","tags_url":"https://api.github.com/repos/ivaldi/brimir/tags","blobs_url":"https://api.github.com/repos/ivaldi/brimir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivaldi/brimir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivaldi/brimir/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivaldi/brimir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivaldi/brimir/statuses/{sha}","languages_url":"https://api.github.com/repos/ivaldi/brimir/languages","stargazers_url":"https://api.github.com/repos/ivaldi/brimir/stargazers","contributors_url":"https://api.github.com/repos/ivaldi/brimir/contributors","subscribers_url":"https://api.github.com/repos/ivaldi/brimir/subscribers","subscription_url":"https://api.github.com/repos/ivaldi/brimir/subscription","commits_url":"https://api.github.com/repos/ivaldi/brimir/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivaldi/brimir/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivaldi/brimir/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivaldi/brimir/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivaldi/brimir/contents/{+path}","compare_url":"https://api.github.com/repos/ivaldi/brimir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivaldi/brimir/merges","archive_url":"https://api.github.com/repos/ivaldi/brimir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivaldi/brimir/downloads","issues_url":"https://api.github.com/repos/ivaldi/brimir/issues{/number}","pulls_url":"https://api.github.com/repos/ivaldi/brimir/pulls{/number}","milestones_url":"https://api.github.com/repos/ivaldi/brimir/milestones{/number}","notifications_url":"https://api.github.com/repos/ivaldi/brimir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivaldi/brimir/labels{/name}","releases_url":"https://api.github.com/repos/ivaldi/brimir/releases{/id}","deployments_url":"https://api.github.com/repos/ivaldi/brimir/deployments","created_at":"2012-11-23T12:31:36Z","updated_at":"2016-09-20T20:41:21Z","pushed_at":"2016-09-16T12:00:35Z","git_url":"git://github.com/ivaldi/brimir.git","ssh_url":"git@github.com:ivaldi/brimir.git","clone_url":"https://github.com/ivaldi/brimir.git","svn_url":"https://github.com/ivaldi/brimir","homepage":"http://getbrimir.com","size":2867,"stargazers_count":1178,"watchers_count":1178,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":300,"mirror_url":null,"open_issues_count":6,"forks":300,"open_issues":6,"watchers":1178,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ivaldi/brimir/pulls/293"},"html":{"href":"https://github.com/ivaldi/brimir/pull/293"},"issue":{"href":"https://api.github.com/repos/ivaldi/brimir/issues/293"},"comments":{"href":"https://api.github.com/repos/ivaldi/brimir/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/ivaldi/brimir/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/ivaldi/brimir/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ivaldi/brimir/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/ivaldi/brimir/statuses/2280ac98f916380a85ac0726fcb06f14368433bf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":126,"deletions":31,"changed_files":9}}
{"actor":{"display_login":"git-jls"}}