snipe-it/app/Http/Controllers
Andrea Bergamasco 7ee172888d /api_tests: Completed tests for basic CRUD for Assets and Components (#3426)
* Refactored AssetsTransformer

Casted all ids to int, escaped all text values,

* Added warranty_expires attribute to Asset model

$asset->warranty_expires contains a Carbon object with the warranty
expiration date. Returns null when either purchase_date or
warranty_months are not set.

* Ignoring php-cs cache files

* Restored asset tests expectations

Work in progress - tests still fail

* API controller refactoring, fixed HTTP status codes in responses

* Restored $request->get - debugging

* Added further checks in ApiAssetsCest::updateAssetWithPatch

* /api_tests: Fixed bugs in update() method + code formatting

* /api_tests: Minor code formatting

* /api_tests: Mirrored test code for PATCH and PUT methods

* Removed repeated code

* Test cleanup

* Fixed issues with update() through PATCH and PUT methods

* Added API test suite to .travis.yml
2017-03-31 13:48:11 -07:00
..
Api /api_tests: Completed tests for basic CRUD for Assets and Components (#3426) 2017-03-31 13:48:11 -07:00
Auth Added last login to user menu 2017-03-03 18:28:13 -08:00
AccessoriesController.php Switch companyName to company 2017-01-26 21:05:33 -08:00
ActionlogController.php Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
AssetMaintenancesController.php Switch companyName to company 2017-01-26 21:05:33 -08:00
AssetModelsController.php Removed dumb code comment 2017-03-11 08:03:30 -08:00
AssetsController.php Added asset checkin/checkout API methods 2017-03-11 14:04:52 -08:00
CategoriesController.php API improvements 2017-03-11 10:05:50 -08:00
CompaniesController.php Added more company_id filtering, more transformers 2017-02-08 08:48:41 -08:00
ComponentsController.php Fixed incorrect route for components 2017-03-11 12:13:35 -08:00
ConsumablesController.php Basic consumables API 2017-01-26 18:46:18 -08:00
Controller.php Updated docblocks 2016-04-07 13:21:09 -07:00
CustomFieldsController.php Added optional help text field to custom fields 2017-01-26 04:52:11 -08:00
CustomFieldsetsController.php Fix fieldset blade path 2017-01-25 18:39:45 -08:00
DashboardController.php Fixes #2448 - redirect to intended page 2016-10-29 07:32:48 -07:00
DepreciationsController.php Groups API starter 2017-02-01 18:50:28 -08:00
GroupsController.php Bugfixes based on functional tests (#3338) 2017-02-22 22:49:19 -08:00
LicensesController.php Added missing manufacturer data on save 2017-01-24 18:57:03 -08:00
LocationsController.php Bugfixes based on functional tests (#3338) 2017-02-22 22:49:19 -08:00
ManufacturersController.php Fixes #3311 - more fields for manufacturers 2017-03-10 22:08:59 -08:00
ProfileController.php Removed closures from routes files so that we can allow people to cache routes for performance optimization 2017-01-24 17:37:07 -08:00
ReportsController.php Include notes in custom asset report 2017-02-03 02:16:37 -08:00
SettingsController.php Allow date/time formatting selection in settings 2017-03-03 17:29:41 -08:00
StatuslabelsController.php Switched to route from redirect->to 2017-01-26 20:13:59 -08:00
SuppliersController.php Additional API routes and controllers for models, suppliers, users, locations and status labels 2017-01-13 04:50:20 -08:00
UsersController.php Fixes #2422 - Adds bulk edit for select user attributes 2017-03-10 20:07:44 -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