Commit Graph

61 Commits

Author SHA1 Message Date
Mark McDowall 8cac84b4ad PostDownloadProvider broken down further.
Will try to reprocess _NzbDrone_ directories each pass, but will mark with an error when possible.
Attempt to process _UNPACK_ and _FAILED_ directories 30 minutes after first detected by NzbDrone (to give SAB time to unpack properly before processing).
2011-10-14 08:37:19 -07:00
Mark McDowall 5098ea3249 Added two new Episode Statuses - Unpacking and Failed.
Tests added to support new Statuses.
PostDownloadScanJob will update PostDownloadStatus for failed or unpacking.
ImportFile will set the PostDownloadStatus to Processed when added to the database.
2011-10-11 20:44:19 -07:00
Mark McDowall 33930534c2 Ignore Episode Zero when adding a new episode to the database, either via GetEpisodesByParseResult
or RefreshEpisodeInfo. With tests.
2011-10-03 19:01:39 -07:00
Mark McDowall 6736afbeab Added NextAiring to Series (ResultColumn), which is used for Series/Index. Added tests and fixed broken tests after adding new property. 2011-09-28 10:56:30 -07:00
Mark McDowall 4b2427ade7 Report size is now verified to ensure it is under the MaxSize for that quality type, with tests. 2011-09-13 21:37:22 -07:00
Mark McDowall 179de93a6e Removed AttachSeries for IEnumerable and using join instead, speed difference is negligible or in some cases faster . 2011-09-04 19:56:45 -07:00
Mark McDowall 8592ae4c88 AttachSeries is no longer used for single episodes, PetaPoco will get the series in a single call for us. 2011-09-04 02:20:49 -07:00
Mark McDowall 0a65e85e21 EpisodesWithFiles now returns the full series object, instead of just the SeriesTitle (So we don't need to add junk to the Episode class) 2011-09-04 00:45:58 -07:00
Mark McDowall 0b586de226 Added misnamed provider, PLINQ speeds it up, but still to slow for use, paging helps, but isn't consistent.
A bunch of files changed removing System.Linq, thanks Resharper :(
2011-09-03 20:05:44 -07:00
Mark McDowall 8cffa5168b Fixed broken EpisodeProvider tests. 2011-08-31 16:56:25 -07:00
kay.one 9244a4e6ef Update episode info now uses UpdateMany, InsertMany 2011-08-28 20:03:40 -07:00
Mark McDowall 412a3fc476 EpisodesWithoutFiles now skips ignored episodes, Tests updated. 2011-08-03 22:56:42 -07:00
Mark McDowall 4f68d07c9a Fixed issue with missing episodes incorrectly using include specials.
Added tests for missing episodes.
2011-08-03 22:44:24 -07:00
Mark McDowall c88ead0585 Wired in the season and episode ignore saving.
Converted setSeasonIgnore & setEpisodeIgnore to use inline SQL.
Added tests for setSeasonIgnore & setEpisodeIgnore.
2011-08-03 18:45:45 -07:00
Mark McDowall 0ed898b6db IsIgnored will now be checked when adding new episodes to the DB, it will:
- ignore new episodes of a season if that season was already ignored
- ignore new seasons if the previous was ignored
- ignore specials (when a new series is added), if a user chooses to download specials, all new specials will not be ignored

Added tests for IsIgnored and AddEpisode changes.
2011-07-22 17:57:52 -07:00
kay.one c37544d4ce Episode is now marked as grabbed on download 2011-07-03 16:04:57 -07:00
kay.one 69239bc371 Switched to SQLCE 4.0 2011-06-22 23:56:17 -07:00
kay.one 01163a4f87 Cleanup and tests around ImportFile 2011-06-21 18:12:20 -07:00
kay.one 1ba74e0eea Drop folder is now wired. needs more tests. 2011-06-20 23:34:45 -07:00
kay.one 5c45515b00 Merge branch 'markus101' 2011-06-20 22:44:30 -07:00
kay.one 63adb6b566 Wired-up drop folder move 2011-06-20 22:44:01 -07:00
Mark McDowall 244e0f04f4 Fixed UnitTests (set EpisodeFileId to zero where no episo.de file is expected back) 2011-06-20 00:40:45 -07:00
kay.one 852b1e9bb5 Merge branch 'markus101' 2011-06-19 20:28:09 -07:00
kay.one 45549fa50b Fixed attach series issue and null episodes. 2011-06-19 20:25:24 -07:00
Mark McDowall b084a3bc46 EpisodeProvider GetEpisode(s) returns episodes with EpisodeFiles. 2011-06-19 18:46:32 -07:00
kay.one 3d3e864094 EpisodeProvider now fills Series property for all episodes returned. 2011-06-18 22:57:24 -07:00
kay.one f2fdece18a Removed subsonic completely 2011-06-17 19:00:44 -07:00
kay.one 33a38481dc Fixed IsIgnored issues 2011-06-16 00:00:55 -07:00
kay.one cb8cb1691f SeriesProvider is now Subsonic free. 2011-06-15 23:33:01 -07:00
kay.one 54d1d5e379 GetEpisodeFilesCount should be around 5 times faster. 2011-06-05 00:25:50 -07:00
kay.one 57690f49a0 Fixed IsSeasonIgnore logic, added tests 2011-06-04 23:24:24 -07:00
kay.one d3be516fb2 removed Season/SeasonProvider, updated dbBenchmark tests. 2011-06-03 18:56:53 -07:00
kay.one f97209d476 commiting tests before teamcity demo 2011-06-02 14:06:46 -07:00
kay.one e547792020 More episode update fixes, tests 2011-05-28 20:37:19 -07:00
kay.one db3eeda50f Cleaned up RefreshEpisodeInfo added tests 2011-05-28 20:01:35 -07:00
kay.one 1239da656e Rewrite of InventoryProvider 2011-05-28 12:23:35 -07:00
kay.one 4cc240a7e0 Better quality parse 2011-05-25 20:13:39 -07:00
kay.one 500e9af6c3 Fixed a bug where reports weren't being added to history 2011-05-23 21:12:54 -07:00
kay.one c91852018e simplified some quality types 2011-05-23 10:20:43 -07:00
kay.one 8ba42106c4 fixed broken tests 2011-05-22 22:51:46 -07:00
kay.one a4f8947d90 Test project cleanup 2011-05-22 09:53:21 -07:00
kay.one 8fca3c3419 more test/fixes 2011-05-19 22:52:05 -07:00
kay.one 3e1ff7e96e Basic indexer tests are working 2011-05-19 21:18:51 -07:00
kay.one 6d085d5340 Added support to Error/Warning/Fatal verification in text projects 2011-05-18 20:55:35 -07:00
Mark McDowall 742ad0a932 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/EpisodeProviderTest.cs
	NzbDrone.Core/NzbDrone.Core.csproj
2011-04-25 11:24:11 -07:00
Mark McDowall deb7f9d811 Merge + Download Settings UI Fixes. 2011-04-25 11:21:53 -07:00
kay.one e6fb02fac6 Fixed IsNeeded() with tests
Added sample xml from all indexers to test project
Fixed a bug where parser would try to use file extension from a report title.
2011-04-25 10:48:16 -07:00
kay.one 217f98c4a9 Moved GetSabTitle from episodeprovider to sabprovider, removed seriesprovider dependency 2011-04-23 13:53:13 -07:00
kay.one e074164a47 more tests and bug fixes 2011-04-22 13:14:02 -07:00
kay.one 10ad7d1ed5 Added sabtitle method
Added custom parse option to Indexrbase
2011-04-20 18:26:13 -07:00