Commit Graph

635 Commits

Author SHA1 Message Date
Mark McDowall b8b8f064c7 FirstCharToLower 2019-07-25 13:39:35 +01:00
ta264 5ac46270ed New: Set KeepAlive for metadata requests 2019-07-24 19:34:27 +01:00
ta264 0f6a3bca0c New: Sentry to 1.2.0 2019-06-10 11:38:34 -04:00
Qstick 4eb815aa0e New: Migrate to PackageReference Format 2019-06-10 11:38:34 -04:00
Qstick b5d502bd5d Fixed: Long Path Support on Mono and .Net 2019-06-10 11:38:34 -04:00
Qstick 70155cae18 New: Target .net 4.6.2 2019-06-10 11:38:34 -04:00
ta264 166fc90454 New: Only scan files that are new or updated (#760)
* New: Only scan files that are new or updated

Pass through filter correctly

Add more tests

Add tests for migration 30

* Fix windows disk provider

* Don't publish deleted event for unmapped file

* Fix test on windows
2019-06-08 15:13:58 -04:00
Qstick 499ec06664 Fixed: Throw Startup Exception on Same Port for SSL 2019-05-04 20:28:48 -04:00
Qstick 5643923299
Fixed: Reverted in-memory signalr keypair in favor of a .config directory (#722) 2019-04-06 22:22:19 -04:00
ta264 4be01a5a95
Disable update for docker containers (#715)
Also add docker info to about page and sentry context
2019-04-05 16:47:26 +01:00
ta264 e27369686b
A remote path mapping health check (#617) 2019-04-04 16:15:43 +01:00
Qstick 77e4c99713
Fixed: 0.6 Analytics Bump 2019-03-31 11:57:44 -04:00
ta264 d5c69d0375
Set sentry environment to be develop/nightly based on config file (#703)
* Set sentry environment to be develop/nightly based on config file

Also add details on sqlite version and database migration.  The
separate ReconfigureSentry class is required because
ReconfigureLogging happens before the database has been resolved, so
you can't access IMainDatabase there

* Set environment to develop/nightly in frontend too
2019-03-28 09:26:39 +00:00
Qstick 4d8bcd12e3
Fixed: Cutoff Specification not Respecting Profile Order (#660)
* Fixed: Cutoff Specification not Repsecting Profile Order

* Fixed: Incorrect wording in UpgradeAllowed logging

* Fixed: Change Logic to update if upgrade for any, downgrade for none.

* Fixed: Removed Double Preferred Word Logic

* New: Add Test Cases to Disk Upgrade Spec

* Fixed: Cleanup UpgradableSpecification

* Add ConcatToString extension and fix logging

* Fixed: Enum Naming, Commas
2019-03-21 18:02:16 -04:00
ta264 0ebaa90f54
Fixed: Actually filter TinyIoC errors from sentry and add tests (#685) 2019-03-21 16:45:37 +00:00
ta264 6548f4b1b7 Fixed: Filter TinyIoC.TinyIoCResolutionException from Sentry 2019-03-15 09:38:14 +00:00
ta264 1c7ded859b Fixed: More improvements to sentry logging (#669)
* Only add the exception message for some types

* Cleanse exception messages also

* Don't put exception message into log

It breaks the sentry grouping

* Combine the two calculations of fingerprint
2019-03-13 19:10:58 -04:00
Qstick 60284f9ed8 Fixed: DriveInfo sees snap apps, handle at higher level 2019-03-11 21:41:44 -04:00
Tom Andrews 26d1d78204 Fixed: Group sentry NRE events across platforms 2019-03-10 22:55:13 +00:00
ta264 902f0c115b
Fixed: Sentry version mismatch (#666)
* Downgrade to 1.0.3

* Fix ShortenPath when cross-compiled
2019-03-11 16:19:12 +00:00
ta264 c7a772363f
Pre-filter some events before sending to sentry (#654)
* Filter some errors from Sentry and add exception message to fingerprint

* Move to new Sentry SDK
2019-03-11 12:21:27 +00:00
Qstick 1e48ea58b0
New: Add qBittorrent API V2 support, Indexer seed limit Support (#653)
* Fixed: qBittorrent api v2 support (qbit v4.1+)

Co-Authored-By: taloth <taloth@users.noreply.github.com>
Co-Authored-By: Mark Bebbington <mark@thebebs.uk>

* Fixed: Magnet Link progress visualisation and adding magnet links if dht is disabled in qBittorrent

* New: Indexer Seed Limit settings applied to new downloads for qBit

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* Handle Deluge v2 beta breaking change in their api.

closes #2412

* Fixed: Codacy Format Issues
2019-03-03 21:53:46 -05:00
Qstick 3f064c94b9
New: Release Profiles, Frontend updates (#580)
* New: Release Profiles - UI Updates

* New: Release Profiles - API Changes

* New: Release Profiles - Test Updates

* New: Release Profiles - Backend Updates

* New: Interactive Artist Search

* New: Change Montiored on Album Details Page

* New: Show Duration on Album Details Page

* Fixed: Manual Import not working if no albums are Missing

* Fixed: Sort search input by sortTitle

* Fixed: Queue columnLabel throwing JS error
2019-02-23 17:39:11 -05:00
ta264 bb02d73c42 Whole album matching and fingerprinting (#592)
* Cache result of GetAllArtists

* Fixed: Manual import not respecting album import notifications

* Fixed: partial album imports stay in queue, prompting manual import

* Fixed: Allow release if tracks are missing

* Fixed: Be tolerant of missing/extra "The" at start of artist name

* Improve manual import UI

* Omit video tracks from DB entirely

* Revert "faster test packaging in build.sh"

This reverts commit 2723e2a7b8.

-u and -T are not supported on macOS

* Fix tests on linux and macOS

* Actually lint on linux

On linux yarn runs scripts with sh not bash so ** doesn't recursively glob

* Match whole albums

* Option to disable fingerprinting

* Rip out MediaInfo

* Don't split up things that have the same album selected in manual import

* Try to speed up IndentificationService

* More speedups

* Some fixes and increase power of recording id

* Fix NRE when no tags

* Fix NRE when some (but not all) files in a directory have missing tags

* Bump taglib, tidy up tag parsing

* Add a health check

* Remove media info setting

* Tags -> audioTags

* Add some tests where tags are null

* Rename history events

* Add missing method to interface

* Reinstate MediaInfo tags and update info with artist scan

Also adds migration to remove old format media info

* This file no longer exists

* Don't penalise year if missing from tags

* Formatting improvements

* Use correct system newline

* Switch to the netstandard2.0 library to support net 461

* TagLib.File is IDisposable so should be in a using

* Improve filename matching and add tests

* Neater logging of parsed tags

* Fix disk scan tests for new media info update

* Fix quality detection source

* Fix Inexact Artist/Album match

* Add button to clear track mapping

* Fix warning

* Pacify eslint

* Use \ not /

* Fix UI updates

* Fix media covers

Prevent localizing URL propaging back to the metadata object

* Reduce database overhead broadcasting UI updates

* Relax timings a bit to make test pass

* Remove irrelevant tests

* Test framework for identification service

* Fix PreferMissingToBadMatch test case

* Make fingerprinting more robust

* More logging

* Penalize unknown media format and country

* Prefer USA to UK

* Allow Data CD

* Fix exception if fingerprinting fails for all files

* Fix tests

* Fix NRE

* Allow apostrophes and remove accents in filename aggregation

* Address codacy issues

* Cope with old versions of fpcalc and suggest upgrade

* fpcalc health check passes if fingerprinting disabled

* Get the Artist meta with the artist

* Fix the mapper so that lazy loaded lists will be populated on Join

And therefore we can join TrackFiles on Tracks by default and avoid an
extra query

* Rename subtitle -> lyric

* Tidy up MediaInfoFormatter
2019-02-16 09:49:24 -05:00
Taloth Saldono 232cfcb42f Fixed: Mono bug causing memory leakage when http connections use gzip
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2019-01-12 15:17:46 -05:00
Qstick d9034981c0 Updated: Sentry secret no longer needed 2019-01-12 15:08:30 -05:00
ta264 c392569a63 New: Update DB to store all releases for an album (#517)
* New: Store all releases for an album and track artists

* Add Overview, links and release date by release

* Tidy up

* Fix metadata refresh errors following musicbrainz edits
2018-12-14 19:02:43 -05:00
Qstick 91aaf8abe6
Update NzbDroneLogger.cs 2018-12-07 00:05:01 -05:00
Qstick 8465c2d227 Fixed: Replace one stupid hack with another. 2018-12-06 22:20:13 -05:00
Qstick 0596215358
New: Prevent Boot Loop if Config file Unauthorized access. (#554)
* New: Prevent Boot Loop if Config file Unauthorized access.

* Update NzbDroneLogger.cs
2018-11-30 21:30:28 -05:00
Qstick 2f6b0c77ea Fixed: Updated error message if services respond with html
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2018-11-18 22:27:16 -05:00
ta264 e260a29b57 Improve the fuzzy matching (#522)
* Fixed: improve track matching

* Deal with tracks sequentially numbered across discs
2018-11-16 12:46:46 -05:00
ta264 eadd6996ef Fuzzy matching (#508)
* Fixed: correctly match albums whose title is all special characters

* New: fuzzy matching on album and track names
2018-10-20 18:09:12 -04:00
Qstick 64a8d02f77
New: Server Side UI Filtering, Error Boundaries (#501)
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-09-22 23:10:50 -04:00
Qstick 328795cb1f Fixed: Don't read response stream if it equals Stream.Null
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-09-14 22:44:56 -04:00
Qstick 68aaa49e9f Fixed: Filter mapped drives when running from service 2018-09-04 22:38:48 -04:00
Qstick 60bb0ac063 New: Queued Task/Command List View
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-08-30 23:07:50 -04:00
Qstick 36b2942cef Added: Allow folders without trailing slashes in file browser
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-08-10 20:46:34 -04:00
Qstick 6581b3a2c5
New: UI Updates, Tag manager, More custom filters (#437)
* New: UI Updates, Tag manager, More custom filters

* fixup! Fix ScanFixture Unit Tests

* Fixed: Sentry Errors from UI don't have release, branch, environment

* Changed: Bump Mobile Detect for New Device Detection

* Fixed: Build on changes to package.json

* fixup! Add MetadataProfile filter option

* fixup! Tag Note, Blacklist, Manual Import

* fixup: Remove connectSection

* fixup: root folder comment
2018-08-07 20:57:15 -04:00
Qstick 9aa40f546f
New: Added optional UrlBase to Nzbget, Sabnzbd, and Subsonic settings (#428)
* New: Added optional UrlBase to Nzbget, Sabnzbd, and Subsonic settings

Fixes #386

* fixup! Remove commented code
2018-07-18 19:05:01 -04:00
Qstick 6cc05fcca3 Added: Log indexer response to Trace if an exception occurs
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2018-06-19 21:44:11 -04:00
Qstick 14fcef8ec0
New: Updated NewtonsoftJson to 11.0.2 (#387) 2018-06-01 22:56:15 -04:00
Qstick 089d213816
New: Nested Settings and Seed Ratio Setting (#379)
* New: Nested Settings and Seed Ratio Setting

* Fixed: Sonarr related variable naming
2018-06-01 21:59:54 -04:00
Qstick 73157534e0
Fixed: Don't download artist images if match existing (#362)
* Fixed: Don't download artist images if existing exists

* fixup: Wrap FileSetWriteTime in try

* fixup! Tests and Rework
2018-05-24 21:08:35 -04:00
Qstick 7bc2d62ba6
Update Nlog to 4.5.4 (#359)
* Update Nlog to 4.5.4

* fixup: Remove Unused References

* fixup: more references
2018-05-20 00:32:40 -04:00
Qstick a3e08c9160 Fixed: Setup remote access for service during install
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-04-26 20:56:19 -04:00
Qstick 307c989409
Revise cookie handling (#315)
* Fixed: Revised handling of cookies in case of redirects.

* Revised deletion of cookies.
2018-04-22 19:49:08 -04:00
Qstick e06858e4bf Sonarr pulls (#310)
* New: Speed up sqlite3 initialization by disabling unused features

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* New: Debounce Command Notifications

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* Changed: Refactored PendingRelease logic for performance

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* Added: Indexes to speed up DecisionMaker performance.

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* New: Cache EventAggregator Subscribers

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* Fixed: Hide fallback pending releases if temporarily delayed

Co-Authored-By: taloth <taloth@users.noreply.github.com>
2018-04-22 08:35:37 -05:00
Qstick 03360ca43f Fixed: Throw LidarrStartupException if can't access AppFolder Location 2018-04-08 00:02:55 -04:00
Daniel Underwood df15dbe462 Fixed: Mono 5.10 compatibility (#220)
* Update NLog to 4.5rc6 to fix compatibility with mono 5.10

* Added console logging in case NLog fails to initialize.

* Revert added references in "Update NLog to 4.5rc6 to fix compatibility with mono 5.10"

This partially reverts commit 13dd224281.

* Change dictionary cast to conversion from Sonarr/Sonarr@99ee59e
2018-03-01 23:02:08 -05:00
Qstick 4f6ab8ec76 Fixed: Typo in GlobalExceptionHandlers.cs 2018-02-03 21:58:50 -05:00
Qstick 26ef43f302
New: Manually Edit/Override Album Release (#181)
* New: Manually Edit/Override Album Release

* !fixup for comments, loading all albums instead of only artist albums
* fixup! UI Cleanup lint issues
* fixup! Remove AddAlbum service for now, fix refresh override selected release
* fixup! Last one... to fix updating albums with custom release set

Closes #109 
Closes #129 
Closes #128
2018-01-17 21:28:47 -05:00
Qstick 744742b5ff New: UI Updates (Backup Restore in App, Profile Cloning)
UI Pulls from Sonarr
2018-01-14 17:11:37 -05:00
Qstick 96c59e2b2b Fixed: Handling of unknown status types in DownloadStation 2018-01-14 14:34:08 -05:00
Qstick a4dacf2812 Fixed: Language Upgrade Tests 2017-12-24 01:22:48 -05:00
Qstick a4e632d95a Fixed: Mono internals does not properly copy/move symlinks, but instead copies the contents. 2017-12-20 22:30:28 -05:00
Daniel Underwood d08d89929a Update services url to https to allow updates to work (#154) 2017-12-17 19:10:48 -05:00
Qstick dd11f74073 New: Add authentication options to Webhook 2017-11-25 22:24:46 -05:00
Qstick 2abeec06fc Fixed: Better import error messages 2017-10-29 21:55:15 -04:00
Qstick b7fab7db0c Log when running tray app 2017-10-29 17:46:54 -04:00
Qstick 37fc1f4dcc Update help output for NzbDrone.Console 2017-10-29 17:35:35 -04:00
Taloth Saldono c222b7acf1 Added jackett apikey to log cleanser. 2017-10-29 00:51:11 -04:00
Taloth Saldono 2fc58115a0 Fixed: Changes in http redirect logic causing failed grabs and >25% cpu usage. 2017-10-29 00:42:50 -04:00
Qstick 25f08bd846 Fixed: Add Unittest for DiskSpaceService irrelevant mounts 2017-10-29 00:42:03 -04:00
Taloth Saldono 1db04eaa1a Fixed: TLS issue for OSX. 2017-10-29 00:34:59 -04:00
Taloth Saldono 846b9f72e0 Lets not take any risks here. 2017-10-29 00:34:03 -04:00
Taloth Saldono bd62a20ddb Fixed: Recent changes to log messages prevented curl fallback from being triggered for tls1.2.
fixes #2089
2017-10-29 00:33:07 -04:00
Taloth Saldono 96d97f873a Fixed: http->https redirects do not use the tls1.2 curl fallback.
fixes #2082
2017-10-29 00:29:22 -04:00
Qstick f219e883ec New: Add Extra Audio Format Unit Test 2017-10-29 00:16:47 -04:00
Qstick 272adfcef7 Fixed: Better error message for DNS exceptions on mono. 2017-10-28 23:58:16 -04:00
Qstick 99ab61fac6 Fixed: Slower daemon startup loop if Lidarr runs into non-recoverable errors 2017-10-28 23:49:54 -04:00
Qstick 311df71acf Fixed HttpUri parsing of domain names with underscores 2017-10-28 23:38:21 -04:00
Qstick b3b90602a2 Fix Mono SecurityProtocolPolicy 2017-10-28 17:43:46 -04:00
Qstick 7e863d61ff Reorder HttpMethods to match RestSharp 2017-10-28 17:13:34 -04:00
Qstick 13bfb73ee9 Upstream Changes to DownloadClients and Indexers 2017-10-26 23:21:06 -04:00
Qstick 10c29a65db Assembly Naming, Default Windows Service Account 2017-10-24 22:31:37 -04:00
Taloth Saldono 18971f9ea2 Check for whitespace in IsValidUrl.
closes #2020
2017-10-08 01:32:25 -04:00
Qstick 4c916f9186 Fix HealthCheck Warning for Artist Folders with 'ro' 2017-10-07 23:26:45 -04:00
Kyse 889b963429 New: Health Check warning if series folder is mounted with 'ro' option on linux
Closes #1867
2017-10-07 23:09:29 -04:00
Qstick 6a4fb9adf3 Seperate Sentry Project for Production/Develop 2017-10-07 16:29:38 -04:00
Qstick 1fd3a43a4f Update AssemblyInfo for Versioning 2017-10-07 15:57:46 -04:00
Qstick c8ed46850a Updates to UI, Update NLog to 4.4.12 2017-10-01 23:05:28 -04:00
Qstick 5003cd8a14 Rename More Sonarr References 2017-09-26 22:06:05 -04:00
Qstick 0201aa812e Add Advanced Option for Alternate Metadata Provider Source 2017-09-20 22:13:14 -04:00
Qstick f460f630c3 Target to .NET 4.6.1, Update SignalR, Owin, Nancy (#84)
* Target .net 4.6.1

* Update to SignalR 2.2.2

* Fix Socks Reference in NZBDrone.Common

* UI Fixes, Build Fixes

* Update Nancy to 1.4.4

* Upgrade Microsoft Owin to 3.1.0

* Delete npm-shrinkwrap.json

* Fix SignalR Messages
2017-09-20 22:05:00 -04:00
Daniel Underwood 02716c26f6
Update metadata api URL 2017-09-14 17:51:26 -04:00
Qstick 77f1d2e64c [UI Work] Add Artist, Import Artist, Calendar 2017-09-07 23:09:52 -04:00
Qstick 95051cbd63 Initial Commit Rework 2017-09-05 23:00:26 -04:00
Qstick 0807fcc616 Cleanse Log Exception Data (#83) 2017-09-02 06:39:21 -04:00
Qstick a292f77aa8 Sonarr DiskTransferService Updates (#78)
* Added a few more files to ignore during file copy.

* Tweaked error message when TransferFile destination already exists.
2017-08-31 21:46:30 -04:00
Qstick 8569084255 Refactor and Enable Renaming for Album and Artist Files (#61)
Refactor and Enable Renaming for Album and Artist Files
2017-08-25 22:00:14 -04:00
Joseph Milazzo ef4da4ac9f Track Parsing Code (#10)
* We now have the ability to import local tracks into Lidarr. Switching to IDv3 tag reading over custom parsing for local tracks.

* Stable code for track refresh.

* RefreshArtist and RescanArtist events are working correctly. Need to add potential rejection decisions in future.

* Implemented code comments

* PR comments and fixing some odd db bugs.

* Fix some conflicts after Unit Test PR Merge

Fix some conflicts after Unit Test PR Merge

* Track/Album Add and Update Fixes

Track/Album Add and Update Fixes

* Fixed an issue with trackimport looking up trackId instead of artistId

* Add Handle to TrackService for TrackAddedEvent

Add Handle to TrackService for TrackAddedEvent

* Update Quality Regex, Store BitRateMode in TrackFile

Update Quality Regex, Store BitRateMode in TrackFile
2017-07-03 13:39:06 -05:00
Joseph Milazzo 2c7398ac66 Merge pull request #7 from lidarr/feature/trackParse
New Album Database design and restabilizing add artist flow with LidarrAPI.Metadata.
2017-06-21 20:47:15 -05:00
Joseph Milazzo bf7f890c48 Restabilized add artist flow with NodeJS API 2017-06-21 20:30:45 -05:00
Joseph Milazzo e96cf08409 Back to a stable build. Fixedtrackrepo.findtracks 2017-06-20 08:03:13 -05:00
Qstick 2a4141f658 Should be Capitalized 2017-06-09 22:07:22 -04:00
Joseph Milazzo 704983f652 Fixed small issue in ProfileService. Reimplemented the metadata with LidarrAPI.Metadata 2017-06-02 20:25:34 -05:00
Joseph Milazzo acb7d33d09 Implemented track lookup into skyhook. 2017-05-07 14:55:49 -05:00
Joseph Milazzo a09d5d0b69 Switched over to using Spotify API for meta data. This will require deleting DB to start using. 2017-05-07 14:32:13 -05:00
Joseph Milazzo f97ed62fae Partially implemented artist overview. Needs review 2017-05-05 12:57:58 -05:00
Joseph Milazzo 9a79b590cc Merge branch 'develop' into feature/database 2017-05-02 07:03:13 -05:00
Joseph Milazzo fa52eabb79 Almost finished linking frontend to backend. A few issues with DB mapping to work out. 2017-04-30 16:54:01 -05:00
Joseph Milazzo 2813fccc78 Updated the code to allow a search to be made from UI to iTunes and return a mock result. 2017-04-28 17:05:35 -05:00
TCBWZA b7a46a9e51 Update internal URL's to point to lidarr.audio 2017-04-28 16:55:18 +02:00
TCBWZA b6cf96b737 Changes to remove sentry submissions and refrences to sonarr.tv 2017-04-08 23:47:59 +02:00
TCBWZA 31ca0002d7 Change process name and rename assembly 2017-04-08 18:46:28 +02:00
TCBWZA 0d4e049225 Removed reference to Sonarr and replaced them with Lidarr 2017-04-08 17:48:31 +02:00
Joseph Milazzo 3ebbaf4eb7 Use different folder to store sqlite database. 2017-04-08 08:37:15 -05:00
Matthew Despain 20c8dec50a First round of refactoring. 2017-03-29 21:49:38 -06: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 5f339c0a92e3255890fb63dfa3e650852a81d60f.

# 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