1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 11:12:42 +01:00
phorge-phorge/src/applications/releeph
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
..
application Provide a history controller for Releeph branches 2013-08-21 12:32:07 -07:00
commitfinder Diffusion - move some DiffusionRequest queries to occur over Conduit 2013-05-14 15:32:19 -07:00
conduit Kill PhabricatorObjectDataHandle 2013-09-11 12:27:28 -07:00
config Partially move Releeph custom fields to PhabricatorCustomField 2013-08-14 12:34:07 -07:00
constants ReleephRequestStatus 2013-05-11 15:20:16 +01:00
controller Move PHUIFormBoxView to PHUIObjectBoxView 2013-09-25 11:23:29 -07:00
differential Diffusion - move some DiffusionRequest queries to occur over Conduit 2013-05-14 15:32:19 -07:00
editor Add support for more granular sending of email in application transactions 2013-09-13 15:08:17 -07:00
field Kill PhabricatorObjectDataHandle 2013-09-11 12:27:28 -07:00
mail Remove the last hardcoding from PhabricatorMetaMTAReceivedMail 2013-05-17 10:00:49 -07:00
phid Policy - introduce parentQuery and pass around policy configuration from parent to child 2013-09-11 12:19:34 -07:00
query Kill PhabricatorObjectDataHandle 2013-09-11 12:27:28 -07:00
storage Make most repository reads policy-aware 2013-09-25 16:54:48 -07:00
view Kill PhabricatorObjectDataHandle 2013-09-11 12:27:28 -07:00