Commit Graph

584 Commits

Author SHA1 Message Date
Mark McDowall 07cbc71aa2 Secure URLs for Skyhook and Services 2018-12-29 13:08:48 +01:00
Mark McDowall 81d6c0d210 New: Backup options and restoration 2018-12-29 13:08:48 +01:00
Mark McDowall 5666369cc4 Fixed: Default Windows Service Account 2018-12-29 13:08:47 +01:00
Mark McDowall c3166e08b4 Migrate AppData folder 2018-12-29 13:08:47 +01:00
Mark McDowall adaf428aa7 v3 Binaries 2018-12-29 13:08:47 +01:00
Mark McDowall 5894b4fd95 v3 UI 2018-12-29 13:08:43 +01:00
Mark McDowall 296881b358 Target .net 4.6.1 2018-12-29 13:08:41 +01:00
Mark McDowall 7297c1b8e4 v3 API 2018-12-29 13:08:37 +01:00
Mark McDowall ff4a550cbb New: Include OriginalFilePath with Episode Files
Closes #2336
2018-12-06 20:59:09 -08:00
Taloth Saldono ae6d920e2a Updated error message if skyhook and other services respond with html content.
closes #2817
2018-11-14 21:48:56 +01:00
Mark McDowall 24c6d3f4b3 Don't read response stream if it equals Stream.Null 2018-09-14 17:50:13 -07:00
Taloth Saldono 9c9ad9aec3 New: Added optional UrlBase to Nzbget and Sabnzbd settings.
ref #1651
2018-07-15 12:24:27 +02:00
Taloth Saldono 0cce6b74f9 Added logging of json snippets on json deserialization errors. 2018-07-06 21:44:15 +02:00
Taloth Saldono fde0409650 Fixed WithData sample length not using parameter. 2018-06-08 22:08:09 +02:00
Taloth Saldono 2ed5abf4d3 Also add as data to exception so sentry gets it. 2018-06-08 19:58:58 +02:00
Taloth Saldono 69f8fc4d5e Added support for nested settings models so settings can be grouped together and reused for multiple providers. 2018-05-19 21:06:59 +02:00
Mark McDowall a7aff3bd9a Upgrade NLog to 4.5.3
Closes #2535
2018-05-01 23:20:54 -07:00
Qstick 6c09b7dc28 Fixed: Throw SonarrStartupException if can't access AppFolder Location 2018-04-22 13:25:50 -07:00
Taloth Saldono 70afacee3f Refactored PendingRelease logic for performance. 2018-04-14 22:07:08 +02:00
Taloth Saldono 6d8eebcd30 Revised deletion of cookies. 2018-04-01 20:29:46 +02:00
Taloth Saldono d3f8e0ef4c Fixed: Revised handling of cookies in case of redirects. 2018-03-24 11:43:57 +01:00
Taloth Saldono 99ee59e9cc Fixed: Updated NLog to 4.5 RC6 to handle mono 5.10 2018-02-27 22:41:46 +01:00
overkill32 d617b6c6e3 Fixed typo in log file 2018-01-27 13:10:41 -08:00
Taloth Saldono 459d6ea906 Fixed: Mono internals does not properly copy/move symlinks, but instead copies the contents. 2017-12-19 18:34:53 +01:00
margaale 747f3e171c Fixed: Handling of unknown status types in DownloadStation. 2017-12-19 18:32:48 +01:00
Frank Scholl 442d49046d
New: Add authentication options to Webhook
Closes #2257
2017-11-21 18:55:46 -08:00
Taloth Saldono ea5769fdd6 Updated NLog from 4.4.3 to 4.4.12 2017-10-25 19:30:44 +02:00
Mark McDowall a9e1aee295
Moved NotParentException to Disk namespace 2017-10-22 10:04:06 -07:00
Ronnie 73cb789f59
Fixed: Better import error messages 2017-10-22 10:04:05 -07:00
Mark McDowall 728f553802
Log when running tray app 2017-08-31 22:43:01 -07:00
Mark McDowall 17ff52ada1
Update help output for NzbDrone.Console 2017-08-31 22:04:55 -07:00
Taloth Saldono 35f911286f Added jackett apikey to log cleanser. 2017-08-11 15:51:28 +02:00
Taloth Saldono 2d1d1c8a99 Fixed: Changes in http redirect logic causing failed grabs and >25% cpu usage. 2017-08-09 23:12:07 +02:00
Taloth Saldono c659ba1c10 Fixed: Hide some more irrelevant paths from System->Disk Space such as /boot. 2017-08-09 21:38:18 +02:00
Taloth Saldono 1b9ccc319f Fixed: TLS issue for OSX. 2017-08-03 16:53:15 +02:00
Taloth Saldono 89e804814b Revert "Change default tls provider so users won't have to set TLS_PROVIDER explicitly."
This reverts commit 8e63f7d436.

