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
Unknown Object (File)
Tue, Dec 10, 6:37 PM
Unknown Object (File)
Sat, Dec 7, 3:47 PM
Unknown Object (File)
Tue, Dec 3, 8:12 PM
Unknown Object (File)
Wed, Nov 27, 9:02 PM
Unknown Object (File)
Sun, Nov 24, 12:40 PM
Unknown Object (File)
Nov 14 2024, 7:43 AM
Unknown Object (File)
Nov 9 2024, 11:45 PM
Unknown Object (File)
Nov 9 2024, 10:42 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).