snipe-it/app/Http/Controllers
Daniel Meltzer 8a782bf34a Present assetlogs (#3112)
* Set user if asset is checked out to user.  fixes email problems.

* Use sometimes validation to ignore this when no values are present.

* Move Actionlog details to a presenter and port the activity table to use it.  Still need to port other parts of the application, but this consolidates a lot of logic.

* Attempt test fix

* Port users,licenses, and assets view to use the presenter to generate table values.
2016-12-29 22:23:36 -08:00
..
Auth Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
AccessoriesController.php Fix some accessory sorting (#3108) 2016-12-29 15:50:18 -08:00
ActionlogController.php Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
AssetMaintenancesController.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
AssetModelsController.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
AssetsController.php Present assetlogs (#3112) 2016-12-29 22:23:36 -08:00
CategoriesController.php Port more assignedUser to assignedTo. 2016-12-29 09:31:16 -05:00
CompaniesController.php Cleanup controller escaping (#3084) 2016-12-19 22:00:50 -08:00
ComponentsController.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
ConsumablesController.php Notification rework (#3103) 2016-12-26 15:19:04 -08:00
Controller.php Updated docblocks 2016-04-07 13:21:09 -07:00
CustomFieldsController.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
CustomFieldsetsController.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
DashboardController.php Fixes #2448 - redirect to intended page 2016-10-29 07:32:48 -07:00
DepreciationsController.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
GroupsController.php Cleanup controller escaping (#3084) 2016-12-19 22:00:50 -08:00
LicensesController.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
LocationsController.php Move sanitization of input to the model attribute setters. This cleans up a lot of checks in the various controller methods and ensures data will be set in the model accurately regardless of where it's set. Add unit tests for these methods (#3102) 2016-12-26 15:17:46 -08:00
ManufacturersController.php Merge branch 'checkout-to-things-v1' of https://github.com/dmeltzer/snipe-it into dmeltzer-checkout-to-things-v1 2016-12-29 16:20:17 -08:00
ProfileController.php Cleanup controller escaping (#3084) 2016-12-19 22:00:50 -08:00
ReportsController.php Present assetlogs (#3112) 2016-12-29 22:23:36 -08:00
SettingsController.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
StatuslabelsController.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
SuppliersController.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
UsersController.php Merge branch 'checkout-to-things-v1' of https://github.com/dmeltzer/snipe-it into dmeltzer-checkout-to-things-v1 2016-12-29 16:20:17 -08:00
ViewAssetsController.php Merge branch 'checkout-to-things-v1' of https://github.com/dmeltzer/snipe-it into dmeltzer-checkout-to-things-v1 2016-12-29 16:20:17 -08:00