Commit Graph

524 Commits

Author SHA1 Message Date
kay.one 51518787d8 Lots of initialization, configuration clean up. 2011-11-13 16:22:18 -08:00
Mark McDowall a031fe9d98 Added config.xml to .gitignore.
Added tests for NewznabProvider.
2011-11-13 13:44:19 -08:00
kay.one 207550176c Removed assembly level fixtures 2011-11-13 10:16:31 -08:00
kay.one 72d0fc50ed Alot of refactoring. 2011-11-12 23:27:16 -08:00
kay.one 2e94e322f4 Path calculations are now done using extension methods. 2011-11-12 21:19:19 -08:00
kay.one 1270e464b3 More autoupdate code. 2011-11-12 20:07:06 -08:00
Mark McDowall f3f2691b4d Added ParentUriString to get the parent site URI from any URI. 2011-11-12 12:21:19 -08:00
Mark McDowall 95cdc4b78c Moved FreeDiskSpace to DiskProvider. 2011-11-12 11:53:36 -08:00
Mark McDowall bbd5cba272 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus
Fixed CentalDispatch Conflicts.
2011-11-09 20:14:19 -08:00
kay.one ca7deedfb9 CentralDispatch is no longer static. 2011-11-08 12:12:54 -08:00
kay.one b43397752e Fixed broken tests 2011-11-07 23:01:52 -08:00
kay.one 07458529f6 JobProvider can reset itself.
cleaned up unit test logging
2011-11-06 22:26:21 -08:00
kay.one 82b6ec5ed4 Some test cleanup 2011-11-03 16:23:54 -07:00
kay.one 633f0b6197 PathProvider. visit us for all of your pathing needs. 2011-11-02 22:04:14 -07:00
kay.one c503b497ed Merge branch 'markus' into kay.one 2011-11-02 20:34:07 -07:00
Mark McDowall 277b873b39 Added Prowl notifications. 2011-11-02 19:44:22 -07:00
Mark McDowall 1b8e359a63 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-02 00:10:11 -07:00
Mark McDowall 3fe1e80ccb Added Growl (Not yet visible on the GUI). 2011-11-01 20:08:53 -07:00
kay.one 5aecd63d09 Update FluentAssertion to 1.6 2011-10-31 18:47:39 -07:00
kay.one 994ea7f090 Update FluentAssertion to 1.6 2011-10-31 18:34:30 -07:00
kay.one cd32a70179 Starting path clean up. (All paths should go through EnvironmentProvider) 2011-10-28 21:54:33 -07:00
Mark McDowall 6b26843b50 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus
Conflicts:
	NzbDrone.Core.Test/ParserTest.cs
2011-10-24 23:22:34 -07:00
Mark McDowall 1134d925f4 Fixed REGEX for title parsing. 2011-10-24 23:14:55 -07:00
kay.one c1116d0faa Fixed bug where service where windows service couldn't be installed. 2011-10-24 23:11:50 -07:00
kay.one b3e4485d71 Post processor now deletes folders that are less than 40MB. 2011-10-24 22:15:20 -07:00
kay.one 3dd7b3d768 This should fix the bug where a folder was tried to be retagged with the same error. 2011-10-24 21:34:48 -07:00
kay.one 4ae268b8e5 lots of different things ;) 2011-10-23 22:54:09 -07:00
kay.one 6828f099bc Removed all static state tracking from job provider. 2011-10-23 14:53:24 -07:00
kay.one c23e736cc6 Cleaned up ConfigProvider. Added reflection based test for all properties in ConfigProvider. 2011-10-23 13:35:16 -07:00
kay.one f9a316f632 Moved tests for NzbDrone.Common to its own test project. added some new tests. 2011-10-23 10:32:57 -07:00
kay.one f52620db70 Replaced deprecated NBuilder calls. 2011-10-22 22:39:14 -07:00
kay.one 956092dbd4 Merge branch 'markus' into kay.one
Conflicts:
	NzbDrone.Core.Test/ProviderTests/DiskScanProviderTest.cs
	NzbDrone.Core.Test/ProviderTests/MediaFileProviderTests.cs
2011-10-22 22:28:59 -07:00
kay.one ec08436587 Refactored the shit out of PostDownloadProvider 2011-10-22 19:31:28 -07:00
Mark McDowall a827199902 Fixed broken tests. 2011-10-22 17:13:49 -07:00
kay.one 35e44284c0 Fixed broken test, drop folder prefix uses regex instead of prefix now. 2011-10-22 16:28:57 -07:00
kay.one 1b2af8ea1b Merge branch 'markus' into kay.one 2011-10-22 15:23:21 -07:00
kay.one 2b6fc174ab Moved TestBase to correct folder 2011-10-22 15:22:17 -07:00
Mark McDowall bb5febaade DiskScanProvider.Scan() will log a warning if the path doesn't exist. 2011-10-22 12:03:54 -07:00
kay.one e4d90e2f92 Merge branch 'markus' into kay.one 2011-10-21 00:00:10 -07:00
kay.one 5bb3b339a6 Fixed broken test 2011-10-20 23:58:23 -07:00
Mark McDowall 72c555f250 Local series search will now search anywhere in the title, not just the beginning. 2011-10-20 23:06:36 -07:00
kay.one 651a63edea Merge branch 'markus' into kay.one
Conflicts:
	NzbDrone.Core.Test/ProviderTests/LogProviderTest.cs
2011-10-20 22:08:55 -07:00
kay.one 8f9946eb63 Added some update APIs to check for updates and download and extract the update package.
Todo: apply updated, UI.
2011-10-20 22:04:26 -07:00
Mark McDowall eb323b5394 Fixed broken log provider tests. 2011-10-20 17:59:51 -07:00
Mark McDowall d8fb295214 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-20 16:46:15 -07:00
Keivan Beigi e5c4f34e0e Adding some structure to NzbDrone.Core.Test 2011-10-20 16:42:17 -07:00
Mark McDowall f6e14b51f6 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-20 16:39:13 -07:00
Mark McDowall 745d9d9355 TopSlider added for local series searching!
Should be easy to add others (would want to have it close other open ones, I think).
2011-10-20 16:36:47 -07:00
Keivan Beigi ae1a32b874 Fixed an issue where GetEpisodesByParseResult would throw object reference when episode list was null 2011-10-20 16:07:47 -07:00
Mark McDowall 3bd99a2b7b Added Support for 1011 as a number convention. 2011-10-20 14:30:45 -07:00
kay.one ea05635fd3 Moved NLog, Fluentassertion to Nuget. 2011-10-20 01:02:12 -07:00
kay.one e2290d9f0f Removed broken test 2011-10-19 22:34:58 -07:00
kay.one 39c8462769 Pushing broken test to test teamcity 2011-10-19 22:05:04 -07:00
Keivan Beigi 88b8c053fc Upgraded to NBuilder 3. 2011-10-18 14:46:06 -07:00
Mark McDowall e87cdbde44 Removed SharedLiveTemplates.xml.
Cleaned up PostDownloadProvider, added more tests.
2011-10-17 20:08:26 -07:00
Mark McDowall 4b31b5b693 Removed duplicate test. 2011-10-17 15:31:16 -07:00
Mark McDowall 66b4b094f9 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus
Conflicts:
	NzbDrone.Core.Test/EpisodeProviderTest.cs
	NzbDrone.Core/Providers/PostDownloadProvider.cs
2011-10-17 15:30:43 -07:00
Mark McDowall f78c5f2124 Fixed a couple tests, so they shouldn't fail due to other tests impacting them. 2011-10-17 13:20:09 -07:00
Mark McDowall 714bcee5cb Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-17 13:06:07 -07:00
Mark McDowall 642707e46d Fixed some issues with PostDownloadProvider.
Added tests for PostDownloadProvider.
2011-10-17 13:05:38 -07:00
Keivan Beigi 6af98f9e96 more better exception handling. 2011-10-17 12:23:34 -07:00
kay.one 288359627e WebException now marks indexer tests as Inconclusive. 2011-10-16 20:51:15 -07:00
kay.one 458565d473 WebException now marks indexer tests as Inconclusive. 2011-10-16 20:40:22 -07:00
kay.one 77b867d65e Testing ExceptionVerification Inconclusive logic 2011-10-16 20:32:57 -07:00
kay.one 97ed59920b trying to stop team city from sending exeptioneer reports. 2011-10-16 20:02:20 -07:00
kay.one 287cb03517 Added ignore exception type to ExceptionVerfication 2011-10-16 19:42:11 -07:00
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