snipe-it/app/Http/Controllers
Daniel Meltzer 6ce20c32b1 Component Importer and various Importer Fixes (#3132)
* Importer fix: we were trimming the wrong part of the classname when creating a category.  This led to categories not being recognized.

* Add a component importer.  Uses same fields as consumable importer.  Only trick: If an asset_tag is present, we checkout a component to that asset on import

Enable component importer.  Also calculate the importer classname in a cleaner fashion.

* Fix comparisons.  find can return an index of 0, which is falsy.
2017-01-05 15:45:12 -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 Component Importer and various Importer Fixes (#3132) 2017-01-05 15:45:12 -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