{"action":"closed","number":47,"pull_request":{"url":"https://api.github.com/repos/lloeki/matterfront/pulls/47","id":52400676,"html_url":"https://github.com/lloeki/matterfront/pull/47","diff_url":"https://github.com/lloeki/matterfront/pull/47.diff","patch_url":"https://github.com/lloeki/matterfront/pull/47.patch","issue_url":"https://api.github.com/repos/lloeki/matterfront/issues/47","number":47,"state":"closed","locked":false,"title":"Switch config to nconf","user":{"login":"geekytime","id":650247,"avatar_url":"https://avatars.githubusercontent.com/u/650247?v=3","gravatar_id":"","url":"https://api.github.com/users/geekytime","html_url":"https://github.com/geekytime","followers_url":"https://api.github.com/users/geekytime/followers","following_url":"https://api.github.com/users/geekytime/following{/other_user}","gists_url":"https://api.github.com/users/geekytime/gists{/gist_id}","starred_url":"https://api.github.com/users/geekytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekytime/subscriptions","organizations_url":"https://api.github.com/users/geekytime/orgs","repos_url":"https://api.github.com/users/geekytime/repos","events_url":"https://api.github.com/users/geekytime/events{/privacy}","received_events_url":"https://api.github.com/users/geekytime/received_events","type":"User","site_admin":false},"body":"This moves the app config into a settings module that is built around nconf. This will allow us to have a nicely layered configuration system, including default values, command-line args, and multiple config files. We could also support environment variables if necessary.\r\n\r\nI've moved the team urls into the app state and put it in an array, as a step toward supporting having multiple teams open at the same time, which is my main goal right now.","created_at":"2015-12-02T14:18:22Z","updated_at":"2015-12-03T19:02:12Z","closed_at":"2015-12-03T19:02:12Z","merged_at":"2015-12-03T19:02:12Z","merge_commit_sha":"f7beaf168eedf1e2c0dd970cdeb3318c7b54aa39","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lloeki/matterfront/pulls/47/commits","review_comments_url":"https://api.github.com/repos/lloeki/matterfront/pulls/47/comments","review_comment_url":"https://api.github.com/repos/lloeki/matterfront/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lloeki/matterfront/issues/47/comments","statuses_url":"https://api.github.com/repos/lloeki/matterfront/statuses/b69a74eba22c9cc1810037c6e2e6aadb06b0c3db","head":{"label":"StateFarmIns:switch-to-nconf","ref":"switch-to-nconf","sha":"b69a74eba22c9cc1810037c6e2e6aadb06b0c3db","user":{"login":"StateFarmIns","id":14837828,"avatar_url":"https://avatars.githubusercontent.com/u/14837828?v=3","gravatar_id":"","url":"https://api.github.com/users/StateFarmIns","html_url":"https://github.com/StateFarmIns","followers_url":"https://api.github.com/users/StateFarmIns/followers","following_url":"https://api.github.com/users/StateFarmIns/following{/other_user}","gists_url":"https://api.github.com/users/StateFarmIns/gists{/gist_id}","starred_url":"https://api.github.com/users/StateFarmIns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StateFarmIns/subscriptions","organizations_url":"https://api.github.com/users/StateFarmIns/orgs","repos_url":"https://api.github.com/users/StateFarmIns/repos","events_url":"https://api.github.com/users/StateFarmIns/events{/privacy}","received_events_url":"https://api.github.com/users/StateFarmIns/received_events","type":"Organization","site_admin":false},"repo":{"id":45261016,"name":"matterfront","full_name":"StateFarmIns/matterfront","owner":{"login":"StateFarmIns","id":14837828,"avatar_url":"https://avatars.githubusercontent.com/u/14837828?v=3","gravatar_id":"","url":"https://api.github.com/users/StateFarmIns","html_url":"https://github.com/StateFarmIns","followers_url":"https://api.github.com/users/StateFarmIns/followers","following_url":"https://api.github.com/users/StateFarmIns/following{/other_user}","gists_url":"https://api.github.com/users/StateFarmIns/gists{/gist_id}","starred_url":"https://api.github.com/users/StateFarmIns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StateFarmIns/subscriptions","organizations_url":"https://api.github.com/users/StateFarmIns/orgs","repos_url":"https://api.github.com/users/StateFarmIns/repos","events_url":"https://api.github.com/users/StateFarmIns/events{/privacy}","received_events_url":"https://api.github.com/users/StateFarmIns/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StateFarmIns/matterfront","description":"Mattermost frontend app for OS X, Windows and Linux","fork":true,"url":"https://api.github.com/repos/StateFarmIns/matterfront","forks_url":"https://api.github.com/repos/StateFarmIns/matterfront/forks","keys_url":"https://api.github.com/repos/StateFarmIns/matterfront/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StateFarmIns/matterfront/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StateFarmIns/matterfront/teams","hooks_url":"https://api.github.com/repos/StateFarmIns/matterfront/hooks","issue_events_url":"https://api.github.com/repos/StateFarmIns/matterfront/issues/events{/number}","events_url":"https://api.github.com/repos/StateFarmIns/matterfront/events","assignees_url":"https://api.github.com/repos/StateFarmIns/matterfront/assignees{/user}","branches_url":"https://api.github.com/repos/StateFarmIns/matterfront/branches{/branch}","tags_url":"https://api.github.com/repos/StateFarmIns/matterfront/tags","blobs_url":"https://api.github.com/repos/StateFarmIns/matterfront/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StateFarmIns/matterfront/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StateFarmIns/matterfront/git/refs{/sha}","trees_url":"https://api.github.com/repos/StateFarmIns/matterfront/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StateFarmIns/matterfront/statuses/{sha}","languages_url":"https://api.github.com/repos/StateFarmIns/matterfront/languages","stargazers_url":"https://api.github.com/repos/StateFarmIns/matterfront/stargazers","contributors_url":"https://api.github.com/repos/StateFarmIns/matterfront/contributors","subscribers_url":"https://api.github.com/repos/StateFarmIns/matterfront/subscribers","subscription_url":"https://api.github.com/repos/StateFarmIns/matterfront/subscription","commits_url":"https://api.github.com/repos/StateFarmIns/matterfront/commits{/sha}","git_commits_url":"https://api.github.com/repos/StateFarmIns/matterfront/git/commits{/sha}","comments_url":"https://api.github.com/repos/StateFarmIns/matterfront/comments{/number}","issue_comment_url":"https://api.github.com/repos/StateFarmIns/matterfront/issues/comments{/number}","contents_url":"https://api.github.com/repos/StateFarmIns/matterfront/contents/{+path}","compare_url":"https://api.github.com/repos/StateFarmIns/matterfront/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StateFarmIns/matterfront/merges","archive_url":"https://api.github.com/repos/StateFarmIns/matterfront/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StateFarmIns/matterfront/downloads","issues_url":"https://api.github.com/repos/StateFarmIns/matterfront/issues{/number}","pulls_url":"https://api.github.com/repos/StateFarmIns/matterfront/pulls{/number}","milestones_url":"https://api.github.com/repos/StateFarmIns/matterfront/milestones{/number}","notifications_url":"https://api.github.com/repos/StateFarmIns/matterfront/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StateFarmIns/matterfront/labels{/name}","releases_url":"https://api.github.com/repos/StateFarmIns/matterfront/releases{/id}","created_at":"2015-10-30T15:55:13Z","updated_at":"2015-11-04T14:01:08Z","pushed_at":"2015-12-03T14:21:46Z","git_url":"git://github.com/StateFarmIns/matterfront.git","ssh_url":"git@github.com:StateFarmIns/matterfront.git","clone_url":"https://github.com/StateFarmIns/matterfront.git","svn_url":"https://github.com/StateFarmIns/matterfront","homepage":"","size":231,"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":"lloeki:master","ref":"master","sha":"efd118385fdbe8f734c5e8923a5c5eed82354128","user":{"login":"lloeki","id":75445,"avatar_url":"https://avatars.githubusercontent.com/u/75445?v=3","gravatar_id":"","url":"https://api.github.com/users/lloeki","html_url":"https://github.com/lloeki","followers_url":"https://api.github.com/users/lloeki/followers","following_url":"https://api.github.com/users/lloeki/following{/other_user}","gists_url":"https://api.github.com/users/lloeki/gists{/gist_id}","starred_url":"https://api.github.com/users/lloeki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lloeki/subscriptions","organizations_url":"https://api.github.com/users/lloeki/orgs","repos_url":"https://api.github.com/users/lloeki/repos","events_url":"https://api.github.com/users/lloeki/events{/privacy}","received_events_url":"https://api.github.com/users/lloeki/received_events","type":"User","site_admin":false},"repo":{"id":44984368,"name":"matterfront","full_name":"lloeki/matterfront","owner":{"login":"lloeki","id":75445,"avatar_url":"https://avatars.githubusercontent.com/u/75445?v=3","gravatar_id":"","url":"https://api.github.com/users/lloeki","html_url":"https://github.com/lloeki","followers_url":"https://api.github.com/users/lloeki/followers","following_url":"https://api.github.com/users/lloeki/following{/other_user}","gists_url":"https://api.github.com/users/lloeki/gists{/gist_id}","starred_url":"https://api.github.com/users/lloeki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lloeki/subscriptions","organizations_url":"https://api.github.com/users/lloeki/orgs","repos_url":"https://api.github.com/users/lloeki/repos","events_url":"https://api.github.com/users/lloeki/events{/privacy}","received_events_url":"https://api.github.com/users/lloeki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lloeki/matterfront","description":"Mattermost frontend app for OS X, Windows and Linux","fork":false,"url":"https://api.github.com/repos/lloeki/matterfront","forks_url":"https://api.github.com/repos/lloeki/matterfront/forks","keys_url":"https://api.github.com/repos/lloeki/matterfront/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lloeki/matterfront/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lloeki/matterfront/teams","hooks_url":"https://api.github.com/repos/lloeki/matterfront/hooks","issue_events_url":"https://api.github.com/repos/lloeki/matterfront/issues/events{/number}","events_url":"https://api.github.com/repos/lloeki/matterfront/events","assignees_url":"https://api.github.com/repos/lloeki/matterfront/assignees{/user}","branches_url":"https://api.github.com/repos/lloeki/matterfront/branches{/branch}","tags_url":"https://api.github.com/repos/lloeki/matterfront/tags","blobs_url":"https://api.github.com/repos/lloeki/matterfront/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lloeki/matterfront/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lloeki/matterfront/git/refs{/sha}","trees_url":"https://api.github.com/repos/lloeki/matterfront/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lloeki/matterfront/statuses/{sha}","languages_url":"https://api.github.com/repos/lloeki/matterfront/languages","stargazers_url":"https://api.github.com/repos/lloeki/matterfront/stargazers","contributors_url":"https://api.github.com/repos/lloeki/matterfront/contributors","subscribers_url":"https://api.github.com/repos/lloeki/matterfront/subscribers","subscription_url":"https://api.github.com/repos/lloeki/matterfront/subscription","commits_url":"https://api.github.com/repos/lloeki/matterfront/commits{/sha}","git_commits_url":"https://api.github.com/repos/lloeki/matterfront/git/commits{/sha}","comments_url":"https://api.github.com/repos/lloeki/matterfront/comments{/number}","issue_comment_url":"https://api.github.com/repos/lloeki/matterfront/issues/comments{/number}","contents_url":"https://api.github.com/repos/lloeki/matterfront/contents/{+path}","compare_url":"https://api.github.com/repos/lloeki/matterfront/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lloeki/matterfront/merges","archive_url":"https://api.github.com/repos/lloeki/matterfront/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lloeki/matterfront/downloads","issues_url":"https://api.github.com/repos/lloeki/matterfront/issues{/number}","pulls_url":"https://api.github.com/repos/lloeki/matterfront/pulls{/number}","milestones_url":"https://api.github.com/repos/lloeki/matterfront/milestones{/number}","notifications_url":"https://api.github.com/repos/lloeki/matterfront/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lloeki/matterfront/labels{/name}","releases_url":"https://api.github.com/repos/lloeki/matterfront/releases{/id}","created_at":"2015-10-26T17:08:43Z","updated_at":"2015-12-02T23:04:23Z","pushed_at":"2015-12-03T19:02:12Z","git_url":"git://github.com/lloeki/matterfront.git","ssh_url":"git@github.com:lloeki/matterfront.git","clone_url":"https://github.com/lloeki/matterfront.git","svn_url":"https://github.com/lloeki/matterfront","homepage":"","size":256,"stargazers_count":87,"watchers_count":87,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":13,"forks":20,"open_issues":13,"watchers":87,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lloeki/matterfront/pulls/47"},"html":{"href":"https://github.com/lloeki/matterfront/pull/47"},"issue":{"href":"https://api.github.com/repos/lloeki/matterfront/issues/47"},"comments":{"href":"https://api.github.com/repos/lloeki/matterfront/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/lloeki/matterfront/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/lloeki/matterfront/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lloeki/matterfront/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/lloeki/matterfront/statuses/b69a74eba22c9cc1810037c6e2e6aadb06b0c3db"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"H3Chief","id":3282305,"avatar_url":"https://avatars.githubusercontent.com/u/3282305?v=3","gravatar_id":"","url":"https://api.github.com/users/H3Chief","html_url":"https://github.com/H3Chief","followers_url":"https://api.github.com/users/H3Chief/followers","following_url":"https://api.github.com/users/H3Chief/following{/other_user}","gists_url":"https://api.github.com/users/H3Chief/gists{/gist_id}","starred_url":"https://api.github.com/users/H3Chief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/H3Chief/subscriptions","organizations_url":"https://api.github.com/users/H3Chief/orgs","repos_url":"https://api.github.com/users/H3Chief/repos","events_url":"https://api.github.com/users/H3Chief/events{/privacy}","received_events_url":"https://api.github.com/users/H3Chief/received_events","type":"User","site_admin":false},"comments":11,"review_comments":0,"commits":12,"additions":194,"deletions":97,"changed_files":11}}