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

Allow redirecting when not logged in

Summary:
Without this, the https redirect doesn't work if you're not logged in, because
the login check in willBeginExecution happens before the redirect controller
can redirect. This also has the unpleasant effect of the login page on http
(when it should have redirected to https) not having any css or js.

Test Plan:
With the https redirect enabled, loaded phabricator without being logged in,
and saw that I got redirected to the https login page instead of seeing a
http login page.

Reviewers: epriestley, vrana

Reviewed By: epriestley

CC: aran, Korvin

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

+8
+8
src/applications/base/controller/PhabricatorRedirectController.php
··· 20 20 21 21 private $uri; 22 22 23 + public function shouldRequireLogin() { 24 + return false; 25 + } 26 + 27 + public function shouldRequireEnabledUser() { 28 + return false; 29 + } 30 + 23 31 public function willProcessRequest(array $data) { 24 32 $this->uri = $data['uri']; 25 33 }