Only certain platforms need it and causes issues with OSX and cases where the user relies on btls.
2017-08-03 16:53:11 +02:00
Taloth Saldono ce6a5713d1 Lets not take any risks here. 2017-08-03 00:20:48 +02:00
Taloth Saldono ba01b636b9 Fixed: Recent changes to log messages prevented curl fallback from being triggered for tls1.2.
fixes #2089
2017-08-02 23:19:26 +02:00
Taloth Saldono dbcfacbebe Updated Sentry DSN. 2017-08-01 20:09:44 +02:00
Taloth Saldono f305331565 Fixed: http->https redirects do not use the tls1.2 curl fallback.
fixes #2082
2017-08-01 19:31:10 +02:00
Taloth Saldono ac837c8f74 Added a bunch of extra MediaInfo formats. 2017-07-31 15:21:47 +02:00
Taloth Saldono 27dca830cc Updated MediaInfo schema and revised logic that Formats it. Also added logic to log events to Sentry. 2017-07-30 22:47:48 +02:00
Taloth Saldono f91e1a3576 Tweaked error message when TransferFile destination already exists. 2017-07-29 15:34:23 +02:00
Taloth Saldono b02d0a33b1 Better error message for DNS exceptions on mono. 2017-07-29 13:06:21 +02:00
Taloth Saldono 8e63f7d436 Change default tls provider so users won't have to set TLS_PROVIDER explicitly. 2017-07-29 11:35:10 +02:00
Taloth Saldono 84d2d6a1d5 Fixed: Slower daemon startup loop if Sonarr runs into non-recoverable errors such as unwritable pid/appfolder/config file. 2017-07-28 23:40:12 +02:00
Taloth Saldono 1b6d6c26d5 Fixed HttpUri parsing of domain names with underscores. 2017-07-28 20:01:29 +02:00
Taloth Saldono 792773323c Check for whitespace in IsValidUrl.
closes #2020
2017-07-26 22:57:38 +02:00
Taloth Saldono 11926d8b2d Fixed: Support for Mono 5.x with the newer BoringTLS provider. 2017-06-30 21:33:41 +02:00
Mark McDowall 601b54c244
Reorder HttpMethods to match RestSharp 2017-06-28 16:11:05 -07:00
Taloth Saldono e83e852e0d Added ability for HealthChecks to run on specific events. 2017-05-27 20:45:01 +02:00
Taloth Saldono 95c81f8905 Fixed exception in MountCheck if RootDirectory cannot be found. 2017-05-10 23:08:17 +02:00
Kyse 1b32411219 New: Health Check warning if series folder is mounted with 'ro' option on linux
Closes #1867
2017-05-09 21:07:24 +02:00
Lloyd Sparkes 0bbb82c67f Update SocksWebProxy to fix #1641 2017-04-29 17:11:55 +02:00
Mark McDowall b485bdaeec Fixed: Unable to execute custom scripts if IMDB ID is null
Fixes #1825
2017-04-08 08:20:57 -07:00
Taloth Saldono b70d167911 Apply Cleanse to Exception Data as well. 2017-04-08 12:38:39 +02:00
Taloth Saldono 35741b9cae Added a few more files to ignore during file copy. 2017-04-07 22:07:42 +02:00
Taloth Saldono c9d1807670 Sentry should use CleanseLogMessage. 2017-04-07 20:42:39 +02:00
Jamie Magee f3263efa52 Upgrade SharpRaven
From 2.1.0 to 2.2.0
2017-03-09 19:48:11 -08:00
Jamie Magee 781df8b20a Upgrade NLog
From 4.4.1 to 4.4.3
2017-03-09 19:48:10 -08:00
Mark McDowall ebcce05588 Fixed: Parsing headers that have a trailing semi-colon
Fixes #1749
2017-03-09 15:40:13 -08:00
Taloth Saldono bbf2134fe1 Fixed: Deluge 1.3.14 API support due to changed json-rpc checks.
fixes #1738
2017-03-06 20:14:34 +01:00
Taloth Saldono 2abaef16f1 Fixed Indexer Health Checks and tests. 2017-02-28 20:59:22 +01:00
Taloth Saldono 2f6d9e191e Fixed: Ignore .nfs* files during copy actions since those files are special NFS files that should never be touched.
fixes #1552
2017-02-09 19:33:28 +01:00
Keivan Beigi 15e07f72d4
Better Runtime names 2017-01-20 20:54:04 -08:00
Keivan Beigi d5e720c404
include os name, runtime name in version tag for sentry 2017-01-20 20:16:34 -08:00
Keivan Beigi c9a8ebc2e6
Create anonymous hash to detect issue duplication 2017-01-20 20:15:49 -08:00
Keivan Beigi cea6469ab8
Use nameof 2017-01-17 11:47:06 -08:00
Keivan Beigi ed2e4d0f1d Sentry will now back-off if it's API key is revoked. 2017-01-06 11:55:54 -08:00
Keivan Beigi 0bdc137093 Smaller sentry payload, send machine name as user name 2017-01-05 17:43:24 -08:00
Keivan Beigi cd7e208efa Revert "Use line number instead of message for sentry fingerprint"
This reverts commit 5f339c0a92.

