GitHub PullRequestReviewCommentEvent at 2014-05-02 17:56:55
Repository: Hilary
Actor: mrvisser
Payload: {"comment":{"url":"https://api.github.com/repos/oaeproject/Hilary/pulls/comments/12239808","id":12239808,"diff_hunk":"@@ -0,0 +1,108 @@\n+/*!\n+ * Copyright 2014 Apereo Foundation (AF) Licensed under the\n+ * Educational Community License, Version 2.0 (the \"License\"); you may\n+ * not use this file except in compliance with the License. You may\n+ * obtain a copy of the License at\n+ *\n+ *     http://opensource.org/licenses/ECL-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing,\n+ * software distributed under the License is distributed on an \"AS IS\"\n+ * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n+ * or implied. See the License for the specific language governing\n+ * permissions and limitations under the License.\n+ */\n+\n+var strftimeTZ = require('strftime').strftimeTZ;\n+\n+var log = require('oae-logger').logger('oae-uservoice-api');\n+var OaeUtil = require('oae-util/lib/util');\n+var Validator = require('oae-util/lib/validator').Validator;\n+\n+var UservoiceCipher = require('./internal/cipher');\n+var UservoiceConfig = require('oae-config').config('oae-uservoice');\n+var UservoiceProfile = require('./internal/profile');\n+\n+var TIME_FIVE_MINUTES_IN_SECONDS = 15 * 60;\n+var TIME_ONE_MINUTE_IN_SECONDS = 60;\n+var TIME_THREE_HOURS_IN_SECONDS = 3 * 60 * 60;\n+\n+/**\n+ * Get the information needed for a consumer to perform requests towards User Voice as the current user in context (if any)\n+ *\n+ * @param  {Context}    ctx                         The context of the request that is asking for the User Voice URL","path":"node_modules/oae-uservoice/lib/api.js","position":33,"original_position":33,"commit_id":"6f782da9b18e7d1e84c9386172a4a042beed68f2","original_commit_id":"6f782da9b18e7d1e84c9386172a4a042beed68f2","user":{"login":"mrvisser","id":102265,"avatar_url":"https://avatars.githubusercontent.com/u/102265?","gravatar_id":"ad43d99c9520c317fbfe35ff89bd2365","url":"https://api.github.com/users/mrvisser","html_url":"https://github.com/mrvisser","followers_url":"https://api.github.com/users/mrvisser/followers","following_url":"https://api.github.com/users/mrvisser/following{/other_user}","gists_url":"https://api.github.com/users/mrvisser/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvisser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvisser/subscriptions","organizations_url":"https://api.github.com/users/mrvisser/orgs","repos_url":"https://api.github.com/users/mrvisser/repos","events_url":"https://api.github.com/users/mrvisser/events{/privacy}","received_events_url":"https://api.github.com/users/mrvisser/received_events","type":"User","site_admin":false},"body":"I don't think so ? It's generally assumed for all our APIs that take in a context.","created_at":"2014-05-02T17:56:55Z","updated_at":"2014-05-02T17:56:55Z","html_url":"https://github.com/oaeproject/Hilary/pull/883#discussion_r12239808","pull_request_url":"https://api.github.com/repos/oaeproject/Hilary/pulls/883","_links":{"self":{"href":"https://api.github.com/repos/oaeproject/Hilary/pulls/comments/12239808"},"html":{"href":"https://github.com/oaeproject/Hilary/pull/883#discussion_r12239808"},"pull_request":{"href":"https://api.github.com/repos/oaeproject/Hilary/pulls/883"}}}}