Mostly make blame work with DocumentEngine

Summary: Ref T13105. This needs refinement but blame sort of works again, now.

Test Plan: Viewed files in Diffusion and Files; saw blame in Diffusion when viewing in source mode.

Reviewers: mydeveloperday

Reviewed By: mydeveloperday

Maniphest Tasks: T13105

Differential Revision: https://secure.phabricator.com/D19309
This commit is contained in:
epriestley
2018-04-08 11:38:19 -07:00
parent 90a614778c
commit 09c6d42b95
20 changed files with 513 additions and 446 deletions

View File

@@ -38,6 +38,10 @@ abstract class PhabricatorDocumentEngine
return false;
}
public function canBlame(PhabricatorDocumentRef $ref) {
return false;
}
final public function setEncodingConfiguration($config) {
$this->encodingConfiguration = $config;
return $this;