289 Commits

Author SHA1 Message Date
Qstick
7ffecf6c50 Fixed: several failing/flaky mono unit tests
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2019-09-14 00:10:02 -04:00
ta264
254a8ce64c Fixed: Directory not empty exception deleting nested empty subdirs (#974) 2019-09-13 17:55:12 +01:00
ta264
223d493d05 Fixed: Relax flaky test 2019-09-04 21:29:48 +01:00
Taloth Saldono
26c8768931 New: Removed libcurl http fallback since mono 5.16+ doesn't need it. Also bumped minimum mono version check to 5.16 (5.20 is the best choice atm) 2019-08-31 17:18:18 +01:00
Qstick
bcc6fae9cc Fixed: Retry flaky tests 3 times before failure 2019-08-24 18:54:54 -04:00
ta264
f1fc45fa99 New: Migrate to new csproj format 2019-08-24 17:31:58 -04:00
Qstick
db321a5d1e Changed: Rename Process and Service Provider Fixtures 2019-08-24 15:45:55 -04:00
ta264
1a0b95de03 Fixed: Make ProcessProviderTests less flaky 2019-08-24 15:45:55 -04:00
ta264
ee7d47d044 Fixed: All the tests 2019-08-24 15:45:55 -04:00
Taloth Saldono
2147c52695 Added test for turkish FirstCharToUpper 2019-07-25 13:39:35 +01:00
Taloth Saldono
43f70d5464 Added test for turkish FirstCharToLower 2019-07-25 13:39:35 +01:00
Mark McDowall
2ce0fadb65 Clean up FirstCharacterToLower extension + tests 2019-07-25 13:39:35 +01:00
Mark McDowall
b8b8f064c7 FirstCharToLower 2019-07-25 13:39:35 +01:00
ta264
531447a21f Fixed: Relax flakey cache test 2019-07-17 06:28:30 +01:00
ta264
a9bf2910dc Fix WebClient test on Mono 2019-07-17 06:28:30 +01:00
ta264
2768fce0a4 Fixed: Failing Process provider test 2019-07-17 06:28:30 +01:00
ta264
12b73830d3 New: Moq to 4.12 2019-07-10 06:21:00 +01:00
Qstick
5efbcaa967 Fixed: Test Due to 4.6.2 Error Change 2019-06-10 11:38:34 -04:00
Qstick
4eb815aa0e New: Migrate to PackageReference Format 2019-06-10 11:38:34 -04:00
Qstick
32307ac5e7 New: Update Unity to 4.0.1 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
ta264
0ebaa90f54 Fixed: Actually filter TinyIoC errors from sentry and add tests (#685) 2019-03-21 16:45:37 +00:00
Qstick
acfe2ceef4 Fixed: Change HttpClientFixture links to HTTPS 2019-03-08 22:15:18 -05: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
6cfc591364 Fixed: Extra tests and fixes for new track parser (#632)
* Extra tests and fixes for new track parser

* Address review comments, add extra test, fix logging
2019-02-19 20:16:09 -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
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
Qstick
0099d9f430 Updated: NUnit and TestAdapter to 3.11.0 (#538) 2018-11-11 01:26:45 -05:00
Qstick
68aaa49e9f Fixed: Filter mapped drives when running from service 2018-09-04 22:38:48 -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
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
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
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 13dd224281817ca11af6662ed04f1131dce51fc5.

* Change dictionary cast to conversion from Sonarr/Sonarr@99ee59e
2018-03-01 23:02:08 -05:00
Qstick
882e8a575e Re-enable unit tests in appveyor (#159)
* Re-enable unit tests in appveyor

* Delete SingleEpisodeParserFixture.cs

* fixup! Oops

* Fix multiple tests

* Fixed Language Tests

* Couple More Simple Test Fixes

* Last Round of Test Fixes

* More test Cleanup

* Fix 3 Newznab Tests
2017-12-21 23:00:16 -05:00
Qstick
5d4eb3c6d8 Fix DiskTransferServiceFixture Failing Test 2017-11-16 11:52:08 -05:00
Qstick
1451a63c06 Rename Sonarr References in Backend 2017-10-30 22:25:19 -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
Taloth Saldono
cc0a6dc8da Disable test on mono managed http. 2017-10-29 00:30:17 -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
311df71acf Fixed HttpUri parsing of domain names with underscores 2017-10-28 23:38:21 -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
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
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
Qstick
22f19b5cb5 Fix some Path Related Tests 2017-06-09 22:45:04 -04:00