1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 10:52:41 +01:00
phorge-phorge/src/applications/tokens
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 Add basic token leader board functionality. 2013-03-21 16:04:29 -07:00
conduit Uninstall Conduit calls when uninstalling applications 2013-03-13 07:09:05 -07:00
controller Token - fix fatal for installs with no tokens yet given 2013-05-23 11:58:23 -07:00
editor Notify users when an object they created gets awarded a token 2013-02-18 17:44:45 -08:00
event Make PhabricatorActionListView logged-out user savvy 2013-07-12 11:39:47 -07:00
feed PHUIFeedStoryView, Update Profile 2013-04-14 19:32:26 -07:00
interface Notify users when an object they created gets awarded a token 2013-02-18 17:44:45 -08:00
query Fix pager for tokens given 2013-03-31 12:30:06 -07:00
storage PHUIIconView 2013-04-19 17:44:20 -07:00