1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 03:02:43 +01:00
phorge-phorge/src/applications/passphrase
epriestley 4b43667086 Introduce PHUIRemarkupView, a sane way to work with Remarkup
Summary:
Fixes T9273. Remarkup has reasonably good fundamentals but the API is a giant pain to work with.

Provide a `PHUIRemarkupView` to make it easier. This object is way simpler to use by default.

It's not currently as powerful, but we can expand the power level later by adding more setters.

Eventually I'd expect to replace `PhabricatorRemarkupInterface` and `PhabricatorMarkupOneOff` with this, but no rush on those.

I converted a few callsites as a sanity check that it works OK.

Test Plan:
- Viewed remarkup in Passphrase.
- Viewed remarkup in Badges.
- Viewed a Conduit method.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9273

Differential Revision: https://secure.phabricator.com/D14289
2015-10-15 10:20:19 -07:00
..
application Show when objects have a non-default policy 2015-06-22 11:46:59 -07:00
capability Save authorPHID on Passphrase Credentials to support "Credential Author" object policy 2015-06-22 11:28:33 -07:00
conduit Rename PassphraseCredentialType subclasses for consistency 2015-06-14 14:11:55 +10:00
controller Introduce PHUIRemarkupView, a sane way to work with Remarkup 2015-10-15 10:20:19 -07:00
credentialtype Use PhutilClassMapQuery 2015-07-07 22:51:57 +10:00
edge Modernize remaining edge types 2015-01-03 10:58:20 +11:00
editor Added a Note Credential Type for Passphrase 2015-06-16 13:44:51 -07:00
keys Rename PassphraseCredentialType subclasses for consistency 2015-06-14 14:11:55 +10:00
phid Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
policyrule Save authorPHID on Passphrase Credentials to support "Credential Author" object policy 2015-06-22 11:28:33 -07:00
query Merge branch 'master' into redesign-2015 2015-06-22 12:26:41 -07:00
remarkup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
search Rename PhabricatorSearchField to PhabricatorSearchFieldDocumentType 2015-06-05 11:01:25 -07:00
storage Add Subscribers to Passphrase 2015-08-05 11:59:38 -07:00
view Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00