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
F14048422: D10019.id24146.diff
Thu, Nov 14, 7:43 AM
F14034343: D10019.id24079.diff
Sat, Nov 9, 11:45 PM
F14034195: D10019.id24079.diff
Sat, Nov 9, 10:42 PM
F14014752: D10019.id24146.diff
Sun, Nov 3, 7:02 AM
F14008969: D10019.id24155.diff
Wed, Oct 30, 8:21 AM
F13990388: D10019.id24079.diff
Tue, Oct 22, 3:18 AM
F13979737: D10019.diff
Oct 19 2024, 6:11 AM
F13976558: D10019.id24155.diff
Oct 18 2024, 2:49 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).