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)
Sat, Dec 7, 1:56 AM
Unknown Object (File)
Nov 26 2024, 3:53 PM
Unknown Object (File)
Nov 26 2024, 3:53 PM
Unknown Object (File)
Nov 26 2024, 3:53 PM
Unknown Object (File)
Nov 26 2024, 3:22 AM
Unknown Object (File)
Nov 19 2024, 11:25 PM
Unknown Object (File)
Nov 17 2024, 3:24 AM
Unknown Object (File)
Nov 16 2024, 12:27 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