1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-23 02:38:48 +02:00
phorge-phorge/src/applications/ponder
Bob Trahan 9838251515 Make PhabricatorActionListView logged-out user savvy
Summary:
Fixes T2691. Now, all PhabricatorActionListViews in the codebase setObjectHref to $request->getRequestURI. This value is passed over to PhabricatorActionItems right before they are rendered. If a PhabricatorActionItem is a workflow and there is no user OR the user is logged out, we used this objectURI to construct a log in URI.

Potentially added some undesirable behavior to aggressively setUser (and later setObjectURI) from within the List on Actions... This should be okay-ish unless there was a vision of actions having different user objects associated with them. I think this is a safe assumption.

Test Plan: played around with a mock all logged out (Ref T2652) and it worked!

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2691

Differential Revision: https://secure.phabricator.com/D6416
2013-07-12 11:39:47 -07:00
..
application Improve Ponder on Mobile 2013-05-20 07:55:23 -07:00
controller Make PhabricatorActionListView logged-out user savvy 2013-07-12 11:39:47 -07:00
editor Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
mail Remove the last hardcoding from PhabricatorMetaMTAReceivedMail 2013-05-17 10:00:49 -07:00
query Introduce PhabricatorEmptyQueryException 2013-03-06 19:22:00 -08:00
remarkup Require a viewer for Remarkup rendering 2013-03-04 12:33:05 -08:00
search Require a viewer to load handles 2013-02-28 17:15:09 -08:00
storage Token support for Phriction Documents, Ponder Questions, and Phame Blogs 2013-05-09 14:52:22 -07:00
view Improve Ponder on Mobile 2013-05-20 07:55:23 -07:00
PonderConstants.php Delete license headers from files 2012-11-05 11:16:51 -08:00