{"action":"created","comment":{"url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/comments/66247616","id":66247616,"diff_hunk":"@@ -0,0 +1,127 @@\n+extend layout\n+\n+block scenarios\n+\n+  //- Left join each scenario with its sessions. Select only launchable scenarios (with documents)\n+  //- and joinable sessions (with instances).\n+\n+  -\n+    var application = \"/ITDG/index.vwf\",\n+      scenarios = manifest[ application ] || [];\n+    var scenario_sessions = _.sortBy( scenarios, function( scenario, name ) {\n+      return name;\n+    } ).filter( function( scenario ) {\n+      return scenario.scenario.document;\n+    } ).reduce( function( scenario_sessions, scenario ) {\n+      var sessions = ( scenario.sessions || [] ).filter( function( session ) {\n+        return session.instance;\n+      } );\n+      return scenario_sessions.concat( sessions.map( function( session ) {\n+        return { scenario: scenario.scenario, session: session };\n+      } ) ).concat( { scenario: scenario.scenario, session: undefined } );\n+    }, [] );","path":"views/index.jade","position":null,"original_position":22,"commit_id":"59c057e7321dd1bd1e279dab2924bfec90835f09","original_commit_id":"19c0766b7d05df46ad191f227adf1203a606e521","user":{"login":"eric79","id":3160246,"avatar_url":"https://avatars.githubusercontent.com/u/3160246?v=3","gravatar_id":"","url":"https://api.github.com/users/eric79","html_url":"https://github.com/eric79","followers_url":"https://api.github.com/users/eric79/followers","following_url":"https://api.github.com/users/eric79/following{/other_user}","gists_url":"https://api.github.com/users/eric79/gists{/gist_id}","starred_url":"https://api.github.com/users/eric79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eric79/subscriptions","organizations_url":"https://api.github.com/users/eric79/orgs","repos_url":"https://api.github.com/users/eric79/repos","events_url":"https://api.github.com/users/eric79/events{/privacy}","received_events_url":"https://api.github.com/users/eric79/received_events","type":"User","site_admin":false},"body":"Awesome.  Thanks.","created_at":"2016-06-08T12:44:25Z","updated_at":"2016-06-08T12:44:25Z","html_url":"https://github.com/interactive-tactical-decision-games/vwf/pull/11#discussion_r66247616","pull_request_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/comments/66247616"},"html":{"href":"https://github.com/interactive-tactical-decision-games/vwf/pull/11#discussion_r66247616"},"pull_request":{"href":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/11","id":69798870,"html_url":"https://github.com/interactive-tactical-decision-games/vwf/pull/11","diff_url":"https://github.com/interactive-tactical-decision-games/vwf/pull/11.diff","patch_url":"https://github.com/interactive-tactical-decision-games/vwf/pull/11.patch","issue_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/issues/11","number":11,"state":"open","locked":false,"title":"ITDG login and lobby support","user":{"login":"davideaster","id":1580409,"avatar_url":"https://avatars.githubusercontent.com/u/1580409?v=3","gravatar_id":"","url":"https://api.github.com/users/davideaster","html_url":"https://github.com/davideaster","followers_url":"https://api.github.com/users/davideaster/followers","following_url":"https://api.github.com/users/davideaster/following{/other_user}","gists_url":"https://api.github.com/users/davideaster/gists{/gist_id}","starred_url":"https://api.github.com/users/davideaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davideaster/subscriptions","organizations_url":"https://api.github.com/users/davideaster/orgs","repos_url":"https://api.github.com/users/davideaster/repos","events_url":"https://api.github.com/users/davideaster/events{/privacy}","received_events_url":"https://api.github.com/users/davideaster/received_events","type":"User","site_admin":false},"body":"This is the merged and rebased version. It supports login using first/middle/last and an instructor flag. User information is published in the user's `clients.vwf` child node. Saved documents and running instances are parsed into ITDG scenarios and sessions and presented in the lobby. The `scenarioDescription` fields are shown in the lobby. There are also controls to provide these fields and create new scenarios and sessions, but the created instances don't yet have the `scenarioDescription` fields applied.\r\n\r\n@eric79 ","created_at":"2016-05-12T08:41:49Z","updated_at":"2016-06-08T12:44:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2102827eca7927462954b052752a21629ce7d3d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/11/commits","review_comments_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/11/comments","review_comment_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/issues/11/comments","statuses_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/statuses/59c057e7321dd1bd1e279dab2924bfec90835f09","head":{"label":"interactive-tactical-decision-games:branch/login+lobby","ref":"branch/login+lobby","sha":"59c057e7321dd1bd1e279dab2924bfec90835f09","user":{"login":"interactive-tactical-decision-games","id":17880663,"avatar_url":"https://avatars.githubusercontent.com/u/17880663?v=3","gravatar_id":"","url":"https://api.github.com/users/interactive-tactical-decision-games","html_url":"https://github.com/interactive-tactical-decision-games","followers_url":"https://api.github.com/users/interactive-tactical-decision-games/followers","following_url":"https://api.github.com/users/interactive-tactical-decision-games/following{/other_user}","gists_url":"https://api.github.com/users/interactive-tactical-decision-games/gists{/gist_id}","starred_url":"https://api.github.com/users/interactive-tactical-decision-games/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interactive-tactical-decision-games/subscriptions","organizations_url":"https://api.github.com/users/interactive-tactical-decision-games/orgs","repos_url":"https://api.github.com/users/interactive-tactical-decision-games/repos","events_url":"https://api.github.com/users/interactive-tactical-decision-games/events{/privacy}","received_events_url":"https://api.github.com/users/interactive-tactical-decision-games/received_events","type":"Organization","site_admin":false},"repo":{"id":54670295,"name":"vwf","full_name":"interactive-tactical-decision-games/vwf","owner":{"login":"interactive-tactical-decision-games","id":17880663,"avatar_url":"https://avatars.githubusercontent.com/u/17880663?v=3","gravatar_id":"","url":"https://api.github.com/users/interactive-tactical-decision-games","html_url":"https://github.com/interactive-tactical-decision-games","followers_url":"https://api.github.com/users/interactive-tactical-decision-games/followers","following_url":"https://api.github.com/users/interactive-tactical-decision-games/following{/other_user}","gists_url":"https://api.github.com/users/interactive-tactical-decision-games/gists{/gist_id}","starred_url":"https://api.github.com/users/interactive-tactical-decision-games/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interactive-tactical-decision-games/subscriptions","organizations_url":"https://api.github.com/users/interactive-tactical-decision-games/orgs","repos_url":"https://api.github.com/users/interactive-tactical-decision-games/repos","events_url":"https://api.github.com/users/interactive-tactical-decision-games/events{/privacy}","received_events_url":"https://api.github.com/users/interactive-tactical-decision-games/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interactive-tactical-decision-games/vwf","description":"Virtual World Framework","fork":true,"url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf","forks_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/forks","keys_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/teams","hooks_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/hooks","issue_events_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/issues/events{/number}","events_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/events","assignees_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/assignees{/user}","branches_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/branches{/branch}","tags_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/tags","blobs_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/git/refs{/sha}","trees_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/statuses/{sha}","languages_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/languages","stargazers_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/stargazers","contributors_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/contributors","subscribers_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/subscribers","subscription_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/subscription","commits_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/commits{/sha}","git_commits_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/git/commits{/sha}","comments_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/comments{/number}","issue_comment_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/issues/comments{/number}","contents_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/contents/{+path}","compare_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/merges","archive_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/downloads","issues_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/issues{/number}","pulls_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls{/number}","milestones_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/milestones{/number}","notifications_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/labels{/name}","releases_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/releases{/id}","deployments_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/deployments","created_at":"2016-03-24T19:57:40Z","updated_at":"2016-03-24T19:57:47Z","pushed_at":"2016-06-08T01:52:03Z","git_url":"git://github.com/interactive-tactical-decision-games/vwf.git","ssh_url":"git@github.com:interactive-tactical-decision-games/vwf.git","clone_url":"https://github.com/interactive-tactical-decision-games/vwf.git","svn_url":"https://github.com/interactive-tactical-decision-games/vwf","homepage":"https://virtual.wf","size":738770,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"tdg"}},"base":{"label":"interactive-tactical-decision-games:tdg","ref":"tdg","sha":"1963c064c0162c0b8f28299ee470d3e4936c4acf","user":{"login":"interactive-tactical-decision-games","id":17880663,"avatar_url":"https://avatars.githubusercontent.com/u/17880663?v=3","gravatar_id":"","url":"https://api.github.com/users/interactive-tactical-decision-games","html_url":"https://github.com/interactive-tactical-decision-games","followers_url":"https://api.github.com/users/interactive-tactical-decision-games/followers","following_url":"https://api.github.com/users/interactive-tactical-decision-games/following{/other_user}","gists_url":"https://api.github.com/users/interactive-tactical-decision-games/gists{/gist_id}","starred_url":"https://api.github.com/users/interactive-tactical-decision-games/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interactive-tactical-decision-games/subscriptions","organizations_url":"https://api.github.com/users/interactive-tactical-decision-games/orgs","repos_url":"https://api.github.com/users/interactive-tactical-decision-games/repos","events_url":"https://api.github.com/users/interactive-tactical-decision-games/events{/privacy}","received_events_url":"https://api.github.com/users/interactive-tactical-decision-games/received_events","type":"Organization","site_admin":false},"repo":{"id":54670295,"name":"vwf","full_name":"interactive-tactical-decision-games/vwf","owner":{"login":"interactive-tactical-decision-games","id":17880663,"avatar_url":"https://avatars.githubusercontent.com/u/17880663?v=3","gravatar_id":"","url":"https://api.github.com/users/interactive-tactical-decision-games","html_url":"https://github.com/interactive-tactical-decision-games","followers_url":"https://api.github.com/users/interactive-tactical-decision-games/followers","following_url":"https://api.github.com/users/interactive-tactical-decision-games/following{/other_user}","gists_url":"https://api.github.com/users/interactive-tactical-decision-games/gists{/gist_id}","starred_url":"https://api.github.com/users/interactive-tactical-decision-games/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interactive-tactical-decision-games/subscriptions","organizations_url":"https://api.github.com/users/interactive-tactical-decision-games/orgs","repos_url":"https://api.github.com/users/interactive-tactical-decision-games/repos","events_url":"https://api.github.com/users/interactive-tactical-decision-games/events{/privacy}","received_events_url":"https://api.github.com/users/interactive-tactical-decision-games/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interactive-tactical-decision-games/vwf","description":"Virtual World Framework","fork":true,"url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf","forks_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/forks","keys_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/teams","hooks_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/hooks","issue_events_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/issues/events{/number}","events_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/events","assignees_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/assignees{/user}","branches_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/branches{/branch}","tags_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/tags","blobs_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/git/refs{/sha}","trees_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/statuses/{sha}","languages_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/languages","stargazers_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/stargazers","contributors_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/contributors","subscribers_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/subscribers","subscription_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/subscription","commits_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/commits{/sha}","git_commits_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/git/commits{/sha}","comments_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/comments{/number}","issue_comment_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/issues/comments{/number}","contents_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/contents/{+path}","compare_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/merges","archive_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/downloads","issues_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/issues{/number}","pulls_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls{/number}","milestones_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/milestones{/number}","notifications_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/labels{/name}","releases_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/releases{/id}","deployments_url":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/deployments","created_at":"2016-03-24T19:57:40Z","updated_at":"2016-03-24T19:57:47Z","pushed_at":"2016-06-08T01:52:03Z","git_url":"git://github.com/interactive-tactical-decision-games/vwf.git","ssh_url":"git@github.com:interactive-tactical-decision-games/vwf.git","clone_url":"https://github.com/interactive-tactical-decision-games/vwf.git","svn_url":"https://github.com/interactive-tactical-decision-games/vwf","homepage":"https://virtual.wf","size":738770,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"tdg"}},"_links":{"self":{"href":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/11"},"html":{"href":"https://github.com/interactive-tactical-decision-games/vwf/pull/11"},"issue":{"href":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/issues/11"},"comments":{"href":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/interactive-tactical-decision-games/vwf/statuses/59c057e7321dd1bd1e279dab2924bfec90835f09"}}}}
{"actor":{"display_login":"eric79"}}