1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 03:02:43 +01:00
phorge-phorge/src/applications/diffusion/query
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
..
expandshortname Diffusion - move commit parents query to conduit 2013-05-21 16:22:49 -07:00
filecontent DiffusionFileContentQuery => Conduit 2013-05-07 14:57:08 -07:00
parents Diffusion - move history query to conduit 2013-05-20 12:45:34 -07:00
pathchange Don't show changes for commits which affect more than 1,000 files 2013-01-30 12:01:49 -08:00
pathid Fix failing unit test testParentEdgeCases under Windows 2013-04-02 09:01:33 -07:00
rawdiff Delete license headers from files 2012-11-05 11:16:51 -08:00
stablecommitname Diffusion - move querying for stable commit name to occur over conduit 2013-05-17 14:12:46 -07:00
DiffusionCommitQuery.php Use Application PHIDs for commits 2013-07-22 12:17:34 -07:00
DiffusionPathQuery.php Delete license headers from files 2012-11-05 11:16:51 -08:00
DiffusionQuery.php Pass branch information to local Conduit calls in Diffusion 2013-08-13 10:11:15 -07:00
DiffusionRenameHistoryQuery.php Diffusion - move commit parents query to conduit 2013-05-21 16:22:49 -07:00
DiffusionSymbolQuery.php Make most repository reads policy-aware 2013-09-25 16:54:48 -07:00