Commit graph

3766 commits

Author SHA1 Message Date
Taloth Saldono
4136b9ee77 use TestContext.Progress rather than Console.WriteLine for NzbDroneRunner output 2019-09-14 00:10:02 -04:00
Qstick
3c423871d3 Fixed: ImageResizer Tweaks
Co-Authored-By: taloth <taloth@users.noreply.github.com>
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
2019-09-14 00:10:02 -04:00
Taloth Saldono
ae6db26a77 Fixed regression in container registration. Additional logging in case of integration test startup failures 2019-09-14 00:10:02 -04:00
Taloth Saldono
4bb6f5d0bc Moved Platform version determination to static 2019-09-14 00:10:02 -04:00
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
805a0859a6 Fixed: ImageSharp crash on old mono 2019-09-13 21:27:58 +01:00
ta264
254a8ce64c
Fixed: Directory not empty exception deleting nested empty subdirs (#974) 2019-09-13 17:55:12 +01:00
Qstick
31cb5fe523
Changed: Version Bump 0.7.0 (#952) 2019-09-09 08:06:49 -04:00
ta264
1b72d9b60f
Fixed: NRE importing Spotify saved albums / followed artists (#962) 2019-09-08 21:44:25 +01:00
ta264
c4b7e04a96 Fixed: NRE when tagging an album with omitted media 2019-09-05 19:23:01 -04:00
ta264
223d493d05 Fixed: Relax flaky test 2019-09-04 21:29:48 +01:00
Qstick
33d5f1fe2c
Fixed: series reference in PlexServerService 2019-09-02 12:48:38 -04:00
Qstick
3288c21c36 Fixed: Null Ref on Album Cache Update in TrackedDownloadService.cs 2019-09-01 13:57:03 -04:00
Taloth Saldono
91764ec115 Fixed: Removed .Net update notice on Windows LTSB 2015 2019-09-01 13:55:58 -04:00
Taloth Saldono
b880309356 New: Added Auth-* log entries for fail2ban purposes
closes #2760
2019-08-31 17:18:18 +01:00
Taloth Saldono
332466a945 Updated way Sentry gets configured and enabled. 2019-08-31 17:18:18 +01:00
Taloth Saldono
ec4237d51a Added BuildInfo.AppName to centralize 'Lidarr' 2019-08-31 17:18:18 +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
1425bc8bd9 New: Seperate Naming for Multi-Disc Albums 2019-08-31 11:01:44 -04:00
ta264
91ddabe5dd Fixed: Catch exceptions looking up fingerprints
It's not crucial so if it fails don't take out the whole import process.
2019-08-29 19:35:21 +01:00
ta264
2097bfff94 Fixed: Null reference exceptions on update
Simplify entity equality code and enfore db/metadata split

Use a nuget package to remove boilerplate code that needs careful
update when adding/removing fields.  Add tests to enforce that all
fields are allocated to 'UseMetadataFrom' or 'UseDbFieldsFrom' to make
metadata refresh more foolproof.

Fix NRE when tracks are merged because artist wasn't set.
Fix NRE when tracks are merged and the merge target wasn't yet in the database.
2019-08-28 19:03:26 +01:00
ta264
ad4d7e4cfd New: Use ImageSharp for resizing (#934)
* New: Swap to ImageSharp for image resizing to avoid leaks

Stop resizing album images also

* Fixed: MediaCoverModule falls back to fullsize for png and gif too

* Fixed: Look for all image extensions in DeleteBadMediaCovers.cs
2019-08-25 15:46:19 -04:00
Qstick
070e50d39e Fixed: Fix a few compiler warnings 2019-08-25 14:37:08 -04:00
ta264
4413c7e46c New: Unmapped files view (#888)
* New: Unmapped files view

Displays all trackfiles that haven't been matched to a track.
Generalised the file details component and adds it to the album
details screen.

* Add sorting by quality

* New: MediaServiceTests & MediaRepoTests
2019-08-25 11:49:30 -04:00
Mark McDowall
74cb2a6f52 Fixed: Waiting a long time for unavailable root folders
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-08-25 01:24:56 -04:00
Mark McDowall
4399724e97 New: Sort preferred words in profile on save
Closes #3241
2019-08-25 01:19:01 -04:00
Qstick
936b2502cc Fixed: Multiple Heath Check UI Fixes
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-08-25 01:07:11 -04:00
Qstick
89d912bb2b Fixed: Prevent moving to recycling bin causing a failed import
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-08-25 01:01:11 -04:00
Mark McDowall
699f19b352 New: Cleanup Recycling Bin folders older than X days (0 to disable)
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-08-25 00:58:59 -04:00
Qstick
0496e6afc2 Fixed: Repack don't being grabbed when cutoff already met
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-08-25 00:48:02 -04:00
Qstick
bcc6fae9cc Fixed: Retry flaky tests 3 times before failure 2019-08-24 18:54:54 -04:00
Qstick
edba53181f Fixed: Don't fail on frameworks 4.7 and up
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2019-08-24 17:31:58 -04:00
ta264
f1fc45fa99 New: Migrate to new csproj format 2019-08-24 17:31:58 -04:00
ta264
e095fe00af Fixed: Delete unreferenced files 2019-08-24 17:31:58 -04:00
Qstick
ca6ff0d067 Fixed: Move migration dispose after try 2019-08-24 15:45:55 -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
ta264
9392c13364 Fixed: ReleasePush module returns single item not a list 2019-08-24 15:45:55 -04:00
ta264
e2e321b9be Fixed: Removed unused ManualImport Field 2019-08-24 15:45:55 -04:00
ta264
36f51c7e72 Update SQLite to 3.28.0 and System.Data.SQLite to 1.0.111.0
Also replace 32bit dylib with 64bit version so it's actually used.
2019-08-23 07:44:31 +01:00
RandomNinjaAtk
d929572beb Fixed: Change UI Genre Tag Separator from ", " to " / " (#918)
For MP3's, the official separator is " / " and this also works for FLAC. Some applications like Kodi, do not recognize ", " as a separator, but changing it to " / " resolves that...
2019-08-17 08:35:53 +01:00
ta264
0352f8d3ff
Fixed: Faster artist endpoint (#874)
* Fixed: Speed up AllArtist API endpoint

* New: Display UI before artists have loaded

* Add test of new repository methods
2019-08-17 08:04:59 +01:00
Taloth Saldono
aa794a7155 Fixed: Workaround for mono 5.16+ bug preventing the closure of sockets on timeouts (Jackett connections)
ref #2802
2019-08-15 22:18:39 -04:00
Qstick
6932046c5f
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines

[skip ci]

* Remove Travis, Build Multiple Environments

* Change Task Type to Bash

* Checkout submodules

* Remove Appveyor Tests, Add Azure Tests

* Oops Forget Steps

* bad name

* test script fixes

* add tests to build job

* fixup tests

* name test runs

* fpcalc and artifacts

* Try to fix installer

* Publish separately

* Try publish

* Another go at artifacts

* Tidy up

* Add sentry, assembly info patching and bump version

* Only patch one AssemblyInfo; set node version 10

* Try pipeline artifacts again

* Tidy up - pipeline artifact seems to be way forward

* Fix installer publish

* first go at test job seperation

* job names and depends/consitions for tests

* pusblish single file test artifact

* pipeline artifact for test

* blitz the pattern filter

* windows test jobs

* mac tests, checkout on test jobs

* try to download build artifact to test job

* download and extract artifact

* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests

* fixup! tests

* integration test fixes

* fixup! integration test fixes

* fixup! integration test fixes

* more fixup

* use bash cp

* test fixups

* mkdir before copy

* linux works! add osx integration tests

* im tooo tired

* coverage attempt

* coverage seperate stage

* windows paths for integration test

* switch coverage to windows where opencover actually works

* fix test script

* one last go

* Simplify installer, try to fix name

* Try to parallelize backend and frontend build

* Try adding a matrix

* Try matrix jobs not stages

* Try to fix package step

* Remove opencover install

* Try to fix tests

* coverage fixes

* revert build.sh changes

* triggers so we don't double build

* Publish coverage package so we can debug

* try coverage no build, output artifact

* use the full pipeline workspace from build job

* fix automation tests for new ui

* Assorted fix attempts

* Another go

* MacOS debug

* Tidy up, try to fix mac

* Fix mac fpcalc, add mac integration tests

* Add cross platform automation tests

* Fix packages

* Try to fix Automation tests

* Don't wait on the installer to create standard packages

* Fixes

* delete logentries reference

* run automation tests in headless mode

* try install firefox mac

* Revert "try install firefox mac"

This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.

* test sonarcloud prepare outputs

* basic analyze and upload

* don't limit fetch depth on analyze

* manual scanner do front and backend?

* full analyize with tests, coverage

* should depend on tests, coverage

* no need for condition on coverage

* Fix up build numbering

* Try to fix sonar

* Separate coverage calculation and publication

* Try to fix coverage upload
2019-08-13 13:15:59 -04:00
Qstick
c8184c362a Fixed: Sorting of Quality column in Interactive Search
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-08-09 23:19:58 -04:00
Qstick
68e11a5e56 Cleanup: Remove old twitter keys 2019-08-09 23:19:58 -04:00
Qstick
03aceb3568
Fixed: Repack logging string format 2019-08-08 19:27:47 -04:00
ta264
1ab8c5a7bb Fixed: Embedding album art on import
On import the album release is adjusted, which triggers an
AlbumEditedEvent which in turn coverts media cover urls to local
urls.  The addition of ?lastWrite=xxx broke the calculation of
extenions from the URL.  To fix, only set the extension and don't
update the extension if url is changed.
2019-08-08 22:04:33 +01:00
ta264
c898a18d31 Fixed: Set remote album ID so we don't always think album updated 2019-08-03 15:04:19 +01:00
ta264
1dcccf2683 Fixed: Frontend updates when selected album release changed 2019-08-03 15:04:19 +01:00
ta264
dcca2b5a1a Fixed: Don't re-read file tags if possible 2019-08-03 15:04:19 +01:00
ta264
e9ced07b28 Fixed: Old foreign id query too permissive 2019-08-03 15:04:19 +01:00
ta264
5f679c5f58 Fixed: Speed up track grouping
Don't repeatedly calculate base directories and use simpler path
equality since we know paths come from the same source.
2019-08-03 15:04:19 +01:00
ta264
3c1b3434c7 Fixed: Build on mono 6
Removed LogEntries which is unused
2019-08-03 14:40:34 +01:00
ta264
a35f965d31 New: Write genres and album art to track file tags 2019-08-02 19:25:14 +01:00
ta264
a0a96911f8 Fixed: Use correct ID to search for Albums 2019-08-02 19:22:21 +01:00
ta264
8d780f4057 Fixed: Don't force images to JPG and fix Kodi album art filenames 2019-08-02 13:03:00 +01:00
Qstick
8b860bcb82
Changed: Remove Language Profiles (#870)
* Changed: Remove Language Profiles

* fixup! Changed: Remove Language Profiles

* fixup! Changed: Remove Language Profiles

* Remove unused method in FileNameBuilder

* Fixed: Cleanup Int Converter Copy/Paste Issues and Grammar
2019-08-02 07:50:09 -04:00
Qstick
8f791abbf6 Fixed: Really Don't treat NZBs rejected by SABnzbd as successful 2019-08-01 23:08:25 -04:00
ta264
ba310fe66b New: Sort import list groups 2019-07-29 18:37:38 +01:00
Qstick
af26ac849a New: Group Import Lists by Type 2019-07-29 18:37:38 +01:00
ta264
fb26ff286d New: Bump Newtonsoft.Json to 12.0.2 2019-07-29 18:37:38 +01:00
ta264
d075ea3625 New: Spotify integration
Import playlists, followed artists and saved albums
2019-07-29 18:37:38 +01:00
Qstick
2f1290d488 Fixed: Correctly handle Repack Releases 2019-07-27 13:14:51 -04:00
ta264
23316329ed New: Allow monitoring all albums for import list artist 2019-07-27 18:01:48 +01:00
ta264
8e777025cb Proposal: Length is definitive, fallback to modified if no length 2019-07-27 10:57:13 -04:00
Qstick
2be52c22d6 Fixed: Backup Mediacover Existing Check to Length if No Modified Date 2019-07-27 10:57:13 -04:00
Qstick
802f7f96c0 Fixed: Follow Temp Redirects 2019-07-27 10:57:13 -04:00
ta264
814e44b7e4 Fixed: Actually refresh media covers 2019-07-27 07:31:47 +01:00
ta264
61b6572f61 Fixed: Failure re-adding a deleted artist 2019-07-27 07:31:47 +01:00
ta264
5b4ab75220 Fixed: Add timeout to fingerprinting API request 2019-07-27 07:31:47 +01:00
Qstick
5defb69eb6
Fixed: Tracked Download Cache Keeps Deleted Albums (#811)
* Fixed: Tracked Download Cache Deleted Albums

* Add a test
2019-07-26 17:21:03 -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
91082b2903 New: Testing Custom Script executes the script and verifies the exit code 2019-07-25 13:39:35 +01:00
Mark McDowall
b9d240924f New: Command line arguments for Custom Scripts are no longer supported 2019-07-25 13:39:35 +01:00
Mark McDowall
b8b8f064c7 FirstCharToLower 2019-07-25 13:39:35 +01:00
ta264
77d02a03a0 Add artist refresh completed event
Always fires unlike update, which only fires on actual update.  Use
this to make sure media covers are up to date on refresh
2019-07-24 19:34:27 +01:00
ta264
8160f3d84a Fixed: Simplify ArtistMetadataRepository 2019-07-24 19:34:27 +01:00
ta264
0b7a42ee3b New: Refactor metadata update 2019-07-24 19:34:27 +01:00
ta264
f5c1858d4c Fixed: UpdateAlbums was a duplicate of UpdateMany 2019-07-24 19:34:27 +01:00
ta264
76db27e8c2 New: Add old ids, artist aliases and genres 2019-07-24 19:34:27 +01:00
ta264
5ac46270ed New: Set KeepAlive for metadata requests 2019-07-24 19:34:27 +01:00
ta264
343b27b886 Fixed: Update modified times as well as sizes 2019-07-21 07:35:56 +02:00
ta264
dc44bbd210 Fixed: ManualImport sets file size and last modified
So that manually imported files get filterd out by the unchanged files filter
2019-07-21 07:35:56 +02:00
ta264
da2b36514a Fixed: Prevent two TypeExclusive commands running at once
The check was bypassed if a disk access command was running at the
same time.
2019-07-20 13:38:07 +02:00
ta264
368363de96 Fixed: Prevent two Artists pointing to same ArtistMetadata 2019-07-20 13:38:07 +02:00
ta264
531447a21f Fixed: Relax flakey cache test 2019-07-17 06:28:30 +01:00
ta264
b62e27634a Disable failing parser 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
93f7acfd32 Fixed: Update service test 2019-07-17 06:28:30 +01:00
ta264
736fddd0d8 Fixed: Failing skyhook search test
New search server with dismax parser will match EF
2019-07-17 06:28:30 +01:00
Taloth Saldono
84f707c51b Removed Nyaa Integration tests and increased logging detail during integration tests. 2019-07-17 06:28:30 +01:00
ta264
59b40bd032 Fixed: one_to_one test if system timezone isn't UTC 2019-07-17 06:28:30 +01:00
ta264
2768fce0a4 Fixed: Failing Process provider test 2019-07-17 06:28:30 +01:00
ta264
2284313d4d Fixed: Failing update test on Linux 2019-07-17 06:28:30 +01:00
ta264
ea2e8e499d Fixed: Failing history test 2019-07-17 06:28:30 +01:00
ta264
2c0d272c54 Fixed: Removed failing test no longer in Sonarr
As far as I can tell you wouldn't expect this to pass.  Setting the
path is handled by AddArtistService, not ArtistService.  This file is
present in the Sonarr tree but not included in the project.
2019-07-17 06:28:30 +01:00
Qstick
659844eeba
New: Don't Execute Certain Command Types In Parallel (#855) 2019-07-14 17:17:00 -04:00
ta264
b4fc4e88a5 Fixed: UseRealHttp following addition of MetadataRequestBuilder 2019-07-10 06:21:00 +01:00
ta264
12b73830d3 New: Moq to 4.12 2019-07-10 06:21:00 +01:00
Qstick
6dd8df43ca Fixed: Incorrect parsing of APE and OPUS in some cases
Fixes #847
2019-07-06 18:22:12 -04:00
ta264
447bf63a4d Fixed: Correctly delete trackfiles on AlbumDeletedEvent
GetFilesByAlbum performs a join on the album releases under the hood,
which won't be populated once the album is deleted.  Fix by providing
a special delete method which omits the join and just looks at albumId.
2019-06-27 12:39:56 +01:00
Qstick
3ebbf6ff83 Fixed: Multiple SignalR Improvements
Support for serverSentEvents, connection optimizations

Co-Authored-By: taloth <taloth@users.noreply.github.com>
2019-06-19 23:03:08 -04:00
Qstick
184ab745ae Fixed: Only fix cleanName when fix is needed
Avoid hitting DB for every artist on clean name housekeeper

Co-Authored-By: taloth <taloth@users.noreply.github.com>
2019-06-19 22:52:20 -04:00
ta264
ace83498cd Fixed: Don't show cmd.exe window when fpcalc runs 2019-06-19 08:26:51 +01:00
Qstick
d7f63abe01 New: Option to use HTTPS with Emby 2019-06-11 22:44:49 -04:00
Qstick
6f588d23fd New: Detect mergerfs mounts 2019-06-11 22:40:35 -04:00
Qstick
12cc2ef95a Fixed: Manual import of unknown aritst items in Activity: Queue 2019-06-11 22:38:33 -04:00
Qstick
d7e465d2d7 Fixed: Improve exception logging when unable to connect to Plex 2019-06-11 22:35:39 -04:00
Qstick
5d13ae5ae6 Fixed: Use Download Client name for grabbed history events 2019-06-11 22:33:06 -04:00
Qstick
8a8799176f New: Setting monitor None when adding arist will unmonitor artist 2019-06-11 22:28:57 -04:00
ta264
8cd9ab4a9f
Add: option to skip automatic redownload when removing from queue (#734)
* Add: option to skip automatic redownload when removing from queue

* Add tests for RedownloadFailedDownloadService

* Fix formatting

* Make re-download dialog conditional
2019-06-10 19:56:44 +01:00
ta264
0f6a3bca0c New: Sentry to 1.2.0 2019-06-10 11:38:34 -04:00
Qstick
5efbcaa967 Fixed: Test Due to 4.6.2 Error Change 2019-06-10 11:38:34 -04:00
Qstick
673412c446 Fixed: Remove Unused Variables to Clear Compiler Warnings 2019-06-10 11:38:34 -04:00
Qstick
4eb815aa0e New: Migrate to PackageReference Format 2019-06-10 11:38:34 -04:00
Qstick
43a18de846 New: ImageResizer to 4.2.5 2019-06-10 11:38:34 -04:00
Qstick
5ae1ab14f7 New: AutoMoq to 2.0.0 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
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
Qstick
c40cda3101 New: Bump SignalR to 2.4.1 2019-06-10 11:38:34 -04:00
Qstick
c1e1741957 Fixed: MediaFileTableCleanup Test Failing 2019-06-09 18:11:50 -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
b2d87cccb2 Fixed: _coverMapper is null for other album entities 2019-05-09 18:51:56 -04:00
ta264
adfaec3864
Fixed: Fingerprinting service swallows UnexpectedHtmlContentException (#808) 2019-05-08 16:37:38 +01:00
ta264
d381bab9d9
New: Fetch all albums from metadata and filter client-side (#803)
* Retrieve all albums from metadata and filter client-side

Should significantly increase the proportion of artist requests hitting
cloudflare cache

* Add tests for album filtering
2019-05-08 15:06:29 +01:00
ta264
801ece337c
Fixed: Map dsm shared folder to full path in status (#797)
* Fixed: Map dsm shared folder to full path in status

* Add tests
2019-05-08 06:06:05 +01:00
Qstick
add32ff9f3
Fixed: Lidarr Lists use correct metadata server (#800) 2019-05-07 19:11:34 -04:00
Qstick
35c19dac5f
Fixed: Cache Album covers local (#780)
* Fixed: Cache Album covers local

* Fixed: Maxsize is handled by the backend mapping

* Fixed: Store Album covers seperate from ArtistId
2019-05-07 19:10:09 -04:00
stephanrenggli
bcdef2723f New: Added support for Gotify notifications (#730)
* Added support for Gotify notifications

* Removed non-supported features and adjusted priorities

* Use string interpolation to build url

* Rename a few variables and improve Url validation

* Improve building of the Url, move validation to Gotify.cs (adapting changes by markus101 over at Sonarr)

* Move validation from GotifyProxy.cs to here (adapting changes by markus101 over at Sonarr)
2019-05-05 00:08:32 -04:00
Qstick
e9dfdab907 New: Use NZBget's FinalDir if set by post-processing script 2019-05-04 23:10:13 -04:00
Qstick
970d46512e Fixed: Don't treat NZBs rejected by SABnzbd as successful 2019-05-04 23:09:24 -04:00
Qstick
499ec06664 Fixed: Throw Startup Exception on Same Port for SSL 2019-05-04 20:28:48 -04:00
ta264
4093a4f846
Swap to lidarr taglib fork (#786) 2019-05-04 03:50:23 +01:00
ta264
541841d7b7
Don't try to match a null codec name (#784)
* Don't try to match a null codec name

* Add test
2019-05-01 06:42:01 +01:00
Qstick
a3e955443d New: Output Path column in Queue 2019-04-28 00:32:38 -04:00
Qstick
4aeaf04b62 Fixed: Don't allow HTTPS to be set to same port via API/UI 2019-04-28 00:19:38 -04:00
ta264
5d1a5ee946 Remove rogue . from transmission output directory 2019-04-27 16:53:48 +01:00
Qstick
6da224bfc4 Changed: RIP Nzbs.org 2019-04-25 21:30:33 -04:00
Qstick
872d65ad1a Fixed: Roxsbox ArtistImages using AlbumImages Setting, Returing null
Fixes LIDARR-1S3
2019-04-22 21:06:16 -04:00
Qstick
ea3534b204 Fixed: Queue fails when sorting by Album columns with null Albums
Fixes #771
2019-04-22 20:08:09 -04:00
Qstick
a4a3bc5127 New: Don't overwrite Images/Overviews if new is blank 2019-04-22 16:29:15 -04:00
Qstick
e998f9c029 New: Send Bits and SampleRate to UI for TrackFiles 2019-04-22 16:28:25 -04:00
Qstick
6057127ec0 Fixed: Return empty intead of 0bits if AudioBits is 0 2019-04-22 16:28:25 -04:00
Qstick
d71f7e5d35 Fixed: SampleRate Format doesn't include decimal 2019-04-22 16:28:25 -04:00
Qstick
b0faaef777 New: Unit Tests for MediaInfo Tokens 2019-04-22 16:28:25 -04:00
Qstick
0c6cc4acdb New: AudioBitRate Naming Token 2019-04-22 16:28:25 -04:00
ta264
045a3ce404 Fixed: Skip albums and releases with no valid tracks (#754)
* Fixed: Artist only marked as refreshed if Albums/Tracks refreshed also

* Fixed: Skip album releases with no valid tracks

* Fixed: Don't add albums with no valid releases

* Fixed: Remove Albums with no valid releases
2019-04-15 20:52:43 -04:00
ta264
af88b3f807 Fixed: Ensure Tracks is always present in ManualImportItem
Fixes error in manual import page when Tracks is missing.

Fixes Sentry LIDARR-UI-1GC
2019-04-15 21:12:32 +01:00
Qstick
1212578c45
Fixed: Migration 23 doesn't set Track.ArtistMetadataId (#756) 2019-04-15 12:31:19 -04:00
ta264
59cc5584c6 Fixed: Slower startup loop on DB initialization failure
Wrap any exception thrown in a LidarrStartupException to trigger the
existing bootloop code.

We have to catch the generic Exception class since FluentMigrator
rethrows all exceptions as a generic Exception.
2019-04-14 16:28:04 +01:00
Qstick
909140988f New: Release title column in queue table 2019-04-13 22:58:11 -04:00
Qstick
77293cf8ae Fixed: Don't worry about qBit parameters if category is blank 2019-04-13 22:55:30 -04:00
Qstick
cfcc5b13e4 Fixed: Include all items if no category is specified in rtorrent 2019-04-13 22:54:25 -04:00
Qstick
f3573d4deb Changed: More descriptive message if indexer test yielded no results 2019-04-13 22:41:35 -04:00
Qstick
600a5b194f Fixed: API Exception Error format 2019-04-11 21:58:02 -04:00
Qstick
3e3c644cbb Fixed: ReleasePush Validation should use Protocol 2019-04-11 21:48:08 -04:00
Qstick
d17e7cb13b Fixed: Nullref due to InfoHash on AlreadyImportedSpec 2019-04-11 21:15:43 -04:00
ta264
7b288bfcd3 Fixed: Album API query by foreignId only returns requested album
Setting the new 'includeAllArtistAlbums' will give the existing
behaviour of returning all albums for that artist
2019-04-11 16:37:40 +01:00
ta264
11c0f1dad2 Fixed: Reinstate foreignArtistId for album lookup API 2019-04-11 16:37:40 +01:00
ta264
6a414cff14 Fixed: Artist/Album lookup endpoints display error on failure 2019-04-11 16:37:40 +01:00
ta264
b1aff8fe58
Fixed: RemotePathMappingCheck ignores all download client exceptions (#735) 2019-04-08 18:24:13 +01:00
Qstick
5643923299
Fixed: Reverted in-memory signalr keypair in favor of a .config directory (#722) 2019-04-06 22:22:19 -04:00
Qstick
c390fff361
New: Associate same AnonToken with Sentry UI instance (#724) 2019-04-06 22:22:05 -04:00
Qstick
9d27fff825 Fixed: Don't Error to New Page on Failed Login 2019-04-06 22:18:45 -04:00
Qstick
d81b063388
Fixed: Don't throw error on Docker Update Attempt (#725) 2019-04-06 17:06:23 -04:00
Qstick
7bd96ae75c Fixed: Re-Clean Release Endpoints, we have ReadResourceFromRequest! 2019-04-06 00:36:26 -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
6afece237c Fixed: Don't process tracked download if RemoteAlbum is null (#716)
Fixes LIDARR-1V4
2019-04-04 20:37:48 -04:00
Qstick
57df287547
Fixed: ReleasePush Validation and Error on Parse (#711)
* Fixed: ReleasePush Validation and Error on Parse

* Fixed: Validation on Release module, Catch Errors in format
2019-04-04 20:08:47 -04:00
ta264
d8a361dd91
Fix health check errors (#717)
* Fixed: RemotePathMappingCheck deals with case where path invalid

The `Ensure` built into `FileExists` and `FolderExists` was throwing
an exception previously.

* Fixed: RemotePathMappingCheck doesn't fail if client unavailable
2019-04-04 21:26:08 +01:00
ta264
e27369686b
A remote path mapping health check (#617) 2019-04-04 16:15:43 +01:00
ta264
0762805572
Fixed: Lidarr failing to start on linux if which missing (#714)
Fix startup failure when `which` missing
2019-04-04 15:32:58 +01:00
ta264
188e0e1040
New: Manual import improvements (#683)
* New: Manual import improvements

 - Detect and merge import with files already in library.
 - Allow selection of album release from Manual Import modal.
 - Loading indicator while fetching updated decisions

* Disable release switching if user manually overrode release
2019-04-04 09:20:47 +01:00
Qstick
61cea37f05 Fixed: Test for get_file_by_album Failing 2019-04-03 20:55:26 -04:00
ta264
390c79793e Fixed: Unparsable original year in tag 2019-04-01 08:30:43 +01:00
ta264
b23e7ec513 Fixed: If MusicBrainz release date is missing, also remove from tags 2019-04-01 08:30:43 +01:00
ta264
ef3005f2bb Fixed: GetFilesByAlbum should only return files for monitored releases
Since switching releases doesn't clear out trackfiles for unmonitored
releases, we need to ensure we only return files for monitored
releases otherwise we will return duplicates
2019-04-01 08:30:43 +01:00
ta264
225af556d9 Fixed: Don't set missing release dates to 0001-01-01 2019-04-01 08:30:43 +01:00
Qstick
77e4c99713
Fixed: 0.6 Analytics Bump 2019-03-31 11:57:44 -04:00
ta264
c314a94241 Fixed: Slack AlbumImportFailed notification (#710)
message.Album is null at the moment
2019-03-30 10:42:44 -04:00
Qstick
6b40a8d87f
Fixed: qBittorrent Fixes for Seed Limits and Magnet links (#702)
* Fixed: Qbittorrent Fixes for Seed Limits and Magnet links

* Fixed: We do Music, not TV
2019-03-28 19:52:09 -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
ta264
054d1600a2
Fix container and free space tests on mono (#704)
* Fix disk provider tests

* Fix container test on linux
2019-03-27 19:51:56 +00:00
ta264
038deb0e8d
Fixed: Tag writing when release country is missing (#700) 2019-03-27 07:49:32 +00:00
Qstick
7fd0089884 Fixed: Can't login with a username and a blank password
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-03-26 22:12:44 -04:00
Qstick
a4d2ed6f31 Fixed: Queue count badge showing warning/error incorrectly 2019-03-26 21:52:13 -04:00
ta264
dbb08c15d2
Fixed: Album lookup API endpoint updated for new DB schema (#693) 2019-03-23 19:01:34 +00:00
ta264
6e4b1ba1fe
Fixed: MediaFileRepository was ignoring AlbumRelease monitored flag (#689) 2019-03-23 08:37:34 +00:00
ta264
b557f620d9
Fixed: Ensure Quality is always initialised in AudioTag.Read (#694)
* Fixed: Ensure Quality is always initialised in AudioTag.Read

* Fixed: Log quality message on fallback quality detection
2019-03-23 08:36:49 +00:00
Qstick
1bcee3ba97 Fixed: ArtistRepo Cleanup 2019-03-22 21:31:27 -04:00
Qstick
772bd88efa Fixed: OnImportFailure using OnDownloadFailure enabled notifications 2019-03-22 20:46:09 -04:00
ta264
c229d73ddc Fixed: NullReferenceException in NotificationService (#695) 2019-03-22 20:43:09 -04:00
ta264
580641a600
Fixed: Don't attempt to insert duplicate ids or monitor multiple releases (#684) 2019-03-22 09:33:48 +00:00
Qstick
d4d9146599
New: Health Check Failure Notifications (#609)
* New: Health Check Failure Notifications

Fixes #295

* New: OnDownloadFailure and OnImportFailure Notification

* New: On Retag notifications

* Fixed: XBMC notification test

* New: Discord Notifications

Closes #1511

* On Download to On Import on card

* Remove OnDownload, Rename OnAlbumDownload -> OnReleaseImported

* Fixed: Webhook OnReleaseImport notification

* Respect OnUpgrade and fix missing schema items for frontend

* New: Simplify Notification Modal UI

* Fixed: PlexHomeTheater OnReleaseImport notification
2019-03-21 20:47:54 -04: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