snipe-it/app/Models
snipe 46f5f21368
Notification improvements (#5254)
* Added “show fields in email” to custom fields

* Added “show images in email” to settings

* Added nicer HTML emails

* Break notifications out into their own, instead of trying to mash them all together

* Remove old notification for accessory checkout

* Janky fix for #5076 - “The asset you have attempted to accept was not checked out to you”

* Add method for image url for accessories

* Added accessory checkout email blade

* Make accessory email notification on checkout screen consistent with assets

* Added native consumables notifications

* Fixes for asset notification

* Updated notification blades with correct-er fields

* Updated notifications

* License checkin notification - does not work yet

Need to figure out whether the license seat is assigned to a person or an asset before we can pass the target

* Added alternate “cc” email for admins

* Only try to trigger notifications if the target is a user

* Fix tests

* Fixed consumable URL

* Removed unused notification

* Pass target type in params

* Show slack status

* Pass additional parameters

There is a logic bug in this :( Will send to slack twice, since the admin CC and the user are both using the same notification. Fuckity fuck fuck fuck.

* Pass a variable to the notification to supress the duplicate slack message

* Slack is broken :( Trying to fix

Will try a git bisect

* Put preview back into checkout

* Pulled old archaic mail

* Removed debugging

* Fixed wrong email title

* Fixed slack endpoint not firing

* Poobot, we hardly knew ye.

* Removed old, manual mail from API

* Typo :-/

* Code cleanup

* Use defined formatted date in JSON

* Use static properties for checkin/checkout notifiers for cleaner code

* Removed debugging

* Use date formatter

* Fixed target_type

* Fixed language in consumable email
2018-03-25 13:46:57 -07:00
..
Recipients Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
Accessory.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
Actionlog.php Added - changelog searchable in history tab 2017-12-12 05:10:13 -08:00
Asset.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
AssetMaintenance.php Fixed #5151 - added asset tag to maintenances 2018-03-05 16:26:40 -08:00
AssetModel.php Api tests2 (#5098) 2018-02-25 12:10:02 -08:00
Category.php Api tests2 (#5098) 2018-02-25 12:10:02 -08:00
CheckoutRequest.php Update references to assetloc to location 2017-10-28 02:58:38 -07:00
Company.php Fixes #4639 2017-12-15 18:54:38 -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 Api tests (#5096) 2018-02-24 19:01:34 -08:00
Consumable.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
ConsumableAssignment.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CustomField.php Fixes #4829 - add fields api (#4840) 2018-01-17 05:31:57 -08:00
CustomFieldset.php More specific required check 2017-09-29 03:44:23 -07:00
Department.php Make department columns sortable 2018-02-21 05:04:20 -08: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 Fixes group search 2017-10-10 22:59:32 -07: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 Tidying some of the LDAP UDN logic 2017-10-16 15:29:06 -07:00
License.php Api tests2 (#5098) 2018-02-25 12:10:02 -08:00
LicenseSeat.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
Location.php Api tests (#5096) 2018-02-24 19:01:34 -08:00
Loggable.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
Manufacturer.php Fixed manufacturer restore 2018-03-03 19:14:27 -08:00
Requestable.php Assorted fixes (#3923) 2017-09-05 17:54:58 -07:00
Setting.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
SnipeModel.php More importer fixes (#4516) 2017-11-24 10:42:11 -08:00
Statuslabel.php Api tests (#5096) 2018-02-24 19:01:34 -08:00
Supplier.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
Throttle.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
User.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00