snipe-it/app/Http/Controllers/Api
snipe 296de34e8a
WIP: Upgrade develop to Laravel 6.6.1 (#7637)
I'm going ahead and merging this, since the upgrade doesn't break Flysystem any worse than the current develop is broken, so far as I can tell. 


* Upgraded framework to Laravel 6

### TO DO:

- Fix password restriction rules- the old library isn’t compatible with Laravel 6 :(
- Figure out why in-app API calls are returning “Unauthorized”

* More updates from Input:: to Request:: helper

* Switch to Request:: from Input

* Added passport config

* Fixed goofy password minimum in seeder

* Added laravel/helpers

* Changed ($item)  to ($item->id) in forms

I have no idea why this is necessary

* Changed ($item) to ($item->id) in forms

* Updated API middleware to auth:api

* Updated with added laravel auth.php values

* FIxed *&!^$%^&$^%!!!! ajax issue

* Switch to Request::get from Input::get

* Switched to Request facade

* Added password security minimums back in

The package we were using has not been updated to Laravel v6, so I created custom validators instead

* Added language strings for error messages for password rules

* Fixed `($item)` issue in formActions for partials
2019-12-10 19:32:50 -08:00
..
AccessoriesController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
AssetMaintenancesController.php WIP: Upgrade develop to Laravel 6.6.1 (#7637) 2019-12-10 19:32:50 -08:00
AssetModelsController.php Add requestable to asset model api results (#7577) 2019-12-06 10:33:06 -08:00
AssetsController.php WIP: Upgrade develop to Laravel 6.6.1 (#7637) 2019-12-10 19:32:50 -08:00
CategoriesController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
CompaniesController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
ComponentsController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
ConsumablesController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
CustomFieldsController.php Fixed #7250 - permission issue for API fieldsets and fields endpoints 2019-07-24 11:00:42 -07:00
CustomFieldsetsController.php Fixed #7250 - permission issue for API fieldsets and fields endpoints 2019-07-24 11:00:42 -07:00
DepartmentsController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
DepreciationsController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
GroupsController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
ImportController.php Merge branch 'hotfixes/2fa_qr' into develop 2019-03-20 02:17:02 -07:00
LicensesController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
LocationsController.php Bumped Carbon version 2019-11-21 13:14:18 -08:00
ManufacturersController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
PredefinedKitsController.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
ProfileController.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
ReportsController.php Change ->has() to ->filled() 2019-05-23 17:39:50 -07:00
SettingsController.php Fixed parse error in settings controller 2019-12-04 14:54:36 -08:00
StatuslabelsController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
SuppliersController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
UsersController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00