# Conflicts:
#	src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs
2017-01-05 17:43:24 -08:00
Keivan Beigi 73840dcacc The great logger.Error cleanup! 2017-01-05 17:43:24 -08:00
Keivan Beigi e45d4f60a4 Moved Fatal logging to use nlog patterns 2017-01-05 17:43:24 -08:00
Keivan Beigi 782efcfaf1 Added a one hour debounce of reporting the same errors to sentry 2017-01-05 17:43:24 -08:00
Keivan Beigi 76a7d4f866 Use line number instead of message for sentry fingerprint 2017-01-05 17:43:24 -08:00
Keivan Beigi d61976251e Apparently RemoveTarget doesn't do what you expect it to do. 2017-01-05 10:46:16 -08:00
Keivan Beigi 2487e8ed49 Don't report errors that don't have exceptions 2017-01-05 10:25:50 -08:00
Keivan Beigi 54bc642476 Fixed: OS Version detection shouldn't break user agents. Fixes #1611 2017-01-05 10:25:05 -08:00
Keivan Beigi 6577b0a721 Don't include null in sentry fingerprint if even has no exception 2017-01-04 23:28:51 -08:00
Keivan Beigi bcd67dee5e Added fingerprint to sentry events to allow better grouping 2017-01-04 20:01:43 -08:00
Keivan Beigi dd7fdd8ace Disable Sentry Reporting based on analytics flag 2017-01-04 17:56:29 -08:00
Keivan Beigi a1f112e62f Added branch name to Assembly Info 2017-01-04 14:20:13 -08:00
Keivan Beigi 053c730799 Added Sentry error reporting 2017-01-04 14:19:53 -08:00
Keivan Beigi 61579cfb7e Consider /buildAgent/ to be a none production startup path 2017-01-04 14:19:50 -08:00
Keivan Beigi 92d706a10d Updated bindingRedirect for Newtonsoft.Json 2017-01-04 14:18:38 -08:00
Keivan Beigi 6ae5829439 Removed duplicated code from ContainerBuilders 2017-01-04 14:18:37 -08:00
Keivan Beigi 8252a2a60f RIP 2017-01-04 00:19:32 -08:00
Keivan Beigi ad7d571b24 New: Better platform detection specifically for Non-Windows Systems 2017-01-03 18:37:23 -08:00
Keivan Beigi fdb5ccdae1 Updated Newtonsoft.Json from 6.0.6 to 9.0.1 2016-12-28 22:41:47 -08:00
Keivan Beigi a2ce435239 Upgraded Nlog, NCrunch 2016-12-28 22:41:46 -08:00
Keivan Beigi 0214c8e0f0 Removed unused using statements 2016-12-23 13:45:24 -08:00
Keivan Beigi aba613acd1 Because it's 2016! 2016-12-21 20:38:37 -08:00
margaale 8d776abb48 Fixed: Handle download clients sending invalid content-type header.
DownloadStation incorrectly surrounds charset with double-quotes. whereas the http standard specifies they must be without quotes.

