1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications/phame
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 Added beta status for applications 2013-01-19 10:31:28 -08:00
config Fix typo in default phame config 2013-01-25 00:40:04 +04:00
controller Make PhabricatorActionListView logged-out user savvy 2013-07-12 11:39:47 -07:00
query Introduce PhabricatorEmptyQueryException 2013-03-06 19:22:00 -08:00
skins Provide syntax highlighting css for oblivious phame posts 2013-06-26 15:01:56 -07:00
storage Drive auth config with the database 2013-06-20 11:18:11 -07:00
view Fix issue where https is not honoured when loading disqus api 2013-06-25 16:32:51 -07:00