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
Unknown Object (File)
Fri, May 3, 8:09 AM
Unknown Object (File)
Thu, May 2, 1:47 PM
Unknown Object (File)
Sat, Apr 27, 11:28 PM
Unknown Object (File)
Sat, Apr 27, 11:28 PM
Unknown Object (File)
Sat, Apr 27, 11:28 PM
Unknown Object (File)
Wed, Apr 24, 10:47 PM
Unknown Object (File)
Tue, Apr 16, 7:58 AM
Unknown Object (File)
Thu, Apr 11, 10:00 AM
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