fixes #1586
2016-12-20 20:54:44 +01:00
Keivan Beigi da52e60f36 Upgraded Nlog/RestSharp/Selenium 2016-12-12 11:17:15 -08:00
Lloyd Sparkes cf662291d5 Fixed: Lingering Socks5 Proxy sockets when proxy is using dynamic ips 2016-12-04 16:43:18 +01:00
Mark McDowall d3890bd712 New: Health check warning for macOS when running from App Translocation folder 2016-11-02 11:12:24 -07:00
Taloth Saldono f8d97cac7d Fixed: FileBrowser not displaying drive letters on Windows.
fixes #1535
2016-11-01 20:22:12 +01:00
Taloth Saldono 7ef1ca8a00 Fixed: Tweaked ratelimit logic for rarbg api. 2016-09-29 21:42:08 +02:00
Taloth Saldono a0b4d3a38d Removed conflicting criteria from IsProduction check. 2016-09-20 21:30:46 +02:00
Mark McDowall 2e96c4e798 New: Parse existing subtitles and extra files
Towards #459
2016-09-17 01:27:15 -07:00
Taloth Saldono 816cf608fc Fixed: Added fallback and log errors when Tls1.2 clashes with https certificate with obsolete md5 hash. 2016-09-13 22:57:07 +02:00
Taloth Saldono 4bf3ef45b0 Fixed: Auto-Updater rollback logic tries to restore unchanged files. 2016-09-10 12:56:27 +02:00
Taloth Saldono 5414dadffc Fixed stupid error. 2016-09-03 12:57:30 +02:00
Mark McDowall 5482fa3ae0 New: Support for TLS 1.1 and 1.2 connections when only .net 4.5 is installed. 2016-09-03 12:11:06 +02:00
Taloth Saldono 222ed1eb4b Changed startup loglevel to avoid incorrect sonarr.debug/trace log entry. 2016-08-16 22:10:03 +02:00
Taloth Saldono 73fb216e6f New: Added CAPTCHA support to Rarbg. 2016-08-13 22:10:42 +02:00
Mark McDowall e4adc1d3a1 Fixed: Include afpfs mount points in free space checks
Fixes #1399
2016-08-13 11:27:58 -07:00
Taloth Saldono 90b5947a19 Fixed Deluge and BTN cleanse password logic. 2016-07-24 01:00:36 +02:00
Taloth Saldono d4bab775df Updated NLog to 4.3.4. 2016-06-11 00:24:07 +02:00
Mark McDowall f0437d1f22 Fixed: Ignore more folder names when browsing file system 2016-06-03 19:12:33 -07:00
Mark McDowall ff3fc8de2e Replace octal characters from mounts in /proc/mounts
Fixed: Replace octal characters in mount points
Closes #1295
2016-06-01 21:24:41 -07:00
Taloth Saldono 54c17de849 New: Http/Socks proxy support.
fixes #732
2016-05-22 15:57:38 +02:00
Mark McDowall 12a1865d4d Service now depends on HTTP Service (http) 2016-05-21 23:31:39 -07:00
Taloth Saldono 229986033c Added logging of Sonarr API calls. 2016-05-11 21:13:31 +02:00
Mark McDowall e2d6d374ab Update HttpAccept.Rss to include application/xml 2016-05-10 15:18:27 -07:00
Taloth Saldono 0f1afd416b Fixed: Adjusted BTN Recent Feed (RssSync) to better use their api db indexes. 2016-05-10 21:43:34 +02:00
Lloyd Sparkes 2b11ad4585 Proxy BypassList tests
Lightly refactored and updated documentation to make it easier for users
2016-05-02 11:24:51 +01:00
Lloyd Sparkes 5fae8e7762 Updating SocksWebProxy to fix issues with POST Requests 2016-05-01 11:51:30 +01:00
Taloth Saldono b479064abd Moved Proxy types around and refactored/renamed a few things. 2016-04-25 21:53:26 +02:00
Taloth Saldono 9e7927acec Create HttpProxySettingsProvider and fixed related issues. 2016-04-25 20:22:52 +02:00
Lloyd Sparkes f807e44a39 Force to IPv4 2016-04-24 17:01:01 +01:00
Lloyd Sparkes d68abc746c Bug Fixes 2016-04-24 16:56:31 +01:00
Lloyd Sparkes 6fdbb2b659 Fix merging issues & API changes - that conflict resolution did not detect 2016-04-23 11:06:10 +01:00
Lloyd Sparkes bfe134ee54 Proxy Support for Sonarr #732
Switch to use Port #0 which just uses the next free port
Non Functional - Code Cleanup
Tabs -> Spaces,
Opps Deleted too much
Refactoring & Code Cleanup & Move Config to DB
remove unneeded line
Clean Up Spaces
Code Review Points on the UI
FIx extra space
Clean Up unrequired changes
Add a HealthCheck.
Extra Check in ProxyCheck. Correctly deal with Socks Authentication
Remove SubModule
Add in Nuget + Tweak ProxyCheck
Code Review Points
Missed Review Point
Add Subnet Filtering, Add ProxyBypass for local addresses. UI updated for property changes.
Fix typo, and copy&paste error
Tweak URL to hit
2016-04-23 10:58:02 +01:00
Taloth Saldono cc0406653a Readded logging Download Client responses. 2016-04-06 22:53:14 +02:00
Taloth Saldono 71ecc96c70 Refactored IntegrationTests to work with Nunit3 VS adapter. 2016-04-06 22:06:40 +02:00
Taloth Saldono 96b7bd3b2b Merge branch 'http-uri-combine-path' into develop 2016-04-06 21:34:20 +02:00
Taloth Saldono e1ea17cabf Fixed: uTorrent api proxy would fail on specific Win10 configurations. (The Phoenix Rises)
Moved token queryparam to start since uTorrent requires it.
Fixed handling response missing an expected Set-Cookie header.
Force Cache-Control: no-cache for uTorrent.
Added Connection: KeepAlive to fix inexplicable uTorrent api failure.
2016-04-05 23:49:28 +02:00
Taloth Saldono 3a162be265 CombinePath now simple, uri resolve done via operator and CombineRelativePath. 2016-04-05 23:42:10 +02:00
Mark McDowall 502298aab9 Cleanup HttpUri.PathCombine 2016-04-03 18:47:43 -07:00
Taloth Saldono 3ea59cd91b Don't set ACL if already set. 2016-03-26 19:31:12 +01:00
Taloth Saldono 8b1c022244 Updated NLog to 4.3.0-rc1. 2016-03-26 19:31:09 +01:00
Taloth Saldono 2d96914bfa Send Http auth without waiting for challenge. 2016-03-17 20:15:53 +01:00
Taloth Saldono 70494c3674 Adding magnet to qbit should use FormData not QueryParam. 2016-03-17 19:49:05 +01:00
Taloth Saldono eb70a6419c Fixed: Not uploading nzbs to Nzbget on linux since previous develop. 2016-03-17 07:53:23 +01:00
Taloth Saldono 19b8fb6d8b Merge branch 'blackhole-delay' into develop 2016-03-15 21:47:18 +01:00
Taloth Saldono d4bc835b1c New: Delaying Blackhole imports while they're still being updated. 2016-03-15 21:46:40 +01:00
Taloth Saldono 25d481d5d9 Migrated all Download client proxies from RestSharp to HttpClient. 2016-03-11 20:36:03 +01:00
Taloth Saldono 23871503a2 Replaced Uri with HttpUri. 2016-03-11 20:36:01 +01:00
Taloth Saldono 7c54fa70d7 Added support for FormData (AddFormParameter and AddFormUpload), which automatically gets converted to multipart/form-data or application/x-www-form-urlencoded. 2016-03-11 20:35:59 +01:00
Taloth Saldono 2ffbbb0e71 Refactored HttpRequest and HttpRequestBuilder, moving most of the logic to the HttpRequestBuilder.
Added ContentSummary to be able to describe the ContentData in a human readable form. (Useful for JsonRpc and FormData).
2016-03-11 20:35:58 +01:00
Taloth Saldono 7818f0c59b Fixed: Don't purge xem scene mapping cache when new series gets added. 2016-03-11 17:31:06 +01:00
Taloth Saldono 55e870f295 Added version to logged exceptions. 2016-03-01 22:05:34 +01:00
Taloth Saldono 59c68ec6cc Write debug/trace log files separately to prevent trace from quickly rolling over debug. 2016-02-18 23:32:37 +01:00
Taloth Saldono a5077b0b1b Replaced <removed> with (removed) for the log cleanser so it doesn't mess with forums. 2016-02-18 23:32:36 +01:00
Taloth Saldono 6a90035a4c Updated NLog to v4.2.3. 2016-02-11 22:15:12 +01:00
Taloth Saldono e01b2ef25c Fixed some compile warnings. 2016-02-11 22:11:53 +01:00
Taloth Saldono 1c92ea58da Fixed: Replaced mono symlink resolve logic to better handle errors. 2016-02-11 21:12:42 +01:00
Mark McDowall 5d05a85411 Delete the subfolder not the parent folder 2016-02-11 00:54:52 -08:00
Mark McDowall 1a5eafd2b1 New: Remove empty subfolders after renaming FileSetLastWriteTime
Closes #490
2016-02-11 00:38:44 -08:00
Taloth Saldono 68540cb479 Certain log messages didn't include the exception. 2016-02-07 00:23:13 +01:00
Taloth Saldono 4e84d1a17c Fixed: Throw more specific error when there's an issue with the curl root certificate bundle. 2016-02-02 22:11:39 +01:00
Taloth Saldono 97cdb6a4a5 Fixed: ZFS and other mounts now listed in the System page.
Will now also automatically revert to a fully transactional move/copy if the move is in our out of a cifs mount. (assuming the cifs mount can be detected)
2016-02-02 22:11:37 +01:00
Taloth Saldono 45d4371328 Fixed: Additional log cleanse Regex to keep even more sensitive information out of the logs.
fixes #1051
2016-01-20 21:57:10 +01:00
Taloth Saldono 902e0dd5d6 Updated SharpZipLib to include patches made since the last official release. 2016-01-20 21:16:02 +01:00
Keivan Beigi 845689401d removed msbuild integerated nuget restore 2016-01-16 16:17:36 -08:00
Mark McDowall 7c382c0e0c NZBVortex Download Client
New: NZBVortex Download Client
Closes #360
2016-01-07 15:50:52 -08:00
Taloth Saldono 663d254ced Fixed Ospath incorrectly detecting arbitrary colon as windows path. 2015-12-30 21:01:29 +01:00
Taloth Saldono b59175a87c Fixed: Indexer sites returning date as Retry-After header.
fixes #994
2015-12-28 20:24:23 +01:00
Taloth Saldono eaf3228bb7 Fixed Regex mistake in CleanLogMessage. 2015-12-28 20:24:21 +01:00
Taloth Saldono 7e1c444c02 Fixed: Curl Fallback should ignore invalid cookies. 2015-12-24 19:30:16 +01:00
Taloth Saldono 44de353b8b Sanitize dognzb apikey in nzb fetch url. 2015-10-25 23:15:21 +01:00
Taloth Saldono aac4938598 Fixed handling cookies in different system languages.
fixes #896... hopefully
2015-10-25 22:57:37 +01:00
Taloth Saldono cc72699b8a Fixed: Added verified file transfer mode that doesn't revert to copy. 2015-10-22 23:19:21 +02:00
Mark McDowall 04de0049fe Don't try to process a download client item with an invalid path for the OS 2015-10-21 15:06:54 -07:00
Taloth Saldono 25aa3b60b0 Don't be so strict about dupe attr values. 2015-10-11 00:26:00 +02:00
Taloth Saldono fe76d0f98f Refactored the HttpDispatchers. 2015-10-10 22:20:17 +02:00
Taloth Saldono 828071c1a5 Merge branch 'pr/n721_ta264' into develop 2015-10-10 20:37:53 +02:00
Taloth Saldono bb482047b1 Fixed removing partials before trying to copy files. 2015-10-09 00:01:31 +02:00
ta264 4be0fe1b76 Add tests for CurlHttpClient and fix the failures 2015-10-04 11:11:58 +01:00
Taloth Saldono 0b219e1169 Fixed nullables. 2015-10-03 21:19:25 +02:00
Taloth Saldono ccfa13e383 Replaced built-in valuetypes with language keywords. 2015-10-03 21:14:06 +02:00
kmcc049 07b70f9d3f Fixed: Consistent display of sizes
Closes #709
2015-09-24 06:30:49 +12:00
Taloth Saldono 30bcc662bc Fixed composition. 2015-09-21 23:22:34 +02:00
Taloth Saldono 57afa668e1 Fixed: Removing torcache url query params to avoid redirect.
fixes #799
Removing query param was cleaner coz it avoids spoofing the referrer.
2015-09-21 22:01:42 +02:00
Mark McDowall 5acaf9d60b Fixed: Preserve startup arguments during restart
Closes #325
2015-09-02 23:12:27 -07: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 9bcb6ff19a New: Sonarr can now update series to use another tvdbid in case when tvdb removes a duplicate and Skyhook detects it. 2015-08-12 22:07:47 +02:00
Taloth Saldono 7eeabd7ca3 Fixed: Updated libcurl version mappings to use libcurl.4 instead of libcurl.3. 2015-07-26 22:05:08 +02:00
Keivan Beigi 9b16e3b538 _output folder is considered a non-prodction folder 2015-07-21 19:43:06 -07:00
Taloth Saldono 5af12b67be Revert "Fixed: Disabled transactional file transfers since we don't want that feature in master yet."
This reverts commit ada5919136.
2015-07-21 21:26:15 +02:00
Taloth Saldono f2a70677e4 New: Will now temporarily stop using an indexer if the indexer reported an error. 2015-07-20 21:09:16 +02:00
Mark McDowall 0f2bba0615 Custom scripts
New: Run custom scripts (Connection)

