snipe-it/app/Http/Controllers
Daniel Meltzer 638a7b2d91 Assetcontroller cleanup (#5858)
* Extract method/cleanup

* Remove apiStore method that is unusued since api controllers.

* Use proper model exception

* Remove old user importer.  This is now supported by the general importer framework.

* Refactor AssetsController methods.

This is a giant diff without many functional changes, mostly cosmetic.
I've pulled a number of methods out of assetscontroller, preferring
instead to create some more targetted controllers for related actions.
I think this cleans up the file some, and suggests some places for
future targetted improvement.

Fix weird missing things.

* Fix Unit test failing after date changes.

* Pass valid string to be translated.

* Some method cleanup for codacy.

* Extract trait for common checkout uses and codacy fixes.
2018-07-16 17:44:03 -07:00
..
Api category_id not category_i (#5844) 2018-07-16 14:23:24 -07:00
Auth Authentication via REMOTE_USER (clean repull) (#5204) 2018-03-14 12:48:07 -07:00
AccessoriesController.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
ActionlogController.php
AssetCheckinController.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
AssetCheckoutController.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
AssetFilesController.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07: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 Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
AssetsController.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
BulkAssetsController.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
CategoriesController.php Fixed misc UI permissions elements 2018-01-20 04:39:31 -08:00
CheckInOutRequest.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
CompaniesController.php Fixing authorization issues (#5807) 2018-07-12 18:28:02 -07:00
ComponentsController.php Removes the unused bulk operations for components (#5840) 2018-07-16 14:11:38 -07:00
ConsumablesController.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
Controller.php
CustomFieldsController.php Removes setting the encryption status on update (#5833) 2018-07-13 04:04:30 -07:00
CustomFieldsetsController.php Adds permission checks for custom fields and custom fieldsets (#5645) (#5795) 2018-07-12 18:28:20 -07:00
DashboardController.php
DepartmentsController.php Fixing authorization issues (#5807) 2018-07-12 18:28:02 -07:00
DepreciationsController.php Fixing authorization issues (#5807) 2018-07-12 18:28:02 -07:00
GroupsController.php Prepopulate ther groups array on create 2017-12-05 18:17:11 -08:00
ImportsController.php Fixed #5217 - permissions error with importer for non-admins 2018-03-22 14:17:44 -07:00
LicensesController.php Added license categories 2018-05-04 21:01:38 -07:00
LocationsController.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
ManufacturersController.php Fixed manufacturer restore 2018-03-03 19:14:27 -08:00
ModalController.php Remove old helpers (#5843) 2018-07-16 14:22:25 -07:00
ProfileController.php Use ImageUploadRequest $request on user profile update 2017-12-06 14:42:14 -08:00
ReportsController.php Fixing authorization issues (#5807) 2018-07-12 18:28:02 -07:00
SettingsController.php Added option to include model information on asset labels. (#5301) 2018-07-12 18:23:12 -07:00
StatuslabelsController.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
SuppliersController.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
UsersController.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
ViewAssetsController.php De-normalize new counters from 4.3.0 (#5547) 2018-05-16 19:20:43 -07:00