1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 20:22:46 +01:00
phorge-phorge/src/aphront
epriestley 5d94a8a338 Use delegation to generalize application search controllers
Summary:
Ref T2625. Lifts almost all of the search logic out of Paste controllers and into Search.

This uses controller delegation for generalization. We use this in a few places, but don't use it very much yet. I think it's pretty reasonable as-is, but I might be able to make even more stuff free.

There are some slightly rough edges around routes, still, but I want to hit Phame and Differential (which both have multiple application search engines) before trying to generalize that.

Test Plan: Executed, browsed and managed Paste searches.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2625

Differential Revision: https://secure.phabricator.com/D6073
2013-05-30 14:09:02 -07:00
..
__tests__ Add passthru to AphrontRequest 2012-12-11 17:27:02 -08:00
configuration Add Allowed uris config 2013-05-26 10:57:45 -07:00
console Display bullet next to request with errors in DarkConsole. 2013-04-25 18:30:13 -07:00
exception Delete license headers from files 2012-11-05 11:16:51 -08:00
response Display bullet next to request with errors in DarkConsole. 2013-04-25 18:30:13 -07:00
sink Share more HTTPSink code 2012-12-25 06:17:45 -08:00
AphrontController.php Use delegation to generalize application search controllers 2013-05-30 14:09:02 -07:00
AphrontRequest.php Fix HTTP 400 / 500 errors in Pholio 2013-03-05 13:23:56 -08:00
AphrontURIMapper.php Delete license headers from files 2012-11-05 11:16:51 -08:00