1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/maniphest/controller
epriestley 3b5883d8c1 Fix an issue with embedding slowvotes
Summary:
In some applications, using `{V2}` syntax to embed a vote throws. The chain of causality looks like this:

  - We try to render a `phabricator_form()`.
  - This requires a CSRF token.
  - We look for a CSRF token on the user.
  - It's an omnipotent user with no token, so everything fails.

To resolve this, make sure we always pass the real user in.

Test Plan:
  - Lots of `grep`.
  - Made a Differential comment with `{V2}`.
  - Made a Diffusion comment with `{V2}`.
  - Made a Maniphest comment with `{V2}`.
  - Replied to a Conpherence thread with `{V2}`.
  - Created a Conpherence thread with `{V2}`.
  - Used Conduit to update a Conpherence thread with `{V2}`.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley, lkassianik

Differential Revision: https://secure.phabricator.com/D8849
2014-04-23 16:30:38 -07:00
..
ManiphestBatchEditController.php Provide convenience method addTextCrumb() to PhabricatorCrumbsView 2013-12-18 17:47:34 -08:00
ManiphestController.php Project work boards - make editing tasks from workboards work 2014-03-04 11:50:44 -08:00
ManiphestExportController.php Fix excel export of builtin queries 2013-09-17 11:30:48 -07:00
ManiphestReportController.php Fix Maniphest links w.r.t. new "status" data format 2014-03-28 12:59:09 -07:00
ManiphestSubpriorityController.php Workboards - make priority changes less aggressive and generally better 2014-03-27 10:50:54 -07:00
ManiphestSubscribeController.php Remove "ManiphestTransactionEditorPro" 2013-10-21 16:58:37 -07:00
ManiphestTaskDescriptionPreviewController.php Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
ManiphestTaskDetailController.php Remove flavor text for action buttons 2014-04-18 17:51:46 -07:00
ManiphestTaskEditController.php Let project prefilling accept PHIDs 2014-04-15 11:17:37 -07:00
ManiphestTaskListController.php Fix handle loads in ManiphestTaskListView 2013-11-13 11:25:57 -08:00
ManiphestTransactionPreviewController.php Show detailed ApplicationTransaction changes in a dialog 2014-02-13 19:37:31 -08:00
ManiphestTransactionSaveController.php Fix an issue with embedding slowvotes 2014-04-23 16:30:38 -07:00