snipe-it/app/Http/Controllers/Api
Brad 81084fa717 Fixed #7824
Previously there was a 999 max seats on Licenses as anything above that seemed to cause slowdowns and failure.

This commit allievates those pain points

- removed freeSeats as a hydrated Eloquent model on JSON requests for the licenses index
- removed 'licenseSeats.user', 'licenseSeats.asset' from the 'with' clause as it's not needed in the view (Datatabales takes care of that)
- removed the 999 max seats limit from the License Model,
- reworked how new license seats are created when increasing seats or creating licenses
- Added an index the license_seats table to help speed up lookups
2022-01-10 14:03:28 -05:00
..
AccessoriesController.php Merge branch 'develop-v6-integration' into develop-v6-rc1 2021-09-21 23:46:50 -07:00
AssetMaintenancesController.php Merge remote-tracking branch 'origin/master' into develop 2021-10-20 17:26:41 -07:00
AssetModelsController.php Merge remote-tracking branch 'origin/master' into develop 2021-10-20 17:26:41 -07:00
AssetsController.php Merge master down into develop 2021-12-16 14:26:24 -08:00
CategoriesController.php Merge branch 'develop-v6-integration' into develop-v6-rc1 2021-09-21 23:46:50 -07:00
CompaniesController.php Support images and multipart requests 2021-07-15 12:26:13 +03:00
ComponentsController.php Merge remote-tracking branch 'origin/master' into develop 2021-10-20 17:26:41 -07:00
ConsumablesController.php Merge branch 'develop-v6-integration' into develop-v6-rc1 2021-09-21 23:46:50 -07:00
CustomFieldsController.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
CustomFieldsetsController.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
DepartmentsController.php Merge branch 'develop' into fixes/fmcs_departments 2021-10-28 18:18:08 -07:00
DepreciationsController.php adds a Floor value for depreciation models 2021-08-16 18:14:10 -07:00
GroupsController.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
ImportController.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
LicensesController.php Fixed #7824 2022-01-10 14:03:28 -05:00
LicenseSeatsController.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
LocationsController.php Small conflict handling bits 2021-09-22 00:00:44 -07:00
ManufacturersController.php Support images and multipart requests 2021-07-15 12:26:13 +03:00
PredefinedKitsController.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
ProfileController.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
ReportsController.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
SettingsController.php Small merge unmagling 2021-12-16 14:38:04 -08:00
StatuslabelsController.php Set default_label to 0 instead of null in API 2021-10-25 20:14:01 -07:00
SuppliersController.php Merge branch 'develop-v6-integration' into develop-v6-rc1 2021-09-21 23:46:50 -07:00
UsersController.php Merge remote-tracking branch 'origin/master' into develop 2021-10-20 17:26:41 -07:00