Commit graph

3630 commits

Author SHA1 Message Date
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