1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-26 05:29:06 +01:00
phorge-phorge/src/applications/maniphest/controller
epriestley 7f91c8c4ac Rebuild the bulk editor on SearchEngine
Summary:
Depends on D18805. Ref T13025. Fixes T10268.

Instead of using a list of IDs for the bulk editor, power it with SearchEngine queries. This gives us the full power of SearchEngine and lets us use a query key instead of a list of 20,000 IDs to avoid issues with URL lengths.

Also, split it into a base `BulkEngine` and per-application subclasses. This moves us toward T10005 and universal support for bulk operations.

Also:

  - Renames most of "batch" to "bulk": we're curently inconsitent about this, I like "bulk" better since I think it's more clear if you don't regularly interact with `.bat` files, and newer stuff mostly uses "bulk".
  - When objects in the result set can't be edited because you don't have permission, show the status more clearly.

This probably breaks some stuff a bit since I refactored so heavily, but it seems mostly OK from poking around. I'll clean up anything I missed in followups to deal with remaining items on T13025.

Test Plan:
{F5302300}

  - Bulk edited from Maniphest.
  - Bulk edited from a workboard (no more giant `?ids=....` in the URL).
  - Hit most of the error conditions, I think?
  - Clicked the "Cancel" button.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13025, T10268

Differential Revision: https://secure.phabricator.com/D18806
2018-01-19 12:40:08 -08:00
..
ManiphestBulkEditController.php Rebuild the bulk editor on SearchEngine 2018-01-19 12:40:08 -08:00
ManiphestController.php Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
ManiphestExportController.php Fix broken link to PHPExcel site 2016-08-03 14:06:53 +01:00
ManiphestReportController.php Fix a copy/paste error on the burnup chart 2018-01-11 07:07:46 -08:00
ManiphestSubpriorityController.php Use keywords instead of ints to update task priority in ManiphestEditEngine 2017-06-14 14:43:03 -07:00
ManiphestTaskDetailController.php Show task duplicates as related objects in Maniphest and migrate old duplicates 2017-06-07 13:30:20 -07:00
ManiphestTaskEditController.php Rewrite workboards to have way more bugs 2016-02-10 13:08:38 -08:00
ManiphestTaskListController.php Partially update Maniphest for handleProcess 2015-08-01 17:06:57 -07:00