Commit Graph

7 Commits

Author SHA1 Message Date
Bogdan 2e784c7f36 Implement equality checks for providers 2024-04-20 18:23:13 +03:00
Stevie Robinson 8f7f23c938
Translate Notifications settings 2024-01-03 12:41:16 -08:00
Taloth Saldono 5aa92f47b6 Added PrivacyLevel option to FieldDefinition for later usage 2020-10-03 17:09:37 +02:00
Frank Scholl 442d49046d
New: Add authentication options to Webhook
Closes #2257
2017-11-21 18:55:46 -08:00
Keivan Beigi 0214c8e0f0 Removed unused using statements 2016-12-23 13:45:24 -08:00
Taloth Saldono ccfa13e383 Replaced built-in valuetypes with language keywords. 2015-10-03 21:14:06 +02: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