{"action":"created","comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/24718590","id":24718590,"diff_hunk":"@@ -1,2 +1,2 @@\n # Interceptor in lib/disable_email_interceptor.rb\n-ActionMailer::Base.register_interceptor(DisableEmailInterceptor) unless Gitlab.config.gitlab.email_enabled\n+ActionMailer::Base.register_interceptor(DisableEmailInterceptor) unless Gitlab.config.outgoing_emails.enabled","path":"config/initializers/disable_email_interceptor.rb","position":3,"original_position":3,"commit_id":"37cc746869100a2d797971fcac052e9f6c121e53","original_commit_id":"37cc746869100a2d797971fcac052e9f6c121e53","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [109/80]","created_at":"2015-02-15T00:38:18Z","updated_at":"2015-02-15T00:38:18Z","html_url":"https://github.com/gitlabhq/gitlabhq/pull/8800#discussion_r24718590","pull_request_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8800","_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/24718590"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/8800#discussion_r24718590"},"pull_request":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8800"}}},"pull_request":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8800","id":29327940,"html_url":"https://github.com/gitlabhq/gitlabhq/pull/8800","diff_url":"https://github.com/gitlabhq/gitlabhq/pull/8800.diff","patch_url":"https://github.com/gitlabhq/gitlabhq/pull/8800.patch","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8800","number":8800,"state":"open","locked":false,"title":"Allow to configure smtp and sendmail in gitlab.yml","user":{"login":"jirutka","id":949228,"avatar_url":"https://avatars.githubusercontent.com/u/949228?v=3","gravatar_id":"","url":"https://api.github.com/users/jirutka","html_url":"https://github.com/jirutka","followers_url":"https://api.github.com/users/jirutka/followers","following_url":"https://api.github.com/users/jirutka/following{/other_user}","gists_url":"https://api.github.com/users/jirutka/gists{/gist_id}","starred_url":"https://api.github.com/users/jirutka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirutka/subscriptions","organizations_url":"https://api.github.com/users/jirutka/orgs","repos_url":"https://api.github.com/users/jirutka/repos","events_url":"https://api.github.com/users/jirutka/events{/privacy}","received_events_url":"https://api.github.com/users/jirutka/received_events","type":"User","site_admin":false},"body":"Since almost all GitLab settings are configured in gitlab.yml, it’s very inconvenient to configure SMTP server in `config/initializers/smtp_settings.rb`.\r\n\r\nI’ve named it explicitly `outgoing_emails`, because I assume that you may someday implement an ability to respond to emails from GitLab and then you’ll need to distinguish these settings.","created_at":"2015-02-15T00:38:10Z","updated_at":"2015-02-15T00:38:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"934c7e52a427a1bded55b7e8a1999d32209f066b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8800/commits","review_comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8800/comments","review_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/{number}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8800/comments","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/37cc746869100a2d797971fcac052e9f6c121e53","head":{"label":"jirutka:email-settings","ref":"email-settings","sha":"37cc746869100a2d797971fcac052e9f6c121e53","user":{"login":"jirutka","id":949228,"avatar_url":"https://avatars.githubusercontent.com/u/949228?v=3","gravatar_id":"","url":"https://api.github.com/users/jirutka","html_url":"https://github.com/jirutka","followers_url":"https://api.github.com/users/jirutka/followers","following_url":"https://api.github.com/users/jirutka/following{/other_user}","gists_url":"https://api.github.com/users/jirutka/gists{/gist_id}","starred_url":"https://api.github.com/users/jirutka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirutka/subscriptions","organizations_url":"https://api.github.com/users/jirutka/orgs","repos_url":"https://api.github.com/users/jirutka/repos","events_url":"https://api.github.com/users/jirutka/events{/privacy}","received_events_url":"https://api.github.com/users/jirutka/received_events","type":"User","site_admin":false},"repo":{"id":5215751,"name":"gitlabhq","full_name":"jirutka/gitlabhq","owner":{"login":"jirutka","id":949228,"avatar_url":"https://avatars.githubusercontent.com/u/949228?v=3","gravatar_id":"","url":"https://api.github.com/users/jirutka","html_url":"https://github.com/jirutka","followers_url":"https://api.github.com/users/jirutka/followers","following_url":"https://api.github.com/users/jirutka/following{/other_user}","gists_url":"https://api.github.com/users/jirutka/gists{/gist_id}","starred_url":"https://api.github.com/users/jirutka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirutka/subscriptions","organizations_url":"https://api.github.com/users/jirutka/orgs","repos_url":"https://api.github.com/users/jirutka/repos","events_url":"https://api.github.com/users/jirutka/events{/privacy}","received_events_url":"https://api.github.com/users/jirutka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jirutka/gitlabhq","description":"This repo is not active anymore.","fork":true,"url":"https://api.github.com/repos/jirutka/gitlabhq","forks_url":"https://api.github.com/repos/jirutka/gitlabhq/forks","keys_url":"https://api.github.com/repos/jirutka/gitlabhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jirutka/gitlabhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jirutka/gitlabhq/teams","hooks_url":"https://api.github.com/repos/jirutka/gitlabhq/hooks","issue_events_url":"https://api.github.com/repos/jirutka/gitlabhq/issues/events{/number}","events_url":"https://api.github.com/repos/jirutka/gitlabhq/events","assignees_url":"https://api.github.com/repos/jirutka/gitlabhq/assignees{/user}","branches_url":"https://api.github.com/repos/jirutka/gitlabhq/branches{/branch}","tags_url":"https://api.github.com/repos/jirutka/gitlabhq/tags","blobs_url":"https://api.github.com/repos/jirutka/gitlabhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jirutka/gitlabhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jirutka/gitlabhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/jirutka/gitlabhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jirutka/gitlabhq/statuses/{sha}","languages_url":"https://api.github.com/repos/jirutka/gitlabhq/languages","stargazers_url":"https://api.github.com/repos/jirutka/gitlabhq/stargazers","contributors_url":"https://api.github.com/repos/jirutka/gitlabhq/contributors","subscribers_url":"https://api.github.com/repos/jirutka/gitlabhq/subscribers","subscription_url":"https://api.github.com/repos/jirutka/gitlabhq/subscription","commits_url":"https://api.github.com/repos/jirutka/gitlabhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/jirutka/gitlabhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/jirutka/gitlabhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/jirutka/gitlabhq/issues/comments/{number}","contents_url":"https://api.github.com/repos/jirutka/gitlabhq/contents/{+path}","compare_url":"https://api.github.com/repos/jirutka/gitlabhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jirutka/gitlabhq/merges","archive_url":"https://api.github.com/repos/jirutka/gitlabhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jirutka/gitlabhq/downloads","issues_url":"https://api.github.com/repos/jirutka/gitlabhq/issues{/number}","pulls_url":"https://api.github.com/repos/jirutka/gitlabhq/pulls{/number}","milestones_url":"https://api.github.com/repos/jirutka/gitlabhq/milestones{/number}","notifications_url":"https://api.github.com/repos/jirutka/gitlabhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jirutka/gitlabhq/labels{/name}","releases_url":"https://api.github.com/repos/jirutka/gitlabhq/releases{/id}","created_at":"2012-07-28T16:15:57Z","updated_at":"2015-02-14T17:21:33Z","pushed_at":"2015-02-15T00:30:37Z","git_url":"git://github.com/jirutka/gitlabhq.git","ssh_url":"git@github.com:jirutka/gitlabhq.git","clone_url":"https://github.com/jirutka/gitlabhq.git","svn_url":"https://github.com/jirutka/gitlabhq","homepage":"","size":90113,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"gitlabhq:master","ref":"master","sha":"d785b20c43b114bbae385a5446f9369370fbd3bf","user":{"login":"gitlabhq","id":1086321,"avatar_url":"https://avatars.githubusercontent.com/u/1086321?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlabhq","html_url":"https://github.com/gitlabhq","followers_url":"https://api.github.com/users/gitlabhq/followers","following_url":"https://api.github.com/users/gitlabhq/following{/other_user}","gists_url":"https://api.github.com/users/gitlabhq/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlabhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlabhq/subscriptions","organizations_url":"https://api.github.com/users/gitlabhq/orgs","repos_url":"https://api.github.com/users/gitlabhq/repos","events_url":"https://api.github.com/users/gitlabhq/events{/privacy}","received_events_url":"https://api.github.com/users/gitlabhq/received_events","type":"Organization","site_admin":false},"repo":{"id":2500088,"name":"gitlabhq","full_name":"gitlabhq/gitlabhq","owner":{"login":"gitlabhq","id":1086321,"avatar_url":"https://avatars.githubusercontent.com/u/1086321?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlabhq","html_url":"https://github.com/gitlabhq","followers_url":"https://api.github.com/users/gitlabhq/followers","following_url":"https://api.github.com/users/gitlabhq/following{/other_user}","gists_url":"https://api.github.com/users/gitlabhq/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlabhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlabhq/subscriptions","organizations_url":"https://api.github.com/users/gitlabhq/orgs","repos_url":"https://api.github.com/users/gitlabhq/repos","events_url":"https://api.github.com/users/gitlabhq/events{/privacy}","received_events_url":"https://api.github.com/users/gitlabhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gitlabhq/gitlabhq","description":"Open source software to collaborate on code","fork":false,"url":"https://api.github.com/repos/gitlabhq/gitlabhq","forks_url":"https://api.github.com/repos/gitlabhq/gitlabhq/forks","keys_url":"https://api.github.com/repos/gitlabhq/gitlabhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gitlabhq/gitlabhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gitlabhq/gitlabhq/teams","hooks_url":"https://api.github.com/repos/gitlabhq/gitlabhq/hooks","issue_events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/events{/number}","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/events","assignees_url":"https://api.github.com/repos/gitlabhq/gitlabhq/assignees{/user}","branches_url":"https://api.github.com/repos/gitlabhq/gitlabhq/branches{/branch}","tags_url":"https://api.github.com/repos/gitlabhq/gitlabhq/tags","blobs_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/{sha}","languages_url":"https://api.github.com/repos/gitlabhq/gitlabhq/languages","stargazers_url":"https://api.github.com/repos/gitlabhq/gitlabhq/stargazers","contributors_url":"https://api.github.com/repos/gitlabhq/gitlabhq/contributors","subscribers_url":"https://api.github.com/repos/gitlabhq/gitlabhq/subscribers","subscription_url":"https://api.github.com/repos/gitlabhq/gitlabhq/subscription","commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/{number}","contents_url":"https://api.github.com/repos/gitlabhq/gitlabhq/contents/{+path}","compare_url":"https://api.github.com/repos/gitlabhq/gitlabhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gitlabhq/gitlabhq/merges","archive_url":"https://api.github.com/repos/gitlabhq/gitlabhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gitlabhq/gitlabhq/downloads","issues_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues{/number}","pulls_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls{/number}","milestones_url":"https://api.github.com/repos/gitlabhq/gitlabhq/milestones{/number}","notifications_url":"https://api.github.com/repos/gitlabhq/gitlabhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/labels{/name}","releases_url":"https://api.github.com/repos/gitlabhq/gitlabhq/releases{/id}","created_at":"2011-10-02T16:25:27Z","updated_at":"2015-02-15T00:30:18Z","pushed_at":"2015-02-13T23:11:51Z","git_url":"git://github.com/gitlabhq/gitlabhq.git","ssh_url":"git@github.com:gitlabhq/gitlabhq.git","clone_url":"https://github.com/gitlabhq/gitlabhq.git","svn_url":"https://github.com/gitlabhq/gitlabhq","homepage":"https://about.gitlab.com/","size":148983,"stargazers_count":14891,"watchers_count":14891,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3905,"mirror_url":null,"open_issues_count":742,"forks":3905,"open_issues":742,"watchers":14891,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8800"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/8800"},"issue":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8800"},"comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8800/comments"},"review_comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8800/comments"},"review_comment":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8800/commits"},"statuses":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/37cc746869100a2d797971fcac052e9f6c121e53"}}}}