Closes #439
2015-07-20 10:49:54 -07:00
Taloth Saldono 08ebc8d292 Don't list drives that aren't available. 2015-07-17 23:51:33 +02:00
Taloth Saldono ada5919136 Fixed: Disabled transactional file transfers since we don't want that feature in master yet. 2015-07-17 20:17:46 +02:00
Taloth Saldono bfa629f431 Refactored VerifiedFile transfer to have a verified and transactional mode. 2015-07-17 20:16:49 +02:00
Taloth Saldono 51155ba909 Applied workaround for CurlSharp GC handling. 2015-07-12 23:17:23 +02:00
Taloth Saldono 786e0b825a Fixed curl multithreaded access. 2015-07-12 21:45:22 +02:00
Taloth Saldono 1eb6629088 Fixed: Updater occasionally killed Sonarr twice before allowing it to be restarted by upstart.
Fixed: Updater killed itself during update on debian jessie.
2015-07-08 20:54:47 +02:00
Taloth Saldono 103de770c3 Fixed thread concurrency issue on http cookie handling. 2015-07-08 20:05:03 +02:00
Taloth Saldono 527122452c New: Fallback to libcurl/libssl on mono for https connections. 2015-06-27 01:44:23 +02:00
Taloth Saldono c9f720885e Fixed: Renaming episodes on OSX with case-insensitive filesystem. 2015-06-27 01:03:07 +02:00
Taloth 51f705d89a Merge pull request #139 from Sonarr/verified-file-transfer
Verified file transfer
2015-06-16 22:36:18 +02:00
Mark McDowall 4c1e211675 Fixed: Speed up disk rescaning during series refresh 2015-06-13 00:42:16 -07:00
Mark McDowall 6fd7a64330 GetCurrentProcessId for PidFileProvider 2015-06-05 23:12:41 -07:00
Taloth Saldono 546f4ab577 Disabled verified file transfer on windows. 2015-06-05 22:51:16 +02:00
Taloth Saldono 5effca92b8 New: Now checks the file size of moved episodes to verify if the transfer was completed successfully to be able to detect errors with mounted network storage. 2015-06-05 21:59:41 +02:00
Taloth Saldono 78ade3250c Added RateLimit service to globally manager short duration ratelimits. 2015-05-29 01:10:49 +02:00
Taloth Saldono 6744e0d506 New: Added support for Rarbg as replacement for Eztv. 2015-05-25 14:28:32 +02:00
Lars Johnsen a79fc94a54 Compilation: Fix case inconsistencies 2015-05-12 23:17:51 +02:00
Keivan Beigi cce280d260 HashAlgorithm.ComputerHash isn't thread safe, 2015-05-11 16:07:09 -07:00
Taloth Saldono cf9391a7a3 Updated Container to handle Singleton Implementations instead of Singleton Interfaces. 2015-05-09 21:36:48 +02:00
Taloth Saldono d0bf539a73 Fixed: A season pack import taking a long time should no longer cause the download to be deleted prematurely. 2015-05-09 10:10:16 +02:00
Mark McDowall 6dd22e7dcb New: Manual Import episodes 2015-05-05 08:41:39 -07:00
Mark McDowall 0c6ca6971d Fixed: Do not replace a file unless it contains the same episodes 2015-05-05 07:29:38 -07:00
Mark McDowall 918fcac2aa Fixed: Generic SignalR messages no longer treated as errors 2015-04-28 07:28:05 -07:00
Taloth Saldono ee87537848 Response cookies not stored by default. 2015-04-13 23:44:24 +02:00
Taloth Saldono ccfd66260d Fixed: BitMeTv cookie will now also be used for the fetching the torrent file. 2015-04-02 21:06:05 +02:00
Taloth Saldono 971e159fa4 Replaced a couple more NzbDrone with Sonarr. Left a couple that implied process name. 2015-03-23 20:56:28 +01:00
Mark McDowall 638e3ca898 Command queue
New: Adding multiple series will queue them instead of running all at once
New: Slower scheduled tasks won't be block others from running
2015-03-16 22:07:02 -07:00
Taloth Saldono 593c4b8182 Update test for redirect diagnostic. 2015-03-15 02:00:44 +01:00
Taloth Saldono a3873634b0 Fixed TorrentBlackhole failing fatally on magnet link instead of falling back to torrent url. 2015-03-15 01:49:11 +01:00
Taloth Saldono 96469be7f0 Fixed: Can now specify a cookie for BitMeTv. 2015-03-14 22:39:19 +01:00
Mark McDowall 3ed8f0ea84 Fixed: Not properly getting the parent of a folder with a trailing slash
GetParentFolder will trim trailing slashes
2015-02-13 16:53:01 -08:00
Mark McDowall d1df5ed7cd New: Logging level in settings will be used for Console logging 2015-02-11 17:05:27 -08:00
Taloth 5750f012cb Merge pull request #180 from Sonarr/updatecheck-fixes
Updatecheck fixes
2015-02-08 21:21:24 +01:00
Mark McDowall 20782bbbc1 Episode import improvements
Fixed: Use folder name when file name is not parsable on import
2015-02-08 00:07:08 -08:00
Taloth Saldono 11803afc39 Added FolderWritable to DiskProvider to centralize the check. 2015-02-07 16:24:22 +01:00
Taloth Saldono 0934900cab Updated exception handler to ignore certain types of exceptions. 2015-02-07 15:22:25 +01:00
Mark McDowall d5cc261985 Spawn new mono processes with --debug 2015-02-05 23:31:15 -08:00
Taloth Saldono 35ab3a28fd New: MediaCover api now includes several resized variants to save bandwidth for mobile apps.
banner-35.jpg (height)
banner-70.jpg
fanart-180.jpg (height)
fanart-360.jpg
poster-170.jpg (width)
poster-340.jpg
2015-01-29 19:27:09 +01:00
Mark McDowall 9e11745cb2 Fixed: Conflicts with mono 3.12 2015-01-14 16:58:21 -08:00
Taloth Saldono c19a393f99 Now generating unique ids for queue items sent to the api. 2015-01-11 20:48:35 +01:00
Mark McDowall daafb67fa7 New: MediaBrowser notifications 2015-01-08 22:47:59 -08:00
Keivan Beigi 46bf80dcd1 fixed: increased tvdb search limit to 10 2014-12-30 20:24:35 -08:00
Taloth Saldono d931626aee Size formatted culture invariant. 2014-12-21 20:08:59 +01:00
Mark McDowall 6878804705 Fixed: File browser ordering and volume name 2014-12-20 13:24:29 -08:00
Mark McDowall 85a9b74008 File Browser
New: File Browser to navigate to folders when choosing paths
2014-12-19 23:32:47 -08:00
Keivan Beigi 3d1e0e7042 Merge pull request #158 from Sonarr/update-handshake
Update handshake
2014-12-18 16:57:08 -08:00
Keivan Beigi a6d34caf2c New: Rebuilt Completed/Failed download handling from scratch 2014-12-18 16:26:42 -08:00
Keivan Beigi cb3d5fbfe7 Pass data cmd argument between application and update. 2014-12-17 14:47:45 -08:00
Keivan Beigi a3042197c5 GlobalExceptionHandlers are now registered with other loggers 2014-12-16 23:36:33 -08:00
Keivan Beigi 0a341199a8 safer log configuration 2014-12-16 23:12:26 -08:00
Keivan Beigi 493a3c9724 Added Logentries to track down automatic upgrade issues 2014-12-16 15:35:42 -08:00
Mark McDowall c10f02e0b1 More test cases for human readable bytes 2014-12-15 13:08:22 -08:00
Mark McDowall 6d31b14d96 Fixed: Humanized size show same values as size settings 2014-12-15 12:16:01 -08:00
Keivan Beigi f4c202441c Cleaned up environment detection 2014-12-07 12:56:47 -08:00
Keivan Beigi cf77104a02 removed redundant else 2014-12-06 23:23:11 -08:00
Keivan Beigi 3b087ba922 minor cleanup 2014-12-06 22:08:51 -08:00
Keivan Beigi 0be8f55a2f Cleaned up using directive 2014-12-06 21:55:17 -08:00
Mark McDowall 7d96d4d644 Log cert issues at debug (need to deal with self signed certs) 2014-12-06 09:07:13 -08:00
Keivan Beigi 71638ec77e switched services to http 2014-12-05 14:23:30 -08:00
Keivan Beigi 3ce65eec08 Log HTTPS cert errors 2014-12-05 14:05:30 -08:00
Keivan Beigi 664ec45360 log cert errors 2014-12-04 22:28:46 -08:00
Keivan Beigi c4e684fbd3 update usages of nzbdrone.com to sonarr.tv 2014-12-04 17:54:37 -08:00
Mark McDowall 2de837558b Fixed compilation 2014-12-01 22:48:11 -08:00
Mark McDowall 935b9e5f4e New: Use the ID returned from SABnzbd (0.7.20) during retry 2014-12-01 22:39:27 -08:00
Mark McDowall 6467167046 Moved Extension methods in common to subfolder 2014-12-01 22:26:25 -08:00
Mark McDowall 3c1df5693c Cleanse API key from logs for omgwtfnzbs 2014-11-29 17:15:40 -08:00
Mark McDowall 3f8366a190 New: Search for previously aired episodes that were just added to the database 2014-11-26 23:08:17 -08:00