Commit graph

3621 commits

Author SHA1 Message Date
ta264
7050a20df5 Fixed: Integration tests on Mono 5.12 and 5.14
Mono 5.12 and 5.14 has a bug that means RestSharp can't handle non-200
responses.  Fix status api call so tests start and disable the tests
that use non-200 responses on these mono versions
2019-09-16 17:48:32 +01:00
Taloth Saldono
cc008fb21d Fixed: Third-party clients calling api without Accept header 2019-09-14 15:12:15 +01:00
ta264
17c9fc419c New: Update Nancy to 2.0 2019-09-14 15:12:15 +01:00
ta264
425bd8964f New: Update Unity 2019-09-14 15:12:15 +01:00
Qstick
cbff5e1c5a New: RestSharp to 106.6.10
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2019-09-14 15:12:15 +01:00
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