Commit Graph

16 Commits

Author SHA1 Message Date
Qstick 93ba5ade9e Cleanup Conflicts in Sonarr/Lidarr Pulls
Co-Authored-By: Robin Dadswell <19610103+RobinDadswell@users.noreply.github.com>
2021-01-28 23:43:19 -05:00
Mark McDowall 5afe37e929 New: Health events for Webhooks
Signed-off-by: Robin Dadswell <robin@dadswell.email>
2021-01-28 23:43:19 -05:00
Qstick a9e03ed1cc New: Add DownloadClient and DownloadId to Webhook notifications
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
Signed-off-by: Robin Dadswell <robin@dadswell.email>
2021-01-28 23:43:19 -05:00
nitsua 0672fc7b85 Custom Notification cleanup
- Renamed event "BookDownload" to "Download" to match sonarr/radarr
- Renamed "TrackRetag" to "BookRetag" (Lidarr leftovers)
2020-10-10 16:16:43 -04:00
Qstick 307989aab7 More Fun in Core with Naming 2020-05-19 21:50:37 +01:00
Qstick 8547af9fae Method, Variable, Class Renames in Readarr.Core
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
2020-05-13 20:42:22 -04:00
ta264 08496c82af New: Readarr 0.1 2020-05-09 22:24:45 +01:00
Qstick 3b7eb01918 New: Lidarr to Readarr 2020-02-29 16:58:13 -05:00
Qstick f77a2feeef StyleCop (#1058)
* Stylecop Rules and Fixes
2020-01-03 07:49:24 -05:00
Qstick d4d9146599 New: Health Check Failure Notifications (#609)
* New: Health Check Failure Notifications

Fixes #295

* New: OnDownloadFailure and OnImportFailure Notification

* New: On Retag notifications

* Fixed: XBMC notification test

* New: Discord Notifications

Closes #1511

* On Download to On Import on card

* Remove OnDownload, Rename OnAlbumDownload -> OnReleaseImported

* Fixed: Webhook OnReleaseImport notification

* Respect OnUpgrade and fix missing schema items for frontend

* New: Simplify Notification Modal UI

* Fixed: PlexHomeTheater OnReleaseImport notification
2019-03-21 20:47:54 -04:00
Qstick 226f884233 New: Grouped Album Import Notification (#265)
* New: Grouped Album Import Notification

* fixup: Add Emby and Kodi Notify for Album Download
2018-04-03 23:45:59 -04:00
Qstick 6af1ffba50 New: Webhook improvements 2017-10-28 17:38:57 -04:00
Qstick 864549b1f3 Initial Notification Support, XBMC and PLEX still need work. 2017-09-22 21:59:24 -04:00
Matthew Despain 20c8dec50a First round of refactoring. 2017-03-29 21:49:38 -06:00
Keivan Beigi aba613acd1 Because it's 2016! 2016-12-21 20:38:37 -08:00
Gavin Mogan c5b25bcfee New: Add Webhook support to sonarr
Add Form type url (type=url input field)
Add isValidUrl input type validation

Only allow absolute urls when checking if a url is valid

String => string as per comments that sonarr is standarizing on the lowercase primative

Remove this before function calls

Refactored everything so OnGrab is supported

Don't double submit the webhook

Wrappers around Series, EpisodeFile, Episode so the entire data structure isn't exposed

Add Braces as per style guide

Series.ID and Series.TvdbId should be integers

Reorder webhook payload as per style guide

Upgrade to use ongrab as json instead of string

Add method selection to webhook settings

include episode directly in download event

QualityVersion should be an int and not a string (don't convert it int=>string)

Remove the list of episodes

Add season number to episode data structure

Code Review Fixes:

* Remove episodefile from payload, move everything to episode
* Change episode to a list

convert to var as per code review / style guide

Down with internals

Everything now uses webhookpayload. None of that payload.Message stuff

{"EventType":"Test","Series":{"Id":1,"Title":"Test Title","Path":"C:\\testpath","TvdbId":1234},"Episodes":[{"Id":123,"EpisodeNumber":1,"SeasonNumber":1,"Title":"Test title","AirDate":null,"AirDateUtc":null,"Quality":null,"QualityVersion":0,"ReleaseGroup":null,"SceneName":null}]}

Remove logger and processProvider

Remove unused constructor
2015-08-29 22:45:14 -07:00