@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.

Update some misc external URIs

Summary: Use https instead of http, fix 404s, replace redirects, etc.

Test Plan: Click links.

Reviewers: O1 Blessed Committers, mainframe98

Reviewed By: O1 Blessed Committers, mainframe98

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26471

+26 -25
+1 -1
scripts/symbols/generate_ctags_symbols.php
··· 21 21 'available in executable path.'), 22 22 pht( 23 23 'Exuberant Ctags project page: %s', 24 - 'http://ctags.sourceforge.net/')); 24 + 'https://ctags.sourceforge.net/')); 25 25 exit(1); 26 26 } 27 27
+1 -1
src/applications/auth/adapter/PhutilTwitchAuthAdapter.php
··· 32 32 public function getAccountURI() { 33 33 $name = $this->getAccountName(); 34 34 if ($name) { 35 - return 'http://www.twitch.tv/'.$name; 35 + return 'https://www.twitch.tv/'.$name; 36 36 } 37 37 return null; 38 38 }
+1 -1
src/applications/auth/provider/PhabricatorAmazonAuthProvider.php
··· 23 23 "%s\n\n". 24 24 "To configure Amazon OAuth, create a new 'API Project' here:". 25 25 "\n\n". 26 - "http://login.amazon.com/manageApps". 26 + "https://developer.amazon.com/apps-and-games/login-with-amazon". 27 27 "\n\n". 28 28 "Use these settings:". 29 29 "\n\n".
+1 -1
src/applications/auth/provider/PhabricatorDisqusAuthProvider.php
··· 13 13 return pht( 14 14 "To configure Disqus OAuth, create a new application here:". 15 15 "\n\n". 16 - "http://disqus.com/api/applications/". 16 + "https://disqus.com/api/applications/". 17 17 "\n\n". 18 18 "Create an application, then adjust these settings:". 19 19 "\n\n".
+1 -1
src/applications/auth/provider/PhabricatorTwitchAuthProvider.php
··· 13 13 return pht( 14 14 "To configure Twitch.tv OAuth, create a new application here:". 15 15 "\n\n". 16 - "http://www.twitch.tv/settings/applications". 16 + "https://www.twitch.tv/settings/applications". 17 17 "\n\n". 18 18 "When creating your application, use these settings:". 19 19 "\n\n".
+2 -1
src/applications/config/option/PhabricatorRecaptchaConfigOptions.php
··· 34 34 pht( 35 35 'Enable recaptcha to require users solve captchas after a few '. 36 36 'failed login attempts. This hinders brute-force attacks against '. 37 - 'user passwords. For more information, see http://recaptcha.net/')), 37 + 'user passwords. For more information, see '. 38 + 'https://www.google.com/recaptcha')), 38 39 $this->newOption('recaptcha.public-key', 'string', null) 39 40 ->setLocked(true) 40 41 ->setDescription(
+1 -1
src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php
··· 49 49 'highlighting tool) to provide support for many more languages.'. 50 50 "\n\n". 51 51 'To install Pygments, visit '. 52 - '[[ http://pygments.org | pygments.org ]] and follow the '. 52 + '[[ https://pygments.org/ | pygments.org ]] and follow the '. 53 53 'download and install instructions.'. 54 54 "\n\n". 55 55 'Once Pygments is installed, enable this option '.
+2 -2
src/applications/config/view/PhabricatorSetupIssueView.php
··· 444 444 phutil_tag( 445 445 'a', 446 446 array( 447 - 'href' => 'http://php.net/manual/ini.list.php', 447 + 'href' => 'https://www.php.net/manual/ini.list.php', 448 448 'target' => '_blank', 449 449 ), 450 450 pht('PHP Documentation')))); ··· 460 460 phutil_tag( 461 461 'a', 462 462 array( 463 - 'href' => 'http://php.net/manual/opcache.configuration.php', 463 + 'href' => 'https://www.php.net/manual/opcache.configuration.php', 464 464 'target' => '_blank', 465 465 ), 466 466 pht('PHP OPcache Documentation'))));
+2 -2
src/applications/diffusion/symbol/DiffusionPhpExternalSymbolsSource.php
··· 24 24 ->setSource(pht('PHP')) 25 25 ->setLocation(pht('Manual at php.net')) 26 26 ->setSymbolLanguage('php') 27 - ->setExternalURI('http://www.php.net/function.'.$name); 27 + ->setExternalURI('https://www.php.net/function.'.$name); 28 28 } 29 29 } 30 30 } ··· 38 38 ->setSource(pht('PHP')) 39 39 ->setLocation(pht('Manual at php.net')) 40 40 ->setSymbolLanguage('php') 41 - ->setExternalURI('http://www.php.net/class.'.$name); 41 + ->setExternalURI('https://www.php.net/class.'.$name); 42 42 } 43 43 } 44 44 }
+1 -1
src/applications/repository/management/PhabricatorRepositoryManagementReparseWorkflow.php
··· 43 43 " '31 March 2013', '31 Mar', '03/31', '03/31/2013',\n". 44 44 "See __%s__ for more.", 45 45 '--all', 46 - 'http://www.php.net/manual/en/datetime.formats.php'), 46 + 'https://www.php.net/manual/datetime.formats.php'), 47 47 ), 48 48 array( 49 49 'name' => 'message',
+1 -1
src/applications/uiexample/examples/PHUIColorPalletteExample.php
··· 100 100 $color_url = phutil_tag( 101 101 'a', 102 102 array( 103 - 'href' => 'http://color.hailpixel.com/#'.implode(',', $url), 103 + 'href' => 'https://color.hailpixel.com/#'.implode(',', $url), 104 104 'class' => 'button button-grey mlb', 105 105 ), 106 106 pht('Color Palette'));
+6 -6
src/applications/uiexample/examples/PHUIFeedStoryExample.php
··· 26 26 $story1 = id(new PHUIFeedStoryView()) 27 27 ->setTitle($text) 28 28 ->setImage(celerity_get_resource_uri('/rsrc/image/people/harding.png')) 29 - ->setImageHref('http://en.wikipedia.org/wiki/Warren_G._Harding') 29 + ->setImageHref('https://en.wikipedia.org/wiki/Warren_G._Harding') 30 30 ->setEpoch(1) 31 31 ->setAppIcon('fa-star') 32 32 ->setViewer($user); ··· 51 51 $story2 = id(new PHUIFeedStoryView()) 52 52 ->setTitle($text) 53 53 ->setImage(celerity_get_resource_uri('/rsrc/image/people/lincoln.png')) 54 - ->setImageHref('http://en.wikipedia.org/wiki/Abraham_Lincoln') 54 + ->setImageHref('https://en.wikipedia.org/wiki/Abraham_Lincoln') 55 55 ->setEpoch(strtotime('November 19, 1863')) 56 56 ->setAppIcon('fa-star') 57 57 ->setViewer($user) ··· 83 83 $story3 = id(new PHUIFeedStoryView()) 84 84 ->setTitle($text) 85 85 ->setImage(celerity_get_resource_uri('/rsrc/image/people/harding.png')) 86 - ->setImageHref('http://en.wikipedia.org/wiki/Warren_G._Harding') 86 + ->setImageHref('https://en.wikipedia.org/wiki/Warren_G._Harding') 87 87 ->appendChild($token) 88 88 ->setEpoch(1) 89 89 ->addAction($action1) ··· 103 103 $story4 = id(new PHUIFeedStoryView()) 104 104 ->setTitle($text) 105 105 ->setImage(celerity_get_resource_uri('/rsrc/image/people/harding.png')) 106 - ->setImageHref('http://en.wikipedia.org/wiki/Warren_G._Harding') 106 + ->setImageHref('https://en.wikipedia.org/wiki/Warren_G._Harding') 107 107 ->setEpoch(1) 108 108 ->setAppIcon('fa-cogs') 109 109 ->setPontification( ··· 119 119 $story5 = id(new PHUIFeedStoryView()) 120 120 ->setTitle($text) 121 121 ->setImage(celerity_get_resource_uri('/rsrc/image/people/lincoln.png')) 122 - ->setImageHref('http://en.wikipedia.org/wiki/Abraham_Lincoln') 122 + ->setImageHref('https://en.wikipedia.org/wiki/Abraham_Lincoln') 123 123 ->setEpoch(strtotime('November 19, 1863')) 124 124 ->setAppIcon('fa-rocket') 125 125 ->setViewer($user) ··· 134 134 $story6 = id(new PHUIFeedStoryView()) 135 135 ->setTitle($text) 136 136 ->setImage(celerity_get_resource_uri('/rsrc/image/people/harding.png')) 137 - ->setImageHref('http://en.wikipedia.org/wiki/Warren_G._Harding') 137 + ->setImageHref('https://en.wikipedia.org/wiki/Warren_G._Harding') 138 138 ->setEpoch(1) 139 139 ->setAppIcon('fa-wifi') 140 140 ->setViewer($user);
+6 -6
src/applications/uiexample/examples/PHUIIconExample.php
··· 51 51 52 52 $person1 = new PHUIIconView(); 53 53 $person1->setHeadSize(PHUIIconView::HEAD_MEDIUM); 54 - $person1->setHref('http://en.wikipedia.org/wiki/George_Washington'); 54 + $person1->setHref('https://en.wikipedia.org/wiki/George_Washington'); 55 55 $person1->setImage( 56 56 celerity_get_resource_uri('/rsrc/image/people/washington.png')); 57 57 58 58 $person2 = new PHUIIconView(); 59 59 $person2->setHeadSize(PHUIIconView::HEAD_MEDIUM); 60 - $person2->setHref('http://en.wikipedia.org/wiki/Warren_G._Harding'); 60 + $person2->setHref('https://en.wikipedia.org/wiki/Warren_G._Harding'); 61 61 $person2->setImage( 62 62 celerity_get_resource_uri('/rsrc/image/people/harding.png')); 63 63 64 64 $person3 = new PHUIIconView(); 65 65 $person3->setHeadSize(PHUIIconView::HEAD_MEDIUM); 66 - $person3->setHref('http://en.wikipedia.org/wiki/William_Howard_Taft'); 66 + $person3->setHref('https://en.wikipedia.org/wiki/William_Howard_Taft'); 67 67 $person3->setImage( 68 68 celerity_get_resource_uri('/rsrc/image/people/taft.png')); 69 69 70 70 $person4 = new PHUIIconView(); 71 71 $person4->setHeadSize(PHUIIconView::HEAD_SMALL); 72 - $person4->setHref('http://en.wikipedia.org/wiki/George_Washington'); 72 + $person4->setHref('https://en.wikipedia.org/wiki/George_Washington'); 73 73 $person4->setImage( 74 74 celerity_get_resource_uri('/rsrc/image/people/washington.png')); 75 75 76 76 $person5 = new PHUIIconView(); 77 77 $person5->setHeadSize(PHUIIconView::HEAD_SMALL); 78 - $person5->setHref('http://en.wikipedia.org/wiki/Warren_G._Harding'); 78 + $person5->setHref('https://en.wikipedia.org/wiki/Warren_G._Harding'); 79 79 $person5->setImage( 80 80 celerity_get_resource_uri('/rsrc/image/people/harding.png')); 81 81 82 82 $person6 = new PHUIIconView(); 83 83 $person6->setHeadSize(PHUIIconView::HEAD_SMALL); 84 - $person6->setHref('http://en.wikipedia.org/wiki/William_Howard_Taft'); 84 + $person6->setHref('https://en.wikipedia.org/wiki/William_Howard_Taft'); 85 85 $person6->setImage( 86 86 celerity_get_resource_uri('/rsrc/image/people/taft.png')); 87 87