1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-24 13:38:19 +01:00
phorge-phorge/src/applications/differential
epriestley c467cc464f Make most repository reads policy-aware
Summary: Ref T603. This swaps almost all queries against the repository table over to be policy aware.

Test Plan:
  - Made an audit comment on a commit.
  - Ran `save_lint.php`.
  - Looked up a commit with `diffusion.getcommits`.
  - Looked up lint messages with `diffusion.getlintmessages`.
  - Clicked an external/submodule in Diffusion.
  - Viewed main lint and repository lint in Diffusion.
  - Completed and validated Owners paths in Owners.
  - Executed dry runs via Herald.
  - Queried for package owners with `owners.query`.
  - Viewed Owners package.
  - Edited Owners package.
  - Viewed Owners package list.
  - Executed `repository.query`.
  - Viewed "Repository" tool repository list.
  - Edited Arcanist project.
  - Hit "Delete" on repository (this just tells you to use the CLI).
  - Created a repository.
  - Edited a repository.
  - Ran `bin/repository list`.
  - Ran `bin/search index rGTESTff45d13dffcfb3ea85b03aac8cc36251cacdf01c`
  - Pushed and parsed a commit.
  - Skipped all the Drydock stuff, as it it's hard to test and isn't normally reachable.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D7132
2013-09-25 16:54:48 -07:00
..
__tests__ Require a viewer for Remarkup rendering 2013-03-04 12:33:05 -08:00
application Partially generalize Remarkup previews and add support to Differential 2013-08-05 10:46:39 -07:00
conduit Make most repository reads policy-aware 2013-09-25 16:54:48 -07:00
config Add a "list<regex>" config option and move regex config to it 2013-09-13 11:48:00 -07:00
constants ObjectHeader Status icons 2013-09-24 08:42:04 -07:00
controller Move PHUIFormBoxView to PHUIObjectBoxView 2013-09-25 11:23:29 -07:00
doorkeeper Improve voicing in text published to JIRA issues 2013-09-10 15:22:24 -07:00
editor Dispatch Differential edit events from Editor, not Controller 2013-09-16 08:04:14 -07:00
events ObjectHeader Status icons 2013-09-24 08:42:04 -07:00
exception Delete license headers from files 2012-11-05 11:16:51 -08:00
field Use ManiphestTaskQuery in nearly all interfaces 2013-09-25 13:44:14 -07:00
lipsum xDiffs and Revisions Generating 2013-05-06 14:11:37 -07:00
mail Add a differential.getdiffs method 2013-09-17 13:55:41 -07:00
parser Differential - make sure not to return change type header if we're not top level 2013-09-12 16:00:00 -07:00
phid Policy - introduce parentQuery and pass around policy configuration from parent to child 2013-09-11 12:19:34 -07:00
query Fix differential.getdiff, etc., for diffs with no Arcanist Project 2013-09-24 10:48:40 -07:00
remarkup Require a viewer for Remarkup rendering 2013-03-04 12:33:05 -08:00
render Differential - make sure not to return change type header if we're not top level 2013-09-12 16:00:00 -07:00
search Remove legacy "touched" table and indexing 2013-09-12 13:04:09 -07:00
storage Fix differential.getdiff, etc., for diffs with no Arcanist Project 2013-09-24 10:48:40 -07:00
view ObjectHeader Status icons 2013-09-24 08:42:04 -07:00
DifferentialTasksAttacher.php Delete license headers from files 2012-11-05 11:16:51 -08:00