{"action":"created","comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments/121579891","pull_request_review_id":43617603,"id":121579891,"diff_hunk":"@@ -1,1057 +1,1073 @@\n // Insert server unique id if it doesn't exist\n RocketChat.settings.add('uniqueID', process.env.DEPLOYMENT_ID || Random.id(), {\n-\t'public': true,\n-\thidden: true\n+    'public': true,\n+    hidden: true\n });\n \n // When you define a setting and want to add a description, you don't need to automatically define the i18nDescription\n // if you add a node to the i18n.json with the same setting name but with `_Description` it will automatically work.\n \n-RocketChat.settings.addGroup('Accounts', function() {\n-\tthis.add('Accounts_AllowAnonymousRead', false, {\n-\t\ttype: 'boolean',\n-\t\tpublic: true\n-\t});\n-\tthis.add('Accounts_AllowAnonymousWrite', false, {\n-\t\ttype: 'boolean',\n-\t\tpublic: true,\n-\t\tenableQuery: {\n-\t\t\t_id: 'Accounts_AllowAnonymousRead',\n-\t\t\tvalue: true\n-\t\t}\n-\t});\n-\tthis.add('Accounts_AllowDeleteOwnAccount', false, {\n-\t\ttype: 'boolean',\n-\t\t'public': true,\n-\t\tenableQuery: {\n-\t\t\t_id: 'Accounts_AllowUserProfileChange',\n-\t\t\tvalue: true\n-\t\t}\n-\t});\n-\tthis.add('Accounts_AllowUserProfileChange', true, {\n-\t\ttype: 'boolean',\n-\t\t'public': true\n-\t});\n-\tthis.add('Accounts_AllowUserAvatarChange', true, {\n-\t\ttype: 'boolean',\n-\t\t'public': true\n-\t});\n-\tthis.add('Accounts_AllowUsernameChange', true, {\n-\t\ttype: 'boolean',\n-\t\t'public': true\n-\t});\n-\tthis.add('Accounts_AllowEmailChange', true, {\n-\t\ttype: 'boolean',\n-\t\t'public': true\n-\t});\n-\tthis.add('Accounts_AllowPasswordChange', true, {\n-\t\ttype: 'boolean',\n-\t\t'public': true\n-\t});\n-\tthis.add('Accounts_LoginExpiration', 90, {\n-\t\ttype: 'int',\n-\t\t'public': true\n-\t});\n-\tthis.add('Accounts_ShowFormLogin', true, {\n-\t\ttype: 'boolean',\n-\t\t'public': true\n-\t});\n-\tthis.add('Accounts_EmailOrUsernamePlaceholder', '', {\n-\t\ttype: 'string',\n-\t\t'public': true,\n-\t\ti18nLabel: 'Placeholder_for_email_or_username_login_field'\n-\t});\n-\tthis.add('Accounts_PasswordPlaceholder', '', {\n-\t\ttype: 'string',\n-\t\t'public': true,\n-\t\ti18nLabel: 'Placeholder_for_password_login_field'\n-\t});\n-\tthis.add('Accounts_ForgetUserSessionOnWindowClose', false, {\n-\t\ttype: 'boolean',\n-\t\t'public': true\n-\t});\n+RocketChat.settings.addGroup('Accounts', function () {\n+    this.add('Accounts_AllowAnonymousRead', false, {\n+        type: 'boolean',\n+        public: true","path":"packages/rocketchat-lib/server/startup/settings.js","position":78,"original_position":78,"commit_id":"f949295564f3a8592e690d252936d8c4cb5fdd0d","original_commit_id":"f949295564f3a8592e690d252936d8c4cb5fdd0d","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars2.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Expected indentation of 1 tab but found 8 spaces. (indent)](https://www.codacy.com/app/RocketChat/Rocket-Chat/pullRequest?prid=665944)","created_at":"2017-06-13T04:26:38Z","updated_at":"2017-06-13T04:26:38Z","html_url":"https://github.com/RocketChat/Rocket.Chat/pull/7061#discussion_r121579891","pull_request_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/7061","_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments/121579891"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat/pull/7061#discussion_r121579891"},"pull_request":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/7061"}}},"pull_request":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/7061","id":122038279,"html_url":"https://github.com/RocketChat/Rocket.Chat/pull/7061","diff_url":"https://github.com/RocketChat/Rocket.Chat/pull/7061.diff","patch_url":"https://github.com/RocketChat/Rocket.Chat/pull/7061.patch","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/7061","number":7061,"state":"open","locked":false,"title":"IRC Color Support via Markdown.","user":{"login":"ellisgl","id":94559,"avatar_url":"https://avatars1.githubusercontent.com/u/94559?v=3","gravatar_id":"","url":"https://api.github.com/users/ellisgl","html_url":"https://github.com/ellisgl","followers_url":"https://api.github.com/users/ellisgl/followers","following_url":"https://api.github.com/users/ellisgl/following{/other_user}","gists_url":"https://api.github.com/users/ellisgl/gists{/gist_id}","starred_url":"https://api.github.com/users/ellisgl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellisgl/subscriptions","organizations_url":"https://api.github.com/users/ellisgl/orgs","repos_url":"https://api.github.com/users/ellisgl/repos","events_url":"https://api.github.com/users/ellisgl/events{/privacy}","received_events_url":"https://api.github.com/users/ellisgl/received_events","type":"User","site_admin":false},"body":"<!-- INSTRUCTION: Your Pull Request name should start with one of the following tags -->\r\n<!-- [NEW] For new features -->\r\n<!-- [FIX] For bug fixes -->\r\n<!-- [BREAK] For pull requests including breaking changes -->\r\n\r\n<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->\r\n@RocketChat/core \r\n\r\n<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->\r\nCloses #ISSUE_NUMBER\r\n\r\n<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->\r\n","created_at":"2017-05-23T16:12:07Z","updated_at":"2017-06-13T04:26:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0a7312ecce7ec12ccdf7dc68fc9b245afb775c3","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/7061/commits","review_comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/7061/comments","review_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/7061/comments","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/f949295564f3a8592e690d252936d8c4cb5fdd0d","head":{"label":"ellisgl:develop","ref":"develop","sha":"f949295564f3a8592e690d252936d8c4cb5fdd0d","user":{"login":"ellisgl","id":94559,"avatar_url":"https://avatars1.githubusercontent.com/u/94559?v=3","gravatar_id":"","url":"https://api.github.com/users/ellisgl","html_url":"https://github.com/ellisgl","followers_url":"https://api.github.com/users/ellisgl/followers","following_url":"https://api.github.com/users/ellisgl/following{/other_user}","gists_url":"https://api.github.com/users/ellisgl/gists{/gist_id}","starred_url":"https://api.github.com/users/ellisgl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellisgl/subscriptions","organizations_url":"https://api.github.com/users/ellisgl/orgs","repos_url":"https://api.github.com/users/ellisgl/repos","events_url":"https://api.github.com/users/ellisgl/events{/privacy}","received_events_url":"https://api.github.com/users/ellisgl/received_events","type":"User","site_admin":false},"repo":{"id":91937664,"name":"Rocket.Chat","full_name":"ellisgl/Rocket.Chat","owner":{"login":"ellisgl","id":94559,"avatar_url":"https://avatars1.githubusercontent.com/u/94559?v=3","gravatar_id":"","url":"https://api.github.com/users/ellisgl","html_url":"https://github.com/ellisgl","followers_url":"https://api.github.com/users/ellisgl/followers","following_url":"https://api.github.com/users/ellisgl/following{/other_user}","gists_url":"https://api.github.com/users/ellisgl/gists{/gist_id}","starred_url":"https://api.github.com/users/ellisgl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellisgl/subscriptions","organizations_url":"https://api.github.com/users/ellisgl/orgs","repos_url":"https://api.github.com/users/ellisgl/repos","events_url":"https://api.github.com/users/ellisgl/events{/privacy}","received_events_url":"https://api.github.com/users/ellisgl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ellisgl/Rocket.Chat","description":"Have your own Slack like online chat, built with Meteor.","fork":true,"url":"https://api.github.com/repos/ellisgl/Rocket.Chat","forks_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/forks","keys_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/teams","hooks_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/hooks","issue_events_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/issues/events{/number}","events_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/events","assignees_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/assignees{/user}","branches_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/branches{/branch}","tags_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/tags","blobs_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/statuses/{sha}","languages_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/languages","stargazers_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/stargazers","contributors_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/contributors","subscribers_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/subscribers","subscription_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/subscription","commits_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/contents/{+path}","compare_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/merges","archive_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/downloads","issues_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/issues{/number}","pulls_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/pulls{/number}","milestones_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/milestones{/number}","notifications_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/labels{/name}","releases_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/releases{/id}","deployments_url":"https://api.github.com/repos/ellisgl/Rocket.Chat/deployments","created_at":"2017-05-21T06:30:13Z","updated_at":"2017-05-21T06:30:18Z","pushed_at":"2017-06-13T04:22:50Z","git_url":"git://github.com/ellisgl/Rocket.Chat.git","ssh_url":"git@github.com:ellisgl/Rocket.Chat.git","clone_url":"https://github.com/ellisgl/Rocket.Chat.git","svn_url":"https://github.com/ellisgl/Rocket.Chat","homepage":"https://rocket.chat/","size":48822,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"develop"}},"base":{"label":"RocketChat:develop","ref":"develop","sha":"362ac8ea1800b5fa34da19e1972f398fd7c562b2","user":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars2.githubusercontent.com/u/12508788?v=3","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"repo":{"id":35866694,"name":"Rocket.Chat","full_name":"RocketChat/Rocket.Chat","owner":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars2.githubusercontent.com/u/12508788?v=3","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RocketChat/Rocket.Chat","description":"Have your own Slack like online chat, built with Meteor.","fork":false,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat","forks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/forks","keys_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/teams","hooks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/hooks","issue_events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/events{/number}","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/events","assignees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/assignees{/user}","branches_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/branches{/branch}","tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/tags","blobs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/{sha}","languages_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/languages","stargazers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/stargazers","contributors_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/contributors","subscribers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/subscribers","subscription_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/subscription","commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/contents/{+path}","compare_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/merges","archive_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/downloads","issues_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues{/number}","pulls_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls{/number}","milestones_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones{/number}","notifications_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels{/name}","releases_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/releases{/id}","deployments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/deployments","created_at":"2015-05-19T07:36:09Z","updated_at":"2017-06-12T22:36:47Z","pushed_at":"2017-06-13T04:22:55Z","git_url":"git://github.com/RocketChat/Rocket.Chat.git","ssh_url":"git@github.com:RocketChat/Rocket.Chat.git","clone_url":"https://github.com/RocketChat/Rocket.Chat.git","svn_url":"https://github.com/RocketChat/Rocket.Chat","homepage":"https://rocket.chat/","size":49344,"stargazers_count":12327,"watchers_count":12327,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2639,"mirror_url":null,"open_issues_count":1950,"forks":2639,"open_issues":1950,"watchers":12327,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/7061"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat/pull/7061"},"issue":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/7061"},"comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/7061/comments"},"review_comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/7061/comments"},"review_comment":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/7061/commits"},"statuses":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/f949295564f3a8592e690d252936d8c4cb5fdd0d"}}}}
{"actor":{"display_login":"codacy-bot"}}