Page MenuHomePhabricator

Hide Audit comment table reads behind an API
ClosedPublic

Authored by epriestley on Jul 22 2014, 8:01 PM.
Tags
None
Referenced Files
F18848857: D10019.id.diff
Thu, Oct 30, 6:38 AM
F18845560: D10019.diff
Wed, Oct 29, 12:58 PM
F18839432: D10019.diff
Mon, Oct 27, 4:16 PM
F18817451: D10019.id24079.diff
Tue, Oct 21, 3:42 PM
F18758060: D10019.id24146.diff
Sun, Oct 5, 8:37 PM
F18756805: D10019.id24155.diff
Sun, Oct 5, 1:37 PM
F18713840: D10019.id.diff
Sep 29 2025, 6:53 AM
F18705708: D10019.diff
Sep 28 2025, 12:44 PM
Subscribers

Details

Summary

Ref T4896. Buries all direct access to the table so we can limit the surface area affected by the migration.

Test Plan
  • Grepped for PhabricatorAuditComment.
  • Grepped for audit_comment.
  • Viewed a bunch of comments.
  • Added a comment.
  • Reindexed a commit.
  • Searched for unique term in new comment.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Hide Audit comment table reads behind an API.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: joshuaspence, btrahan.
joshuaspence edited edge metadata.
joshuaspence added inline comments.
src/applications/audit/storage/PhabricatorAuditComment.php
19

Unused, possibly intentionally for consistency

This revision is now accepted and ready to land.Jul 23 2014, 1:37 PM
src/applications/audit/storage/PhabricatorAuditComment.php
19

Yeah -- this body may swap to a Query which needs $viewer, and passing it now means I don't have to go digging later.

epriestley edited edge metadata.
  • Rebase, this one doesn't have any PHIDType in it. Linting to double check.
epriestley updated this revision to Diff 24155.

Closed by commit rPdc5c87f74cda (authored by @epriestley).