Commit Graph

1100 Commits

Author SHA1 Message Date
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