@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Rename "PHUIDocumentViewPro" to "PHUIDocumentView"

Summary: Ref T13077. There is no "PHUIDocumentView" so toss the "Pro" suffix from this classname.

Test Plan: Grepped for `PHUIDocumentView` and `PHUIDocumentViewPro`.

Reviewers: amckinley

Maniphest Tasks: T13077

Differential Revision: https://secure.phabricator.com/D19616

+24 -23
+2 -2
src/__phutil_library_map__.php
··· 1912 1912 'PHUIDiffTableOfContentsListView' => 'infrastructure/diff/view/PHUIDiffTableOfContentsListView.php', 1913 1913 'PHUIDiffTwoUpInlineCommentRowScaffold' => 'infrastructure/diff/view/PHUIDiffTwoUpInlineCommentRowScaffold.php', 1914 1914 'PHUIDocumentSummaryView' => 'view/phui/PHUIDocumentSummaryView.php', 1915 - 'PHUIDocumentViewPro' => 'view/phui/PHUIDocumentViewPro.php', 1915 + 'PHUIDocumentView' => 'view/phui/PHUIDocumentView.php', 1916 1916 'PHUIFeedStoryExample' => 'applications/uiexample/examples/PHUIFeedStoryExample.php', 1917 1917 'PHUIFeedStoryView' => 'view/phui/PHUIFeedStoryView.php', 1918 1918 'PHUIFormDividerControl' => 'view/form/control/PHUIFormDividerControl.php', ··· 7453 7453 'PHUIDiffTableOfContentsListView' => 'AphrontView', 7454 7454 'PHUIDiffTwoUpInlineCommentRowScaffold' => 'PHUIDiffInlineCommentRowScaffold', 7455 7455 'PHUIDocumentSummaryView' => 'AphrontTagView', 7456 - 'PHUIDocumentViewPro' => 'AphrontTagView', 7456 + 'PHUIDocumentView' => 'AphrontTagView', 7457 7457 'PHUIFeedStoryExample' => 'PhabricatorUIExample', 7458 7458 'PHUIFeedStoryView' => 'AphrontView', 7459 7459 'PHUIFormDividerControl' => 'AphrontFormControl',
+1 -1
src/applications/diffusion/view/DiffusionReadmeView.php
··· 94 94 } 95 95 96 96 $readme_content = phutil_tag_div($class, $readme_content); 97 - $document = id(new PHUIDocumentViewPro()) 97 + $document = id(new PHUIDocumentView()) 98 98 ->setFluid(true) 99 99 ->appendChild($readme_content); 100 100
+1 -1
src/applications/diviner/controller/DivinerAtomController.php
··· 72 72 $prop_list = new PHUIPropertyGroupView(); 73 73 $prop_list->addPropertyList($properties); 74 74 75 - $document = id(new PHUIDocumentViewPro()) 75 + $document = id(new PHUIDocumentView()) 76 76 ->setBook($book->getTitle(), $group_name) 77 77 ->setHeader($header) 78 78 ->addClass('diviner-view');
+1 -1
src/applications/diviner/controller/DivinerBookController.php
··· 45 45 ->setName($book->getRepository()->getMonogram())); 46 46 } 47 47 48 - $document = new PHUIDocumentViewPro(); 48 + $document = new PHUIDocumentView(); 49 49 $document->setHeader($header); 50 50 $document->addClass('diviner-view'); 51 51
+1 -1
src/applications/diviner/controller/DivinerMainController.php
··· 27 27 ->setHeader(pht('Documentation Books')) 28 28 ->addActionLink($query_button); 29 29 30 - $document = new PHUIDocumentViewPro(); 30 + $document = new PHUIDocumentView(); 31 31 $document->setHeader($header); 32 32 $document->addClass('diviner-view'); 33 33
+1 -1
src/applications/guides/module/PhabricatorGuideInstallModule.php
··· 169 169 170 170 $intro = new PHUIRemarkupView($viewer, $intro); 171 171 172 - $intro = id(new PHUIDocumentViewPro()) 172 + $intro = id(new PHUIDocumentView()) 173 173 ->appendChild($intro); 174 174 175 175 return array($intro, $guide_items);
+1 -1
src/applications/guides/module/PhabricatorGuideQuickStartModule.php
··· 206 206 'these features at your own pace.'); 207 207 208 208 $intro = new PHUIRemarkupView($viewer, $intro); 209 - $intro = id(new PHUIDocumentViewPro()) 209 + $intro = id(new PHUIDocumentView()) 210 210 ->appendChild($intro); 211 211 212 212 return array($intro, $guide_items);
+1 -1
src/applications/legalpad/controller/LegalpadDocumentSignController.php
··· 272 272 $preamble_box->addPropertyList($preamble); 273 273 } 274 274 275 - $content = id(new PHUIDocumentViewPro()) 275 + $content = id(new PHUIDocumentView()) 276 276 ->addClass('legalpad') 277 277 ->setHeader($header) 278 278 ->appendChild(
+1 -1
src/applications/meta/controller/PhabricatorApplicationEmailCommandsController.php
··· 132 132 $header = id(new PHUIHeaderView()) 133 133 ->setHeader($title); 134 134 135 - $document = id(new PHUIDocumentViewPro()) 135 + $document = id(new PHUIDocumentView()) 136 136 ->setHeader($header) 137 137 ->appendChild($info_view) 138 138 ->appendChild($content_box);
+1 -1
src/applications/phame/controller/PhameHomeController.php
··· 84 84 pht('Recent Posts'), 85 85 $this->getApplicationURI('post/')); 86 86 87 - $page = id(new PHUIDocumentViewPro()) 87 + $page = id(new PHUIDocumentView()) 88 88 ->setHeader($header) 89 89 ->appendChild($post_list); 90 90
+1 -1
src/applications/phame/controller/blog/PhameBlogViewController.php
··· 85 85 } 86 86 } 87 87 88 - $page = id(new PHUIDocumentViewPro()) 88 + $page = id(new PHUIDocumentView()) 89 89 ->setHeader($header) 90 90 ->appendChild($post_list); 91 91
+1 -1
src/applications/phame/controller/post/PhamePostViewController.php
··· 30 30 $header->setActionList($actions); 31 31 } 32 32 33 - $document = id(new PHUIDocumentViewPro()) 33 + $document = id(new PHUIDocumentView()) 34 34 ->setHeader($header); 35 35 36 36 if ($moved) {
+7 -6
src/applications/phriction/controller/PhrictionDocumentController.php
··· 227 227 } 228 228 $prop_list = phutil_tag_div('phui-document-view-pro-box', $prop_list); 229 229 230 - $page_content = id(new PHUIDocumentViewPro()) 230 + $page_content = id(new PHUIDocumentView()) 231 231 ->setHeader($header) 232 232 ->setToc($toc) 233 233 ->appendChild( ··· 241 241 ->setTitle($page_title) 242 242 ->setCrumbs($crumbs) 243 243 ->setPageObjectPHIDs(array($document->getPHID())) 244 - ->appendChild(array( 245 - $page_content, 246 - $prop_list, 247 - $children, 248 - )); 244 + ->appendChild( 245 + array( 246 + $page_content, 247 + $prop_list, 248 + $children, 249 + )); 249 250 250 251 } 251 252
+1 -1
src/applications/transactions/editengine/PhabricatorEditEngine.php
··· 1679 1679 ->setUser($viewer) 1680 1680 ->setFields($fields); 1681 1681 1682 - $document = id(new PHUIDocumentViewPro()) 1682 + $document = id(new PHUIDocumentView()) 1683 1683 ->setUser($viewer) 1684 1684 ->setHeader($header) 1685 1685 ->appendChild($help_view);
+1 -1
src/applications/typeahead/controller/PhabricatorTypeaheadFunctionHelpController.php
··· 142 142 $header = id(new PHUIHeaderView()) 143 143 ->setHeader($title); 144 144 145 - $document = id(new PHUIDocumentViewPro()) 145 + $document = id(new PHUIDocumentView()) 146 146 ->setHeader($header) 147 147 ->appendChild($content_box); 148 148
+1 -1
src/view/phui/PHUIDocumentViewPro.php src/view/phui/PHUIDocumentView.php
··· 1 1 <?php 2 2 3 - final class PHUIDocumentViewPro extends AphrontTagView { 3 + final class PHUIDocumentView extends AphrontTagView { 4 4 5 5 private $header; 6 6 private $bookname;
+1 -1
src/view/phui/PHUIRemarkupPreviewPanel.php
··· 105 105 $header = id(new PHUIHeaderView()) 106 106 ->setHeader(pht('%s (Preview)', $this->header)); 107 107 108 - $content = id(new PHUIDocumentViewPro()) 108 + $content = id(new PHUIDocumentView()) 109 109 ->setHeader($header) 110 110 ->appendChild($preview); 111 111 }