Commit Graph

3303 Commits

Author SHA1 Message Date
geogolem 1bae7bb623 this needs to match with the property forclient mode 2017-03-10 01:42:39 -05:00
Devin Buhl 7cf2a8cb62 CP list hotfix 2017-03-09 19:40:55 -05:00
Devin Buhl 1a4fb6e7bb Update blacklist to work with movies (#1089)
* Update BlacklistService

* Update HistoryService, HistoryRepo and History

* Update UI in Blacklists to movies

* set the movie model so the movie title prints in blacklist

* Would be working if I implemented the Event Handler for MovieFileDeleted
2017-03-09 18:45:08 -05:00
geogolem ae0fc019e5 Merge pull request #1097 from geogolem/fixIMDBNormalization
incorrect check for imdbId prefix
2017-03-09 13:59:33 -05:00
geogolem 3f438563b8 incorrect check for imdbId prefix 2017-03-09 13:58:25 -05:00
SWu 51e0cdf982 Fix regression for missing libgdiplus (#1073)
* Fix regression for missing libgdiplus

Add back error handling for systems where libgdiplus is not available. Should fix #1065

* Create GdiPlusInterop.cs

* Update DiskProviderBase.cs

* Update ImageResizer.cs

* Delete GdiPlusInterop.cs

* Update NzbDrone.Core.csproj

* Update NzbDrone.Common.csproj

* Update DiskProviderBase.cs

* Update IDiskProvider.cs

* Update ImageResizer.cs

* Update DiskProviderBase.cs

* Update IDiskProvider.cs

* Update ImageResizer.cs

This is really ugly... :(

* Update ImageResizer.cs

Never written C# before

* Update ImageResizerFixture.cs

* Fix test
2017-03-09 13:11:41 -05:00
geogolem 866cec096d refactor so that filteringExpressions are constructed in one place
less code duplication, easier to manage moving forward
2017-03-09 11:08:38 -05:00
geogolem 2899bbf330 new filters were added, but they werent being handled via the API 2017-03-09 10:01:08 -05:00
geogolem 7c5c4e7594 allow larger trakt lists than 500 2017-03-09 09:16:00 -05:00
Devin Buhl 571730ddec Onedr0p/3 8 17 (#1087)
* Move ToUrlSlug to Parser, fix issue with trakt lists that have non-alphanumeric characters

* Move "Add movies" link in nav to the first link

* String interpolation!

* Add Limit to Trakt List Settings to limit the amount of movies returned, 50 by default

* Updates to FailedDownload

* Update DownloadService and CompleteDownloadService
2017-03-08 19:00:00 -05:00
Tim Turner 5c22d0b61d Ensure drone factory runs on its specificed interval (#1067)
* Ensure drone factory runs on its specificed interval
* Fix the tests for DownloadedMovieImportServiceFixture
2017-03-08 16:07:51 -05:00
Leonardo Galli b9eab860f5 Fixed the parser for movies with A.
Fixes  some parser issues.
2017-03-08 19:10:04 +01:00
Leonardo Galli 24a394bf46 Loads only request movie first into full collection. Should fix things. (#1046)
Fixes #982
2017-03-08 18:01:15 +01:00
Bill Szeliga af2b5c2f1c Addressing jshint warnings (#1050)
* Cleaning up some jsLiniting problems

* fix jshint issue with variablle declaration

This shouldn't be an issue because of hoisting but, jshint is finicky.
2017-03-07 22:04:25 -05:00
flightlevel 961a6d89a4 Update error to include Radarr instead of Sonarr (#1069) 2017-03-07 20:04:13 -05:00
Devin Buhl b81d8c4678 Correct DownloadDescisionMaker to use ImdbId, and update the ui a little. (#1068)
* Update variable names, also pass imdb to parsing service from downloaddescisionmaker

* Changes to the DownloadDescisionMaker to use ImdbId when looking for movie. Should fix a lot of Unknown Movie errors.

* Add movie link to nav bar, update Movies image to be fa-film :) Minor UI change.
2017-03-07 18:29:02 -05:00
Devin Buhl 73f0916fa0 Deluge 1.3.14 API support due to changed json-rpc checks 2017-03-07 12:31:56 -05:00
geogolem d9a3f303e7 reverting a change made yesterday regarding sorting
the change fixed sorting titles of newly added movies without a refresh
however, people have noticed it broke sorting of "In Cinemas" column in general.
i commented out the change; but also added a special case in the comment, that would fix the case in question, without
breaking the others; however, more investigating is needed because there is an issue with sorting newly added movies in general and the
fix this reverts was never good enough anyway.
2017-03-07 10:52:48 -05:00
geogolem 1894d493f3 Merge pull request #1061 from geogolem/hotfix
oops -- this was a fix from the last merge - sorry
2017-03-07 10:10:48 -05:00
geogolem 88140dd3aa oops -- this was a fix from the last merge - sorry 2017-03-07 10:09:27 -05:00
Mihai Blaga fb1d13bc58 URLEncode the string for searching (#1055)
Closes #818 again
2017-03-07 10:08:14 -05:00
geogolem d03f4a515e fix client mode fetching.. only setPageSize when necessary 2017-03-07 09:55:48 -05:00
Leonardo Galli 0668f12e62 Fix error with weirdly formatted audioChannelPositions on MediaInfo. 2017-03-07 10:33:59 +01:00
aptalca 0083e95019 Update wiki link for sorting and renaming (#1045) 2017-03-06 23:02:31 -05:00
Greg Fitzgerald c7fcfe04be Fix a couple typos (#1049)
* Fix typo should be smtp.gmail.com

* Basic auth should say Radarr not Sonarr
2017-03-06 23:02:17 -05:00
Devin Buhl e11455c964 Fix tests 2017-03-06 22:32:30 -05:00
Devin Buhl 4d0226e0d5 Patch/onedr0p (#1048)
* Replace Sonarr with Radarr in some more places, update rTorrent to use

* Uncomment some lines

* Fix CP importing

* Upon first sync with adding movies with Lists, it will search for the movie.

* Update rarbg indexer, add method to netimportsearch service

* Replace german chars in movie title when searching newznab. Update netimportsearchservice
2017-03-06 22:09:03 -05:00
Leonardo Galli 7cfa0531dc Fixed all tests and even added some new ones :) (#835)
* First fixing of tests.

* Updated more tests.

* Fix some tests

* Fix all prioritization tests.

And add new for preferred words.

* Updated CompletedDownloadservice tests

* Fixed a lot of tests

* Fixed all indexer requests. We should add more for the indexers we added.

To lazy for that though ¯\_(ツ)_/¯

* Fixed organizer tests.

Should probably be also updated to incorporate our newly added tags.

* Fix notification tests.

* Fixed update test for osx

* Fixed a few more tests.

* Fixed some more tests.

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update appveyor.yml

* Update activity.less

* Update appveyor.yml

* Update appveyor.yml

* Update CommonVersionInfo.cs

* Update build-appveyor.cake

Let's hope this works.

* Update CommonVersionInfo.cs

Just to kickstart appveyor

* Fixed a few tests

* Just ignore those tests.

* Fixed more tests.

* First steps in fixing Core.Test.Download.DownloadApprovedFixture

* Fix most DownloadApprovedFixture tests

* Fixed something.

* Fixed a few more tests.

* Fixed pending release tests.

* All Core tests are now fixed.

* Fixed the last tests :)

* Fixed Download Station Tests.

* Fixed Vuze and Transmission default settings which caused the tests to fail.

* Fix most tests.

* Fix RootFolder tests.

* Fixed last tests
2017-03-06 22:23:25 +01:00
Leonardo Galli 5bd008f468 Fixes issue where quality settings wont save due to no pagesize. 2017-03-06 22:09:00 +01:00
Leonardo Galli f36db9f77b Merged branch develop into develop 2017-03-06 22:02:35 +01:00
Leonardo Galli 4640519438 Fix most paging issues on first load. 2017-03-06 22:02:25 +01:00
geogolem 597a070383 Merge pull request #1041 from geogolem/sortingFixForAddedMovies
fixes sorting after adding movies
2017-03-06 13:10:27 -05:00
geogolem 07d3b1b3a5 fixes sorting after adding movies 2017-03-06 13:09:19 -05:00
Leonardo Galli 665832f0cc /movies without pagesize or page gives back the old format. 2017-03-06 18:07:14 +01:00
geogolem d4eeb666e0 this seems to make it more stable 2017-03-06 09:23:15 -05:00
geogolem 3c1b5385ba im not too sure why this fixes the problem
but now the filterState is respected when returning from another page
2017-03-06 09:04:08 -05:00
geogolem ea22f5db79 Merge pull request #1031 from geogolem/reverseProxyTraktAuthFix
use href instead of hostname+port
2017-03-05 21:01:28 -05:00
geogolem e32bb6dbbf use href instead of hostname+port 2017-03-05 20:56:04 -05:00
Devin Buhl f897591d32 Improve RSS parsing for movies without year 2017-03-05 20:14:05 -05:00
Devin Buhl cf8f690d7a Add ReplaceGermanUmlauts method 2017-03-05 20:13:13 -05:00
Devin Buhl e3dc31cca5 Try to add year to release titles that have no year (foriegn release groups) (#1028) 2017-03-05 17:58:48 -05:00
Devin Buhl ddc6ccbf15 Added new TestCase for Parser and fixed spelling error 2017-03-05 14:32:51 -05:00
Mitchell Cash 18773bc665 Fixed: Delay profiles are no longer hidden under advanced settings (#1019) 2017-03-05 10:43:42 -05:00
Devin Buhl 91c71ed6a0 Revert "Added FindByAlternativeTitle in MovieRepo."
It won't work. You have to do it like in FindByTitle. This reverts commit 0d85c7435c.
2017-03-05 10:47:45 +01:00
geogolem f3b5d9a1d6 Merge pull request #1018 from geogolem/useRequestBuilderTrakt
use http request builder (aided by onedrop)
2017-03-05 03:50:12 -05:00
geogolem 83deba1c99 use http request builder (aided by onedrop) 2017-03-05 03:45:20 -05:00
Mitchell Cash 9787cf6cdd Improve indexer health check messages (#1015)
* Improve indexer health check messages

Fixed: Improve health check message when all enabled indexers are disabled due to failures
Closes #1551

* Fixed: Health check failing and preventing others from running

* Fixed Indexer Health Checks and tests.
2017-03-05 02:50:45 -05:00
Mitchell Cash 7433e89467 Clean RSS feed before detecting type (#1014) 2017-03-05 02:48:48 -05:00
geogolem 0aa6066a6f Merge pull request #1016 from geogolem/exclusionsFix
Exclusions fix
2017-03-05 02:07:47 -05:00
geogolem 3dd14c72c8 store titleSlug in tags for exclusions and always use TMDBID 2017-03-05 02:02:24 -05:00
Devin Buhl 0d85c7435c Added FindByAlternativeTitle in MovieRepo. 2017-03-04 23:47:45 -05:00
geogolem a3c0f4cb3f also use TMDBID on list sync 2017-03-04 21:55:11 -05:00
geogolem 3f2da1441f always check exclusions with tmdbid 2017-03-04 21:55:11 -05:00
geogolem f138d4f677 an updated radarrAPI has been deployed --> this commit makes
trakt authentication ready to be merged to the develop branch
2017-03-04 21:45:22 -05:00
geogolem aa977eb2d5 fully functional traktAuthentication
using api.couchpota.to with comments
for when updated RadarrAPI is deployed
2017-03-04 17:51:21 -05:00
Devin Buhl e0f72e4853 Fix error with null dates 2017-03-04 13:42:29 -05:00
Devin Buhl 83560ad937 Patch/more updates (#1009)
* add downloaded quality to cut off

* set profile to 1 on model too

* get the lowest year in release dates
2017-03-04 13:25:04 -05:00
Leonardo Galli 5cace1d857 Added debug messages to check quality. 2017-03-04 18:39:26 +01:00
Devin Buhl 39322cbbca Revert.. 2017-03-04 12:01:59 -05:00
Leonardo Galli 46daa11c46 Fixed "wrong" quality being detected. Scan will be slower though. 2017-03-04 17:50:02 +01:00
Leonardo Galli 98e2bd00ab Fix for wrong qualities showing up. Will be slower to load though. 2017-03-04 17:48:26 +01:00
Devin Buhl 0f2234bcdc Patch/onedr0p 3 4 2017 (#1006)
* Fix link in History tab (#734)

* Fix iCal feed (#746)

* Removed DKSubs from hardcoded subs

* Fix searching all cut off unmet
2017-03-04 11:40:38 -05:00
geogolem 3f05ef810e Merge pull request #994 from geogolem/respectPageSizeWithoutReloading
respect the pageSize when initializing the layout
2017-03-04 11:36:38 -05:00
Devin Buhl aab425ee5b Patch/onedr0p updates (#998)
* few small things

* update var names

* Validate Root Folder, Minimum Avability and ProfileId on List import.
2017-03-03 21:32:52 -05:00
geogolem cc4fb5a40b the movie was not being printed correctly, and i believe this
was also causing movies to be added when they shouldnt have been...
2017-03-03 12:52:50 -05:00
geogolem bbb4880ba4 respect the page when initializing the layout 2017-03-03 11:46:40 -05:00
geogolem 93bdac31ea clean up the fetching on loading of MovieEditor and MovieIndex once and for all 2017-03-03 09:27:54 -05:00
geogolem 272db9d483 i dont know why i was doing this inside the for loop... It did not scale well !
fixed
2017-03-03 07:36:37 -05:00
geogolem d8d60c6bb0 use clone so that we only detect empty collection
when collectio is empty.. not when current filter is empty but collectionis not
2017-03-03 04:50:52 -05:00
geogolem b773119193 i believe these are old code that is not needed since pagination..
the recent change to include filterType hits this when model is undefined..
commenting out these lines fixes the problem
2017-03-03 01:40:29 -05:00
Devin Buhl bdc0db3357 Default Wanted and Cutoff to be 50 movies per page, added filtering options to Cutoff and a Search all (#984) 2017-03-02 17:28:29 -05:00
geogolem 7d394dcff2 empty string case should not be only for the contains case 2017-03-02 15:21:39 -05:00
geogolem ff11388009 needed to pass the filterType, received the filterType and handle
the filterType
2017-03-02 15:14:43 -05:00
geogolem 5394f1dee9 reset filters on save.. 2017-03-02 01:57:51 -05:00
geogolem d03ee006fc Merge branch 'develop' into MovieEditorFixes 2017-03-01 23:15:00 -05:00
geogolem 897d76c4a2 revert some changes -- use FullCollection (maybe just for now) 2017-03-01 22:59:00 -05:00
Devin Buhl 349dd12161 Possible fix for Custom script (#973) 2017-03-01 21:22:36 -05:00
Devin Buhl d84e6c84f5 Hotfix when importing movie (#971) 2017-03-01 20:20:42 -05:00
Marcelo Castagna dfcdf8871c Fixed infinite loop. Added default destination test when adding client (#968)
removed empty spaces. changed dcaex => ex

Changed error message

changed error message

Wrong message, ups

Another message
2017-03-01 18:45:52 -05:00
Devin Buhl 7122962dc8 Date added in Movie List & Possible Fix for Importing Movies. (#969)
* Is there a need to lazyload?

* Update dates in movie list

* additional check for moviefile lazy load

* lazyload not needed...
2017-03-01 18:45:12 -05:00
Tim Turner 6432928b7d Ensure collection is synced before opening movieDetails 2017-03-01 17:30:48 -05:00
geogolem ed1d6e59b5 Merge pull request #963 from geogolem/importExclusionFix
just show imdbid or tmdbid for now in exclusions
2017-03-01 10:21:56 -05:00
geogolem 8b2d85aee5 just show imdbid or tmdbid for now in exclusions 2017-03-01 10:19:44 -05:00
geogolem 392d63fe57 MovieIndexPage Stability + MovieEditor fix (#925)
* this fixes some issues where the table
was rendering with incorrect data
prior to it being updated....

it also has the FullCollection fetched when necessary..

this will make the movie Index be accurate even after deleting files
or when returning from the movieEditor..

The footer has been improved and since
FullMovieCollection is now kept up to date the footer changes
as the user performs operations and it shows all the time with proper info
even after deletions or changes made in the movieEditor.

Prior to this it was necessary to totally refresh the page..

switching between movie editor and movie index would give unpredicatable results.

these issues have been fixed

* this is a much better solution...

still testing, but likel ready to be merged

* removing comments

* fix the movieEditor -- client side paging in movieEditor

* major code cleanup, and a slightly better implementation
no need to use FullMovieCollection..

just use moviesCollection.fullCollection when in client mode

* display a message when saving is done

perhaps eventually we can have a spinning status indicator on the
save button.. but that is not necessary right away

* some minor adjustments

* remove parseInt for tmdbId

* fix bugs

* remove some alerts

* accidentally changes this on last commit

* use the same FullMovieList everywhere

* add back alert when save is done
2017-02-28 19:46:00 -05:00
Devin Buhl 1c086b057a Patch/galileo fixes (#951)
* Update to ParseMovieTitle

* update default server to gmail to relfect other changes
2017-02-28 19:30:23 -05:00
Devin Buhl 6bbe55a46c Patch/updates onedr0p (#946)
* Update inCinemas column to abide by the short date set in settings (#511)

* Set default port to 587 for Email Settings, should help with all the people with gmail

* set SSL to true by default
2017-02-28 17:58:21 -05:00
Devin Buhl 7a269efcbc Fixed problem with TMDb list when Year is null, Revert using UrlPathEncode on newznab requests (#937)
* Fixed problem with TMDb list when Year is null

* Fuck it, just skip movies with no year. Once they have a year they will be automagically added if sync is enabled.

* Revert using UrlPathEncode on newznab requests
2017-02-27 20:16:54 -05:00
Ross Valler 06bd6db601 Expose more information to the Webhook notification (#935)
* Fix/implement Webhook notifications

* Expose more information (specifically TMDB ID)
2017-02-27 17:21:44 -05:00
Ross Valler 3dc9d3a420 Fix/implement Webhook notifications (#901) 2017-02-26 08:06:20 -05:00
geogolem 91ba503700 added more filters to the movie editor (#905) 2017-02-26 13:35:22 +01:00
Devin Buhl 28d27dca5c Add remux 1080p and 2160p as qualities (#900)
* Add Remux 1080p and 2160p as qualities, includes Tests & migration

* Whoops forgot to take this out
2017-02-26 01:14:52 -05:00
Devin Buhl e33265b58d Update parsing french movies (#899)
* Add VO, VFF and VFQ to french language

* Added VO, VFF, TRUEFRENCH and VFQ to french parser

* Update tests for french
2017-02-25 23:45:44 -05:00
Mitchell Cash 22fcb04773 NZBGet delete:scan treated as failure (#898) 2017-02-25 23:22:25 -05:00
Devin Buhl f9f67873ad small changes 2017-02-25 23:16:18 -05:00
Devin Buhl b1d345f165 Hotfix 2017-02-25 16:47:18 -05:00
geogolem 1c6a32b684 List sync with removal (#656) 2017-02-25 16:38:52 -05:00
geogolem 55ac2dd1bb fix the footer to show correct information and refresh when FullCollection changes (#893) 2017-02-25 16:37:46 -05:00
Tim Turner 997dce288d Increase fullCollection page size, update Refresh Library command 2017-02-25 13:59:30 -05:00
Devin Buhl 4d745d3600 Patch/updates (#887)
* Update HDBits internal logic

* TMDb List validation

* Add Trakt validation, update rest to implement IProviderConfig

* Update wording
2017-02-25 11:34:07 -05:00
hotio dbd1080f5c Fix poster placeholder height on small screens (#883) 2017-02-25 10:58:50 -05:00