GitHub PullRequestReviewCommentEvent at 2014-03-13 01:19:40
Repository: TeamworkEnglewoodGit
Actor: wwforg
Payload: {"comment":{"url":"https://api.github.com/repos/CSC495-2014/TeamworkEnglewoodGit/pulls/comments/10549734","id":10549734,"diff_hunk":"@@ -0,0 +1,110 @@\n+<?php\n+\n+return array(\n+  \n+    /*\n+    |--------------------------------------------------------------------------\n+    | Online or Offline\n+    |--------------------------------------------------------------------------\n+    |\n+    | This option will allow you to determine whether to Login Online from\n+    | the server, or offline on a local machine. Due to how Oauth2 works,\n+    | unless you are running the app directly from the registered server\n+    | it will not work\n+    |\n+    */\n+  \n+    'online' => false,\n+    \n+    /*\n+    |--------------------------------------------------------------------------\n+    | ClientId\n+    |--------------------------------------------------------------------------\n+    |\n+    | Holds the Client ID recieved when application is registered with GitHub\n+    | for OAuth2 use\n+    |\n+    */\n+    \n+    'clientId' => 'placeholder',\n+    \n+    /*\n+    |--------------------------------------------------------------------------\n+    | ClientSecret\n+    |--------------------------------------------------------------------------\n+    |\n+    | Holds the Client Secret recieved when application is registered with\n+    | GitHub for OAuth2 use\n+    |\n+    */\n+    \n+    'clientSecret' => 'placeholder',\n+    \n+    /*\n+    |--------------------------------------------------------------------------\n+    | Redirect URI\n+    |--------------------------------------------------------------------------\n+    |\n+    | Holds the redirect URI entered when application is registered with GitHub\n+    | for OAuth2 use\n+    |\n+    */\n+    \n+    'redirectUri' => 'http://54.200.185.101/login',\n+    \n+    /*\n+    |--------------------------------------------------------------------------\n+    | Scopes\n+    |--------------------------------------------------------------------------\n+    |\n+    | Holds the scopes that your app requests access for when generating the\n+    | user Authorization\n+    |\n+    */\n+    \n+    'scopes' => array('user','repo', 'admin:public_key', 'read:org'),\n+    \n+    /*\n+    |--------------------------------------------------------------------------\n+    | Offline UserName\n+    |--------------------------------------------------------------------------\n+    |\n+    | The default userName when logging in in offline mode\n+    |\n+    */\n+    \n+    'offlineUserName' => 'firstuser',\n+    \n+    /*\n+    |--------------------------------------------------------------------------\n+    | Offline Table ID\n+    |--------------------------------------------------------------------------\n+    |\n+    | The default tableID when logging in in offline mode\n+    |\n+    */\n+    \n+    'offlineTableId' => 42,","path":"app/config/oauth.php","position":87,"original_position":87,"commit_id":"a5f4b39e5f59a64e5174fb8510d02f0a3e03519c","original_commit_id":"a5f4b39e5f59a64e5174fb8510d02f0a3e03519c","user":{"login":"wwforg","id":6401669,"avatar_url":"https://gravatar.com/avatar/93dc3bd76a8375d4bcbf4d1b2248074e?d=https%3A%2F%2Fidenticons.github.com%2F79ea74e24fc7dee01e8eb1d0b1667084.png&r=x","gravatar_id":"93dc3bd76a8375d4bcbf4d1b2248074e","url":"https://api.github.com/users/wwforg","html_url":"https://github.com/wwforg","followers_url":"https://api.github.com/users/wwforg/followers","following_url":"https://api.github.com/users/wwforg/following{/other_user}","gists_url":"https://api.github.com/users/wwforg/gists{/gist_id}","starred_url":"https://api.github.com/users/wwforg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwforg/subscriptions","organizations_url":"https://api.github.com/users/wwforg/orgs","repos_url":"https://api.github.com/users/wwforg/repos","events_url":"https://api.github.com/users/wwforg/events{/privacy}","received_events_url":"https://api.github.com/users/wwforg/received_events","type":"User","site_admin":false},"body":"Thinking about it I can likely leave that out of the session. The only place I know of that uses it is in my own code, I use the \"getId\" database function to see if the user exists or not. I just have not changed the config file since I wrote it, and at that point we were still storing the id in the session. I will ask everyone tomorrow if anyone else actually needs it.","created_at":"2014-03-13T01:19:40Z","updated_at":"2014-03-13T01:19:40Z","html_url":"https://github.com/CSC495-2014/TeamworkEnglewoodGit/pull/137#discussion_r10549734","pull_request_url":"https://api.github.com/repos/CSC495-2014/TeamworkEnglewoodGit/pulls/137","_links":{"self":{"href":"https://api.github.com/repos/CSC495-2014/TeamworkEnglewoodGit/pulls/comments/10549734"},"html":{"href":"https://github.com/CSC495-2014/TeamworkEnglewoodGit/pull/137#discussion_r10549734"},"pull_request":{"href":"https://api.github.com/repos/CSC495-2014/TeamworkEnglewoodGit/pulls/137"}}}}