{"action":"created","comment":{"url":"https://api.github.com/repos/ucfopen/UDOIT/pulls/comments/233592813","pull_request_review_id":175044814,"id":233592813,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzU5MjgxMw==","diff_hunk":"@@ -0,0 +1,93 @@\n+<?php\n+\n+require_once('../config/settings.php');\n+session_start();\n+\n+/**\n+ * Verify that .htaccess and .htpasswd files exist. Very basic security check, but it offers a reminder to the end user.\n+ *\n+ * @return bool\n+ */\n+function multitenant_check_security()\n+{\n+    $secure = false;\n+\n+    if (file_exists('.htaccess')) {","path":"multitenant/form_handler.php","position":15,"original_position":15,"commit_id":"36a659a5693e3c26a34966ce75023642b57614a9","original_commit_id":"36a659a5693e3c26a34966ce75023642b57614a9","user":{"login":"webchuckweb","id":13257605,"node_id":"MDQ6VXNlcjEzMjU3NjA1","avatar_url":"https://avatars3.githubusercontent.com/u/13257605?v=4","gravatar_id":"","url":"https://api.github.com/users/webchuckweb","html_url":"https://github.com/webchuckweb","followers_url":"https://api.github.com/users/webchuckweb/followers","following_url":"https://api.github.com/users/webchuckweb/following{/other_user}","gists_url":"https://api.github.com/users/webchuckweb/gists{/gist_id}","starred_url":"https://api.github.com/users/webchuckweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webchuckweb/subscriptions","organizations_url":"https://api.github.com/users/webchuckweb/orgs","repos_url":"https://api.github.com/users/webchuckweb/repos","events_url":"https://api.github.com/users/webchuckweb/events{/privacy}","received_events_url":"https://api.github.com/users/webchuckweb/received_events","type":"User","site_admin":false},"body":"Agreed, but it feels like adding a full-fledged login system is overkill for managing a single table. Maybe Composer is a better option, but I have no experience in doing that.\r\nCidi Labs is actually using a separate system, Drupal, that will write to the institutes table in the customer setup process. ","created_at":"2018-11-14T19:42:57Z","updated_at":"2018-11-14T19:42:57Z","html_url":"https://github.com/ucfopen/UDOIT/pull/385#discussion_r233592813","pull_request_url":"https://api.github.com/repos/ucfopen/UDOIT/pulls/385","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ucfopen/UDOIT/pulls/comments/233592813"},"html":{"href":"https://github.com/ucfopen/UDOIT/pull/385#discussion_r233592813"},"pull_request":{"href":"https://api.github.com/repos/ucfopen/UDOIT/pulls/385"}},"in_reply_to_id":233542010},"pull_request":{"url":"https://api.github.com/repos/ucfopen/UDOIT/pulls/385","id":219796399,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5Nzk2Mzk5","html_url":"https://github.com/ucfopen/UDOIT/pull/385","diff_url":"https://github.com/ucfopen/UDOIT/pull/385.diff","patch_url":"https://github.com/ucfopen/UDOIT/pull/385.patch","issue_url":"https://api.github.com/repos/ucfopen/UDOIT/issues/385","number":385,"state":"open","locked":false,"title":"Multitenant initial commit. ","user":{"login":"webchuckweb","id":13257605,"node_id":"MDQ6VXNlcjEzMjU3NjA1","avatar_url":"https://avatars3.githubusercontent.com/u/13257605?v=4","gravatar_id":"","url":"https://api.github.com/users/webchuckweb","html_url":"https://github.com/webchuckweb","followers_url":"https://api.github.com/users/webchuckweb/followers","following_url":"https://api.github.com/users/webchuckweb/following{/other_user}","gists_url":"https://api.github.com/users/webchuckweb/gists{/gist_id}","starred_url":"https://api.github.com/users/webchuckweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webchuckweb/subscriptions","organizations_url":"https://api.github.com/users/webchuckweb/orgs","repos_url":"https://api.github.com/users/webchuckweb/repos","events_url":"https://api.github.com/users/webchuckweb/events{/privacy}","received_events_url":"https://api.github.com/users/webchuckweb/received_events","type":"User","site_admin":false},"body":"Adds support for multitenancy (single UDOIT with multiple Canvas instances).\r\n\r\nAdds a database table for institutes, management screen for adding/removing institutes, and generation of LTI consumer keys and secrets. ","created_at":"2018-10-02T18:11:47Z","updated_at":"2018-11-14T19:42:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5d37c926ff8af0d805e20b11f6e251d7922e58b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"iturgeon","id":73480,"node_id":"MDQ6VXNlcjczNDgw","avatar_url":"https://avatars2.githubusercontent.com/u/73480?v=4","gravatar_id":"","url":"https://api.github.com/users/iturgeon","html_url":"https://github.com/iturgeon","followers_url":"https://api.github.com/users/iturgeon/followers","following_url":"https://api.github.com/users/iturgeon/following{/other_user}","gists_url":"https://api.github.com/users/iturgeon/gists{/gist_id}","starred_url":"https://api.github.com/users/iturgeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iturgeon/subscriptions","organizations_url":"https://api.github.com/users/iturgeon/orgs","repos_url":"https://api.github.com/users/iturgeon/repos","events_url":"https://api.github.com/users/iturgeon/events{/privacy}","received_events_url":"https://api.github.com/users/iturgeon/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ucfopen/UDOIT/pulls/385/commits","review_comments_url":"https://api.github.com/repos/ucfopen/UDOIT/pulls/385/comments","review_comment_url":"https://api.github.com/repos/ucfopen/UDOIT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ucfopen/UDOIT/issues/385/comments","statuses_url":"https://api.github.com/repos/ucfopen/UDOIT/statuses/36a659a5693e3c26a34966ce75023642b57614a9","head":{"label":"webchuckweb:dev/v2-4-0","ref":"dev/v2-4-0","sha":"36a659a5693e3c26a34966ce75023642b57614a9","user":{"login":"webchuckweb","id":13257605,"node_id":"MDQ6VXNlcjEzMjU3NjA1","avatar_url":"https://avatars3.githubusercontent.com/u/13257605?v=4","gravatar_id":"","url":"https://api.github.com/users/webchuckweb","html_url":"https://github.com/webchuckweb","followers_url":"https://api.github.com/users/webchuckweb/followers","following_url":"https://api.github.com/users/webchuckweb/following{/other_user}","gists_url":"https://api.github.com/users/webchuckweb/gists{/gist_id}","starred_url":"https://api.github.com/users/webchuckweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webchuckweb/subscriptions","organizations_url":"https://api.github.com/users/webchuckweb/orgs","repos_url":"https://api.github.com/users/webchuckweb/repos","events_url":"https://api.github.com/users/webchuckweb/events{/privacy}","received_events_url":"https://api.github.com/users/webchuckweb/received_events","type":"User","site_admin":false},"repo":{"id":151272975,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyNzI5NzU=","name":"UDOIT","full_name":"webchuckweb/UDOIT","private":false,"owner":{"login":"webchuckweb","id":13257605,"node_id":"MDQ6VXNlcjEzMjU3NjA1","avatar_url":"https://avatars3.githubusercontent.com/u/13257605?v=4","gravatar_id":"","url":"https://api.github.com/users/webchuckweb","html_url":"https://github.com/webchuckweb","followers_url":"https://api.github.com/users/webchuckweb/followers","following_url":"https://api.github.com/users/webchuckweb/following{/other_user}","gists_url":"https://api.github.com/users/webchuckweb/gists{/gist_id}","starred_url":"https://api.github.com/users/webchuckweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webchuckweb/subscriptions","organizations_url":"https://api.github.com/users/webchuckweb/orgs","repos_url":"https://api.github.com/users/webchuckweb/repos","events_url":"https://api.github.com/users/webchuckweb/events{/privacy}","received_events_url":"https://api.github.com/users/webchuckweb/received_events","type":"User","site_admin":false},"html_url":"https://github.com/webchuckweb/UDOIT","description":"The Universal Design Online content Inspection Tool, or UDOIT (pronounced, “You Do It”) enables faculty to identify accessibility issues in Canvas by Instructure. It will scan a course, generate a report, and provide resources on how to address common accessibility issues.","fork":true,"url":"https://api.github.com/repos/webchuckweb/UDOIT","forks_url":"https://api.github.com/repos/webchuckweb/UDOIT/forks","keys_url":"https://api.github.com/repos/webchuckweb/UDOIT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webchuckweb/UDOIT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webchuckweb/UDOIT/teams","hooks_url":"https://api.github.com/repos/webchuckweb/UDOIT/hooks","issue_events_url":"https://api.github.com/repos/webchuckweb/UDOIT/issues/events{/number}","events_url":"https://api.github.com/repos/webchuckweb/UDOIT/events","assignees_url":"https://api.github.com/repos/webchuckweb/UDOIT/assignees{/user}","branches_url":"https://api.github.com/repos/webchuckweb/UDOIT/branches{/branch}","tags_url":"https://api.github.com/repos/webchuckweb/UDOIT/tags","blobs_url":"https://api.github.com/repos/webchuckweb/UDOIT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webchuckweb/UDOIT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webchuckweb/UDOIT/git/refs{/sha}","trees_url":"https://api.github.com/repos/webchuckweb/UDOIT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webchuckweb/UDOIT/statuses/{sha}","languages_url":"https://api.github.com/repos/webchuckweb/UDOIT/languages","stargazers_url":"https://api.github.com/repos/webchuckweb/UDOIT/stargazers","contributors_url":"https://api.github.com/repos/webchuckweb/UDOIT/contributors","subscribers_url":"https://api.github.com/repos/webchuckweb/UDOIT/subscribers","subscription_url":"https://api.github.com/repos/webchuckweb/UDOIT/subscription","commits_url":"https://api.github.com/repos/webchuckweb/UDOIT/commits{/sha}","git_commits_url":"https://api.github.com/repos/webchuckweb/UDOIT/git/commits{/sha}","comments_url":"https://api.github.com/repos/webchuckweb/UDOIT/comments{/number}","issue_comment_url":"https://api.github.com/repos/webchuckweb/UDOIT/issues/comments{/number}","contents_url":"https://api.github.com/repos/webchuckweb/UDOIT/contents/{+path}","compare_url":"https://api.github.com/repos/webchuckweb/UDOIT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webchuckweb/UDOIT/merges","archive_url":"https://api.github.com/repos/webchuckweb/UDOIT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webchuckweb/UDOIT/downloads","issues_url":"https://api.github.com/repos/webchuckweb/UDOIT/issues{/number}","pulls_url":"https://api.github.com/repos/webchuckweb/UDOIT/pulls{/number}","milestones_url":"https://api.github.com/repos/webchuckweb/UDOIT/milestones{/number}","notifications_url":"https://api.github.com/repos/webchuckweb/UDOIT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webchuckweb/UDOIT/labels{/name}","releases_url":"https://api.github.com/repos/webchuckweb/UDOIT/releases{/id}","deployments_url":"https://api.github.com/repos/webchuckweb/UDOIT/deployments","created_at":"2018-10-02T14:56:00Z","updated_at":"2018-10-02T14:56:03Z","pushed_at":"2018-10-05T15:18:26Z","git_url":"git://github.com/webchuckweb/UDOIT.git","ssh_url":"git@github.com:webchuckweb/UDOIT.git","clone_url":"https://github.com/webchuckweb/UDOIT.git","svn_url":"https://github.com/webchuckweb/UDOIT","homepage":"","size":14710,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ucfopen:dev/v2-4-0","ref":"dev/v2-4-0","sha":"40ea8cbe6ae9717443b5030792dad3a39ff59988","user":{"login":"ucfopen","id":20798260,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzk4MjYw","avatar_url":"https://avatars0.githubusercontent.com/u/20798260?v=4","gravatar_id":"","url":"https://api.github.com/users/ucfopen","html_url":"https://github.com/ucfopen","followers_url":"https://api.github.com/users/ucfopen/followers","following_url":"https://api.github.com/users/ucfopen/following{/other_user}","gists_url":"https://api.github.com/users/ucfopen/gists{/gist_id}","starred_url":"https://api.github.com/users/ucfopen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucfopen/subscriptions","organizations_url":"https://api.github.com/users/ucfopen/orgs","repos_url":"https://api.github.com/users/ucfopen/repos","events_url":"https://api.github.com/users/ucfopen/events{/privacy}","received_events_url":"https://api.github.com/users/ucfopen/received_events","type":"Organization","site_admin":false},"repo":{"id":37205779,"node_id":"MDEwOlJlcG9zaXRvcnkzNzIwNTc3OQ==","name":"UDOIT","full_name":"ucfopen/UDOIT","private":false,"owner":{"login":"ucfopen","id":20798260,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzk4MjYw","avatar_url":"https://avatars0.githubusercontent.com/u/20798260?v=4","gravatar_id":"","url":"https://api.github.com/users/ucfopen","html_url":"https://github.com/ucfopen","followers_url":"https://api.github.com/users/ucfopen/followers","following_url":"https://api.github.com/users/ucfopen/following{/other_user}","gists_url":"https://api.github.com/users/ucfopen/gists{/gist_id}","starred_url":"https://api.github.com/users/ucfopen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucfopen/subscriptions","organizations_url":"https://api.github.com/users/ucfopen/orgs","repos_url":"https://api.github.com/users/ucfopen/repos","events_url":"https://api.github.com/users/ucfopen/events{/privacy}","received_events_url":"https://api.github.com/users/ucfopen/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ucfopen/UDOIT","description":"The Universal Design Online content Inspection Tool, or UDOIT (pronounced, “You Do It”) enables faculty to identify accessibility issues in Canvas by Instructure. It will scan a course, generate a report, and provide resources on how to address common accessibility issues.","fork":false,"url":"https://api.github.com/repos/ucfopen/UDOIT","forks_url":"https://api.github.com/repos/ucfopen/UDOIT/forks","keys_url":"https://api.github.com/repos/ucfopen/UDOIT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ucfopen/UDOIT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ucfopen/UDOIT/teams","hooks_url":"https://api.github.com/repos/ucfopen/UDOIT/hooks","issue_events_url":"https://api.github.com/repos/ucfopen/UDOIT/issues/events{/number}","events_url":"https://api.github.com/repos/ucfopen/UDOIT/events","assignees_url":"https://api.github.com/repos/ucfopen/UDOIT/assignees{/user}","branches_url":"https://api.github.com/repos/ucfopen/UDOIT/branches{/branch}","tags_url":"https://api.github.com/repos/ucfopen/UDOIT/tags","blobs_url":"https://api.github.com/repos/ucfopen/UDOIT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ucfopen/UDOIT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ucfopen/UDOIT/git/refs{/sha}","trees_url":"https://api.github.com/repos/ucfopen/UDOIT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ucfopen/UDOIT/statuses/{sha}","languages_url":"https://api.github.com/repos/ucfopen/UDOIT/languages","stargazers_url":"https://api.github.com/repos/ucfopen/UDOIT/stargazers","contributors_url":"https://api.github.com/repos/ucfopen/UDOIT/contributors","subscribers_url":"https://api.github.com/repos/ucfopen/UDOIT/subscribers","subscription_url":"https://api.github.com/repos/ucfopen/UDOIT/subscription","commits_url":"https://api.github.com/repos/ucfopen/UDOIT/commits{/sha}","git_commits_url":"https://api.github.com/repos/ucfopen/UDOIT/git/commits{/sha}","comments_url":"https://api.github.com/repos/ucfopen/UDOIT/comments{/number}","issue_comment_url":"https://api.github.com/repos/ucfopen/UDOIT/issues/comments{/number}","contents_url":"https://api.github.com/repos/ucfopen/UDOIT/contents/{+path}","compare_url":"https://api.github.com/repos/ucfopen/UDOIT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ucfopen/UDOIT/merges","archive_url":"https://api.github.com/repos/ucfopen/UDOIT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ucfopen/UDOIT/downloads","issues_url":"https://api.github.com/repos/ucfopen/UDOIT/issues{/number}","pulls_url":"https://api.github.com/repos/ucfopen/UDOIT/pulls{/number}","milestones_url":"https://api.github.com/repos/ucfopen/UDOIT/milestones{/number}","notifications_url":"https://api.github.com/repos/ucfopen/UDOIT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ucfopen/UDOIT/labels{/name}","releases_url":"https://api.github.com/repos/ucfopen/UDOIT/releases{/id}","deployments_url":"https://api.github.com/repos/ucfopen/UDOIT/deployments","created_at":"2015-06-10T15:32:50Z","updated_at":"2018-09-20T12:59:01Z","pushed_at":"2018-10-09T20:24:23Z","git_url":"git://github.com/ucfopen/UDOIT.git","ssh_url":"git@github.com:ucfopen/UDOIT.git","clone_url":"https://github.com/ucfopen/UDOIT.git","svn_url":"https://github.com/ucfopen/UDOIT","homepage":"","size":14692,"stargazers_count":58,"watchers_count":58,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":97,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":34,"open_issues":97,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ucfopen/UDOIT/pulls/385"},"html":{"href":"https://github.com/ucfopen/UDOIT/pull/385"},"issue":{"href":"https://api.github.com/repos/ucfopen/UDOIT/issues/385"},"comments":{"href":"https://api.github.com/repos/ucfopen/UDOIT/issues/385/comments"},"review_comments":{"href":"https://api.github.com/repos/ucfopen/UDOIT/pulls/385/comments"},"review_comment":{"href":"https://api.github.com/repos/ucfopen/UDOIT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ucfopen/UDOIT/pulls/385/commits"},"statuses":{"href":"https://api.github.com/repos/ucfopen/UDOIT/statuses/36a659a5693e3c26a34966ce75023642b57614a9"}},"author_association":"NONE"}}
{"actor":{"display_login":"webchuckweb"}}