snipe-it/app/Http/Controllers
Daniel Meltzer 64d649be7f Monster: Cleanup/Refactor http controllers. (#5916)
* Extract a handlesimages trait to centralize logic for parsing/storing images on upload in create/edit methods.

* Use same image upload/layout in accessories as consum+components.

* Monster: Cleanup/Refactor http controllers.

This cleans up docblocks, pulls most non-crudy actions into their own
controllers, and does general cleanup/logic refactoring.  There /should/
be no functional changes, but we all know how should works..

Extract checkin/checkout functions to a separate controller for accessories.

Move controllers to subdirectory.

Cleanup AssetModelsController

Extract component checkin/checkout

Assorted cleanups/doc/formatting in controllers.

Refactor LicenseController.

Refactor UsersController

Update viewassetscontroller.

* Codacy cleanups

* More codacy cleanups.  Extract a LicenseCheckout Form request as well.

* A bit more refactor/cleaning of the license checkout method.

* Review Related Cleanups

* Fix most of the item_not_found translations.  In many cases, the
string being generated did not even use the id parameter.  Where it
does, pass it as id instead of as a different value.

* Remove some old $data arrays from when we manually sent emails from
the controllers.  This has been superseeded by the notification system
(yay!)

* Bugfix: Only log the checkin of an accessory if the checkin completes sucessfully.
2018-07-24 19:35:26 -07:00
..
Accessories Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Api Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Assets Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Auth One more fix for #5893 2018-07-19 14:45:28 -07:00
Components Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Consumables Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Licenses Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Users Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
ActionlogController.php Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
AssetMaintenancesController.php Create asset maintenance - Added orange bar for required asset to edit view (#5520) 2018-05-16 19:23:23 -07:00
AssetModelsController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
BulkAssetModelsController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
CategoriesController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
CheckInOutRequest.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
CompaniesController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Controller.php Updated docblocks 2016-04-07 13:21:09 -07:00
CustomFieldsController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
CustomFieldsetsController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
DashboardController.php Call migrate before passport install 2017-10-11 12:42:31 -07:00
DepartmentsController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
DepreciationsController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
GroupsController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
ImportsController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
LocationsController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
ManufacturersController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
ModalController.php Remove old helpers (#5843) 2018-07-16 14:22:25 -07:00
ProfileController.php Fixed #5938 - added “self location edit” as permission 2018-07-24 12:42:16 -07:00
ReportsController.php Fixing authorization issues (#5807) 2018-07-12 18:28:02 -07:00
SettingsController.php Fixed #5944 - added logo option for print-assets page (#5950) 2018-07-24 13:37:02 -07:00
StatuslabelsController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
SuppliersController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
ViewAssetsController.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00