Commit Graph

538 Commits

Author SHA1 Message Date
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 7563527eac Reformated PostDownloadProvider.cs 2011-10-22 19:34:31 -07:00
kay.one ec08436587 Refactored the shit out of PostDownloadProvider 2011-10-22 19:31:28 -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
Mark McDowall bb5febaade DiskScanProvider.Scan() will log a warning if the path doesn't exist. 2011-10-22 12:03:54 -07:00
Mark McDowall 0cce31cbc8 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-22 11:11:52 -07:00
Mark McDowall 11e1deb5f7 PostDownloadProvider was treating successful downloads as ones with an error and incorrectly trying to rename them before processing. 2011-10-21 16:49:30 -07:00
kay.one e4d90e2f92 Merge branch 'markus' into kay.one 2011-10-21 00:00:10 -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 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 a3e5c90319 Cleanup generating paths for error scenarios. 2011-10-18 16:49:43 -07:00
Mark McDowall e87cdbde44 Removed SharedLiveTemplates.xml.
Cleaned up PostDownloadProvider, added more tests.
2011-10-17 20:08:26 -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 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
Mark McDowall b3abcb6096 RootDirProvider.GetMostFreeRootDir() will calculate the find the RootDir with the most free space and return its path. 2011-10-15 11:54:39 -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 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 04ed22db55 Moved core of PostDownloadScanJob to PostDownloadProvider. 2011-10-12 16:47:28 -07:00
Mark McDowall 5098ea3249 Added two new Episode Statuses - Unpacking and Failed.
Tests added to support new Statuses.
PostDownloadScanJob will update PostDownloadStatus for failed or unpacking.
ImportFile will set the PostDownloadStatus to Processed when added to the database.
2011-10-11 20:44:19 -07:00
Mark McDowall c534d47b0a Added InheritFolderPermissions to DiskProvider.
DiskScanProvider.MoveEpisode will now set the moved file to inherit the parent folder permissions.
2011-10-10 21:00:31 -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
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 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 5f0a95b2b1 Fixed XBMC JSON requests. 2011-09-27 10:41:36 -07:00
Mark McDowall 4eea6b8c6b Added fix for HttpProvider.PostCommand so it uses a valid URL. 2011-09-26 17:50:58 -07:00
Mark McDowall b239e28898 Added additional logging to XBMC Provider, to trace failure to update library. 2011-09-26 17:17:41 -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 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 a56213047f EpisodeSearch now gets the proper QualityProfile (broken after removing AttachSeries), tests updated. 2011-09-05 17:44:03 -07:00
Mark McDowall 1f2a1e3206 Season searching fallback to individual episodes will done in order from 1 to n. 2011-09-05 15:26:53 -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 9fd2f9ec72 Fixed notification messages for Season searches. 2011-09-04 01:12:30 -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 421ba466a8 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-09-03 20:05:56 -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
kay.one bab358398a potential fix for "Execution lock has fucked up" 2011-09-02 22:30:18 -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 fbb4ced77c Full season searching for Nzbs.org and NzbMatrix will also look for S01 in addition to Season. 2011-08-31 17:17:35 -07:00
Mark McDowall f02e92b005 Fixed EpisodeSorting examples layout.
Added Missing to main UI.
Add links to series from History and Missing.
Image for search link on Missing.
2011-08-30 17:15:22 -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 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
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 ac3c3386fc Added delete and redownload commands to History Grid (redownload will delete the existing item from history and then start an episode search) 2011-08-26 17:59:51 -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 667fc5d69b Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-24 16:57:00 -07:00
kay.one 6bab9a34dd Improved job thread execution locking log 2011-08-24 16:54:48 -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 66522b8109 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-21 18:21:48 -07:00
kay.one 1e9b279a9b Removed basic notification. client side notification should be used. 2011-08-21 18:19:34 -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
kay.one eaaf464d38 Merge branch 'markus101' 2011-08-06 22:49:50 -07:00
kay.one 2601c7c1b9 minor changes 2011-08-06 22:49:07 -07:00
Mark McDowall 13d947d24d Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-05 19:05:08 -07:00
kay.one 79b2fad6e3 Removing items from job queue is now done while a lock is acquired. 2011-08-04 21:49:18 -07:00
Mark McDowall d85a8bc15d If an unsorted episode that had a series that was not being watched it would prevent additional episodes from being processed. 2011-08-04 21:22:42 -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 559011ba82 SeriesPathExists compares paths in lower-case now.
GitHub Issue #9
2011-07-28 18:03:24 -07:00
Mark McDowall e29fee9686 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-07-28 00:22:12 -07:00
Mark McDowall ee4b6c9442 ExternalNotifications enabled (Xbmc only right now).
- Grab, Download, Rename
Notification Settings for Xbmc uses definitions.
2011-07-28 00:21:49 -07:00
kay.one 28b840766e Merge branch 'markus101' 2011-07-27 16:05:08 -07:00
kay.one b4fb3002a4 Updated Add Series 2011-07-27 15:59:48 -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 68321c98d0 increased delete folder limit size to 10MB 2011-07-17 16:15:37 -07:00
kay.one b11a449f65 Updated PetaPoco
Upped IIS's priority
Added Byte multiplier to extention method.
2011-07-17 12:32:58 -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 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 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