Page MenuHomePhabricator

Implement "Edit Members" and "Join/Leave" with real ApplicationTransactions
ClosedPublic

Authored by epriestley on Feb 7 2014, 10:09 PM.
Tags
None
Referenced Files
F14068648: D8167.diff
Tue, Nov 19, 11:25 PM
F14057456: D8167.diff
Sun, Nov 17, 3:24 AM
F14055487: D8167.diff
Sat, Nov 16, 12:27 PM
F14042221: D8167.diff
Tue, Nov 12, 1:26 AM
F14026852: D8167.diff
Fri, Nov 8, 2:42 AM
F13995876: D8167.id.diff
Wed, Oct 23, 4:20 PM
F13987708: D8167.id18478.diff
Oct 21 2024, 10:53 AM
F13972763: D8167.diff
Oct 17 2024, 9:07 PM
Subscribers
Tokens
"Mountain of Wealth" token, awarded by btrahan.

Details

Summary

Ref T4379. Projects has been partially converted to ApplicationTransactions, but the rough state of the world is that all the storage is modern, but most of the stuff on top isn't yet. Particularly, there's a PhabricatorProjectEditor which is not a subclass of PhabricatorApplicationTransactionEditor, but which fakes its way through writing reasonable data into modern storage.

This introduces a real transaction editor, PhabricatorProjectTransactionEditor, with the eventual goal of moving all of the old functionality into it and deleting the old class. This diff only moves the membership transaction into new code (it doesn't even move all of it -- when we create a project, we add the author as a member, and that can't move quite yet since there are other transactions at the same time).

Test Plan
  • Created a new project.
  • Edited members.
  • Joined / left project.
  • This already has a pile of unit test coverage.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped