1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-27 02:43:57 +02:00
Commit Graph

1337 Commits

Author SHA1 Message Date
Mark McDowall
be423663d7 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-16 22:36:03 -08:00
Mark McDowall
30e21ecd16 Searching will be more picky now to ensure the proper series and season (and episode if relevant) 2011-11-16 22:32:44 -08:00
kay.one
04d40575da Cleaned up JobProviderFixture, should save ~20 seconds in build time. 2011-11-16 22:23:35 -08:00
Mark McDowall
edfe2f1079 Fixed American Dad test when specials are counted in the NEW numbering system (1,3,4,6,7,21) 2011-11-15 17:08:20 -08:00
Mark McDowall
5ad11ba728 Fixed adding of Newznab provider. 2011-11-15 15:11:17 -08:00
Mark McDowall
d5a602c4eb Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-13 21:37:13 -08:00
kay.one
fbf7d20c5d Fixed update client path issue 2011-11-13 19:09:34 -08:00
kay.one
6369d4f817 Update updates ;) 2011-11-13 18:54:09 -08:00
kay.one
88f4d15fa9 Added some update tests 2011-11-13 17:27:11 -08:00
kay.one
56a6e1372d Update client is now included in the build package 2011-11-13 16:57:03 -08:00
Mark McDowall
09d6c5bf84 Missed in last commit for fixing AutoMoq. 2011-11-13 16:33:49 -08:00
Mark McDowall
fbc75b46fd Fixed AutoMoq for Newznab tests. 2011-11-13 16:33:08 -08:00
Mark McDowall
8c1f7e6663 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-13 16:27:25 -08:00
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
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
Mark McDowall
704084a5c8 Fixed broken parse REGEX, removed parsing test and added to hall of shame. 2011-08-28 14:18:43 -07:00
Mark McDowall
8afd7d2b47 Fixed broken tests. 2011-08-28 12:24:16 -07:00
Mark McDowall
43e5cb7b31 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-28 12:08:06 -07:00
Mark McDowall
f604c35768 Backlog search added (disabled) - It will search for a full season if a full season is missing. 2011-08-28 12:07:56 -07:00
kay.one
52e6d09325 Fixed port, added broken parser test 2011-08-28 10:43:01 -07:00
Mark McDowall
273530eda2 SeriesSearchJob uses SeasonSearchJob to try to download seasons first. 2011-08-27 23:37:34 -07:00
Mark McDowall
485f618e02 Full Season searching added (Single NZB). SearchProvider added to perform both Season and Episode searching, triggered via jobs.
Tests added for season searching.
2011-08-27 22:45:36 -07:00
Mark McDowall
07a4c94032 Removed ParseSeasonInfo.
ParseEpisodeInfo will mark a report as a full season if no episodes are found, but was matched.
Fixed tests that were affected by REGEX changes.
2011-08-26 22:37:20 -07:00
Mark McDowall
1d983801e8 SABnzbd settings will now dynamically get the categories available from SABnzbd when the category drop-box gets focus, it will use values on the page so there is no need to save your settings first. 2011-08-26 10:45:59 -07:00
Mark McDowall
d554e9ec83 Delete existing files on import if equal or better quality otherwise skip importing. If the folder is not deleted after processing it is renamed so it will not be processed repeatedly. 2011-08-25 23:23:21 -07:00
Mark McDowall
2ad200e743 Fixed an issue where large 1080i MPEG HDTV rips were being considered SDTV, they now get caught as Unknown. 2011-08-25 16:58:24 -07:00
Mark McDowall
fb9c2b6d9e Fixed SceneMappingProvider to resolve an issue with series with multiple clean names failing to return a Scene Name when being looked up via SeriesId. 2011-08-22 23:07:04 -07:00
Mark McDowall
f6c9fa4f95 Added SeriesSearch and RenameSeries jobs.
Add UI controls for new jobs.
Skip ignored episodes when doing series/season searches.
2011-08-22 22:29:12 -07:00
Mark McDowall
4e41791d58 Fixed broken tests for episode status = ignored. 2011-08-21 23:32:38 -07:00
Mark McDowall
12af491b45 Added test for seondaryTargetId being less than 0. 2011-08-21 18:07:22 -07:00
Mark McDowall
350e0388de Updated JobProvider to allow jobs with two targets.
JobQueueItem class created instead of using Tuples.
Added Search for Season and Rename Season jobs , plus links for them on Series/Details.
Add GetSeasonFiles added to MediaFileProvider.
2011-08-21 17:48:37 -07:00
Mark McDowall
f1f85a0eca Fixed parsing issue when Episode Title starts with a number. Split out single and multi episode REGEX for standard naming conventions. 2011-08-05 21:51:36 -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
45b4bb4629 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-03 19:23:20 -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
kay.one
9cb33770a0 Added Readme 2011-08-03 09:29:03 -07:00
Mark McDowall
35abb74993 Fixed parsing of House - S06E13 - 5 to 9
Episode Title was being picked up as part of the numbering. Lost ability to parse some oddly named scene titles.
2011-08-01 22:10:05 -07:00
Mark McDowall
559011ba82 SeriesPathExists compares paths in lower-case now.
GitHub Issue 
2011-07-28 18:03:24 -07:00
Mark McDowall
23681167e4 Fixed DownloadProviderTest (wasn't providing a mock for ExternalNotificationProvider) 2011-07-28 18:02:21 -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
5e30c482cd Priority is now set using a timer 2011-07-10 22:15:37 -07:00
kay.one
d640fa65e8 Fixed orphaned job issue in JobController
System/Jobs now shows items currently in queue.
2011-07-10 21:53:34 -07:00
kay.one
77c82df482 Priority/JobProvider tweaks 2011-07-10 17:03:01 -07:00
kay.one
291e2c399e Merge branch 'markus101' 2011-07-10 13:16:22 -07:00
kay.one
8927a938b7 Fixed episode status of recently imported episodes. 2011-07-10 13:07:42 -07:00
kay.one
8d12630856 Newzbin now parses the language out properly.
Fetch episode filters episodes from wrong series
2011-07-10 12:52:29 -07:00
Mark McDowall
c322dd9e7a Fixed broken Series with Episode Count test. 2011-07-09 19:58:36 -07:00
Mark McDowall
67299f0d97 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
2011-07-09 19:48:02 -07:00
Mark McDowall
7ec499acab Series with Episode count now ignores shows that haven't aired (includes ones that air today). 2011-07-09 19:45:31 -07:00
Mark McDowall
348ff5a386 XbmcProvider updated to include new Json API methods.
EventClient is used for sending CleanLibrary and Notifications (With NzbDrone Logo - Internal Resource).
Support for Dharma's HTTP Server (Deprecated), since Dharma doesn't support Json as well.
2011-07-09 11:19:33 -07:00
kay.one
6393d0a3f9 Added Tests for CentralDispatch 2011-07-07 22:41:08 -07:00
kay.one
b086414d75 some cleanup 2011-07-07 20:57:44 -07:00
kay.one
edf9d1d2cc Initial quality is only setup if no other quality profiles exists. 2011-07-07 20:57:31 -07:00
kay.one
452b5c8f84 Renamed sorting config keys 2011-07-07 20:36:02 -07:00
kay.one
15aedfc847 some db/migration cleanup 2011-07-07 20:27:11 -07:00
kay.one
8424dd6ede Increased some columns sizes to avoid cutoffs. 2011-07-06 00:37:58 -07:00
kay.one
f0735c0693 minor tweaks 2011-07-06 00:36:49 -07:00
kay.one
46f90255bf Updated fluent assertion, unignored qulity equality tests. 2011-07-05 23:16:37 -07:00
kay.one
3dd8e7240e Added GetDirectorySize to DiskProvider
Removed search folder from disk provider
2011-07-05 00:09:07 -07:00
kay.one
84449672ec fixed broken tests 2011-07-03 22:34:20 -07:00
kay.one
c37544d4ce Episode is now marked as grabbed on download 2011-07-03 16:04:57 -07:00
kay.one
f2b091dcd2 Fixed issue with nzbs.org search where title contained brackets 2011-07-03 15:32:36 -07:00
kay.one
861026f743 Fixed some petapoco issue with insert. 2011-07-02 16:45:29 -07:00
kay.one
5a4e8330b2 Updated petapoco to 4.0.3 2011-07-02 16:12:20 -07:00
kay.one
cd96d546e8 limited newzbin search to English only. 2011-07-02 11:41:23 -07:00
kay.one
07312780f1 ParseEpisodeInfo is now separated into ParseTitle and ParsePath 2011-06-29 16:31:16 -07:00
kay.one
b98aab87ae Merge branch 'markus101' 2011-06-26 20:06:26 -07:00
Mark McDowall
87e9589761 Remove empty folders after importing new downloads.
Fixed American Dad test (new season added to TheTvDb).
Removed unneeded .ToList()
2011-06-25 19:50:18 -07:00
kay.one
9d7ed33d0d Updated series grid
Added some parser tests
2011-06-24 18:20:52 -07:00
kay.one
7d706a3304 Renamed SubsonicTarget to DataBaseTarget 2011-06-23 21:05:31 -07:00
Mark McDowall
8153b5a124 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-23 11:37:31 -07:00
Mark McDowall
342406784a Fixed seriesGrid query and tests.
Fixed GetEpisodeModels that would fail due to a null AirDate.
2011-06-23 11:37:17 -07:00
kay.one
fa53b2abb0 Forces Test project to use x86 version of the SQL CE dlls. 2011-06-23 09:05:41 -07:00
kay.one
3cd4ee3996 moved SQL CE to Nuget. 2011-06-23 00:16:15 -07:00
Mark McDowall
938fa24a8e Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-23 00:05:18 -07:00
kay.one
2537dafb36 Added SQL CE dlls, removed SQLite 2011-06-23 00:03:05 -07:00
kay.one
69239bc371 Switched to SQLCE 4.0 2011-06-22 23:56:17 -07:00
Mark McDowall
6131653da5 Fixed broken test.
Removed useless code in ParseEpisodeInfo.
Added negative test case for ParseSeasonInfo.
2011-06-22 18:17:42 -07:00
Mark McDowall
4b0e0ac2d8 Added more Parser tests.
ParseLanguage will only convert ToLower() once, instead of at every if statement.
2011-06-22 17:19:19 -07:00
Mark McDowall
9f5b461274 MediaFileProvider delete fixed to delete EpisodeFile with key of Int32 instead of object Int32. Added test to ensure File is deleted, but others remain. 2011-06-22 00:26:36 -07:00
kay.one
5a5d0852ee Updated some log levels 2011-06-21 23:36:07 -07:00
kay.one
56fdf1a040 Removed Episodes list from EpisodeFile object. 2011-06-21 22:44:57 -07:00
Mark McDowall
351f73b520 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-21 20:40:37 -07:00
Mark McDowall
584a96a4f2 CalculateFilePath will use configured season folder, with tests.
MoveFile creates folder before move.
2011-06-21 20:40:24 -07:00
kay.one
3bafd2237f Merge branch 'markus101' 2011-06-21 20:39:20 -07:00
kay.one
5fb2c61c77 Fixed sab title issue
Added profiling to OpenSharedconnection
2011-06-21 20:38:46 -07:00
Mark McDowall
a31858bb4c Merge with Kayone. 2011-06-21 19:41:06 -07:00
Mark McDowall
8d4f65b7dc History Items are now added with series. Test makes sure seriesId is sent in. 2011-06-21 19:15:39 -07:00
kay.one
01163a4f87 Cleanup and tests around ImportFile 2011-06-21 18:12:20 -07:00
kay.one
0d51954e92 fixed broken tests 2011-06-21 00:25:39 -07:00
kay.one
f0fbd2bc71 fixed broken tests 2011-06-20 23:40:46 -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
68b7ba9209 Added method to delete orphaned episodeFiles and also cleanup episodes that have invalid episodeFiles.
Cleanup will run aforementioned methods before doing cleanup.
2011-06-20 18:49:16 -07:00
Mark McDowall
208feb7d19 CleanFileName when getting new filename from MediaFileProvider. 2011-06-20 16:46:54 -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
Mark McDowall
d416ec0147 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
2011-06-20 00:16:01 -07:00
Mark McDowall
431d850d32 SeriesProvider gets QualityProfile in single call to DB.
SeriesProvider.GetAllSeriesWithEpisodeCount gets seasonCount(with or without specials), total episode count & episodeWithFile count (excluding ignored episodes).
Added tests for SeriesWithEpisodeCount.
2011-06-20 00:13:17 -07:00
kay.one
f0fb5aa158 Removed leftover code from old ages ;) 2011-06-19 23:30:47 -07:00
kay.one
ef9bbdc60e Removed leftover code from old ages ;) 2011-06-19 23:28:42 -07:00
kay.one
907c508a70 PetaPoco now defaults to SQLite, requires WHERE on exists calls 2011-06-19 22:08:58 -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
5a99d374d9 Updated tests to for Upcoming Provider to make sure a series is returned. 2011-06-19 20:21:54 -07:00
kay.one
63bd972af9 Refactored MediaFileProvider 2011-06-19 20:04:08 -07:00
kay.one
cfcb9e61d7 Cleaned up import file a bit 2011-06-19 19:33:43 -07:00
Mark McDowall
b084a3bc46 EpisodeProvider GetEpisode(s) returns episodes with EpisodeFiles. 2011-06-19 18:46:32 -07:00
Mark McDowall
7b5556199f Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-19 17:23:59 -07:00
Mark McDowall
63a2664d8a Test for HistoryProvider.AllItemsWithRelationships 2011-06-19 17:02:10 -07:00
kay.one
8b484601f6 Removed all warnings 2011-06-19 13:43:47 -07:00
kay.one
a853f80f9e Fixed season ignore 2011-06-19 13:43:33 -07:00
kay.one
ea643630ed Fixed dbBenchmark tests 2011-06-19 11:56:32 -07:00
kay.one
8c12872433 fixed americandad's broken test 2011-06-19 11:38:04 -07:00
kay.one
7560a70dd4 fixed duplicated episodes coming in from Tvdb 2011-06-19 10:56:54 -07:00
kay.one
3d3e864094 EpisodeProvider now fills Series property for all episodes returned. 2011-06-18 22:57:24 -07:00
kay.one
a990fb91d5 SeriesProvider.GetSeries(int seriesId) will now fail if series is not found. 2011-06-18 22:56:52 -07:00
kay.one
b00e437e56 Added Fluent.cs to allow string default extention method eg. "Series.Title.WithDefault(series.SeriesId)" 2011-06-18 10:19:24 -07:00
kay.one
ed4976de90 Fixed notifications, episodestatus test 2011-06-18 10:18:25 -07:00
kay.one
d55e2606ad Merge branch 'markus101'
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
2011-06-18 01:36:05 -07:00
kay.one
5629d68645 Fixed enum mapping issue 2011-06-18 01:29:38 -07:00
Mark McDowall
d6920ee8ea Fixed EpisodeProvider queries with multiple terms.
SeriesProvider.FindSeries will now return the QualityProfile when a series is found.
2011-06-18 00:17:47 -07:00
Mark McDowall
85d5b07c67 Merge with Kayone. 2011-06-17 23:24:44 -07:00
Mark McDowall
1590ae2d5f Fixed Episode Daily Parse test. 2011-06-17 23:22:54 -07:00
kay.one
b525757d8a Removed left over assemblies, CastleCore (Subsonic) and some old nuget packages 2011-06-17 22:26:04 -07:00
kay.one
520e9c9d14 Fixed Series.QualityProfile relationship
more subsonic cleanup
2011-06-17 21:39:02 -07:00
kay.one
17d084cdf3 Removed Series.Episodes and Series.EpisodeFiles list. 2011-06-17 21:08:17 -07:00
kay.one
aa836f6a88 Fixed exception when GetSeries(int seriesId) where seriesId didnt' exist 2011-06-17 20:36:22 -07:00
Mark McDowall
71a123401e Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-17 20:11:36 -07:00
Mark McDowall
d28e94868c Parser will remove quotes before trying to get filename from the path.
HistoryController - Gets Series from seriesProvider.
UpcomingComtroller - Gets Series from seriesProvider.
2011-06-17 20:11:04 -07:00
kay.one
f4a765817b Fixed some small issues, here and there. 2011-06-17 19:51:53 -07:00
kay.one
f2fdece18a Removed subsonic completely 2011-06-17 19:00:44 -07:00
kay.one
acf23d4fc2 Removed subsonic completely 2011-06-17 18:46:22 -07:00
kay.one
f11b4af305 Merge branch 'markus101'
Conflicts:
	NzbDrone.Core/Datastore/Migrations/Migration.cs
2011-06-17 17:19:43 -07:00
kay.one
f4801901a7 LogProvider now usues petapoco 2011-06-17 17:11:12 -07:00
Mark McDowall
01944acbb1 IndexerProvider now uses PetaPoco. 2011-06-17 17:10:33 -07:00
Mark McDowall
335639fabc UpcomingEpisodesProvider moved to PetaPoco.
MigrationHelper won't run Subsonic Migrations now.
2011-06-17 16:01:09 -07:00
Mark McDowall
446a939f45 QualityProvider moved to PetaPoco. 2011-06-17 13:31:25 -07:00
Mark McDowall
9daf1ccfc0 JobProvider moved to PetaPoco. 2011-06-17 12:50:49 -07:00
Mark McDowall
f7ee16dbba RootDirs moved to PetaPoco. Removed SubSonic references from EpisodeFile & SceneMapping. 2011-06-17 08:27:18 -07:00
kay.one
2a32770b69 Merge branch 'markus101'
Conflicts:
	NzbDrone.Core/Datastore/Migrations/MigrationExport.cs
2011-06-17 00:01:49 -07:00
kay.one
3ef17273fd HistoryProvider now uses PetaPoco 2011-06-16 23:59:13 -07:00
kay.one
46ec4fa3ba Replaced MigSharp with MigrationsDotNet 2011-06-16 23:58:50 -07:00
Mark McDowall
ad0aa10e6a Renamed SceneMappingTest now saved in project file. 2011-06-16 23:18:17 -07:00
Mark McDowall
ab26d2dd61 Renamed SceneNameMapping to SceneMapping.
SceneMappingProvider moved to PetaPoco.
2011-06-16 23:04:01 -07:00
Mark McDowall
310c317361 Fixed broken tests. 2011-06-16 21:32:13 -07:00
Mark McDowall
63023d447d Using new PetaPoco Exists method in MediaFileProvider. 2011-06-16 21:12:14 -07:00
Mark McDowall
1f0e71c68e Merge with Kayone. 2011-06-16 20:46:14 -07:00
Mark McDowall
3dbb38b54f MediaFileProvider moved to PetaPoco.
Season Grid now shows episodeFile quality.
2011-06-16 20:29:39 -07:00
kay.one
3cccb5858a Merge branch 'markus101'
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
	NzbDrone.Core/Providers/MediaFileProvider.cs
	NzbDrone.Core/Providers/SeriesProvider.cs
2011-06-16 19:48:24 -07:00
kay.one
190ce6b142 ConfigProvider now uses PetaPoco 2011-06-16 19:27:10 -07:00
Mark McDowall
a151c9cd0f Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-16 00:01:48 -07:00
kay.one
33a38481dc Fixed IsIgnored issues 2011-06-16 00:00:55 -07:00
Mark McDowall
0432109a95 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
	NzbDrone.Core/Providers/MediaFileProvider.cs
	NzbDrone.Core/Providers/SeriesProvider.cs
2011-06-15 23:49:30 -07:00
kay.one
cb8cb1691f SeriesProvider is now Subsonic free. 2011-06-15 23:33:01 -07:00
kay.one
63f6899894 Added PetaPoco 2011-06-14 19:31:41 -07:00
Mark McDowall
e934e71b3b Fixed broken tests after new SceneName method. 2011-06-13 22:52:12 -07:00
Mark McDowall
a290a0dcb0 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core/Providers/Jobs/EpisodeSearchJob.cs
	NzbDrone.Core/Providers/SeriesProvider.cs
2011-06-13 19:23:43 -07:00
Mark McDowall
ab2007cb6f SceneNaming is now stored on NzbDrone webserver.
Database will update every 12 hours from CSV on server.
2011-06-13 19:15:55 -07:00
kay.one
6355d5ada1 Added MiniProfiler 2011-06-13 18:35:44 -07:00
Mark McDowall
6dda51d0e7 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/ParserTest.cs
2011-06-13 11:27:00 -07:00
Mark McDowall
e71a55a33c More episode parsing tests.
Added new regex to find multi-episode files without series titles.
Cleaned up some of the regex.
Normalizing regex will remove all numbers except years that are in the 1900's or 2000's
2011-06-13 11:25:40 -07:00
kay.one
5293d0e204 Fixed american dad's broken fix ;) 2011-06-12 21:24:57 -07:00
kay.one
c5c7e1eb76 Fixed multi testcase tests. 2011-06-12 21:20:29 -07:00
kay.one
87079dcb52 Added validation in RoodDirProvider to stop adding of invalid root folders. 2011-06-12 20:56:10 -07:00
Mark McDowall
ff673f3d7d More tests for ImportNewDownload to deal with samples or certains sizes. 2011-06-08 08:17:51 -07:00
Mark McDowall
560706ae8f Fixed Renaming of episodes to include extension.
PostDownload Importing setup, need to setup job for period scan.
2011-06-06 23:29:07 -07:00
Mark McDowall
4d3ba62e5d Episode renaming implemented on the Series/Details page. 2011-06-05 22:23:28 -07:00
Mark McDowall
cbaa2f7ef4 RenameProvider will return string for Multi-Episode files. 2011-06-05 21:03:08 -07:00
Mark McDowall
9cb1eb7597 Rename Provider returns proper name for single episode series. 2011-06-05 17:37:32 -07:00
kay.one
4c8b1d9604 Fixed bug in history check. 2011-06-05 12:15:46 -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
fe5e899604 Merge branch 'markus101' 2011-06-04 23:02:55 -07:00
kay.one
ecc2a7e2f6 More updates to Datastore 2011-06-04 23:02:31 -07:00
Mark McDowall
383dfe302f Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core/Providers/MediaFileProvider.cs
2011-06-04 11:47:35 -07:00
kay.one
a6fe8b276b minor updates to test project 2011-06-04 10:59:09 -07:00
Mark McDowall
5e02ab972c Added NzbMatrix Search Url, with tests. 2011-06-03 22:32:55 -07:00
kay.one
d3be516fb2 removed Season/SeasonProvider, updated dbBenchmark tests. 2011-06-03 18:56:53 -07:00
kay.one
c0814fa95d Hacked sabprovider to support addbyurl from newzbin 2011-06-02 23:08:55 -07:00
kay.one
a986c2790d fixed broken tests 2011-06-02 18:24:15 -07:00
kay.one
67e55e5c39 newzbin now supports episode search 2011-06-02 18:15:19 -07:00
kay.one
d09a82a20f Integrated scene name helper into episode search, series lookup 2011-06-02 18:15:02 -07:00
kay.one
f97209d476 commiting tests before teamcity demo 2011-06-02 14:06:46 -07:00
kay.one
702399318b Added NUnit 2011-06-01 21:50:10 -07:00
kay.one
72f8a7eab1 fixed random dbbenchmark test breaking 2011-06-01 20:44:32 -07:00
kay.one
56169b515f fixed broken episode status tests 2011-06-01 18:16:17 -07:00
kay.one
6075a615ab Release now target x86 2011-05-31 20:57:50 -07:00
kay.one
2493f65c43 updated app.config files 2011-05-31 12:52:24 -07:00
kay.one
8c48e63f36 updated app.config files 2011-05-31 12:02:45 -07:00
kay.one
e1177463cd Removed MVC3 GAC dependency 2011-05-30 15:39:06 -07:00
kay.one
8eb04d9de7 Updated jQuery/Ninject/Unity using nuget 2011-05-30 00:38:39 -07:00
kay.one
1399ff15f2 moved all libraries out of NzbDrone.Core\Libraries to the root of the solution 2011-05-30 00:33:07 -07:00
kay.one
10cf7b774a using nuget for Moq 2011-05-30 00:27:39 -07:00
kay.one
6ade4b4bd7 Updated sqlite to the latests official builds 2011-05-30 00:05:45 -07:00
kay.one
5879d3ac31 Added dbBenchmark tests 2011-05-29 23:47:11 -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
d22905676c Fixed American Dad's scene naming gong show 2011-05-28 18:58:35 -07:00
kay.one
1239da656e Rewrite of InventoryProvider 2011-05-28 12:23:35 -07:00
kay.one
cbbb6e2b18 Oh hai search! 2011-05-26 23:03:57 -07:00
kay.one
ac2d33443b More EpisodeSearchJob fixes/tests 2011-05-26 20:54:28 -07:00
kay.one
5a812801b7 EpisodeSearchJob bug fixes/tests 2011-05-26 20:07:32 -07:00
kay.one
4e8dd47e27 ExceptionVerification improvements 2011-05-26 20:04:36 -07:00
kay.one
a6ad977114 Fixed import new series being stuck in a loop if an update failed
Seperated IndexerProviderTest from ProviderTests
Fixed some ToString() issues
Refactored IndexerBase/IndexerProvider
2011-05-26 19:12:28 -07:00
kay.one
9417748056 Initial support for episode search in indexerbase and Nzbs.org 2011-05-25 21:25:59 -07:00
kay.one
4cc240a7e0 Better quality parse 2011-05-25 20:13:39 -07:00
kay.one
bbdad5844f fixed quality parse bug 2011-05-23 21:41:57 -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
f3be5fa08e failed disk scan doesn't kill the whole job anymore 2011-05-23 17:44:44 -07:00
kay.one
ce63f05512 added better db migration support than what Subsonic provides out of the box. 2011-05-23 17:34:57 -07:00
kay.one
180da4c82a Migrator.net fails 2011-05-23 16:29:14 -07:00
kay.one
c91852018e simplified some quality types 2011-05-23 10:20:43 -07:00
kay.one
5be99200c6 Added newzbing tests, fixed quality parse bugs 2011-05-22 23:48:52 -07:00
kay.one
8ba42106c4 fixed broken tests 2011-05-22 22:51:46 -07:00
kay.one
7b56711a4f Added episode status to episode grid 2011-05-22 10:29:10 -07:00
kay.one
a4f8947d90 Test project cleanup 2011-05-22 09:53:21 -07:00
kay.one
f33c2c4939 Added episode status to back end, getting ready for backlog 2011-05-22 09:53:06 -07:00
kay.one
4d442ba1e5 fixed broken test 2011-05-20 19:06:56 -07:00
kay.one
e4ff0d6471 Diskscan/Info update job refactoring and test 2011-05-20 17:23:49 -07:00
kay.one
5ab104dec6 Merge branch 'markus101' 2011-05-20 00:19:19 -07:00
Mark McDowall
00b1e4bb12 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-20 00:01:49 -07:00
Mark McDowall
4e01896cbe Fixed SabProvider test for AddByUrlSuccess. 2011-05-20 00:00:41 -07:00
kay.one
0d02b0538b fixed a concurrency issue with job provider. 2011-05-19 23:25:39 -07:00
kay.one
8fca3c3419 more test/fixes 2011-05-19 22:52:05 -07:00
kay.one
43e1c16cca more inventoryprovider tests 2011-05-19 22:21:45 -07:00
kay.one
849beef5a2 Added inventory provider with basic tests 2011-05-19 21:59:35 -07:00
kay.one
53e6b60382 Renamed IndexerProviderBase to IndexerBase since its no longer a provider 2011-05-19 21:21:18 -07:00
kay.one
3e1ff7e96e Basic indexer tests are working 2011-05-19 21:18:51 -07:00
kay.one
9c1ff4af6b initial stage of indexer refactoring. things compile. 2011-05-19 20:47:07 -07:00
kay.one
69406a95d4 Fixed bug when a file that wasn't parsable would try to be imported 2011-05-19 19:12:36 -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
d6ae21506c Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-17 22:32:32 -07:00
Mark McDowall
7e44ee5020 Merge with Kayone's branch. 2011-05-17 22:32:23 -07:00
Mark McDowall
8aad53f291 Added tests for SingleId and not updating last execution time or success/fail.
Job information will only be updated if a job did not have a targetId.
2011-05-17 22:29:23 -07:00
kay.one
6c4f19b365 Added GetSeasonFiles to MediaFileProvider 2011-05-17 21:21:13 -07:00
kay.one
4ac4ba5067 Mediascan job doesn't scan series that aren't fully added to the db yet 2011-05-17 20:52:49 -07:00
kay.one
c01595a9c4 removed leftover merge files 2011-05-17 20:23:09 -07:00
kay.one
2cd4e1649f Diskscan now updates the last scan time of the series object 2011-05-17 20:18:35 -07:00
unknown
13f37cd405 Added test to make sure disabled jobs aren't actually running automatically 2011-05-17 00:16:45 -07:00
unknown
2f786bf424 JobProvider now fully works based on a queuing logic, which allows more than one job to be queued. (EasyButton included!) 2011-05-17 00:04:49 -07:00
Mark McDowall
fdd6e37b24 Added NextScheduledRun to get the next scheduled run for a job, with a test. 2011-05-16 21:01:01 -07:00
unknown
8c372e938c fixed some settings value convert issues. would cause crash on clean installs. 2011-05-16 00:32:01 -07:00
Mark McDowall
4d7bb451f2 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-11 11:38:28 -07:00
Keivan
3083ff6fcf Added a quick patch to support disabled by default jobs. setting interval to 0 will disable the job 2011-05-11 11:25:32 -07:00
Mark McDowall
70bfc49b4e Series Grid AJAX'd.
Edit in popup for Series Grid using custom editing template.
2011-05-09 23:32:33 -07:00
Mark McDowall
11b96afd75 Merge conflicts resolved.
Added Language parsing.
2011-05-08 23:16:26 -07:00
kay.one
343c303bc6 minor cleanup in sabprovider, sabprovider tests 2011-05-08 15:33:46 -07:00
kay.one
34f7b9ca7d removed some warnings, logging tweaks 2011-05-08 14:49:15 -07:00
Mark McDowall
0f170e8a03 Fixed SAB getting the string value for Priority (instead of the integer value).
Fixed SAB tests.
Icarus appears to be deleting files from Debug\Files when running tests.
2011-05-02 08:40:21 -07:00
Mark McDowall
0e429f58a1 Added Supports backlog boolean for Indexers. 2011-05-01 01:04:44 -07:00
Mark McDowall
56a13b2511 Added REGEX to require Series name to exist (24-7 Penguin vs Capitals couldn't be parsed on disk properly)
REGEX replace replaces illegal windows file characters, except for " (quote)
2011-04-30 17:23:10 -07:00
Mark McDowall
a36d5fae2f Added ExternalNotificationProviderBase based on IndexProviderBase. 2011-04-28 23:06:13 -07:00
Mark McDowall
21e14fbb84 Added parsing and tests for Full Season Releases (no episode information) 2011-04-26 08:26:41 -07:00
Mark McDowall
a338b9fee5 SabTitle will return Quality in square brackets '[' or ']' 2011-04-26 08:26:01 -07:00
Mark McDowall
76a9a0c6f0 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/ParserTest.cs
2011-04-25 18:44:53 -07:00
kay.one
72e8b3ce7d fixed broken tests 2011-04-25 17:43:34 -07:00
Mark McDowall
638e5794c9 Removed duplicate test. 2011-04-25 15:46:22 -07:00
kay.one
c8252495af fix bug where info update from tvdb would overwrite our own data, fileid, date flags ... 2011-04-25 15:27:03 -07:00
kay.one
5faeccf098 added support for daily episode file import 2011-04-25 14:37:53 -07:00
kay.one
194c66f36a start support for daily show file import 2011-04-25 14:23:02 -07:00
kay.one
b65fe99b30 Fixed network auth issue, custom parser issue 2011-04-25 13:21:52 -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
a8815cd5ea Fixed rss datetime bug 2011-04-25 11:16:38 -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
Mark McDowall
e4d208883a Fixed episode parsing so it is not too aggressive. Added tests for episode parsing and Assertions for number of episodes parsed (to ensure the count is correct). 2011-04-25 08:21:12 -07:00
Mark McDowall
822719bdaf Missed some changes for send to Sab functionality in IndexerProviderBased. 2011-04-24 15:53:01 -07:00
kay.one
217f98c4a9 Moved GetSabTitle from episodeprovider to sabprovider, removed seriesprovider dependency 2011-04-23 13:53:13 -07:00
kay.one
be74c67df8 fixed broken tests 2011-04-23 12:59:06 -07:00
Mark McDowall
e9ce98caa4 Removed Year from EpisodeParseResult (we never used it anyways).
Episode parsing REGEX will properly handle filenames with S01E01/1x01 naming.
Added REGEX to support seasons with more than 100 episodes (0-99)... Stupid soaps.
Title Normalizing REGEX will keep the year (has to start with 19 or 20 and be exactly 4 digits long)
2011-04-23 01:04:30 -07:00
Mark McDowall
86e709e922 Normalize REGEX will remove more words and will leave digits for now. 2011-04-22 17:20:58 -07:00
Mark McDowall
5a8baa9d6c Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
	NzbDrone.Core/Providers/EpisodeProvider.cs
2011-04-22 15:24:05 -07:00
Mark McDowall
361d1f8d3b Commit after Merge. 2011-04-22 15:23:29 -07:00
kay.one
680ea45839 fixed Episode.ToString() bug 2011-04-22 13:59:43 -07:00
kay.one
e074164a47 more tests and bug fixes 2011-04-22 13:14:02 -07:00
kay.one
282870cd80 Fixed AutoMoqer VerifyAll() bug 2011-04-22 13:13:32 -07:00
kay.one
23f6cc3901 More tests 2011-04-22 12:16:52 -07:00
kay.one
ccbbad54ce Added default mock behavior to automocker 2011-04-22 12:15:47 -07:00
kay.one
8c7c2ac296 More work on indexers/jobs 2011-04-21 23:23:29 -07:00
kay.one
fa1b287d58 JobProvider now stores last execution and success
JobProvider is now wired working
Job view ui is updated
2011-04-21 22:46:47 -07:00
kay.one
e9c63b81e6 Added asp.net tick timer
Added health monitoring
Updated database logging
2011-04-21 19:23:31 -07:00
kay.one
10ad7d1ed5 Added sabtitle method
Added custom parse option to Indexrbase
2011-04-20 18:26:13 -07:00
kay.one
9028e498ca Added completely awesome JobProvider. extremely easy to do async/timer tasks with ui status/notification already plugged in. 2011-04-20 00:44:13 -07:00
Mark McDowall
5107a02f5e Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/ParserTest.cs
2011-04-19 20:02:44 -07:00
Mark McDowall
5e37bfa0c6 Added parsing for daily shows and tests for that format. 2011-04-19 19:59:28 -07:00
kay.one
59899286ee Added TimerProvider 2011-04-19 18:20:20 -07:00
kay.one
848553da73 fixed broken test 2011-04-18 23:47:17 -07:00
Mark McDowall
0241e80c8a More quality parsing tests.
Better series/episode info parsing.
NzbMatrix and NzbsRUs Indexer Providers.
2011-04-18 23:33:09 -07:00
Keivan
6f2dcbf838 Revered back to subsonic
Added indexer configuration back-end
2011-04-18 17:12:06 -07:00
kay.one
e896af5cd0 ReSharper code cleanup 2011-04-09 19:44:01 -07:00
kay.one
8cade435d1 Application will automatically restart on db error.
Added SyncProvider Tests
2011-04-09 19:28:54 -07:00
kay.one
fcf51978f9 Removed IConfigProvider, ISeasonProvider, ISyncProvider 2011-04-09 18:34:36 -07:00
kay.one
7efbfdbb89 removed IEpisodeProvider, ILogProvider
fixed some broken tests.
2011-04-09 17:14:51 -07:00
Mark McDowall
0a7f7fc1fc Added tests for RootDirProvider. 2011-04-09 14:35:13 -07:00
Mark McDowall
1a9948de2f Removed IDiskProvider.
Removed IIndexerProvider.
2011-04-08 17:21:57 -07:00
Mark McDowall
c25af5978d Removed ISeriesProvider 2011-04-08 16:55:23 -07:00
kay.one
53607d89fe wrote automoqer unit test 2011-04-07 23:50:30 -07:00
kay.one
a9f08caa18 Removed IQuality provider
Updated AutoMoq to support SetConstant
2011-04-07 21:03:46 -07:00
kay.one
0a783542a6 Removed ITvDbProvider
Added SetConstant to AutoMoq
2011-04-06 20:34:48 -07:00
kay.one
c1bd62ae64 Added AutoMoq. Removed IHTTP Provider 2011-04-06 19:25:52 -07:00
kay.one
9950d9385d more relative path fix 2011-04-05 21:34:58 -07:00
kay.one
1e73138f6d some subsonic cleanup 2011-04-05 20:14:43 -07:00
kay.one
67fb2cf987 Cleaned up Test project's references 2011-04-04 23:55:02 -07:00
kay.one
73aecc0796 added test for basic FeedProviderBase, fixed some issues with it. 2011-04-04 23:33:24 -07:00
kay.one
8a3fe0f14e added more tests for seriesprovider 2011-04-04 22:30:13 -07:00
Mark McDowall
a30a62f824 Removed orig files. 2011-04-04 20:06:36 -07:00
Mark McDowall
460e48d6a1 Add GetBestMatch to TvDbProvider (Provides a way to get the best result from a list of results)
Default value for Quality Dropbox in AddExisting is now the default value from Settings.
2011-04-04 19:48:46 -07:00
Mark McDowall
148fd044ef Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/ParserTest.cs
	NzbDrone.Core/Parser.cs
2011-04-04 15:46:07 -07:00
kay.one
7e4c38ec3f removed most of existing rss code 2011-04-03 22:24:19 -07:00
kay.one
11e2b63b60 more rss refactoring 2011-04-03 21:54:58 -07:00
kay.one
d7732cab3b fixed episode parse issue 2011-04-03 21:20:01 -07:00
kay.one
62b2cd510f started rss cleanup 2011-04-03 20:50:12 -07:00
kay.one
0556c31846 Fixed add existing. needs more polish around quality and manual mapping. 2011-03-31 23:36:34 -07:00
Mark McDowall
b84e8014c1 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-03-30 18:55:18 -07:00
kay.one
d310c06f2e deleted some old files. updated some ui 2011-03-30 18:42:27 -07:00
Mark McDowall
722b3805d6 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-03-30 16:03:37 -07:00
Mark McDowall
fd3d94c9b0 ParseEpisodeInfo will now handle repeating Episode Naming Format (S01E01E02 or S01E01-02), It will not handle ranges (S01E01-06)
Changed port back to 8989.
2011-03-30 08:42:36 -07:00
kay.one
e56a529b9c Updated subsonic to latest code 2011-03-30 00:14:39 -07:00
kay.one
ff75d0c555 Upgraded to MVC3, Hello Razor. 2011-03-29 23:18:35 -07:00
kay.one
6870c2326f Updated Ninject using NuGet 2011-03-28 22:10:37 -07:00
Mark McDowall
c6a7eaab93 Separate QualityTypes.Bluray to Bluray720 and Bluray1080. 2011-03-26 17:16:50 -07:00
Mark McDowall
fd06987331 Fixed parsing for 1013/103/113 naming.
Added parsing for season NZBs.
2011-03-24 21:15:02 -07:00
Mark McDowall
a5cd1fc490 Fixed REGEX for 103 (was looking for non-alphanumberic), still fails on 113 numbering, but will work for 103. 2011-03-24 08:27:41 -07:00
Mark McDowall
f07b305684 Fixed Parser (broke 103 naming convention, but it fixed more than it broke).
RssItemProcessingProvider - moved Title fix code to a better location (To ensure we actually want the episode(s) first).

SceneNameHelper was bombing when trying to find a matching scene mapping when it didn't exist, changed Single to Find to resolve.
2011-03-24 00:19:54 -07:00
Mark McDowall
33b09567ce History VIew Added.
Fixed Relationships between History and Episode/Indexer.
Indexer now uses int as ID, string caused issues.
Get single Indexer by ID.
2011-03-22 22:19:23 -07:00
Mark McDowall
636f352599 Ability to manually add a show has been added.
UI cleanup for adding series (new, existing and manual).
2011-03-17 00:40:23 -07:00
Mark McDowall
2871723bfe Manage multiple Tv Root Folders in Settings/General.
Start of AddExisting.
2011-03-08 23:40:48 -08:00
markus101
70fd11231d Post Processor Done.
Will send from SAB to NzbDrone.
Changed SabCategory to SabTvCategory (Support for movies later?)
2011-03-06 14:27:52 -08:00
markus101
891acfff44 Fixed issues that came up after making changes to Episode and EpisodeFile. 2011-02-22 00:13:16 -08:00
markus101
d3b7d199ab Fixed QualityProfile mapping to Series, resulted in a large number of changed files referencing ProfileId instead of QualityProfileId 2011-02-17 09:45:02 -08:00
markus101
a413a9d53d Fixed unit tests. 2011-02-16 18:15:48 -08:00
markus101
445e2f59b9 Fixed SabProvider and Unit Tests for it. 2011-02-16 18:14:41 -08:00
Keivan
bfef6166f5 some changes to unmapped view 2011-02-03 16:48:09 -08:00
Keivan
16fcda18c3 fixed episode parse, profile storage 2011-02-03 12:09:19 -08:00
Keivan
ca27c75df5 simplified quality fixed some broken tests 2011-02-03 11:47:51 -08:00
markus101
ea77428b1c Fixed unit tests. 2011-01-29 12:03:47 -08:00
markus101
da979639ba More config pages have been added. AJAX to save. Order with jquery sortable.
Some RssFeed Parsing has been implemented, it does not currently download items, still need to perform a more verbose episode check.
2011-01-28 22:10:22 -08:00
Scott Schlesier
d5a869ac54 Parse UNC paths 2010-11-06 09:01:46 -07:00
Keivan
bf1ff29519 look right in IE, all episodes are ajax loaded.
commited somewhere between vancouver and vegas @ 2135ft. Alt and 480mph.
2010-10-29 20:54:48 -06:00
Keivan
c9bc063a9c Updated log appearance. 2010-10-24 10:35:58 -07:00
Keivan
fa0af257ff fixed a bunch of things. added basic support for file scanning. logs are now avilable in the UI 2010-10-24 00:46:58 -07:00
Keivan
c8a8fb4d62 Fixed notification issues
Added basic support for file scan
Major redactor of ReportTitle/File parsing
Updated Ninject/Ninject.MVC
Removed dependency from Microsoft.Web.Administration
reactored Episode repository structure
2010-10-20 18:49:23 -07:00
Keivan
41d9b0364f updated Ninject and Ninject.Web.Mvc 2010-10-18 11:04:07 -07:00
Keivan
273de41d23 Cleaned up logging code
Added udp logging
Added SyncProvider to provide async long running tasks
Refactored SyncSeries to SyncProvider
Episode Info is now fetched automatically
Optimized RefreshEpisodeInfo for better performance
2010-10-17 10:25:27 -07:00
Keivan
c597363bf8 Updated logging and instrumentation 2010-10-15 00:10:44 -07:00
Keivan
27d86a8540 Added Notification System, Renamed Repository to Entities 2010-10-07 20:35:04 -07:00
Keivan
9c7355f3fb Cleaned up some tests 2010-10-07 15:17:24 -07:00
Keivan
81e155ae42 Added basic episode support 2010-10-04 23:21:18 -07:00
Keivan
606140832d Refactored SeriesController. Updated Post title parse. 2010-10-03 18:00:50 -07:00
Keivan
afafc6b032 pretty... 2010-10-02 12:01:43 -07:00
Keivan
beaf0cf939 Updated subsonic to latest nightly build
Added foreign relations to all entities object
Removed unnecessary libraries
2010-09-30 17:09:22 -07:00
Keivan
899e5a9a22 aFixed QualityProfile storage test 2010-09-29 23:59:00 -07:00
Keivan
27164d422c fixed sql lite x64/x86 issue 2010-09-29 18:39:25 -07:00
Keivan
26c03d7162 Added broken tests 2010-09-29 10:19:18 -07:00
Keivan
c7286863b0 Removed redundent classes. 2010-09-27 22:35:15 -07:00
Keivan
d18029fe5b removed feed. to be replaced with System.ServiceModel.Syndication.SyndicationItem 2010-09-27 22:15:08 -07:00
Keivan
a49850cc89 refactored Episode, Added Quality Enum 2010-09-27 22:01:54 -07:00
Keivan
01c1943d0e Renamed all Core.Controllers to Core.Providers to avoid confusion between Core Controllers and MVC controllers 2010-09-27 21:25:41 -07:00
Keivan
9515c8788a still trying this merge 2010-09-27 20:59:02 -07:00
Keivan
7543f6e786 Fixed merge with Mark's fork 2010-09-27 20:56:39 -07:00
Keivan
e2128d2235 Merged Mark's fork in 2010-09-27 20:40:01 -07:00
Keivan
babe2735ee failed attempt to write a test for Series Controller 2010-09-27 20:04:39 -07:00
markus101
a2967f4658 IHttpController/HttpController Added (So we can Mock SABnzbd requests)
More unit tests for SabController
2010-09-27 17:49:34 -07:00
Keivan
020a7462c0 updated some tests 2010-09-27 17:27:02 -07:00
markus101
50f97e824e Fixed Unit Test for SabController.AddByUrl
Added unit test for SabController.IsInQueue (Need to Mock SAB)
SabController uses HttpUtility.UrlEncode on Title to clean it
2010-09-27 00:19:43 -07:00
markus101
67b617b950 Merge branch 'master' of git://github.com/kayone/NzbDrone 2010-09-26 19:31:14 -07:00
markus101
a427f9c16d SabController - Removed AddByPath, Completed AddByUrl and IsInQueue
Created SabControllerTest - Added AddByPath Test (Needs more work)
Added, Episode, FeedItem, ItemInfo and Site classes to store information
2010-09-26 19:20:42 -07:00
kay.one
7540890987 Added Ninject.Moq 2010-09-26 17:22:44 -07:00
kay.one
22ec10483a cleaned DbConfigControllerTest 2010-09-26 14:21:53 -07:00
kay.one
772452aa8b added tests for basic config set/get to db 2010-09-23 23:16:43 -07:00
kay.one
74ac3bb599 Initial Commit 2010-09-22 20:19:47 -07:00