{"action":"created","comment":{"url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/comments/34304445","id":34304445,"diff_hunk":"@@ -0,0 +1,75 @@\n+/*\n+ Copyright (C) 2015  PencilBlue, LLC\n+\n+ This program is free software: you can redistribute it and/or modify\n+ it under the terms of the GNU General Public License as published by\n+ the Free Software Foundation, either version 3 of the License, or\n+ (at your option) any later version.\n+\n+ This program is distributed in the hope that it will be useful,\n+ but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ GNU General Public License for more details.\n+\n+ You should have received a copy of the GNU General Public License\n+ along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+ */\n+\n+module.exports = function BaseAdminControllerModule(pb) {\n+  \"use strict\";\n+\n+  var util = pb.util;\n+  var BaseController = pb.BaseController;\n+\n+  /**\n+   * This class serves as a base class for all the controllers used in the admin control panel\n+   * @constructor\n+   */\n+  function BaseAdminController() {}","path":"controllers/admin/base_admin_controller.js","position":28,"original_position":28,"commit_id":"6115477764fc5ce5de083cb58189536ae1be9b3f","original_commit_id":"6115477764fc5ce5de083cb58189536ae1be9b3f","user":{"login":"brianhyder","id":3628887,"avatar_url":"https://avatars.githubusercontent.com/u/3628887?v=3","gravatar_id":"","url":"https://api.github.com/users/brianhyder","html_url":"https://github.com/brianhyder","followers_url":"https://api.github.com/users/brianhyder/followers","following_url":"https://api.github.com/users/brianhyder/following{/other_user}","gists_url":"https://api.github.com/users/brianhyder/gists{/gist_id}","starred_url":"https://api.github.com/users/brianhyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianhyder/subscriptions","organizations_url":"https://api.github.com/users/brianhyder/orgs","repos_url":"https://api.github.com/users/brianhyder/repos","events_url":"https://api.github.com/users/brianhyder/events{/privacy}","received_events_url":"https://api.github.com/users/brianhyder/received_events","type":"User","site_admin":false},"body":"We need to add the following to ensure that the prototype shows up correctly in the auto generated documentation:\r\n```\r\n@class BaseAdminController\r\n@constructor\r\n@extends BaseController\r\n```","created_at":"2015-07-09T21:14:48Z","updated_at":"2015-07-09T21:14:48Z","html_url":"https://github.com/pencilblue/pencilblue/pull/680#discussion_r34304445","pull_request_url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/680","_links":{"self":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/comments/34304445"},"html":{"href":"https://github.com/pencilblue/pencilblue/pull/680#discussion_r34304445"},"pull_request":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/680"}}},"pull_request":{"url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/680","id":39423808,"html_url":"https://github.com/pencilblue/pencilblue/pull/680","diff_url":"https://github.com/pencilblue/pencilblue/pull/680.diff","patch_url":"https://github.com/pencilblue/pencilblue/pull/680.patch","issue_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/680","number":680,"state":"open","locked":false,"title":"Multi Tenancy","user":{"login":"btidwell","id":2204439,"avatar_url":"https://avatars.githubusercontent.com/u/2204439?v=3","gravatar_id":"","url":"https://api.github.com/users/btidwell","html_url":"https://github.com/btidwell","followers_url":"https://api.github.com/users/btidwell/followers","following_url":"https://api.github.com/users/btidwell/following{/other_user}","gists_url":"https://api.github.com/users/btidwell/gists{/gist_id}","starred_url":"https://api.github.com/users/btidwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btidwell/subscriptions","organizations_url":"https://api.github.com/users/btidwell/orgs","repos_url":"https://api.github.com/users/btidwell/repos","events_url":"https://api.github.com/users/btidwell/events{/privacy}","received_events_url":"https://api.github.com/users/btidwell/received_events","type":"User","site_admin":false},"body":"Host multiple sites under one Pencilblue installation.  Merged with changes from 0.4.1.","created_at":"2015-07-07T22:27:34Z","updated_at":"2015-07-09T21:14:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fc86b08a98f2fab1a8c6e86a606447b1cb10b1e4","assignee":null,"milestone":{"url":"https://api.github.com/repos/pencilblue/pencilblue/milestones/4","html_url":"https://github.com/pencilblue/pencilblue/milestones/0.5.0","labels_url":"https://api.github.com/repos/pencilblue/pencilblue/milestones/4/labels","id":1197724,"number":4,"title":"0.5.0","description":"","creator":{"login":"brianhyder","id":3628887,"avatar_url":"https://avatars.githubusercontent.com/u/3628887?v=3","gravatar_id":"","url":"https://api.github.com/users/brianhyder","html_url":"https://github.com/brianhyder","followers_url":"https://api.github.com/users/brianhyder/followers","following_url":"https://api.github.com/users/brianhyder/following{/other_user}","gists_url":"https://api.github.com/users/brianhyder/gists{/gist_id}","starred_url":"https://api.github.com/users/brianhyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianhyder/subscriptions","organizations_url":"https://api.github.com/users/brianhyder/orgs","repos_url":"https://api.github.com/users/brianhyder/repos","events_url":"https://api.github.com/users/brianhyder/events{/privacy}","received_events_url":"https://api.github.com/users/brianhyder/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-07-07T21:13:42Z","updated_at":"2015-07-09T10:55:57Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/680/commits","review_comments_url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/680/comments","review_comment_url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/680/comments","statuses_url":"https://api.github.com/repos/pencilblue/pencilblue/statuses/6115477764fc5ce5de083cb58189536ae1be9b3f","head":{"label":"cbdr:0.5.0","ref":"0.5.0","sha":"6115477764fc5ce5de083cb58189536ae1be9b3f","user":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"repo":{"id":33883805,"name":"pencilblue","full_name":"cbdr/pencilblue","owner":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cbdr/pencilblue","description":"A full featured Node.js CMS and blogging platform (plugins, server cluster management, data-driven pages)","fork":true,"url":"https://api.github.com/repos/cbdr/pencilblue","forks_url":"https://api.github.com/repos/cbdr/pencilblue/forks","keys_url":"https://api.github.com/repos/cbdr/pencilblue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbdr/pencilblue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbdr/pencilblue/teams","hooks_url":"https://api.github.com/repos/cbdr/pencilblue/hooks","issue_events_url":"https://api.github.com/repos/cbdr/pencilblue/issues/events{/number}","events_url":"https://api.github.com/repos/cbdr/pencilblue/events","assignees_url":"https://api.github.com/repos/cbdr/pencilblue/assignees{/user}","branches_url":"https://api.github.com/repos/cbdr/pencilblue/branches{/branch}","tags_url":"https://api.github.com/repos/cbdr/pencilblue/tags","blobs_url":"https://api.github.com/repos/cbdr/pencilblue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbdr/pencilblue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbdr/pencilblue/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbdr/pencilblue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbdr/pencilblue/statuses/{sha}","languages_url":"https://api.github.com/repos/cbdr/pencilblue/languages","stargazers_url":"https://api.github.com/repos/cbdr/pencilblue/stargazers","contributors_url":"https://api.github.com/repos/cbdr/pencilblue/contributors","subscribers_url":"https://api.github.com/repos/cbdr/pencilblue/subscribers","subscription_url":"https://api.github.com/repos/cbdr/pencilblue/subscription","commits_url":"https://api.github.com/repos/cbdr/pencilblue/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbdr/pencilblue/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbdr/pencilblue/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbdr/pencilblue/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbdr/pencilblue/contents/{+path}","compare_url":"https://api.github.com/repos/cbdr/pencilblue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbdr/pencilblue/merges","archive_url":"https://api.github.com/repos/cbdr/pencilblue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbdr/pencilblue/downloads","issues_url":"https://api.github.com/repos/cbdr/pencilblue/issues{/number}","pulls_url":"https://api.github.com/repos/cbdr/pencilblue/pulls{/number}","milestones_url":"https://api.github.com/repos/cbdr/pencilblue/milestones{/number}","notifications_url":"https://api.github.com/repos/cbdr/pencilblue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbdr/pencilblue/labels{/name}","releases_url":"https://api.github.com/repos/cbdr/pencilblue/releases{/id}","created_at":"2015-04-13T17:43:36Z","updated_at":"2015-05-04T18:06:29Z","pushed_at":"2015-07-09T19:31:07Z","git_url":"git://github.com/cbdr/pencilblue.git","ssh_url":"git@github.com:cbdr/pencilblue.git","clone_url":"https://github.com/cbdr/pencilblue.git","svn_url":"https://github.com/cbdr/pencilblue","homepage":"https://pencilblue.org","size":13991,"stargazers_count":2,"watchers_count":2,"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":2,"default_branch":"master"}},"base":{"label":"pencilblue:0.5.0","ref":"0.5.0","sha":"017c7fd54281ef0356940a0b5f6fce2907a9d920","user":{"login":"pencilblue","id":6748264,"avatar_url":"https://avatars.githubusercontent.com/u/6748264?v=3","gravatar_id":"","url":"https://api.github.com/users/pencilblue","html_url":"https://github.com/pencilblue","followers_url":"https://api.github.com/users/pencilblue/followers","following_url":"https://api.github.com/users/pencilblue/following{/other_user}","gists_url":"https://api.github.com/users/pencilblue/gists{/gist_id}","starred_url":"https://api.github.com/users/pencilblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pencilblue/subscriptions","organizations_url":"https://api.github.com/users/pencilblue/orgs","repos_url":"https://api.github.com/users/pencilblue/repos","events_url":"https://api.github.com/users/pencilblue/events{/privacy}","received_events_url":"https://api.github.com/users/pencilblue/received_events","type":"Organization","site_admin":false},"repo":{"id":21303242,"name":"pencilblue","full_name":"pencilblue/pencilblue","owner":{"login":"pencilblue","id":6748264,"avatar_url":"https://avatars.githubusercontent.com/u/6748264?v=3","gravatar_id":"","url":"https://api.github.com/users/pencilblue","html_url":"https://github.com/pencilblue","followers_url":"https://api.github.com/users/pencilblue/followers","following_url":"https://api.github.com/users/pencilblue/following{/other_user}","gists_url":"https://api.github.com/users/pencilblue/gists{/gist_id}","starred_url":"https://api.github.com/users/pencilblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pencilblue/subscriptions","organizations_url":"https://api.github.com/users/pencilblue/orgs","repos_url":"https://api.github.com/users/pencilblue/repos","events_url":"https://api.github.com/users/pencilblue/events{/privacy}","received_events_url":"https://api.github.com/users/pencilblue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pencilblue/pencilblue","description":"A full featured Node.js CMS and blogging platform (plugins, server cluster management, data-driven pages)","fork":false,"url":"https://api.github.com/repos/pencilblue/pencilblue","forks_url":"https://api.github.com/repos/pencilblue/pencilblue/forks","keys_url":"https://api.github.com/repos/pencilblue/pencilblue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pencilblue/pencilblue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pencilblue/pencilblue/teams","hooks_url":"https://api.github.com/repos/pencilblue/pencilblue/hooks","issue_events_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/events{/number}","events_url":"https://api.github.com/repos/pencilblue/pencilblue/events","assignees_url":"https://api.github.com/repos/pencilblue/pencilblue/assignees{/user}","branches_url":"https://api.github.com/repos/pencilblue/pencilblue/branches{/branch}","tags_url":"https://api.github.com/repos/pencilblue/pencilblue/tags","blobs_url":"https://api.github.com/repos/pencilblue/pencilblue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pencilblue/pencilblue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pencilblue/pencilblue/git/refs{/sha}","trees_url":"https://api.github.com/repos/pencilblue/pencilblue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pencilblue/pencilblue/statuses/{sha}","languages_url":"https://api.github.com/repos/pencilblue/pencilblue/languages","stargazers_url":"https://api.github.com/repos/pencilblue/pencilblue/stargazers","contributors_url":"https://api.github.com/repos/pencilblue/pencilblue/contributors","subscribers_url":"https://api.github.com/repos/pencilblue/pencilblue/subscribers","subscription_url":"https://api.github.com/repos/pencilblue/pencilblue/subscription","commits_url":"https://api.github.com/repos/pencilblue/pencilblue/commits{/sha}","git_commits_url":"https://api.github.com/repos/pencilblue/pencilblue/git/commits{/sha}","comments_url":"https://api.github.com/repos/pencilblue/pencilblue/comments{/number}","issue_comment_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/comments{/number}","contents_url":"https://api.github.com/repos/pencilblue/pencilblue/contents/{+path}","compare_url":"https://api.github.com/repos/pencilblue/pencilblue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pencilblue/pencilblue/merges","archive_url":"https://api.github.com/repos/pencilblue/pencilblue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pencilblue/pencilblue/downloads","issues_url":"https://api.github.com/repos/pencilblue/pencilblue/issues{/number}","pulls_url":"https://api.github.com/repos/pencilblue/pencilblue/pulls{/number}","milestones_url":"https://api.github.com/repos/pencilblue/pencilblue/milestones{/number}","notifications_url":"https://api.github.com/repos/pencilblue/pencilblue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pencilblue/pencilblue/labels{/name}","releases_url":"https://api.github.com/repos/pencilblue/pencilblue/releases{/id}","created_at":"2014-06-28T13:28:48Z","updated_at":"2015-07-09T21:08:08Z","pushed_at":"2015-07-09T19:31:07Z","git_url":"git://github.com/pencilblue/pencilblue.git","ssh_url":"git@github.com:pencilblue/pencilblue.git","clone_url":"https://github.com/pencilblue/pencilblue.git","svn_url":"https://github.com/pencilblue/pencilblue","homepage":"https://pencilblue.org","size":17208,"stargazers_count":883,"watchers_count":883,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":133,"mirror_url":null,"open_issues_count":30,"forks":133,"open_issues":30,"watchers":883,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/680"},"html":{"href":"https://github.com/pencilblue/pencilblue/pull/680"},"issue":{"href":"https://api.github.com/repos/pencilblue/pencilblue/issues/680"},"comments":{"href":"https://api.github.com/repos/pencilblue/pencilblue/issues/680/comments"},"review_comments":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/680/comments"},"review_comment":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/680/commits"},"statuses":{"href":"https://api.github.com/repos/pencilblue/pencilblue/statuses/6115477764fc5ce5de083cb58189536ae1be9b3f"}}}}