snipe-it/app/Http/Transformers
Brady Wetherington 9a224a07ba
Modified how we do Select2 dynamic drop-down menus to be more secure (#9079)
* Modified how we do Select2 dynamic drop-down menus to be more secure

As noted by the author of select2, the more-secure way of creating
rich Select-dropdowns is to use jquery to create HTML snippets and
carefully modify text attributes within there. This prevents any
XSS from being brought to the page. As a side-effect, the extra
escaping that we had to do in all of the internal selectlist calls
is now no longer necessary, and has been removed. Rebased and
squashed from the original.

* Rebuilt all assets, but this still feels like it's too much stuff in here.

* Whoops, need to run that in dev, not prod
2021-02-02 15:55:21 -08:00
..
AccessoriesTransformer.php Added last_checkout and notes from pivot for accessories 2020-10-23 00:44:26 -07:00
ActionlogsTransformer.php Fixed signature issue on accepted assets - related to #8577 2020-10-22 23:20:55 -07:00
AssetMaintenancesTransformer.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
AssetModelsTransformer.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
AssetsTransformer.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
CategoriesTransformer.php Added boolean has_eula to categories 2020-09-11 16:05:42 -07:00
CompaniesTransformer.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
ComponentsAssetsTransformer.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
ComponentsTransformer.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
ConsumablesTransformer.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
CustomFieldsetsTransformer.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
CustomFieldsTransformer.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
DatatablesTransformer.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
DepartmentsTransformer.php Fixed parse error 2020-08-24 14:30:43 -07:00
DepreciationsTransformer.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
GroupsTransformer.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
ImportsTransformer.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
LicenseSeatsTransformer.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
LicensesTransformer.php Added termination date, depreciation in license column selection [ch14505] (#9052) 2021-01-27 01:34:32 -08:00
LocationsTransformer.php Added search/sort by Location OU, added to listing 2020-11-17 22:17:07 -08:00
LoginAttemptsTransformer.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
ManufacturersTransformer.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
PredefinedKitsTransformer.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
SelectlistTransformer.php Modified how we do Select2 dynamic drop-down menus to be more secure (#9079) 2021-02-02 15:55:21 -08:00
StatuslabelsTransformer.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
SuppliersTransformer.php Remove/Reorganize logic to make codacy happier. 2020-05-23 15:24:10 -04:00
UsersTransformer.php Added LDAP flag in users API for #8741 2020-12-02 11:01:05 -08:00