{"action":"created","comment":{"url":"https://api.github.com/repos/sagemathinc/smc/pulls/comments/90357712","pull_request_review_id":10877736,"id":90357712,"diff_hunk":"@@ -242,7 +242,7 @@ class ProjectsActions extends Actions\n         opts = defaults opts,\n             exclusions : undefined # Array<String> of sub-trees' root paths to omit\n         # WARNING: Do not change the store except in a callback below.\n-        block = \"_fetch_directory_tree_#{project_id}\"\n+        block = \"_fetch_directory_tree_#{project_id}_#{opts.exclusions?.toString()}\"","path":"src/smc-webapp/projects.cjsx","position":null,"original_position":5,"commit_id":"505422aefd20b73c2db8fc62d7d38d28e2f36729","original_commit_id":"505422aefd20b73c2db8fc62d7d38d28e2f36729","user":{"login":"williamstein","id":1276278,"avatar_url":"https://avatars.githubusercontent.com/u/1276278?v=3","gravatar_id":"","url":"https://api.github.com/users/williamstein","html_url":"https://github.com/williamstein","followers_url":"https://api.github.com/users/williamstein/followers","following_url":"https://api.github.com/users/williamstein/following{/other_user}","gists_url":"https://api.github.com/users/williamstein/gists{/gist_id}","starred_url":"https://api.github.com/users/williamstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamstein/subscriptions","organizations_url":"https://api.github.com/users/williamstein/orgs","repos_url":"https://api.github.com/users/williamstein/repos","events_url":"https://api.github.com/users/williamstein/events{/privacy}","received_events_url":"https://api.github.com/users/williamstein/received_events","type":"User","site_admin":false},"body":"@johnjeng  -- this makes me nervous...\r\n\r\nHowever, I don't care, since the whole directory tree will be sync'd via the db at some point in the future, which will remove all this.","created_at":"2016-12-01T00:04:11Z","updated_at":"2016-12-01T00:04:11Z","html_url":"https://github.com/sagemathinc/smc/pull/1298#discussion_r90357712","pull_request_url":"https://api.github.com/repos/sagemathinc/smc/pulls/1298","_links":{"self":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/comments/90357712"},"html":{"href":"https://github.com/sagemathinc/smc/pull/1298#discussion_r90357712"},"pull_request":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/1298"}}},"pull_request":{"url":"https://api.github.com/repos/sagemathinc/smc/pulls/1298","id":95102399,"html_url":"https://github.com/sagemathinc/smc/pull/1298","diff_url":"https://github.com/sagemathinc/smc/pull/1298.diff","patch_url":"https://github.com/sagemathinc/smc/pull/1298.patch","issue_url":"https://api.github.com/repos/sagemathinc/smc/issues/1298","number":1298,"state":"open","locked":false,"title":"Prevent moving folders into themselves","user":{"login":"johnjeng","id":618575,"avatar_url":"https://avatars.githubusercontent.com/u/618575?v=3","gravatar_id":"","url":"https://api.github.com/users/johnjeng","html_url":"https://github.com/johnjeng","followers_url":"https://api.github.com/users/johnjeng/followers","following_url":"https://api.github.com/users/johnjeng/following{/other_user}","gists_url":"https://api.github.com/users/johnjeng/gists{/gist_id}","starred_url":"https://api.github.com/users/johnjeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnjeng/subscriptions","organizations_url":"https://api.github.com/users/johnjeng/orgs","repos_url":"https://api.github.com/users/johnjeng/repos","events_url":"https://api.github.com/users/johnjeng/events{/privacy}","received_events_url":"https://api.github.com/users/johnjeng/received_events","type":"User","site_admin":false},"body":"Fixes #1295 \r\n\r\nDoesn't show any folders for when a selected folder is its ancestor.\r\n\r\n## Example\r\n### Full folder tree\r\n![full-tree](https://cloud.githubusercontent.com/assets/618575/20583533/c300a49a-b19f-11e6-99ff-4c8d47e2814f.png)\r\n\r\n### Just top2 selected\r\n![top2-highlighted](https://cloud.githubusercontent.com/assets/618575/20583539/d353165c-b19f-11e6-87ac-f8a46482f6a6.png)\r\n\r\n### All contents of top2 selected\r\n![top2-contents](https://cloud.githubusercontent.com/assets/618575/20583545/df011864-b19f-11e6-8370-7c0d096ba3a1.png)\r\n\r\n","created_at":"2016-11-24T01:01:46Z","updated_at":"2016-12-01T00:04:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ccd59b45ba508cdaacce34ab216f842cef91cdb5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sagemathinc/smc/pulls/1298/commits","review_comments_url":"https://api.github.com/repos/sagemathinc/smc/pulls/1298/comments","review_comment_url":"https://api.github.com/repos/sagemathinc/smc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sagemathinc/smc/issues/1298/comments","statuses_url":"https://api.github.com/repos/sagemathinc/smc/statuses/505422aefd20b73c2db8fc62d7d38d28e2f36729","head":{"label":"sagemathinc:issue/1295","ref":"issue/1295","sha":"505422aefd20b73c2db8fc62d7d38d28e2f36729","user":{"login":"sagemathinc","id":11307305,"avatar_url":"https://avatars.githubusercontent.com/u/11307305?v=3","gravatar_id":"","url":"https://api.github.com/users/sagemathinc","html_url":"https://github.com/sagemathinc","followers_url":"https://api.github.com/users/sagemathinc/followers","following_url":"https://api.github.com/users/sagemathinc/following{/other_user}","gists_url":"https://api.github.com/users/sagemathinc/gists{/gist_id}","starred_url":"https://api.github.com/users/sagemathinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagemathinc/subscriptions","organizations_url":"https://api.github.com/users/sagemathinc/orgs","repos_url":"https://api.github.com/users/sagemathinc/repos","events_url":"https://api.github.com/users/sagemathinc/events{/privacy}","received_events_url":"https://api.github.com/users/sagemathinc/received_events","type":"Organization","site_admin":false},"repo":{"id":32500369,"name":"smc","full_name":"sagemathinc/smc","owner":{"login":"sagemathinc","id":11307305,"avatar_url":"https://avatars.githubusercontent.com/u/11307305?v=3","gravatar_id":"","url":"https://api.github.com/users/sagemathinc","html_url":"https://github.com/sagemathinc","followers_url":"https://api.github.com/users/sagemathinc/followers","following_url":"https://api.github.com/users/sagemathinc/following{/other_user}","gists_url":"https://api.github.com/users/sagemathinc/gists{/gist_id}","starred_url":"https://api.github.com/users/sagemathinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagemathinc/subscriptions","organizations_url":"https://api.github.com/users/sagemathinc/orgs","repos_url":"https://api.github.com/users/sagemathinc/repos","events_url":"https://api.github.com/users/sagemathinc/events{/privacy}","received_events_url":"https://api.github.com/users/sagemathinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sagemathinc/smc","description":"SageMathCloud's complete current source code repository -- use SMC at ","fork":false,"url":"https://api.github.com/repos/sagemathinc/smc","forks_url":"https://api.github.com/repos/sagemathinc/smc/forks","keys_url":"https://api.github.com/repos/sagemathinc/smc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sagemathinc/smc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sagemathinc/smc/teams","hooks_url":"https://api.github.com/repos/sagemathinc/smc/hooks","issue_events_url":"https://api.github.com/repos/sagemathinc/smc/issues/events{/number}","events_url":"https://api.github.com/repos/sagemathinc/smc/events","assignees_url":"https://api.github.com/repos/sagemathinc/smc/assignees{/user}","branches_url":"https://api.github.com/repos/sagemathinc/smc/branches{/branch}","tags_url":"https://api.github.com/repos/sagemathinc/smc/tags","blobs_url":"https://api.github.com/repos/sagemathinc/smc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sagemathinc/smc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sagemathinc/smc/git/refs{/sha}","trees_url":"https://api.github.com/repos/sagemathinc/smc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sagemathinc/smc/statuses/{sha}","languages_url":"https://api.github.com/repos/sagemathinc/smc/languages","stargazers_url":"https://api.github.com/repos/sagemathinc/smc/stargazers","contributors_url":"https://api.github.com/repos/sagemathinc/smc/contributors","subscribers_url":"https://api.github.com/repos/sagemathinc/smc/subscribers","subscription_url":"https://api.github.com/repos/sagemathinc/smc/subscription","commits_url":"https://api.github.com/repos/sagemathinc/smc/commits{/sha}","git_commits_url":"https://api.github.com/repos/sagemathinc/smc/git/commits{/sha}","comments_url":"https://api.github.com/repos/sagemathinc/smc/comments{/number}","issue_comment_url":"https://api.github.com/repos/sagemathinc/smc/issues/comments{/number}","contents_url":"https://api.github.com/repos/sagemathinc/smc/contents/{+path}","compare_url":"https://api.github.com/repos/sagemathinc/smc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sagemathinc/smc/merges","archive_url":"https://api.github.com/repos/sagemathinc/smc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sagemathinc/smc/downloads","issues_url":"https://api.github.com/repos/sagemathinc/smc/issues{/number}","pulls_url":"https://api.github.com/repos/sagemathinc/smc/pulls{/number}","milestones_url":"https://api.github.com/repos/sagemathinc/smc/milestones{/number}","notifications_url":"https://api.github.com/repos/sagemathinc/smc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sagemathinc/smc/labels{/name}","releases_url":"https://api.github.com/repos/sagemathinc/smc/releases{/id}","deployments_url":"https://api.github.com/repos/sagemathinc/smc/deployments","created_at":"2015-03-19T04:16:53Z","updated_at":"2016-11-28T22:38:19Z","pushed_at":"2016-11-30T23:51:39Z","git_url":"git://github.com/sagemathinc/smc.git","ssh_url":"git@github.com:sagemathinc/smc.git","clone_url":"https://github.com/sagemathinc/smc.git","svn_url":"https://github.com/sagemathinc/smc","homepage":"https://cloud.sagemath.com","size":173266,"stargazers_count":247,"watchers_count":247,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":399,"forks":51,"open_issues":399,"watchers":247,"default_branch":"master"}},"base":{"label":"sagemathinc:master","ref":"master","sha":"93a7af787daa790e7e14acb82102041da8bc67b0","user":{"login":"sagemathinc","id":11307305,"avatar_url":"https://avatars.githubusercontent.com/u/11307305?v=3","gravatar_id":"","url":"https://api.github.com/users/sagemathinc","html_url":"https://github.com/sagemathinc","followers_url":"https://api.github.com/users/sagemathinc/followers","following_url":"https://api.github.com/users/sagemathinc/following{/other_user}","gists_url":"https://api.github.com/users/sagemathinc/gists{/gist_id}","starred_url":"https://api.github.com/users/sagemathinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagemathinc/subscriptions","organizations_url":"https://api.github.com/users/sagemathinc/orgs","repos_url":"https://api.github.com/users/sagemathinc/repos","events_url":"https://api.github.com/users/sagemathinc/events{/privacy}","received_events_url":"https://api.github.com/users/sagemathinc/received_events","type":"Organization","site_admin":false},"repo":{"id":32500369,"name":"smc","full_name":"sagemathinc/smc","owner":{"login":"sagemathinc","id":11307305,"avatar_url":"https://avatars.githubusercontent.com/u/11307305?v=3","gravatar_id":"","url":"https://api.github.com/users/sagemathinc","html_url":"https://github.com/sagemathinc","followers_url":"https://api.github.com/users/sagemathinc/followers","following_url":"https://api.github.com/users/sagemathinc/following{/other_user}","gists_url":"https://api.github.com/users/sagemathinc/gists{/gist_id}","starred_url":"https://api.github.com/users/sagemathinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagemathinc/subscriptions","organizations_url":"https://api.github.com/users/sagemathinc/orgs","repos_url":"https://api.github.com/users/sagemathinc/repos","events_url":"https://api.github.com/users/sagemathinc/events{/privacy}","received_events_url":"https://api.github.com/users/sagemathinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sagemathinc/smc","description":"SageMathCloud's complete current source code repository -- use SMC at ","fork":false,"url":"https://api.github.com/repos/sagemathinc/smc","forks_url":"https://api.github.com/repos/sagemathinc/smc/forks","keys_url":"https://api.github.com/repos/sagemathinc/smc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sagemathinc/smc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sagemathinc/smc/teams","hooks_url":"https://api.github.com/repos/sagemathinc/smc/hooks","issue_events_url":"https://api.github.com/repos/sagemathinc/smc/issues/events{/number}","events_url":"https://api.github.com/repos/sagemathinc/smc/events","assignees_url":"https://api.github.com/repos/sagemathinc/smc/assignees{/user}","branches_url":"https://api.github.com/repos/sagemathinc/smc/branches{/branch}","tags_url":"https://api.github.com/repos/sagemathinc/smc/tags","blobs_url":"https://api.github.com/repos/sagemathinc/smc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sagemathinc/smc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sagemathinc/smc/git/refs{/sha}","trees_url":"https://api.github.com/repos/sagemathinc/smc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sagemathinc/smc/statuses/{sha}","languages_url":"https://api.github.com/repos/sagemathinc/smc/languages","stargazers_url":"https://api.github.com/repos/sagemathinc/smc/stargazers","contributors_url":"https://api.github.com/repos/sagemathinc/smc/contributors","subscribers_url":"https://api.github.com/repos/sagemathinc/smc/subscribers","subscription_url":"https://api.github.com/repos/sagemathinc/smc/subscription","commits_url":"https://api.github.com/repos/sagemathinc/smc/commits{/sha}","git_commits_url":"https://api.github.com/repos/sagemathinc/smc/git/commits{/sha}","comments_url":"https://api.github.com/repos/sagemathinc/smc/comments{/number}","issue_comment_url":"https://api.github.com/repos/sagemathinc/smc/issues/comments{/number}","contents_url":"https://api.github.com/repos/sagemathinc/smc/contents/{+path}","compare_url":"https://api.github.com/repos/sagemathinc/smc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sagemathinc/smc/merges","archive_url":"https://api.github.com/repos/sagemathinc/smc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sagemathinc/smc/downloads","issues_url":"https://api.github.com/repos/sagemathinc/smc/issues{/number}","pulls_url":"https://api.github.com/repos/sagemathinc/smc/pulls{/number}","milestones_url":"https://api.github.com/repos/sagemathinc/smc/milestones{/number}","notifications_url":"https://api.github.com/repos/sagemathinc/smc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sagemathinc/smc/labels{/name}","releases_url":"https://api.github.com/repos/sagemathinc/smc/releases{/id}","deployments_url":"https://api.github.com/repos/sagemathinc/smc/deployments","created_at":"2015-03-19T04:16:53Z","updated_at":"2016-11-28T22:38:19Z","pushed_at":"2016-11-30T23:51:39Z","git_url":"git://github.com/sagemathinc/smc.git","ssh_url":"git@github.com:sagemathinc/smc.git","clone_url":"https://github.com/sagemathinc/smc.git","svn_url":"https://github.com/sagemathinc/smc","homepage":"https://cloud.sagemath.com","size":173266,"stargazers_count":247,"watchers_count":247,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":399,"forks":51,"open_issues":399,"watchers":247,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/1298"},"html":{"href":"https://github.com/sagemathinc/smc/pull/1298"},"issue":{"href":"https://api.github.com/repos/sagemathinc/smc/issues/1298"},"comments":{"href":"https://api.github.com/repos/sagemathinc/smc/issues/1298/comments"},"review_comments":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/1298/comments"},"review_comment":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/1298/commits"},"statuses":{"href":"https://api.github.com/repos/sagemathinc/smc/statuses/505422aefd20b73c2db8fc62d7d38d28e2f36729"}}}}
{"actor":{"display_login":"williamstein"}}