Commit Graph

144 Commits

Author SHA1 Message Date
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 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 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
kay.one 9244a4e6ef Update episode info now uses UpdateMany, InsertMany 2011-08-28 20:03:40 -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 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 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 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 c37544d4ce Episode is now marked as grabbed on download 2011-07-03 16:04:57 -07:00
kay.one 69239bc371 Switched to SQLCE 4.0 2011-06-22 23:56:17 -07:00
kay.one 5fb2c61c77 Fixed sab title issue
Added profiling to OpenSharedconnection
2011-06-21 20:38:46 -07:00
kay.one 31c16b9004 Merge branch 'markus101' 2011-06-21 18:17:03 -07:00
kay.one 01163a4f87 Cleanup and tests around ImportFile 2011-06-21 18:12:20 -07:00
Mark McDowall cdf77ad2df Changed QualityProfile to a ResultColumn to make note that it will be used as a result only.
Wrapped find series in try/catch to prevent a case where the series is in SceneMapping, but isn't in the users database.
2011-06-21 17:11:08 -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
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
kay.one d3f823734e Cleanedup get GetNewFilename 2011-06-19 18:59:31 -07:00
Mark McDowall b084a3bc46 EpisodeProvider GetEpisode(s) returns episodes with EpisodeFiles. 2011-06-19 18:46:32 -07:00
kay.one 3d3e864094 EpisodeProvider now fills Series property for all episodes returned. 2011-06-18 22:57:24 -07:00
Mark McDowall 5c055ebb9a Reverted back to Single<T> instead of SingleOrDefault<T> except when searching for an episode in DB. 2011-06-18 16:03:58 -07:00
Mark McDowall a771d2cfa9 Changed all Single<T> to SingleOrDefault<T> 2011-06-18 12:56:17 -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
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
kay.one acf23d4fc2 Removed subsonic completely 2011-06-17 18:46:22 -07:00
kay.one 33a38481dc Fixed IsIgnored issues 2011-06-16 00:00:55 -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
kay.one add780b431 Ninject is now forced to use proper constructor. 2011-06-13 18:23:04 -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 9cb1eb7597 Rename Provider returns proper name for single episode series. 2011-06-05 17:37:32 -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
Mark McDowall 08b7b8c3e1 SeasonEditor moved to Gird Editor. 2011-06-04 22:23:50 -07:00
kay.one d3be516fb2 removed Season/SeasonProvider, updated dbBenchmark tests. 2011-06-03 18:56:53 -07:00
Mark McDowall 5953ae038e EpisodesWithoutFiles will ignore episodes with an air date before 1900.
Renamed SiteLayout to _Layout (MVC3 standard)
Moved some images to the image folder.
2011-06-01 16:18:08 -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 1239da656e Rewrite of InventoryProvider 2011-05-28 12:23:35 -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 9c1ff4af6b initial stage of indexer refactoring. things compile. 2011-05-19 20:47:07 -07:00
Mark McDowall 0e429f58a1 Added Supports backlog boolean for Indexers. 2011-05-01 01:04:44 -07:00
Mark McDowall ee00ef8c17 Added notes for handling Full Season releases, decisions to be made on how to handle them and how to correct multi-episode releases (as long as the first episode is needed we mark it as so).
Currently full season releases can be parsed, but will not process.
2011-04-26 08:39:03 -07:00
kay.one 17c8b8803b removed some unneeded injection dependencies. renamed dependency fields to be standard across the app. 2011-04-25 17:28:33 -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 194c66f36a start support for daily show file import 2011-04-25 14:23:02 -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
kay.one 217f98c4a9 Moved GetSabTitle from episodeprovider to sabprovider, removed seriesprovider dependency 2011-04-23 13:53:13 -07:00
kay.one 3beeff4e18 Add TvDbEpisodeId to Episode. now we can index episodes before they showup in thetvdb 2011-04-23 13:33:24 -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 e074164a47 more tests and bug fixes 2011-04-22 13:14:02 -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
kay.one e896af5cd0 ReSharper code cleanup 2011-04-09 19:44:01 -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 0d95302aee Removed IHistoryProvider. 2011-04-08 16:58:46 -07:00
Mark McDowall c25af5978d Removed ISeriesProvider 2011-04-08 16:55:23 -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 11e2b63b60 more rss refactoring 2011-04-03 21:54:58 -07:00
markus101 e7cabfe235 Fixed Episode to EpisodeFile relationship (So getting the EpisodeFIle gets associated Episode(s) as well. 2011-02-23 16:40:11 -08:00
markus101 9d24ccd97a Fixes for Episode to EpisodeFile mapping.
Series details sorts with newest season and newest episode on top my default.
2011-02-22 22:23:59 -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 88ad555e75 Delete is setup, just need to add a link to follow through on the delete.
Removes EpisodeFiles, Episodes, Season and then the Series.
2011-02-17 22:49:23 -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 21ac5d804c RssSync improvements and fixes. 2011-02-16 18:17:01 -08:00
markus101 13ab28586f More comprehensive check to see if we want this episode, will now compare episodeFile with the episode from the feed to see if it is wanted (Quality and Proper) 2011-02-16 08:37:28 -08:00
markus101 735668f7b3 Fixed a bug with converting default quality profile from config when adding a new series.
Re-enabled the RssSyncTimer so it will run an RSS Sync when fired.
2011-02-15 20:44:19 -08:00
markus101 fd4cf86694 EpisodeProvider - RefreshSeasonInfo by Season added, updates only the supplied season. 2011-02-09 22:42:46 -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
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 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 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
markus101 3157ee4aba Updated EpisodeProvider methods 2010-10-10 14:20:43 -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 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 bca2e0c6b1 Added more stubbed mothods and providers 2010-09-28 13:44:33 -07:00
Keivan 8d47bcbe5e Rearanged episodes object, added method stubs 2010-09-28 12:32:19 -07:00
Keivan de212f8b98 Fixed some resharper line breaks 2010-09-27 23:09:24 -07:00
Keivan d00744aafa Resharper code cleanup 2010-09-27 22:58:49 -07:00
Keivan a49850cc89 refactored Episode, Added Quality Enum 2010-09-27 22:01:54 -07:00