snipe-it/app/Http/Controllers
snipe 039f5da0e1
Add image upload to user edit [ch10508] (#7877)
* Use correct Request include

* Updated to use additional form request

* Added SVG sanitizer

* Added response method to form request

* Allow ImageUploadRequest to accept fieldname params, added SVG sanitization, fixed delete

* Fixed upload path for avatars

* Added fieldname variable to blade partial for image upload

* Added enctype="multipart/form-data"  to form to allow uploads

* Added image field

* Updated Request::old() to use $request->old()

* Fixed derp in edit blade referring to $item when it should be $user

* Added svg+xml to image rule
2020-03-05 18:00:24 -08:00
..
Accessories Use $request->input over Request::get() 2019-12-11 11:09:54 -08:00
Account Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
Api Merge branch 'develop' of https://github.com/snipe/snipe-it into develop 2020-01-22 16:07:46 -08:00
Assets Return real Asset error (#7054) 2019-12-06 11:07:12 -08:00
Auth WIP: Upgrade develop to Laravel 6.6.1 (#7637) 2019-12-10 19:32:50 -08:00
Components Use $request->input over Request::get() 2019-12-11 11:09:54 -08:00
Consumables Use $request->input over Request::get() 2019-12-11 11:09:54 -08:00
Kits Feedback for Kits; Fix checkins for accessories (#7060) 2019-05-23 19:39:30 -07:00
Licenses WIP: Upgrade develop to Laravel 6.6.1 (#7637) 2019-12-10 19:32:50 -08:00
Users Add image upload to user edit [ch10508] (#7877) 2020-03-05 18:00:24 -08:00
ActionlogController.php Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
AssetMaintenancesController.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
AssetModelsController.php Use $request->input over Request::get() 2019-12-11 11:09:54 -08:00
BulkAssetModelsController.php Use $request->input over Request::get() 2019-12-11 11:09:54 -08:00
CategoriesController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
CheckInOutRequest.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
CompaniesController.php Increased image size to 800px, added lightboxes 2019-05-24 19:11:08 -07:00
Controller.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
CustomFieldsController.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
CustomFieldsetsController.php Use $request->input over Request::get() 2019-12-11 11:09:54 -08:00
DashboardController.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
DepartmentsController.php Merge branch 'develop' into v5-master-develop-integration 2019-11-18 19:49:39 -08:00
DepreciationsController.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
GroupsController.php Fixed groups request 2019-12-11 11:26:58 -08:00
ImportsController.php Merge branch 'hotfixes/2fa_qr' into develop 2019-03-20 02:17:02 -07:00
LocationsController.php Fixed Call to a member function count() on null for location delete 2019-12-11 10:46:07 -08:00
ManufacturersController.php Fix issues with update permission naming (#7493) 2019-10-28 11:44:48 -07:00
ModalController.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
ProfileController.php Merge branch 'features/6204_email_audit-alerts' into develop 2019-05-06 08:45:13 -04:00
ReportsController.php Use $request->input over Request::get() 2019-12-11 11:09:54 -08:00
SettingsController.php Removed debug line 2020-02-11 22:09:37 -08:00
StatuslabelsController.php Use $request->input over Request::get() 2019-12-11 11:09:54 -08:00
SuppliersController.php Fix issues with update permission naming (#7493) 2019-10-28 11:44:48 -07:00
ViewAssetsController.php Use $request->input over Request::get() 2019-12-11 11:09:54 -08:00