{"action":"opened","number":2072,"pull_request":{"url":"https://api.github.com/repos/uProxy/uproxy/pulls/2072","id":51149714,"html_url":"https://github.com/uProxy/uproxy/pull/2072","diff_url":"https://github.com/uProxy/uproxy/pull/2072.diff","patch_url":"https://github.com/uProxy/uproxy/pull/2072.patch","issue_url":"https://api.github.com/repos/uProxy/uproxy/issues/2072","number":2072,"state":"open","locked":false,"title":"Update the way we configure freedom-module","user":{"login":"jpevarnek","id":902894,"avatar_url":"https://avatars.githubusercontent.com/u/902894?v=3","gravatar_id":"","url":"https://api.github.com/users/jpevarnek","html_url":"https://github.com/jpevarnek","followers_url":"https://api.github.com/users/jpevarnek/followers","following_url":"https://api.github.com/users/jpevarnek/following{/other_user}","gists_url":"https://api.github.com/users/jpevarnek/gists{/gist_id}","starred_url":"https://api.github.com/users/jpevarnek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpevarnek/subscriptions","organizations_url":"https://api.github.com/users/jpevarnek/orgs","repos_url":"https://api.github.com/users/jpevarnek/repos","events_url":"https://api.github.com/users/jpevarnek/events{/privacy}","received_events_url":"https://api.github.com/users/jpevarnek/received_events","type":"User","site_admin":false},"body":"    Make it easier to register commands\r\n    \r\n    This makes it easier to register commands by adding an array we loop\r\n    through.\r\n    \r\n    In order to support that, we needed a single function we could call in\r\n    order to register a function that may or may not return a promise, this\r\n    is done as a new onCommand function.\r\n    \r\n    In order to have a single function, we now have the onCommand do error\r\n    checking to determine whether a promise was passed/expected and then\r\n    have it send the promise.  Anyways, that's going to take error handling.\r\n    Yay!\r\n    \r\n    Because that is confusing, this also adds tests.\r\n    \r\n    Review for this should include answering the question: Does this\r\n    actually improve anything?\r\n\r\nAlso changed:\r\n\r\n    Switch our unit tests to have single-file scope\r\n    Remove the manual social network from the codebase","created_at":"2015-11-18T22:07:44Z","updated_at":"2015-11-18T22:07:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/uProxy/uproxy/pulls/2072/commits","review_comments_url":"https://api.github.com/repos/uProxy/uproxy/pulls/2072/comments","review_comment_url":"https://api.github.com/repos/uProxy/uproxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uProxy/uproxy/issues/2072/comments","statuses_url":"https://api.github.com/repos/uProxy/uproxy/statuses/385543c7d30bf2195f5f961850832ce6a7b01d1b","head":{"label":"jpevarnek:fun-config-stuff","ref":"fun-config-stuff","sha":"385543c7d30bf2195f5f961850832ce6a7b01d1b","user":{"login":"jpevarnek","id":902894,"avatar_url":"https://avatars.githubusercontent.com/u/902894?v=3","gravatar_id":"","url":"https://api.github.com/users/jpevarnek","html_url":"https://github.com/jpevarnek","followers_url":"https://api.github.com/users/jpevarnek/followers","following_url":"https://api.github.com/users/jpevarnek/following{/other_user}","gists_url":"https://api.github.com/users/jpevarnek/gists{/gist_id}","starred_url":"https://api.github.com/users/jpevarnek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpevarnek/subscriptions","organizations_url":"https://api.github.com/users/jpevarnek/orgs","repos_url":"https://api.github.com/users/jpevarnek/repos","events_url":"https://api.github.com/users/jpevarnek/events{/privacy}","received_events_url":"https://api.github.com/users/jpevarnek/received_events","type":"User","site_admin":false},"repo":{"id":46450525,"name":"uproxy","full_name":"jpevarnek/uproxy","owner":{"login":"jpevarnek","id":902894,"avatar_url":"https://avatars.githubusercontent.com/u/902894?v=3","gravatar_id":"","url":"https://api.github.com/users/jpevarnek","html_url":"https://github.com/jpevarnek","followers_url":"https://api.github.com/users/jpevarnek/followers","following_url":"https://api.github.com/users/jpevarnek/following{/other_user}","gists_url":"https://api.github.com/users/jpevarnek/gists{/gist_id}","starred_url":"https://api.github.com/users/jpevarnek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpevarnek/subscriptions","organizations_url":"https://api.github.com/users/jpevarnek/orgs","repos_url":"https://api.github.com/users/jpevarnek/repos","events_url":"https://api.github.com/users/jpevarnek/events{/privacy}","received_events_url":"https://api.github.com/users/jpevarnek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jpevarnek/uproxy","description":"Share your pathway to the Internet","fork":true,"url":"https://api.github.com/repos/jpevarnek/uproxy","forks_url":"https://api.github.com/repos/jpevarnek/uproxy/forks","keys_url":"https://api.github.com/repos/jpevarnek/uproxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpevarnek/uproxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpevarnek/uproxy/teams","hooks_url":"https://api.github.com/repos/jpevarnek/uproxy/hooks","issue_events_url":"https://api.github.com/repos/jpevarnek/uproxy/issues/events{/number}","events_url":"https://api.github.com/repos/jpevarnek/uproxy/events","assignees_url":"https://api.github.com/repos/jpevarnek/uproxy/assignees{/user}","branches_url":"https://api.github.com/repos/jpevarnek/uproxy/branches{/branch}","tags_url":"https://api.github.com/repos/jpevarnek/uproxy/tags","blobs_url":"https://api.github.com/repos/jpevarnek/uproxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpevarnek/uproxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpevarnek/uproxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpevarnek/uproxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpevarnek/uproxy/statuses/{sha}","languages_url":"https://api.github.com/repos/jpevarnek/uproxy/languages","stargazers_url":"https://api.github.com/repos/jpevarnek/uproxy/stargazers","contributors_url":"https://api.github.com/repos/jpevarnek/uproxy/contributors","subscribers_url":"https://api.github.com/repos/jpevarnek/uproxy/subscribers","subscription_url":"https://api.github.com/repos/jpevarnek/uproxy/subscription","commits_url":"https://api.github.com/repos/jpevarnek/uproxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpevarnek/uproxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpevarnek/uproxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpevarnek/uproxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/jpevarnek/uproxy/contents/{+path}","compare_url":"https://api.github.com/repos/jpevarnek/uproxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpevarnek/uproxy/merges","archive_url":"https://api.github.com/repos/jpevarnek/uproxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpevarnek/uproxy/downloads","issues_url":"https://api.github.com/repos/jpevarnek/uproxy/issues{/number}","pulls_url":"https://api.github.com/repos/jpevarnek/uproxy/pulls{/number}","milestones_url":"https://api.github.com/repos/jpevarnek/uproxy/milestones{/number}","notifications_url":"https://api.github.com/repos/jpevarnek/uproxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpevarnek/uproxy/labels{/name}","releases_url":"https://api.github.com/repos/jpevarnek/uproxy/releases{/id}","created_at":"2015-11-18T22:05:22Z","updated_at":"2015-11-18T22:05:25Z","pushed_at":"2015-11-18T22:06:44Z","git_url":"git://github.com/jpevarnek/uproxy.git","ssh_url":"git@github.com:jpevarnek/uproxy.git","clone_url":"https://github.com/jpevarnek/uproxy.git","svn_url":"https://github.com/jpevarnek/uproxy","homepage":"https://www.uproxy.org/","size":16511,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"dev"}},"base":{"label":"uProxy:dev","ref":"dev","sha":"fe50f44e94bb980ab0b3c7bce6a4d87dd3a5c317","user":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"repo":{"id":18533350,"name":"uproxy","full_name":"uProxy/uproxy","owner":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uProxy/uproxy","description":"Share your pathway to the Internet","fork":false,"url":"https://api.github.com/repos/uProxy/uproxy","forks_url":"https://api.github.com/repos/uProxy/uproxy/forks","keys_url":"https://api.github.com/repos/uProxy/uproxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uProxy/uproxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uProxy/uproxy/teams","hooks_url":"https://api.github.com/repos/uProxy/uproxy/hooks","issue_events_url":"https://api.github.com/repos/uProxy/uproxy/issues/events{/number}","events_url":"https://api.github.com/repos/uProxy/uproxy/events","assignees_url":"https://api.github.com/repos/uProxy/uproxy/assignees{/user}","branches_url":"https://api.github.com/repos/uProxy/uproxy/branches{/branch}","tags_url":"https://api.github.com/repos/uProxy/uproxy/tags","blobs_url":"https://api.github.com/repos/uProxy/uproxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uProxy/uproxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uProxy/uproxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/uProxy/uproxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uProxy/uproxy/statuses/{sha}","languages_url":"https://api.github.com/repos/uProxy/uproxy/languages","stargazers_url":"https://api.github.com/repos/uProxy/uproxy/stargazers","contributors_url":"https://api.github.com/repos/uProxy/uproxy/contributors","subscribers_url":"https://api.github.com/repos/uProxy/uproxy/subscribers","subscription_url":"https://api.github.com/repos/uProxy/uproxy/subscription","commits_url":"https://api.github.com/repos/uProxy/uproxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/uProxy/uproxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/uProxy/uproxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/uProxy/uproxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/uProxy/uproxy/contents/{+path}","compare_url":"https://api.github.com/repos/uProxy/uproxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uProxy/uproxy/merges","archive_url":"https://api.github.com/repos/uProxy/uproxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uProxy/uproxy/downloads","issues_url":"https://api.github.com/repos/uProxy/uproxy/issues{/number}","pulls_url":"https://api.github.com/repos/uProxy/uproxy/pulls{/number}","milestones_url":"https://api.github.com/repos/uProxy/uproxy/milestones{/number}","notifications_url":"https://api.github.com/repos/uProxy/uproxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uProxy/uproxy/labels{/name}","releases_url":"https://api.github.com/repos/uProxy/uproxy/releases{/id}","created_at":"2014-04-07T20:34:40Z","updated_at":"2015-11-18T15:56:46Z","pushed_at":"2015-11-18T22:07:44Z","git_url":"git://github.com/uProxy/uproxy.git","ssh_url":"git@github.com:uProxy/uproxy.git","clone_url":"https://github.com/uProxy/uproxy.git","svn_url":"https://github.com/uProxy/uproxy","homepage":"https://www.uproxy.org/","size":16804,"stargazers_count":290,"watchers_count":290,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":80,"mirror_url":null,"open_issues_count":424,"forks":80,"open_issues":424,"watchers":290,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/uProxy/uproxy/pulls/2072"},"html":{"href":"https://github.com/uProxy/uproxy/pull/2072"},"issue":{"href":"https://api.github.com/repos/uProxy/uproxy/issues/2072"},"comments":{"href":"https://api.github.com/repos/uProxy/uproxy/issues/2072/comments"},"review_comments":{"href":"https://api.github.com/repos/uProxy/uproxy/pulls/2072/comments"},"review_comment":{"href":"https://api.github.com/repos/uProxy/uproxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uProxy/uproxy/pulls/2072/commits"},"statuses":{"href":"https://api.github.com/repos/uProxy/uproxy/statuses/385543c7d30bf2195f5f961850832ce6a7b01d1b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":265,"deletions":276,"changed_files":19}}