1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-18 23:48:35 +02:00
Commit Graph

23 Commits

Author SHA1 Message Date
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
Taloth Saldono
dc91fa0206 Fixed: Added /transmission/ part to UrlBase in Transmission settings making it configurable.
fixes #556
2015-05-24 12:54:50 +02:00
Mark McDowall
49acae0fbb Make sure URL base doesn't start with http or https
Closes #532
2015-05-21 17:12:33 -07:00
Lars
00ba19d683 Settings: Remove misleading placeholder, fix error-message 2015-05-21 04:31:01 +02:00
Mark McDowall
c12f16b6d3 Mapped Network Drive Validator
New: Prevent adding Mapped Network Drives when Running as a Windows Services
2015-04-15 23:50:19 -07:00
Taloth Saldono
b92cc6fb15 Fixed: No longer possible to add protocol to a Host field (that's what Url fields are for) 2015-04-02 19:52:37 +02:00
Mark McDowall
06a2cb0de4 New: Restrict ports that Sonarr will allow for its webserver 2015-03-18 23:15:20 -07:00
Mark McDowall
446d470f53 Fixed null config test 2015-03-16 21:37:33 -07:00
Mark McDowall
99d9303394 Fixed: Download Client with config Warnings won't be excluded 2015-03-16 21:33:34 -07:00
Taloth Saldono
6803e46782 Fixed: Empty Sabnzbd category is now properly handled. But added UI validation to recommend adding a category. 2015-03-04 21:14:40 +01:00
Mark McDowall
d77c685d14 Remove existing URL ACLs to avoid conflicts
New: Choose IP address to listen on (advanced)
Fixed: Check if URL has been registered with Windows before trying to register it
2014-12-09 23:38:52 -08:00
Mike
5a8ce04bd5 Allow binding to specific interface addresses
https://trello.com/c/aWazKGQc/404-allow-binding-to-specified-ip-address
2014-12-09 22:43:18 -08:00
Keivan Beigi
0be8f55a2f Cleaned up using directive 2014-12-06 21:55:17 -08:00
Mark McDowall
6467167046 Moved Extension methods in common to subfolder 2014-12-01 22:26:25 -08:00
Mike
87cafe0035 Don't allow port 0 as a listen port
Port 0 is not really a valid port. Using it will most likely dynamically
allocate a port to listen on.
2014-10-02 08:32:32 -04:00
Mark McDowall
74a38415cf Profiles
Indexes are created with the same uniqueness when copying a table

New: Non-English episode support
New: Renamed Quality Profiles to Profiles and made them more powerful
New: Configurable wait time before grabbing a release to wait for a better quality
2014-07-25 23:21:44 -07:00
Taloth Saldono
822de39a9e Changed the way additional validation details get sent the UI. 2014-07-09 21:36:43 +02:00
Mark McDowall
6184105d3c Fixed: Prevent adding a series if the path is the ancestor of another series 2014-06-22 11:01:22 -07:00
Mark McDowall
007f96677c Fixed: Do not require SSL Cert Hash on Linux/OS X 2014-05-02 07:13:25 -07:00
Mark McDowall
0951e0c74b Fixed: Prevent setting series folder to drone factory, root folder or another series' folder 2014-04-04 08:18:07 -07:00
Mark McDowall
77b83b521e Validation, settings UI cleanup and different settings models, oh my
New: Download client UI matches other settings
Fixed: Prevent drone factory folder from being set to invalid paths/root path for series
Fixed: Switching pages in settings will not hide changes
Fixed: Test download clients
Fixed: Settings are validated before saving
2014-02-16 23:01:36 -08:00
Mark McDowall
5bf0e197ec Moved source code under src folder - massive change 2013-10-02 18:01:32 -07:00