{"action":"created","comment":{"url":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/comments/28624849","id":28624849,"diff_hunk":"@@ -11,6 +11,10 @@ module.exports = {\n         var port = process.env.PORT;\n         bot.configLoader.ensure('port', port || '3000', 'Port for web server to listen on');\n \n+        // Set up ip whitelisting filter; pass 'undefined' if it's not there\n+        // TODO: rip this out when webui user accounts are added\n+        bot.configLoader.ensure('web_ip_filter', 'undefined', 'IP address(es) for admin panel whitelist');","path":"src/startup.js","position":6,"original_position":6,"commit_id":"5093f192ed5a1c0dfb61c5dbd5f97e4ca5b95740","original_commit_id":"5093f192ed5a1c0dfb61c5dbd5f97e4ca5b95740","user":{"login":"Urthen","id":458614,"avatar_url":"https://avatars.githubusercontent.com/u/458614?v=3","gravatar_id":"","url":"https://api.github.com/users/Urthen","html_url":"https://github.com/Urthen","followers_url":"https://api.github.com/users/Urthen/followers","following_url":"https://api.github.com/users/Urthen/following{/other_user}","gists_url":"https://api.github.com/users/Urthen/gists{/gist_id}","starred_url":"https://api.github.com/users/Urthen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urthen/subscriptions","organizations_url":"https://api.github.com/users/Urthen/orgs","repos_url":"https://api.github.com/users/Urthen/repos","events_url":"https://api.github.com/users/Urthen/events{/privacy}","received_events_url":"https://api.github.com/users/Urthen/received_events","type":"User","site_admin":false},"body":"Can you set this to 0.0.0.0/0 (the default route) instead? Then you don't have to check for undefined later.","created_at":"2015-04-17T19:52:39Z","updated_at":"2015-04-17T19:52:39Z","html_url":"https://github.com/Urthen/fb-core-webui/pull/1#discussion_r28624849","pull_request_url":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/comments/28624849"},"html":{"href":"https://github.com/Urthen/fb-core-webui/pull/1#discussion_r28624849"},"pull_request":{"href":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/1","id":33489530,"html_url":"https://github.com/Urthen/fb-core-webui/pull/1","diff_url":"https://github.com/Urthen/fb-core-webui/pull/1.diff","patch_url":"https://github.com/Urthen/fb-core-webui/pull/1.patch","issue_url":"https://api.github.com/repos/Urthen/fb-core-webui/issues/1","number":1,"state":"open","locked":false,"title":"Add express-ipfilter for webui IP whitelisting","user":{"login":"jlgoolsbee","id":438555,"avatar_url":"https://avatars.githubusercontent.com/u/438555?v=3","gravatar_id":"","url":"https://api.github.com/users/jlgoolsbee","html_url":"https://github.com/jlgoolsbee","followers_url":"https://api.github.com/users/jlgoolsbee/followers","following_url":"https://api.github.com/users/jlgoolsbee/following{/other_user}","gists_url":"https://api.github.com/users/jlgoolsbee/gists{/gist_id}","starred_url":"https://api.github.com/users/jlgoolsbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlgoolsbee/subscriptions","organizations_url":"https://api.github.com/users/jlgoolsbee/orgs","repos_url":"https://api.github.com/users/jlgoolsbee/repos","events_url":"https://api.github.com/users/jlgoolsbee/events{/privacy}","received_events_url":"https://api.github.com/users/jlgoolsbee/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-16T20:30:40Z","updated_at":"2015-04-17T19:52:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b39e780d57717846794edf3fcf7f56ba454d2842","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Urthen/fb-core-webui/issues/1/comments","statuses_url":"https://api.github.com/repos/Urthen/fb-core-webui/statuses/5093f192ed5a1c0dfb61c5dbd5f97e4ca5b95740","head":{"label":"jlgoolsbee:master","ref":"master","sha":"5093f192ed5a1c0dfb61c5dbd5f97e4ca5b95740","user":{"login":"jlgoolsbee","id":438555,"avatar_url":"https://avatars.githubusercontent.com/u/438555?v=3","gravatar_id":"","url":"https://api.github.com/users/jlgoolsbee","html_url":"https://github.com/jlgoolsbee","followers_url":"https://api.github.com/users/jlgoolsbee/followers","following_url":"https://api.github.com/users/jlgoolsbee/following{/other_user}","gists_url":"https://api.github.com/users/jlgoolsbee/gists{/gist_id}","starred_url":"https://api.github.com/users/jlgoolsbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlgoolsbee/subscriptions","organizations_url":"https://api.github.com/users/jlgoolsbee/orgs","repos_url":"https://api.github.com/users/jlgoolsbee/repos","events_url":"https://api.github.com/users/jlgoolsbee/events{/privacy}","received_events_url":"https://api.github.com/users/jlgoolsbee/received_events","type":"User","site_admin":false},"repo":{"id":34077595,"name":"fb-core-webui","full_name":"jlgoolsbee/fb-core-webui","owner":{"login":"jlgoolsbee","id":438555,"avatar_url":"https://avatars.githubusercontent.com/u/438555?v=3","gravatar_id":"","url":"https://api.github.com/users/jlgoolsbee","html_url":"https://github.com/jlgoolsbee","followers_url":"https://api.github.com/users/jlgoolsbee/followers","following_url":"https://api.github.com/users/jlgoolsbee/following{/other_user}","gists_url":"https://api.github.com/users/jlgoolsbee/gists{/gist_id}","starred_url":"https://api.github.com/users/jlgoolsbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlgoolsbee/subscriptions","organizations_url":"https://api.github.com/users/jlgoolsbee/orgs","repos_url":"https://api.github.com/users/jlgoolsbee/repos","events_url":"https://api.github.com/users/jlgoolsbee/events{/privacy}","received_events_url":"https://api.github.com/users/jlgoolsbee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlgoolsbee/fb-core-webui","description":"Fritbot Core Web-UI Module","fork":true,"url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui","forks_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/forks","keys_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/teams","hooks_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/hooks","issue_events_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/issues/events{/number}","events_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/events","assignees_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/assignees{/user}","branches_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/branches{/branch}","tags_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/tags","blobs_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/statuses/{sha}","languages_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/languages","stargazers_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/stargazers","contributors_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/contributors","subscribers_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/subscribers","subscription_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/subscription","commits_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/contents/{+path}","compare_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/merges","archive_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/downloads","issues_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/issues{/number}","pulls_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/pulls{/number}","milestones_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/milestones{/number}","notifications_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/labels{/name}","releases_url":"https://api.github.com/repos/jlgoolsbee/fb-core-webui/releases{/id}","created_at":"2015-04-16T20:01:33Z","updated_at":"2015-04-16T20:29:56Z","pushed_at":"2015-04-16T20:29:56Z","git_url":"git://github.com/jlgoolsbee/fb-core-webui.git","ssh_url":"git@github.com:jlgoolsbee/fb-core-webui.git","clone_url":"https://github.com/jlgoolsbee/fb-core-webui.git","svn_url":"https://github.com/jlgoolsbee/fb-core-webui","homepage":null,"size":192,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"Urthen:master","ref":"master","sha":"6a8ba02c8e698bf5c57c596cf75ee295c44a588d","user":{"login":"Urthen","id":458614,"avatar_url":"https://avatars.githubusercontent.com/u/458614?v=3","gravatar_id":"","url":"https://api.github.com/users/Urthen","html_url":"https://github.com/Urthen","followers_url":"https://api.github.com/users/Urthen/followers","following_url":"https://api.github.com/users/Urthen/following{/other_user}","gists_url":"https://api.github.com/users/Urthen/gists{/gist_id}","starred_url":"https://api.github.com/users/Urthen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urthen/subscriptions","organizations_url":"https://api.github.com/users/Urthen/orgs","repos_url":"https://api.github.com/users/Urthen/repos","events_url":"https://api.github.com/users/Urthen/events{/privacy}","received_events_url":"https://api.github.com/users/Urthen/received_events","type":"User","site_admin":false},"repo":{"id":32546928,"name":"fb-core-webui","full_name":"Urthen/fb-core-webui","owner":{"login":"Urthen","id":458614,"avatar_url":"https://avatars.githubusercontent.com/u/458614?v=3","gravatar_id":"","url":"https://api.github.com/users/Urthen","html_url":"https://github.com/Urthen","followers_url":"https://api.github.com/users/Urthen/followers","following_url":"https://api.github.com/users/Urthen/following{/other_user}","gists_url":"https://api.github.com/users/Urthen/gists{/gist_id}","starred_url":"https://api.github.com/users/Urthen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urthen/subscriptions","organizations_url":"https://api.github.com/users/Urthen/orgs","repos_url":"https://api.github.com/users/Urthen/repos","events_url":"https://api.github.com/users/Urthen/events{/privacy}","received_events_url":"https://api.github.com/users/Urthen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Urthen/fb-core-webui","description":"Fritbot Core Web-UI Module","fork":false,"url":"https://api.github.com/repos/Urthen/fb-core-webui","forks_url":"https://api.github.com/repos/Urthen/fb-core-webui/forks","keys_url":"https://api.github.com/repos/Urthen/fb-core-webui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Urthen/fb-core-webui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Urthen/fb-core-webui/teams","hooks_url":"https://api.github.com/repos/Urthen/fb-core-webui/hooks","issue_events_url":"https://api.github.com/repos/Urthen/fb-core-webui/issues/events{/number}","events_url":"https://api.github.com/repos/Urthen/fb-core-webui/events","assignees_url":"https://api.github.com/repos/Urthen/fb-core-webui/assignees{/user}","branches_url":"https://api.github.com/repos/Urthen/fb-core-webui/branches{/branch}","tags_url":"https://api.github.com/repos/Urthen/fb-core-webui/tags","blobs_url":"https://api.github.com/repos/Urthen/fb-core-webui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Urthen/fb-core-webui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Urthen/fb-core-webui/git/refs{/sha}","trees_url":"https://api.github.com/repos/Urthen/fb-core-webui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Urthen/fb-core-webui/statuses/{sha}","languages_url":"https://api.github.com/repos/Urthen/fb-core-webui/languages","stargazers_url":"https://api.github.com/repos/Urthen/fb-core-webui/stargazers","contributors_url":"https://api.github.com/repos/Urthen/fb-core-webui/contributors","subscribers_url":"https://api.github.com/repos/Urthen/fb-core-webui/subscribers","subscription_url":"https://api.github.com/repos/Urthen/fb-core-webui/subscription","commits_url":"https://api.github.com/repos/Urthen/fb-core-webui/commits{/sha}","git_commits_url":"https://api.github.com/repos/Urthen/fb-core-webui/git/commits{/sha}","comments_url":"https://api.github.com/repos/Urthen/fb-core-webui/comments{/number}","issue_comment_url":"https://api.github.com/repos/Urthen/fb-core-webui/issues/comments{/number}","contents_url":"https://api.github.com/repos/Urthen/fb-core-webui/contents/{+path}","compare_url":"https://api.github.com/repos/Urthen/fb-core-webui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Urthen/fb-core-webui/merges","archive_url":"https://api.github.com/repos/Urthen/fb-core-webui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Urthen/fb-core-webui/downloads","issues_url":"https://api.github.com/repos/Urthen/fb-core-webui/issues{/number}","pulls_url":"https://api.github.com/repos/Urthen/fb-core-webui/pulls{/number}","milestones_url":"https://api.github.com/repos/Urthen/fb-core-webui/milestones{/number}","notifications_url":"https://api.github.com/repos/Urthen/fb-core-webui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Urthen/fb-core-webui/labels{/name}","releases_url":"https://api.github.com/repos/Urthen/fb-core-webui/releases{/id}","created_at":"2015-03-19T21:23:12Z","updated_at":"2015-04-15T22:48:05Z","pushed_at":"2015-04-16T20:30:40Z","git_url":"git://github.com/Urthen/fb-core-webui.git","ssh_url":"git@github.com:Urthen/fb-core-webui.git","clone_url":"https://github.com/Urthen/fb-core-webui.git","svn_url":"https://github.com/Urthen/fb-core-webui","homepage":null,"size":192,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/1"},"html":{"href":"https://github.com/Urthen/fb-core-webui/pull/1"},"issue":{"href":"https://api.github.com/repos/Urthen/fb-core-webui/issues/1"},"comments":{"href":"https://api.github.com/repos/Urthen/fb-core-webui/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Urthen/fb-core-webui/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Urthen/fb-core-webui/statuses/5093f192ed5a1c0dfb61c5dbd5f97e4ca5b95740"}}}}