Commit Graph

408 Commits

Author SHA1 Message Date
kay.one c55ca42c21 Migration is no longer executed per test, its ran once and the db is cloned after that, (faster tests, cleaner logs ;) 2011-10-16 19:03:54 -07:00
Mark McDowall 1ff34c8e38 Better test for Fluent.FreeDiskSpace() 2011-10-15 16:00:59 -07:00
Mark McDowall 117cebe655 Found and fixed a bug in EpisodeProvider.GetEpisodesByParseResults, where it would incorrectly return all episodes for a season when a file was detected as a Full Season release. 2011-10-15 11:51:11 -07:00
Mark McDowall c296b6975c Added DirectoryInfo.FreeDiskSpace to get the free disk space of any directory. 2011-10-15 11:36:09 -07:00
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 4915b32cc6 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-11 20:44:45 -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
kay.one 87fe19ab4e Added compile date to footer 2011-10-11 19:39:46 -07:00
kay.one 1ba959298b Added BuildDateTime to central dispatch 2011-10-11 19:24:43 -07:00
kay.one 012fa88301 Merge branch 'markus' into kay.one
Conflicts:
	NzbDrone/NzbDrone.csproj
	NzbDrone/Providers/ConfigProvider.cs
2011-10-09 10:45:08 -07:00
kay.one 495d7b8595 More code to support service, isn't working yet. (Console still works fine) 2011-10-08 19:16:11 -07:00
kay.one e15e79a6c1 Merge branch 'markus' into kay.one 2011-10-07 21:17:46 -07:00
Mark McDowall 2c3eff2741 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-07 16:25:52 -07:00
Mark McDowall f973c74c87 ConfigFileProvider will now add missing config values automatically, with a default value.
Added Handbrake and AtomicParsley wrappers for iPod video conversion.
2011-10-06 21:36:47 -07:00
Keivan Beigi f3ca3e97f9 Starting to add windows service support, making nzbdrone.exe unit testable. 2011-10-06 18:30:44 -07:00
Mark McDowall d9b2c72125 WindowsAuthentication now works (disabled by default).
Tests for SortHelper will now be run.
2011-10-06 18:18:34 -07:00
Mark McDowall 430fb9aead SortHelper.SkipArticles will no longer bomb when a null is passed.
Added tests for SkipArticles.
2011-10-06 09:37:34 -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 2cafedb1aa UpcomingEpisodes will not show ignored episodes. 2011-10-03 16:53:21 -07:00
Mark McDowall 7db08a10ec Next airing will not show ignored episodes. 2011-10-03 16:38:22 -07:00
Mark McDowall ec6a0e6b7f App_Data added to .gitignore
Added SetValue to ConfigFileProvider.
Added creating of default config file in ConfigFileProvider.
Added more ConfigFileProvider tests.
Added UI for Settings/System
2011-10-01 00:04:06 -07:00
Mark McDowall f0f706b32c ConfigFile for NzbDrone.exe is now stored under App_Data for NzbDrone.Web. - This will be to provide the users a way to edit Port and set whether they want their default browser to open on startup, all form the WebUI (and not be overwritten on upgrades). 2011-09-30 20:12:18 -07:00
Mark McDowall 79472964ed DeleteInvalidEpisodes Deletes by TvDbId only, skipping any manually added episodes (TvDbEpisodeId is 0 or null) 2011-09-30 09:32:57 -07:00
Mark McDowall 30ffe79442 DeleteInvalidEpisodes with tests added to delete episodes that TheTvDb no longer has (previously bad data). 2011-09-29 21:40:00 -07:00
Mark McDowall 7ca59b92aa Replace '&' with its XML encoded equivalent, before parsing XML.
Added test to check for proper XML parsing with illegal characters.
2011-09-28 21:39:05 -07:00
Mark McDowall 9714a96437 Upcoming/Index now uses .ToBestDateString() for Dates, only showing on FutureForecast grid (instead of all grids). Status is shown on grid and option to search for episode.
Series/Details season grids won't be as tall now, due to reduced padding.
2011-09-28 17:20:29 -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 f014ddcfea Added Tests for DateTime Fluent. 2011-09-28 10:12:53 -07:00
Mark McDowall 5f0a95b2b1 Fixed XBMC JSON requests. 2011-09-27 10:41:36 -07:00
Mark McDowall 0dbb3789eb Treat SUBPACK's as extra releases, so they will not be downloaded. 2011-09-25 18:00:21 -07:00
Mark McDowall 43fa8a1f66 Fixed broken Season parsing REGEX, added test to verify issue without parsing XML. 2011-09-19 21:29:04 -07:00
Mark McDowall 339f191ab8 Releases with only extras will be skipped, with tests. 2011-09-19 17:13:19 -07:00
Mark McDowall 4604bbd821 Mark invalid series downloads with NzbDrone prefix.
Fixed broken tests.
2011-09-18 13:53:05 -07:00
Mark McDowall 951eb4523d Support for csi525 naming added, previously csi.525 would work, but csi525 wouldn't. 2011-09-18 12:59:23 -07:00
Mark McDowall 10d526d003 Fixed broken test that was using app relative path. 2011-09-15 23:01:31 -07:00
Mark McDowall 8c06dde28a Quality size sliders are implemented. Limits are calculated based on MB/Minute. 2011-09-15 21:42: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 e4f01ae0d4 Size is now parsed for each item in the feed.
QualityType added to database to allow saving of size limits.
Fluent now uses longs for multiplication, to ensure it doesn't overflow.
2011-09-13 19:25:33 -07:00
Mark McDowall dfd0720872 Added BannerDownloadJob, it will run every 30 days.
New series will have their banner downloaded on import.
2011-09-10 01:42:05 -07:00
Mark McDowall 070115a59a TopLogs will now return the count pass in, reduced to 5000 from 7500 to prevent JsonSerialization issues when being sent to the grid.
Added tests for TopLogs and GetPagedLogs.
2011-09-07 17:01:51 -07:00
Mark McDowall 73fadac397 Fixed parser to properly parse a more common naming convention where the episode title starts with an episode or series/episode combination.
SeriesController SaveEdit and Delete OrderBy Title with articles removed, with episodeCount.
Reworded Auto-configure button.
2011-09-06 23:43:10 -07:00
Mark McDowall a56213047f EpisodeSearch now gets the proper QualityProfile (broken after removing AttachSeries), tests updated. 2011-09-05 17:44:03 -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 35cad3d27e Added partial season searching when a full season NZB is not available. 2011-08-31 23:58:54 -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 2980c91f19 GetSabName will return cleaner Season naming when it is a FullSeason release. 2011-08-28 15:22:19 -07:00