snipe-it/app/Http/Controllers/Api
Daniel Meltzer 987536930c Assorted fixes (#3923)
* Fix some n+1 problems

* Use route in notification dropdown to make sure we link to correct page

* Work on better UI support for checkout to non-user.  Fix links on index bootstrap table, work towards eliminating assignedUser

* Remove Asset::assigneduser() relationship.  Instead add a checkedOutToUser() method and/or port to using assignedTo()

* Adjust string to fit new reality

* Fix #3780.  Move the consumables getDataView method to the ApiController.  Not entirely RESTful, but it's a weird method that probably doesn't need its own controller and the functionality would be strange to stack on the userscontroller...

* Fix file uploads to assets and restore the delete route.

* Add asset maintence edit action to index.

* Suppliers asset list should link to the related asset, not to the supplier with same ID.

* Asset models page should use polymorphic formatter on assigned to to better handle assorted item types.

* Comment out more assigneduser fallacy until we figure out the query builder approach to searching for location text.
2017-09-05 17:54:58 -07:00
..
AccessoriesController.php API improvements 2017-03-11 10:05:50 -08:00
AssetMaintenancesController.php Assorted fixes (#3923) 2017-09-05 17:54:58 -07:00
AssetModelsController.php Refactor and improve Modal support for Assets (#3884) 2017-08-24 22:24:02 -07:00
AssetsController.php Assorted fixes (#3923) 2017-09-05 17:54:58 -07:00
CategoriesController.php Fixes #3858 - use transformer for single listing categories 2017-08-22 14:26:08 -07:00
CompaniesController.php Use Company transformer with payload 2017-08-03 19:55:08 -07:00
ComponentsController.php /api_tests: Completed tests for basic CRUD for Assets and Components (#3426) 2017-03-31 13:48:11 -07:00
ConsumablesController.php Assorted fixes (#3923) 2017-09-05 17:54:58 -07:00
CustomFieldsController.php Basic sanity checking on some of the API controllers 2017-03-11 08:03:16 -08:00
CustomFieldsetsController.php Update @gibsonjoshua55 as a contributor 2017-07-12 20:41:20 -07:00
DepartmentsController.php Fixes #3860 - return JSON instead of redirect in API delete dept call 2017-08-22 14:15:13 -07:00
DepreciationsController.php Basic sanity checking on some of the API controllers 2017-03-11 08:03:16 -08:00
GroupsController.php Fixes #3775 - added missing created_at and updated_at fields 2017-07-29 17:01:03 -07:00
ImportController.php Slug the filename 2017-07-14 02:38:13 -07:00
LicensesController.php Assorted fixes (#3923) 2017-09-05 17:54:58 -07:00
LocationsController.php Merge branch 'checkout-to-location-v2' of https://github.com/dmeltzer/snipe-it into dmeltzer-checkout-to-location-v2 2017-08-25 06:04:22 -07:00
ManufacturersController.php Fixes #3799 - use transformers on show() method as well 2017-07-29 15:46:10 -07:00
ReportsController.php Auduting improvements 2017-08-25 18:40:20 -07:00
SettingsController.php Updated UI for Admin Settings 2017-07-07 23:44:48 -07:00
StatuslabelsController.php Fixed custom error message for status labels 2017-08-24 22:40:07 -07:00
SuppliersController.php Fixes #3775 - added missing created_at and updated_at fields 2017-07-29 17:01:03 -07:00
UsersController.php Also related to #3888 2017-08-26 15:21:38 -07:00