1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 09:22:40 +01:00
phorge-phorge/src/applications/diffusion/conduit
epriestley 608e1d20b4 Write separate comments for every action in Audit
Summary:
Ref T4896. Depends on D10023. Prepares the code for the final migration.

The transaction table stores one row per distinct effect (e.g., add CCs) rather than one row per user action (e.g., "add CCs + comment"). We can double-read that table as long as the code doesn't expect transactions/comments to have multiple different effects, and doesn't try to write any such rows.

Everywhere that we were writing a big "X + Y" comment, write two separate "X" and "Y" comments instead. Like D10023, this disrupts the UI a little (you get more boxes), but that will be resolved once the rendering code swaps over. Otherwise, this retains the existing behavior.

Test Plan:
- Used `diffusion.createcomment` to add comments, raise concern, and accept.
- Previewed commenting, adding auditors/ccs, accepting, raising concern.
- Actually performed commenting, adding auditors/ccs, accepting, raising concern.
- Added a user with mentions.
- Added an explicit CC and a mention user.

Reviewers: btrahan, joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Maniphest Tasks: T4896

Differential Revision: https://secure.phabricator.com/D10052
2014-07-28 15:00:18 -07:00
..
DiffusionBranchQueryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionBrowseQueryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionCommitParentsQueryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionConduitAPIMethod.php Fix some missing renames of Application classes 2014-07-24 18:03:59 -07:00
DiffusionCreateCommentConduitAPIMethod.php Write separate comments for every action in Audit 2014-07-28 15:00:18 -07:00
DiffusionDiffQueryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionExistsQueryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionFileContentQueryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionFindSymbolsConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionGetCommitsConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionGetLintMessagesConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionGetRecentCommitsByPathConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionHistoryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionLastModifiedQueryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionLookSoonConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionMergedCommitsQueryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionQueryCommitsConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionQueryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionQueryPathsConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionRawDiffQueryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionReadmeQueryConduitAPIMethod.php Order readme files based on how well we can get the markup right. 2014-07-25 06:43:26 -07:00
DiffusionRefsQueryConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
DiffusionResolveRefsConduitAPIMethod.php Fix some issues with new Conduit method implementations 2014-07-24 21:57:03 -07:00
DiffusionSearchQueryConduitAPIMethod.php Fix some issues with new Conduit method implementations 2014-07-24 21:57:03 -07:00
DiffusionTagsQueryConduitAPIMethod.php Fix some issues with new Conduit method implementations 2014-07-24 21:57:03 -07:00
DiffusionUpdateCoverageConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00