1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src
epriestley 4d86d51125 Prepare TransactionCommentQuery for extension
Summary:
Ref T2009. Ref T1460. The way Diffusion and Differential load inlines is horrible garbage right now:

  - Differential does an ad-hoc query to get the PHIDs, then does a real load to policy check.
  - Diffusion completely fakes things. In practice this is not a policy violation, but it's dangerous.

Make TransactionCommentQuery extensible so we can subclass it and get the query building correctly in the right Query layer.

Specifically, the Diffusion and Differential subclasses of this Query will add appropriate `withX()` methods to let us express the query in SQL.

Test Plan: Loaded, previewed, edited, and submitted inlines in Differential and Diffusion

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2009, T1460

Differential Revision: https://secure.phabricator.com/D12026
2015-03-09 14:11:18 -07:00
..
__tests__ Use PhutilLibraryTestCase 2015-01-07 07:38:08 +11:00
aphront Stop mangling filenames when downloading them 2015-03-03 03:27:42 -08:00
applications Prepare TransactionCommentQuery for extension 2015-03-09 14:11:18 -07:00
docs Hide revision content if author has not signed required legal documents 2015-03-09 10:26:54 -07:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Prepare TransactionCommentQuery for extension 2015-03-09 14:11:18 -07:00
view Fix scrollbar being cut off at end of gutter 2015-03-07 09:53:58 -08:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Prepare TransactionCommentQuery for extension 2015-03-09 14:11:18 -07:00