Page MenuHomePhabricator

Update Legalpad for EditEngine
ClosedPublic

Authored by chad on May 10 2017, 12:33 AM.
Tags
None
Referenced Files
F19509047: D17862.diff
Sat, Jan 10, 2:13 PM
F19279023: D17862.id42956.diff
Tue, Dec 23, 2:43 AM
F19060731: D17862.id.diff
Nov 29 2025, 10:11 AM
F18862134: D17862.diff
Nov 2 2025, 6:12 PM
F18846281: D17862.id42970.diff
Oct 29 2025, 6:17 PM
F18846061: D17862.diff
Oct 29 2025, 4:20 PM
F18833830: D17862.id.diff
Oct 26 2025, 6:01 AM
F18828937: D17862.diff
Oct 24 2025, 6:50 PM
Subscribers

Details

Summary

Updates Legalpad to use EditEngine, paving the way for transaction comments. Spooky.

Test Plan
  • New Document
    • Require signing, Corp - see fail
    • Require signing, Noone - see fail
    • Require signing, Ind - get asked to sign
  • Edit Document

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

The best way to do the "transaction X depends on transaction Y" stuff is currently Editor->validateAllTransactions(), PhabricatorCalendarEventEditor has an example. Rest of this looks good.

src/applications/legalpad/application/PhabricatorLegalpadApplication.php
58–59

Can we nuke this route now?

This revision now requires changes to proceed.May 10 2017, 3:27 PM
chad edited edge metadata.
  • add final transaction validations
chad edited the test plan for this revision. (Show Details)
epriestley added inline comments.
src/applications/legalpad/editor/LegalpadDocumentEditEngine.php
109–127

(Weird indentation?)

src/applications/legalpad/xaction/LegalpadDocumentRequireSignatureTransaction.php
61

Probably "invaliderror" is a better fit here.

This revision is now accepted and ready to land.May 10 2017, 9:56 PM
This revision was automatically updated to reflect the committed changes.