{"action":"created","comment":{"url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments/37760088","id":37760088,"diff_hunk":"@@ -268,7 +267,19 @@ def handle_not_logged_in(my, allow_change_admin=True):\n \n                 # display default web login\n                 if not web_wdg:\n-                    top.add(WebLoginWdg(allow_change_admin=allow_change_admin) )\n+\n+                    # get login screen from Site\n+                    try:\n+                        # FIXME: hard coded portal!!!!!\n+                        Site.set_site(\"default\")","path":"src/pyasm/web/app_server.py","position":25,"original_position":25,"commit_id":"76b70cee608e8a8b803c23a9f4797976db4f1184","original_commit_id":"cb1a84b0d61b6431b83205c842a56b3575e902d1","user":{"login":"remkonoteboom","id":2145947,"avatar_url":"https://avatars.githubusercontent.com/u/2145947?v=3","gravatar_id":"","url":"https://api.github.com/users/remkonoteboom","html_url":"https://github.com/remkonoteboom","followers_url":"https://api.github.com/users/remkonoteboom/followers","following_url":"https://api.github.com/users/remkonoteboom/following{/other_user}","gists_url":"https://api.github.com/users/remkonoteboom/gists{/gist_id}","starred_url":"https://api.github.com/users/remkonoteboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remkonoteboom/subscriptions","organizations_url":"https://api.github.com/users/remkonoteboom/orgs","repos_url":"https://api.github.com/users/remkonoteboom/repos","events_url":"https://api.github.com/users/remkonoteboom/events{/privacy}","received_events_url":"https://api.github.com/users/remkonoteboom/received_events","type":"User","site_admin":false},"body":"The default site is basically the admin site.","created_at":"2015-08-24T14:57:36Z","updated_at":"2015-08-24T14:57:36Z","html_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/294#discussion_r37760088","pull_request_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/294","_links":{"self":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments/37760088"},"html":{"href":"https://github.com/Southpaw-TACTIC/TACTIC/pull/294#discussion_r37760088"},"pull_request":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/294"}}},"pull_request":{"url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/294","id":40787028,"html_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/294","diff_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/294.diff","patch_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/294.patch","issue_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/294","number":294,"state":"open","locked":false,"title":"Remkonoteboom/4.4","user":{"login":"remkonoteboom","id":2145947,"avatar_url":"https://avatars.githubusercontent.com/u/2145947?v=3","gravatar_id":"","url":"https://api.github.com/users/remkonoteboom","html_url":"https://github.com/remkonoteboom","followers_url":"https://api.github.com/users/remkonoteboom/followers","following_url":"https://api.github.com/users/remkonoteboom/following{/other_user}","gists_url":"https://api.github.com/users/remkonoteboom/gists{/gist_id}","starred_url":"https://api.github.com/users/remkonoteboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remkonoteboom/subscriptions","organizations_url":"https://api.github.com/users/remkonoteboom/orgs","repos_url":"https://api.github.com/users/remkonoteboom/repos","events_url":"https://api.github.com/users/remkonoteboom/events{/privacy}","received_events_url":"https://api.github.com/users/remkonoteboom/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-24T15:33:47Z","updated_at":"2015-08-24T14:57:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1cf493690ef106d72d8341c48bda7e69f6cd13cc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/294/commits","review_comments_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/294/comments","review_comment_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/294/comments","statuses_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/statuses/76b70cee608e8a8b803c23a9f4797976db4f1184","head":{"label":"southpawtech:remkonoteboom/4.4","ref":"remkonoteboom/4.4","sha":"76b70cee608e8a8b803c23a9f4797976db4f1184","user":{"login":"southpawtech","id":3110165,"avatar_url":"https://avatars.githubusercontent.com/u/3110165?v=3","gravatar_id":"","url":"https://api.github.com/users/southpawtech","html_url":"https://github.com/southpawtech","followers_url":"https://api.github.com/users/southpawtech/followers","following_url":"https://api.github.com/users/southpawtech/following{/other_user}","gists_url":"https://api.github.com/users/southpawtech/gists{/gist_id}","starred_url":"https://api.github.com/users/southpawtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/southpawtech/subscriptions","organizations_url":"https://api.github.com/users/southpawtech/orgs","repos_url":"https://api.github.com/users/southpawtech/repos","events_url":"https://api.github.com/users/southpawtech/events{/privacy}","received_events_url":"https://api.github.com/users/southpawtech/received_events","type":"Organization","site_admin":false},"repo":{"id":15238976,"name":"TACTIC-DEV","full_name":"southpawtech/TACTIC-DEV","owner":{"login":"southpawtech","id":3110165,"avatar_url":"https://avatars.githubusercontent.com/u/3110165?v=3","gravatar_id":"","url":"https://api.github.com/users/southpawtech","html_url":"https://github.com/southpawtech","followers_url":"https://api.github.com/users/southpawtech/followers","following_url":"https://api.github.com/users/southpawtech/following{/other_user}","gists_url":"https://api.github.com/users/southpawtech/gists{/gist_id}","starred_url":"https://api.github.com/users/southpawtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/southpawtech/subscriptions","organizations_url":"https://api.github.com/users/southpawtech/orgs","repos_url":"https://api.github.com/users/southpawtech/repos","events_url":"https://api.github.com/users/southpawtech/events{/privacy}","received_events_url":"https://api.github.com/users/southpawtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/southpawtech/TACTIC-DEV","description":"TACTIC - http://community.southpawtech.com","fork":true,"url":"https://api.github.com/repos/southpawtech/TACTIC-DEV","forks_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/forks","keys_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/keys{/key_id}","collaborators_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/teams","hooks_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/hooks","issue_events_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/issues/events{/number}","events_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/events","assignees_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/assignees{/user}","branches_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/branches{/branch}","tags_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/tags","blobs_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/git/refs{/sha}","trees_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/git/trees{/sha}","statuses_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/statuses/{sha}","languages_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/languages","stargazers_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/stargazers","contributors_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/contributors","subscribers_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/subscribers","subscription_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/subscription","commits_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/commits{/sha}","git_commits_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/git/commits{/sha}","comments_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/comments{/number}","issue_comment_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/issues/comments{/number}","contents_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/contents/{+path}","compare_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/compare/{base}...{head}","merges_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/merges","archive_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/downloads","issues_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/issues{/number}","pulls_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/pulls{/number}","milestones_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/milestones{/number}","notifications_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/labels{/name}","releases_url":"https://api.github.com/repos/southpawtech/TACTIC-DEV/releases{/id}","created_at":"2013-12-16T22:28:05Z","updated_at":"2015-04-27T15:48:34Z","pushed_at":"2015-08-24T14:52:47Z","git_url":"git://github.com/southpawtech/TACTIC-DEV.git","ssh_url":"git@github.com:southpawtech/TACTIC-DEV.git","clone_url":"https://github.com/southpawtech/TACTIC-DEV.git","svn_url":"https://github.com/southpawtech/TACTIC-DEV","homepage":"","size":153395,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"Southpaw-TACTIC:4.4","ref":"4.4","sha":"1f5e2f07950ee823625708729adecbb7b19753bd","user":{"login":"Southpaw-TACTIC","id":3106159,"avatar_url":"https://avatars.githubusercontent.com/u/3106159?v=3","gravatar_id":"","url":"https://api.github.com/users/Southpaw-TACTIC","html_url":"https://github.com/Southpaw-TACTIC","followers_url":"https://api.github.com/users/Southpaw-TACTIC/followers","following_url":"https://api.github.com/users/Southpaw-TACTIC/following{/other_user}","gists_url":"https://api.github.com/users/Southpaw-TACTIC/gists{/gist_id}","starred_url":"https://api.github.com/users/Southpaw-TACTIC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Southpaw-TACTIC/subscriptions","organizations_url":"https://api.github.com/users/Southpaw-TACTIC/orgs","repos_url":"https://api.github.com/users/Southpaw-TACTIC/repos","events_url":"https://api.github.com/users/Southpaw-TACTIC/events{/privacy}","received_events_url":"https://api.github.com/users/Southpaw-TACTIC/received_events","type":"Organization","site_admin":false},"repo":{"id":12715951,"name":"TACTIC","full_name":"Southpaw-TACTIC/TACTIC","owner":{"login":"Southpaw-TACTIC","id":3106159,"avatar_url":"https://avatars.githubusercontent.com/u/3106159?v=3","gravatar_id":"","url":"https://api.github.com/users/Southpaw-TACTIC","html_url":"https://github.com/Southpaw-TACTIC","followers_url":"https://api.github.com/users/Southpaw-TACTIC/followers","following_url":"https://api.github.com/users/Southpaw-TACTIC/following{/other_user}","gists_url":"https://api.github.com/users/Southpaw-TACTIC/gists{/gist_id}","starred_url":"https://api.github.com/users/Southpaw-TACTIC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Southpaw-TACTIC/subscriptions","organizations_url":"https://api.github.com/users/Southpaw-TACTIC/orgs","repos_url":"https://api.github.com/users/Southpaw-TACTIC/repos","events_url":"https://api.github.com/users/Southpaw-TACTIC/events{/privacy}","received_events_url":"https://api.github.com/users/Southpaw-TACTIC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Southpaw-TACTIC/TACTIC","description":"TACTIC - http://community.southpawtech.com","fork":false,"url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC","forks_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/forks","keys_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/teams","hooks_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/hooks","issue_events_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/events{/number}","events_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/events","assignees_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/assignees{/user}","branches_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/branches{/branch}","tags_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/tags","blobs_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/refs{/sha}","trees_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/statuses/{sha}","languages_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/languages","stargazers_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/stargazers","contributors_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/contributors","subscribers_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/subscribers","subscription_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/subscription","commits_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/commits{/sha}","git_commits_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/commits{/sha}","comments_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/comments{/number}","issue_comment_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/comments{/number}","contents_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/contents/{+path}","compare_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/merges","archive_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/downloads","issues_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues{/number}","pulls_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls{/number}","milestones_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/milestones{/number}","notifications_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/labels{/name}","releases_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/releases{/id}","created_at":"2013-09-10T00:06:41Z","updated_at":"2015-08-11T23:38:03Z","pushed_at":"2015-08-24T14:52:48Z","git_url":"git://github.com/Southpaw-TACTIC/TACTIC.git","ssh_url":"git@github.com:Southpaw-TACTIC/TACTIC.git","clone_url":"https://github.com/Southpaw-TACTIC/TACTIC.git","svn_url":"https://github.com/Southpaw-TACTIC/TACTIC","homepage":"","size":161317,"stargazers_count":79,"watchers_count":79,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":11,"forks":36,"open_issues":11,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/294"},"html":{"href":"https://github.com/Southpaw-TACTIC/TACTIC/pull/294"},"issue":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/294"},"comments":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/294/comments"},"review_comments":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/294/comments"},"review_comment":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/294/commits"},"statuses":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/statuses/76b70cee608e8a8b803c23a9f4797976db4f1184"}}}}