snipe-it/app/Models
gibsonjoshua55 3cfcc43efa Adds basic GET api support for CustomFieldsets (#3697)
* Adds basic GET api support for CustomFieldsets

Currently there is not support for getting what fields a given fieldset contains
from the API.  This commit creates a new API Controller for CustomFieldsets as
well as Transformers for CustomFields CustomFieldsets.  Additionally, the api
route has been updated so that a show method can be access from
http://myapp/api/v1/fieldsets/{id}

* CustomFieldsetsTransformer only returns id and name of model

* Added index api method for CustomFieldsets

* Removes copy/paste error in CustomFieldsetController (including search)

* Added id to CustomFieldsetsTransformers

* Adds custom_fieldset_id as a field when storing and updating AssetModels

* Removed uncessesary parameter from CustomFieldsetsController.index

* Cleaned up CustomFieldset API
2017-07-12 17:51:22 -07:00
..
Accessory.php Importer tests + Fixes (#3733) 2017-07-11 20:37:02 -07:00
Actionlog.php Added targetType method 2017-05-23 14:31:14 -07:00
Asset.php Only add an update log message if the asset isn’t being checked in or out 2017-07-08 03:38:39 -07:00
AssetMaintenance.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
AssetModel.php Adds basic GET api support for CustomFieldsets (#3697) 2017-07-12 17:51:22 -07:00
Category.php Vue importer (#3235) 2017-01-25 21:29:23 -08:00
CheckoutRequest.php Port more assignedUser to assignedTo. 2016-12-29 09:31:16 -05:00
Company.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
CompanyableChildScope.php Updated docblocks 2016-04-07 13:21:09 -07:00
CompanyableChildTrait.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CompanyableScope.php Updated docblocks 2016-04-07 13:21:09 -07:00
CompanyableTrait.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Component.php Importer: Add License Importer and refactor (#3143) 2017-01-10 16:19:18 -08:00
Consumable.php Importer tests + Fixes (#3733) 2017-07-11 20:37:02 -07:00
ConsumableAssignment.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CustomField.php Importer fixes v2 (#3524) 2017-05-03 12:14:35 -07:00
CustomFieldset.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
Department.php Allow manager to be null for dept 2017-05-23 02:49:00 -07:00
Depreciable.php Partialize forms (#2884) 2016-11-16 16:56:57 -08:00
Depreciation.php Fixed Illuminate path 2017-02-22 22:20:57 -08:00
Group.php Partialize forms (#2884) 2016-11-16 16:56:57 -08:00
ICompanyableChild.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Import.php Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
Ldap.php Add support for location-specific LDAP OUs. (#3176) 2017-01-11 23:37:14 -08:00
License.php Importer: Add License Importer and refactor (#3143) 2017-01-10 16:19:18 -08:00
LicenseSeat.php Actionlog Class: Improvements and polymorphism (#2561) 2016-09-06 19:39:42 -07:00
Location.php Added some hidden fields 2017-01-13 00:12:26 -08:00
Loggable.php [WIP] Improvements to unit tests. (#3574) 2017-06-12 17:39:03 -07:00
Manufacturer.php Fixes #3311 - more fields for manufacturers 2017-03-10 22:08:59 -08:00
Requestable.php Checkout Improvements, and initial support for requesting an asset model (#2573) 2016-09-15 19:58:27 -07:00
Setting.php Require first name field if LDAP is enabled 2017-07-08 01:40:56 -07:00
SnipeModel.php Importer: Add License Importer and refactor (#3143) 2017-01-10 16:19:18 -08:00
Statuslabel.php More bootstrap tables formatting 2017-01-24 22:25:17 -08:00
Supplier.php Cleanup controller escaping (#3084) 2016-12-19 22:00:50 -08:00
Throttle.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
User.php Importer tests + Fixes (#3733) 2017-07-11 20:37:02 -07:00