snipe-it/app
snipe 8a6713d5c0
WIP - Improved requested assets (#5289)
* WIP - beginning of improved requested assets

- Use Ajax tables for faster loading
- Use new notifications for requesting an asset

TODO:
- Use ajax tables for requestable asset models
- Use new notifications for canceling an asset request
- Expire requests once the asset has been checked out to the requesting user

* Only show asset name in email if it has one

* Refactor requested method to only include non-canceled requests

* Refactored requestable assets to log request and cancelation

* Added softdeletes on checkout requests

* Differentiate between canceling and deleting requests

* Added asset request cancelation notification

* Added timestamps and corrected unique key on requests table

* Improved requests view

* Re-use blade for cancel/request email

* Refactored BS table formatter for requested assets

* Location name min reduced to 2

* Added PAT test as maintenance option

This needs to be refactored into database-driven options with a UI

* Better slack message

* Added getImageUrl method for assets

* Include qty in request notifications

TODO:
- Try to pull requested info from original request for cancelation, otherwise it will default to 1

* Removed old asset request/cancel emails

* Added user profile asset request routes

* Added profile controller requested assets method

* Added blade link to requested assets for profile view

* Sort user history desc

* Added requested assets blade

* Added canceled at to checkoutRequest method

* Include qty in request

* Fixed comment, removed allowed_columns

* Removed Queable methods, since we don’t use a queue

* Fixed return type in method doc

* Fixed version number

* Changed id to user_id for clarity
2018-04-04 17:33:02 -07:00
..
Console Check that the id key exists to prevent any weird edge cases for location 2018-03-05 22:44:05 -08:00
Events Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Exceptions Fix standardized exception formatter for correct payload 2017-10-24 17:57:49 -07:00
Helpers Fixed #5138 - added default_label flag to status labels 2018-03-05 22:04:16 -08:00
Http WIP - Improved requested assets (#5289) 2018-04-04 17:33:02 -07:00
Importer Check for custom fields in Importer 2018-03-30 18:50:09 -07:00
Jobs Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
LegacyEncrypter First stab at a recrypter for legacy mcrypt conversion 2017-08-21 22:30:56 -07:00
Listeners Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Models WIP - Improved requested assets (#5289) 2018-04-04 17:33:02 -07:00
Notifications WIP - Improved requested assets (#5289) 2018-04-04 17:33:02 -07:00
Observers Fixed #4652 - asset not correctly checking out to user on creation 2018-01-17 12:10:28 -08:00
Policies Fixed asset model permission not granted for edit 2018-03-07 18:22:49 -08:00
Presenters Add title field in Asset Maintenances list/filter/export (#5287) 2018-03-29 05:32:09 -07:00
Providers Fixed asset model permission not granted for edit 2018-03-07 18:22:49 -08:00