{"action":"created","comment":{"url":"https://api.github.com/repos/sleuthkit/autopsy/pulls/comments/146665230","pull_request_review_id":71640417,"id":146665230,"diff_hunk":"@@ -110,34 +121,60 @@ Date getLastAccessedDate() {\n      * @return See CaseStatus enum definition.\n      */\n     CaseStatus getStatus() {\n-        if (AutoIngestAlertFile.exists(caseDirectoryPath)) {\n+        if(caseDirectoryPath.resolve(\"autoingest.alert\").toFile().exists()) {\n             return CaseStatus.ALERT;\n         } else {\n             return CaseStatus.OK;\n         }\n     }\n \n     /**\n+     * Gets the case metadata from a case directory path.\n+     *\n+     * @param caseDirectoryPath The case directory path.\n+     *\n+     * @return Case metadata.\n+     */\n+    static CaseMetadata getCaseMetadataFromCaseDirectoryPath(Path caseDirectoryPath) throws CaseMetadata.CaseMetadataException {\n+        CaseMetadata caseMetadata = null;\n+        \n+        File directory = new File(caseDirectoryPath.toString());\n+        if (directory.isDirectory()) {\n+            String fileNamePrefix = directory.getName();\n+            if (TimeStampUtils.endsWithTimeStamp(fileNamePrefix)) {\n+                fileNamePrefix = fileNamePrefix.substring(0, fileNamePrefix.length() - TimeStampUtils.getTimeStampLength());\n+            }","path":"Core/src/org/sleuthkit/autopsy/casemodule/MultiUserCase.java","position":82,"original_position":82,"commit_id":"8e8b957f4c9c965fa7ba95283c0fb1719c8a2d46","original_commit_id":"98609be8f92b00f5fbc7c299ebe2822c0af3adf0","user":{"login":"dgrove727","id":26070251,"avatar_url":"https://avatars3.githubusercontent.com/u/26070251?v=4","gravatar_id":"","url":"https://api.github.com/users/dgrove727","html_url":"https://github.com/dgrove727","followers_url":"https://api.github.com/users/dgrove727/followers","following_url":"https://api.github.com/users/dgrove727/following{/other_user}","gists_url":"https://api.github.com/users/dgrove727/gists{/gist_id}","starred_url":"https://api.github.com/users/dgrove727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgrove727/subscriptions","organizations_url":"https://api.github.com/users/dgrove727/orgs","repos_url":"https://api.github.com/users/dgrove727/repos","events_url":"https://api.github.com/users/dgrove727/events{/privacy}","received_events_url":"https://api.github.com/users/dgrove727/received_events","type":"User","site_admin":false},"body":"New commit addresses this.","created_at":"2017-10-24T19:19:03Z","updated_at":"2017-10-24T19:19:03Z","html_url":"https://github.com/sleuthkit/autopsy/pull/3144#discussion_r146665230","pull_request_url":"https://api.github.com/repos/sleuthkit/autopsy/pulls/3144","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/sleuthkit/autopsy/pulls/comments/146665230"},"html":{"href":"https://github.com/sleuthkit/autopsy/pull/3144#discussion_r146665230"},"pull_request":{"href":"https://api.github.com/repos/sleuthkit/autopsy/pulls/3144"}},"in_reply_to_id":146658330},"pull_request":{"url":"https://api.github.com/repos/sleuthkit/autopsy/pulls/3144","id":147405359,"html_url":"https://github.com/sleuthkit/autopsy/pull/3144","diff_url":"https://github.com/sleuthkit/autopsy/pull/3144.diff","patch_url":"https://github.com/sleuthkit/autopsy/pull/3144.patch","issue_url":"https://api.github.com/repos/sleuthkit/autopsy/issues/3144","number":3144,"state":"open","locked":false,"title":"3133 remove examiner mode","user":{"login":"dgrove727","id":26070251,"avatar_url":"https://avatars3.githubusercontent.com/u/26070251?v=4","gravatar_id":"","url":"https://api.github.com/users/dgrove727","html_url":"https://github.com/dgrove727","followers_url":"https://api.github.com/users/dgrove727/followers","following_url":"https://api.github.com/users/dgrove727/following{/other_user}","gists_url":"https://api.github.com/users/dgrove727/gists{/gist_id}","starred_url":"https://api.github.com/users/dgrove727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgrove727/subscriptions","organizations_url":"https://api.github.com/users/dgrove727/orgs","repos_url":"https://api.github.com/users/dgrove727/repos","events_url":"https://api.github.com/users/dgrove727/events{/privacy}","received_events_url":"https://api.github.com/users/dgrove727/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-18T20:42:43Z","updated_at":"2017-10-24T19:19:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ba209007aeb56d09c1fa95eaef17d3747461fda","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/sleuthkit/autopsy/pulls/3144/commits","review_comments_url":"https://api.github.com/repos/sleuthkit/autopsy/pulls/3144/comments","review_comment_url":"https://api.github.com/repos/sleuthkit/autopsy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sleuthkit/autopsy/issues/3144/comments","statuses_url":"https://api.github.com/repos/sleuthkit/autopsy/statuses/8e8b957f4c9c965fa7ba95283c0fb1719c8a2d46","head":{"label":"dgrove727:3133_RemoveExaminerMode","ref":"3133_RemoveExaminerMode","sha":"8e8b957f4c9c965fa7ba95283c0fb1719c8a2d46","user":{"login":"dgrove727","id":26070251,"avatar_url":"https://avatars3.githubusercontent.com/u/26070251?v=4","gravatar_id":"","url":"https://api.github.com/users/dgrove727","html_url":"https://github.com/dgrove727","followers_url":"https://api.github.com/users/dgrove727/followers","following_url":"https://api.github.com/users/dgrove727/following{/other_user}","gists_url":"https://api.github.com/users/dgrove727/gists{/gist_id}","starred_url":"https://api.github.com/users/dgrove727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgrove727/subscriptions","organizations_url":"https://api.github.com/users/dgrove727/orgs","repos_url":"https://api.github.com/users/dgrove727/repos","events_url":"https://api.github.com/users/dgrove727/events{/privacy}","received_events_url":"https://api.github.com/users/dgrove727/received_events","type":"User","site_admin":false},"repo":{"id":83357850,"name":"autopsy","full_name":"dgrove727/autopsy","owner":{"login":"dgrove727","id":26070251,"avatar_url":"https://avatars3.githubusercontent.com/u/26070251?v=4","gravatar_id":"","url":"https://api.github.com/users/dgrove727","html_url":"https://github.com/dgrove727","followers_url":"https://api.github.com/users/dgrove727/followers","following_url":"https://api.github.com/users/dgrove727/following{/other_user}","gists_url":"https://api.github.com/users/dgrove727/gists{/gist_id}","starred_url":"https://api.github.com/users/dgrove727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgrove727/subscriptions","organizations_url":"https://api.github.com/users/dgrove727/orgs","repos_url":"https://api.github.com/users/dgrove727/repos","events_url":"https://api.github.com/users/dgrove727/events{/privacy}","received_events_url":"https://api.github.com/users/dgrove727/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dgrove727/autopsy","description":"Autopsy® is a digital forensics platform and graphical interface to The Sleuth Kit® and other digital forensics tools. It can be used by law enforcement, military, and corporate examiners to investigate what happened on a computer. You can even use it to recover photos from your camera's memory card. Installers can be found at: http://www.sf.net/projects/autopsy/files/autopsy","fork":true,"url":"https://api.github.com/repos/dgrove727/autopsy","forks_url":"https://api.github.com/repos/dgrove727/autopsy/forks","keys_url":"https://api.github.com/repos/dgrove727/autopsy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgrove727/autopsy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgrove727/autopsy/teams","hooks_url":"https://api.github.com/repos/dgrove727/autopsy/hooks","issue_events_url":"https://api.github.com/repos/dgrove727/autopsy/issues/events{/number}","events_url":"https://api.github.com/repos/dgrove727/autopsy/events","assignees_url":"https://api.github.com/repos/dgrove727/autopsy/assignees{/user}","branches_url":"https://api.github.com/repos/dgrove727/autopsy/branches{/branch}","tags_url":"https://api.github.com/repos/dgrove727/autopsy/tags","blobs_url":"https://api.github.com/repos/dgrove727/autopsy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgrove727/autopsy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgrove727/autopsy/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgrove727/autopsy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgrove727/autopsy/statuses/{sha}","languages_url":"https://api.github.com/repos/dgrove727/autopsy/languages","stargazers_url":"https://api.github.com/repos/dgrove727/autopsy/stargazers","contributors_url":"https://api.github.com/repos/dgrove727/autopsy/contributors","subscribers_url":"https://api.github.com/repos/dgrove727/autopsy/subscribers","subscription_url":"https://api.github.com/repos/dgrove727/autopsy/subscription","commits_url":"https://api.github.com/repos/dgrove727/autopsy/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgrove727/autopsy/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgrove727/autopsy/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgrove727/autopsy/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgrove727/autopsy/contents/{+path}","compare_url":"https://api.github.com/repos/dgrove727/autopsy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgrove727/autopsy/merges","archive_url":"https://api.github.com/repos/dgrove727/autopsy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgrove727/autopsy/downloads","issues_url":"https://api.github.com/repos/dgrove727/autopsy/issues{/number}","pulls_url":"https://api.github.com/repos/dgrove727/autopsy/pulls{/number}","milestones_url":"https://api.github.com/repos/dgrove727/autopsy/milestones{/number}","notifications_url":"https://api.github.com/repos/dgrove727/autopsy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgrove727/autopsy/labels{/name}","releases_url":"https://api.github.com/repos/dgrove727/autopsy/releases{/id}","deployments_url":"https://api.github.com/repos/dgrove727/autopsy/deployments","created_at":"2017-02-27T21:17:38Z","updated_at":"2017-02-27T21:17:47Z","pushed_at":"2017-10-24T19:16:56Z","git_url":"git://github.com/dgrove727/autopsy.git","ssh_url":"git@github.com:dgrove727/autopsy.git","clone_url":"https://github.com/dgrove727/autopsy.git","svn_url":"https://github.com/dgrove727/autopsy","homepage":"http://www.sleuthkit.org/autopsy/","size":489540,"stargazers_count":0,"watchers_count":0,"language":"Java","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,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"sleuthkit:develop","ref":"develop","sha":"acd4b81f4e9491c3ddee4751504ed9a22b16e5e4","user":{"login":"sleuthkit","id":866922,"avatar_url":"https://avatars2.githubusercontent.com/u/866922?v=4","gravatar_id":"","url":"https://api.github.com/users/sleuthkit","html_url":"https://github.com/sleuthkit","followers_url":"https://api.github.com/users/sleuthkit/followers","following_url":"https://api.github.com/users/sleuthkit/following{/other_user}","gists_url":"https://api.github.com/users/sleuthkit/gists{/gist_id}","starred_url":"https://api.github.com/users/sleuthkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleuthkit/subscriptions","organizations_url":"https://api.github.com/users/sleuthkit/orgs","repos_url":"https://api.github.com/users/sleuthkit/repos","events_url":"https://api.github.com/users/sleuthkit/events{/privacy}","received_events_url":"https://api.github.com/users/sleuthkit/received_events","type":"Organization","site_admin":false},"repo":{"id":2516243,"name":"autopsy","full_name":"sleuthkit/autopsy","owner":{"login":"sleuthkit","id":866922,"avatar_url":"https://avatars2.githubusercontent.com/u/866922?v=4","gravatar_id":"","url":"https://api.github.com/users/sleuthkit","html_url":"https://github.com/sleuthkit","followers_url":"https://api.github.com/users/sleuthkit/followers","following_url":"https://api.github.com/users/sleuthkit/following{/other_user}","gists_url":"https://api.github.com/users/sleuthkit/gists{/gist_id}","starred_url":"https://api.github.com/users/sleuthkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleuthkit/subscriptions","organizations_url":"https://api.github.com/users/sleuthkit/orgs","repos_url":"https://api.github.com/users/sleuthkit/repos","events_url":"https://api.github.com/users/sleuthkit/events{/privacy}","received_events_url":"https://api.github.com/users/sleuthkit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sleuthkit/autopsy","description":"Autopsy® is a digital forensics platform and graphical interface to The Sleuth Kit® and other digital forensics tools. It can be used by law enforcement, military, and corporate examiners to investigate what happened on a computer. You can even use it to recover photos from your camera's memory card. Installers can be found at: http://www.sf.net/projects/autopsy/files/autopsy","fork":false,"url":"https://api.github.com/repos/sleuthkit/autopsy","forks_url":"https://api.github.com/repos/sleuthkit/autopsy/forks","keys_url":"https://api.github.com/repos/sleuthkit/autopsy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sleuthkit/autopsy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sleuthkit/autopsy/teams","hooks_url":"https://api.github.com/repos/sleuthkit/autopsy/hooks","issue_events_url":"https://api.github.com/repos/sleuthkit/autopsy/issues/events{/number}","events_url":"https://api.github.com/repos/sleuthkit/autopsy/events","assignees_url":"https://api.github.com/repos/sleuthkit/autopsy/assignees{/user}","branches_url":"https://api.github.com/repos/sleuthkit/autopsy/branches{/branch}","tags_url":"https://api.github.com/repos/sleuthkit/autopsy/tags","blobs_url":"https://api.github.com/repos/sleuthkit/autopsy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sleuthkit/autopsy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sleuthkit/autopsy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sleuthkit/autopsy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sleuthkit/autopsy/statuses/{sha}","languages_url":"https://api.github.com/repos/sleuthkit/autopsy/languages","stargazers_url":"https://api.github.com/repos/sleuthkit/autopsy/stargazers","contributors_url":"https://api.github.com/repos/sleuthkit/autopsy/contributors","subscribers_url":"https://api.github.com/repos/sleuthkit/autopsy/subscribers","subscription_url":"https://api.github.com/repos/sleuthkit/autopsy/subscription","commits_url":"https://api.github.com/repos/sleuthkit/autopsy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sleuthkit/autopsy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sleuthkit/autopsy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sleuthkit/autopsy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sleuthkit/autopsy/contents/{+path}","compare_url":"https://api.github.com/repos/sleuthkit/autopsy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sleuthkit/autopsy/merges","archive_url":"https://api.github.com/repos/sleuthkit/autopsy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sleuthkit/autopsy/downloads","issues_url":"https://api.github.com/repos/sleuthkit/autopsy/issues{/number}","pulls_url":"https://api.github.com/repos/sleuthkit/autopsy/pulls{/number}","milestones_url":"https://api.github.com/repos/sleuthkit/autopsy/milestones{/number}","notifications_url":"https://api.github.com/repos/sleuthkit/autopsy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sleuthkit/autopsy/labels{/name}","releases_url":"https://api.github.com/repos/sleuthkit/autopsy/releases{/id}","deployments_url":"https://api.github.com/repos/sleuthkit/autopsy/deployments","created_at":"2011-10-05T02:11:11Z","updated_at":"2017-10-23T19:28:03Z","pushed_at":"2017-10-24T19:16:57Z","git_url":"git://github.com/sleuthkit/autopsy.git","ssh_url":"git@github.com:sleuthkit/autopsy.git","clone_url":"https://github.com/sleuthkit/autopsy.git","svn_url":"https://github.com/sleuthkit/autopsy","homepage":"http://www.sleuthkit.org/autopsy/","size":491256,"stargazers_count":435,"watchers_count":435,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":210,"mirror_url":null,"archived":false,"open_issues_count":190,"forks":210,"open_issues":190,"watchers":435,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sleuthkit/autopsy/pulls/3144"},"html":{"href":"https://github.com/sleuthkit/autopsy/pull/3144"},"issue":{"href":"https://api.github.com/repos/sleuthkit/autopsy/issues/3144"},"comments":{"href":"https://api.github.com/repos/sleuthkit/autopsy/issues/3144/comments"},"review_comments":{"href":"https://api.github.com/repos/sleuthkit/autopsy/pulls/3144/comments"},"review_comment":{"href":"https://api.github.com/repos/sleuthkit/autopsy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sleuthkit/autopsy/pulls/3144/commits"},"statuses":{"href":"https://api.github.com/repos/sleuthkit/autopsy/statuses/8e8b957f4c9c965fa7ba95283c0fb1719c8a2d46"}},"author_association":"NONE"}}
{"actor":{"display_login":"dgrove727"}}