Commit Graph

2062 Commits

Author SHA1 Message Date
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 a9df506ef2 Downgraded to MiniProfiler 1.2
ConfigProvider now logs in Trace level rather than debug level
2011-06-23 21:17:49 -07:00
kay.one 7d706a3304 Renamed SubsonicTarget to DataBaseTarget 2011-06-23 21:05:31 -07:00
kay.one 3e61afab03 Added some indexes 2011-06-23 19:04:07 -07:00
kay.one 54e81035fc Merge branch 'markus101' 2011-06-23 18:31:05 -07:00
kay.one df0637d3d1 CDN Updates. packaging updates 2011-06-23 18:30:35 -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 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
Mark McDowall 1057c5941a Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-21 23:40:16 -07:00
Mark McDowall 3a065b86f1 Fixed series grid after save so it has proper counts. 2011-06-21 23:39:45 -07:00
kay.one 5a5d0852ee Updated some log levels 2011-06-21 23:36:07 -07:00
kay.one 13732a3f2e Updated some log levels 2011-06-21 23:34:33 -07:00
kay.one 56fdf1a040 Removed Episodes list from EpisodeFile object. 2011-06-21 22:44:57 -07:00
kay.one cbfbb87926 fixed issue where series controller was still going to db for every file.
Increased log level
tweaked connection string to sqlite
2011-06-21 22:43:45 -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 f6ccb5e17c Fixed broken build 2011-06-21 18:22:52 -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 ecd0fb50a8 Removed extra injects that weren't needed.
Wrapped find series in try/catch to prevent a case where the series is in SceneMapping, but isn't in the users database. -Missed in last commit apparently.
2011-06-21 18:10:31 -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
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 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
kay.one 8b7c624d09 Reformated some files 2011-06-19 20:25:04 -07:00
Mark McDowall 86ab26e2d9 UpcomingProvider now gets Series in call for episodes. 2011-06-19 20:08:09 -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
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
Mark McDowall 7b5556199f Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-19 17:23:59 -07:00
Mark McDowall cf324ace73 Episode EpisodeFile changed to ResultColumn instead of Ignore 2011-06-19 17:23:23 -07:00
Mark McDowall 0972c956b8 HistoryProvider will return History Items with Episode and SeriesTitle. 2011-06-19 16:44:45 -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 d2f32a0b54 Fixed compile error 2011-06-19 11:30:34 -07:00
kay.one ec949be789 Removing "Histories" on migration. 2011-06-19 11:28:18 -07:00
kay.one f211f99960 Fix issue on in ImportFile 2011-06-19 10:57:35 -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
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 514998042e PetaPoco won't convert DateTime to UTC by default. 2011-06-18 13:30:30 -07:00
Mark McDowall a771d2cfa9 Changed all Single<T> to SingleOrDefault<T> 2011-06-18 12:56:17 -07:00
kay.one bbf27c6f66 Fixed MVC profiler issue with Jobs, SQL profiling is on again. 2011-06-18 10:58: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
kay.one a12e148d54 Removed unnecessary IsDailyFlag from episode.cs 2011-06-17 23:39:14 -07:00
Mark McDowall 85d5b07c67 Merge with Kayone. 2011-06-17 23:24:44 -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 45a51497b6 Fixed issue where migrration would run on every page load. 2011-06-17 19:06:20 -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 ec0ef5d46d SceneMappings added to Migrations... again. 2011-06-17 17:00:38 -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 901db9d58b ExternalNotificationProvider moved to Peta. 2011-06-17 12:18:50 -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 ab26d2dd61 Renamed SceneNameMapping to SceneMapping.
SceneMappingProvider moved to PetaPoco.
2011-06-16 23:04:01 -07:00
Mark McDowall 63023d447d Using new PetaPoco Exists method in MediaFileProvider. 2011-06-16 21:12:14 -07:00
Mark McDowall 114f0675e0 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-16 20:46:22 -07:00
Mark McDowall 1f0e71c68e Merge with Kayone. 2011-06-16 20:46:14 -07:00
kay.one dd55a055e6 Updated PetaPoco with Exists, AddMany,UpdateMany,InsertMany,SaveMany 2011-06-16 20:36:52 -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
kay.one b47cdd8ab2 Updated to MiniProfiler 1.3 2011-06-16 01:29:00 -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 9837e54ca5 Fixed some issues after the merge. 2011-06-15 23:53:23 -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 1fbf9a1416 Using .ToList() to get around IEnumerable multi-DB calls and possible SubSonic bug with IQueryable. 2011-06-14 16:39:09 -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
kay.one add780b431 Ninject is now forced to use proper constructor. 2011-06-13 18:23:04 -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
kay.one 8686eb5d32 IISExpress is now attached to NZBDrone.exe earlier, which means it should almost have a garanteed termination as soon as the host is killed.
Console logging starts earlier in the app.
Moved Default profiles to QualityProvider.
2011-06-12 20:45:22 -07:00
Mark McDowall 5179bce37e ImportingNewDownload wasn't importing small files that weren't samples like it should. 2011-06-07 23:16:47 -07:00
Mark McDowall 54e7092e2d Added new helper to find the best file size format given a long with file size in bytes.
Added view under system to see which folders have not been processed in dropDir.
2011-06-07 23:15:35 -07:00
Mark McDowall cea511a460 Fixed a bug when trying to clean up an episode that was still attached to an episode file that no longer existed.
Wrapped processing of file in try/catch to prevent one failure from affecting the other files.
2011-06-07 22:53:52 -07:00
Mark McDowall 5041ff550c Post Download Import Job created and in effect. Scans every minute to import files from the users configured "SabDropDirectory". 2011-06-07 14:19:11 -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 4812cb4611 Increased sqlite cache size to 30mb 2011-06-05 13:01:28 -07:00
kay.one 120a75ed8e Fixed history again. 2011-06-05 12:55:46 -07:00
kay.one fa5b6bf9cc Fixed history order bug. 2011-06-05 12:42:53 -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 72af060d68 Fixed migration issue 2011-06-04 23:35:03 -07:00
kay.one 57690f49a0 Fixed IsSeasonIgnore logic, added tests 2011-06-04 23:24:24 -07:00
kay.one ae0d925a49 Merge branch 'markus101' 2011-06-04 23:09:50 -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 08b7b8c3e1 SeasonEditor moved to Gird Editor. 2011-06-04 22:23:50 -07:00
Mark McDowall b68784060b Needed to reverse the tuple order for Episode count. 2011-06-04 12:02:02 -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 a1653022ad refactored Migrations 2011-06-04 11:19:22 -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
Mark McDowall 3dce6a13cd Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-03 16:18:41 -07:00
kay.one 2ecd5ddb98 Merge branch 'markus101' 2011-06-03 12:58:28 -07:00
Mark McDowall a4e96ba314 Had the episodes going into the episode count tuple in the wrong order than, they were being retrieved. Oh noes. 2011-06-03 07:17:53 -07:00
kay.one c0814fa95d Hacked sabprovider to support addbyurl from newzbin 2011-06-02 23:08:55 -07:00
Mark McDowall 90d9e7d41e Moved episodeCount logic to mediaFileProvider.
Episode count counts by 5 now, so it doesn't take forever.
2011-06-02 20:04:39 -07:00
Mark McDowall 4f16615e8b Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-02 18:37:43 -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
Mark McDowall b77a91b7f7 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-01 20:37:04 -07:00
kay.one 56169b515f fixed broken episode status tests 2011-06-01 18:16:17 -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 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 ae55b29bec Moved NLog, Subsonic to root library folder 2011-05-30 00:22:20 -07:00
kay.one 6ade4b4bd7 Updated sqlite to the latests official builds 2011-05-30 00:05:45 -07:00
kay.one 6b0aae85ee GetMediaFile should be alot easier on disk. 2011-05-29 20:56:49 -07:00
kay.one 18a20ff163 Some performance tweaks to speed up episode list view. 2011-05-28 23:58:24 -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 f819a24e65 Merge branch 'markus101'
Conflicts:
	NzbDrone.Core/Providers/EpisodeProvider.cs
2011-05-28 12:55:51 -07:00
kay.one 1239da656e Rewrite of InventoryProvider 2011-05-28 12:23:35 -07:00
Mark McDowall 463881843e Combined AddNew and AddExisting Series pages.
Fixed AddNew Series
2011-05-28 00:16:16 -07:00
Mark McDowall 6c7fa1674e Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-27 17:24:08 -07:00
kay.one f62b02a36b Merge branch 'sschlesier' 2011-05-26 23:21:08 -07:00
Mark McDowall f5604fa955 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-26 23:04:41 -07:00
kay.one cbbb6e2b18 Oh hai search! 2011-05-26 23:03:57 -07:00
sschlesier 97c6d60e12 Make Release build compile succesfully 2011-05-26 23:01:07 -07:00
Mark McDowall fc7d3da540 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-26 22:02:55 -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 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
Mark McDowall f582457ddc EpisodesWithoutFiles will now only return episodes where the series and season are monitored. 2011-05-26 18:46:00 -07:00
kay.one 474f17c5e6 Added EpisodeSearchJob, still needs unit tests 2011-05-25 22:44:59 -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 fad0c6265c optimized ParseEpisodeInfo 2011-05-23 10:32:37 -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 ae8465834b Merge branch 'markus101' 2011-05-22 22:54:15 -07:00
kay.one 7b56711a4f Added episode status to episode grid 2011-05-22 10:29:10 -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 3bfa1c52b7 Added MigratorDotNet for custom db migrations 2011-05-22 09:04:04 -07:00
kay.one bda10f0e45 Added MigratorDotNet for custom db migrations 2011-05-22 09:03:37 -07:00
Mark McDowall 9c51633470 Fixed nzbs.org RSS URL.
Series Details Specials looks like the standard season grids.
2011-05-21 00:09:41 -07:00
kay.one e4ff0d6471 Diskscan/Info update job refactoring and test 2011-05-20 17:23:49 -07:00
kay.one 87ff2d1deb removed supports backlog, updated some logs in job provider. 2011-05-20 00:39:05 -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 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 9c1ff4af6b initial stage of indexer refactoring. things compile. 2011-05-19 20:47:07 -07:00
kay.one 9cad9bbbd7 Optimized logging to improve performance 2011-05-19 19:13:21 -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 7330683a4a Merge branch 'markus101' 2011-05-18 21:01:49 -07:00
kay.one f89eff9305 some cleanup 2011-05-18 20:59:12 -07:00
kay.one 67d8bf4147 Removed indexertype property 2011-05-18 20:58:42 -07:00
kay.one b4ea8838d2 Updated file scan logging 2011-05-18 20:56:19 -07:00
Mark McDowall 0645a9e552 EpisodeSorting UI has descriptions, removed extra options.
Config for EpisodeSorting variables added.
2011-05-18 16:10:25 -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 f2ce5bef18 Super smart season ignore logic. ;) 2011-05-17 22:10:46 -07:00
Mark McDowall 9327ef4352 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-05-17 21:29:09 -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
Mark McDowall 8e214029c9 Renamed Download settings to Sabnzbd settings.
Moved Download Propers to Quality settings.
Cleaned up Quality UI and enhanced it with some jQuery goodness. Mmmmm jQuery.
2011-05-17 20:39:26 -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
kay.one 45fde370d8 Removed post processor from solution 2011-05-17 20:10:39 -07:00
kay.one 356650a1d3 Merge branch 'markus101' 2011-05-17 19:55:01 -07:00
kay.one 30d8da3ce8 Log is now configured earlier in the life cycle.
Glimpse now listens to all IP addresses
2011-05-17 19:53:31 -07:00
Mark McDowall 58b19b6f10 Removed blackhole downloading from IndexerProviderBase.
ConfigProvider returns defaults from SabHost and SabPort.
2011-05-17 17:19:05 -07:00
Mark McDowall c0b7ebef4b LastExecutionTime will only be updated if no targetId was found. 2011-05-17 08:33:32 -07:00
unknown 617b23f5e3 minor cleanup in JobProvider 2011-05-17 00:24:29 -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
Mark McDowall 85c17c9270 Changed nzbs.org provider URL to grab only xvid and x264 rips (cats 1, 14) instead of type 1 (All TV) 2011-05-16 18:22:45 -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 9caacc4809 Added Season Monitored editor (linked from Season Count on Series Grid), It would be under AJAX Edit, but it won't play nice with lists.
Editor should support about 40 seasons without scrolling (TvDb doesn't list all seasons for large series)

Removed &pp=3 from SabProvider (it will use SAB's configured Post Processing value).
2011-05-15 23:27:02 -07:00
Mark McDowall fa2b609ad3 Removed retundant logging for Series deletion. 2011-05-15 16:39:46 -07:00
Mark McDowall 13da5ff7f7 Returned series deletion back to SeriesProvider. 2011-05-15 16:35:45 -07:00
Mark McDowall 30d7fecff5 Added examples to EpisodeSorting Settings.
Added new Multi-Episode Naming (Scene).
2011-05-13 21:13:21 -07:00
Mark McDowall d65d79a5c9 Replaced save notifications for settings on page with AJAX Notifications. 2011-05-12 21:46:26 -07:00
Mark McDowall 3cc052e9b6 DeleteSeriesJob now uses the providers properly. 2011-05-12 17:55:26 -07:00
Mark McDowall d97382ad0c Added DeleteSeriesJob to remove series in BG.
Fixed SeriesUpdate Grid Edit to properly save SeasonFolder changes.
Added Delete to SeriesGrid.
2011-05-11 19:53:19 -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 e4c9e11ee1 Deleting a series will also delete all items in history for that series. 2011-05-11 08:21:09 -07:00
Mark McDowall 49a059bdea AutoConfigure for SAB is setup, it works for systems with NzbDrone and SABnzbd on the same server only. 2011-05-10 23:46:26 -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 cb4d0e2450 fixed blackhole config to be boolean 2011-05-08 20:31:01 -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 d4ef96f97b Moved filename only piece to Parser.
Added .mp4 to media file extensions.
.mp4 will be treated as TV quality.
2011-04-30 16:25:35 -07:00
Mark McDowall 5e0427f927 MediaFileProvider, ImportFile will return null if episode cannot be properly parsed. Will only try to parse the filename, not the full episode path. 2011-04-30 14:29:58 -07:00
Mark McDowall 9518c61fc2 Changed constructor for ExternalNotificationProviderBase. 2011-04-28 23:32:51 -07:00
Mark McDowall a36d5fae2f Added ExternalNotificationProviderBase based on IndexProviderBase. 2011-04-28 23:06:13 -07:00
Mark McDowall 671dcd074c Added job to scan for media files every hour... So easy! 2011-04-27 23:46:56 -07:00
Mark McDowall b146b62ef3 Added images for provider, shown on the History grid. 2011-04-27 21:27:02 -07:00
Mark McDowall 7e946277bb IndexerType added, this will store the source indexer in history, so users can see (if they care) and we can add an icon if we want. 2011-04-27 17:11:08 -07:00
Mark McDowall de003b9774 Added "Tomorrow" view for the upcoming episodes page so it was separate from the weekly forecast. 2011-04-27 16:51:38 -07:00
Mark McDowall f1cf6ace73 Set Meridiem to Uppercase. 2011-04-27 09:47:53 -07:00
Mark McDowall 4e9f8bd2d0 Handle failed downloading on NZB so it will not get added to the History if it fails. 2011-04-27 08:40:00 -07:00
Mark McDowall 3a6cf56db1 RootDir Adds/Deletes update the database when the action occurs, no more awkward saving tactic. 2011-04-27 08:34:53 -07:00
Mark McDowall fbdc752f77 Fixed NzbDownloadUrl for NzbsRUsProvider 2011-04-27 08:09:38 -07:00
Mark McDowall 6f46a1211e Added DownloadFile method to HttpProvider.
Fixed Link that is returned from NzbMatrixProvider.NzbDownloadUrl.
IndexerProvider will now download the NZB to the disk if SABnzbd is not configured.
2011-04-26 23:27:15 -07:00
Mark McDowall ff0e0597b4 Upcoming view column width fixed for Air Date (added time). 2011-04-26 19:47:29 -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
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 a5d9ee17bf Episode Title added to parseResult. 2011-04-25 23:32:10 -07:00
Mark McDowall cb992f1b52 Added StatsProvider.
Bound AutoConfigureProvider to kernel.
Feed Item Parsing will now check for a SceneName match in SceneNameHelper.
2011-04-25 22:54:12 -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 5faeccf098 added support for daily episode file import 2011-04-25 14:37:53 -07:00
kay.one d490fad8cd Merge branch 'markus101'
Conflicts:
	NzbDrone.Core.Test/ParserTest.cs
2011-04-25 14:25:13 -07:00
kay.one 194c66f36a start support for daily show file import 2011-04-25 14:23:02 -07:00
Mark McDowall 494979c672 Fixed parser for Daily shows that didn't have the series name included. 2011-04-25 14:21:39 -07:00
kay.one eea6c2f896 Merge branch 'markus101' 2011-04-25 13:33:09 -07:00
Mark McDowall 1cd6c5d0c0 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-04-25 13:31:19 -07:00
kay.one b65fe99b30 Fixed network auth issue, custom parser issue 2011-04-25 13:21:52 -07:00
Mark McDowall e388b2d3b1 Fixed display bug for Settings/Downloads, it will now show the correct Div for Blackhole/SABnzbd. 2011-04-25 12:02:29 -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 519fd2f873 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core/Parser.cs
2011-04-25 00:43:20 -07:00
Mark McDowall a34bd818cf Start of AutoConfigureSab 2011-04-25 00:42:29 -07:00
kay.one 198d92f433 Merge branch 'markus101' 2011-04-24 22:42:40 -07:00
Mark McDowall ea2e520632 Newzbin feed will be grabbed using HTTP Authentication. 2011-04-24 21:36:52 -07:00
kay.one 6f4a9f577e Downgraded more logs 2011-04-24 21:15:23 -07:00
kay.one 623857eb90 Merge branch 'markus101'
Conflicts:
	NzbDrone.Web/NzbDrone.Web.Publish.xml
2011-04-24 20:53:04 -07:00
kay.one d3471b5bbb Downgraded some logs 2011-04-24 20:51:18 -07:00
Mark McDowall 822719bdaf Missed some changes for send to Sab functionality in IndexerProviderBased. 2011-04-24 15:53:01 -07:00
Mark McDowall 32dcf1feec NZB will be sent to SABnzbd when needed. 2011-04-24 15:32:08 -07:00
kay.one 80d47e611c more notification updates 2011-04-23 22:48:12 -07:00
kay.one 0d139f9c21 Updated task notification UI. Last message will stay on screen for an extra 3 seconds if there are no new messages. 2011-04-23 21:06:34 -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
kay.one be86c3ba52 Merge branch 'markus101' 2011-04-23 12:47:37 -07:00
kay.one 8bf80ecda0 Updated ForceMigration() 2011-04-23 12:47:05 -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 af1511e1f3 Fixed history grid layout 2011-04-22 13:48:05 -07:00
kay.one e074164a47 more tests and bug fixes 2011-04-22 13:14:02 -07:00
kay.one 23f6cc3901 More tests 2011-04-22 12:16:52 -07:00
kay.one fd32a04d45 Attach to debugger is a lot more reliable.
Added system/config ui
rss job only runs enabled jobs
fixed wrong mappings for indexers in settingscontroller
2011-04-22 10:09:06 -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 6f73260ab7 Merge branch 'markus101'
Conflicts:
	NzbDrone.Web/NzbDrone.Web.csproj
	NzbDrone.Web/Views/Log/Index.cshtml
2011-04-21 21:03:59 -07:00
kay.one e9c63b81e6 Added asp.net tick timer
Added health monitoring
Updated database logging
2011-04-21 19:23:31 -07:00
Mark McDowall ec8c83760b Adding/Deleting QualityProfiles will now save/delete the profile from the database to make the process less hacky.
RootDir and UserProfileSection do not inherit the master layout automatically.
2011-04-21 17:30:19 -07:00
kay.one 8a53e5fe72 Merge branch 'markus101'
Conflicts:
	NzbDrone.Core/Providers/Indexer/IndexerProviderBase.cs
2011-04-20 18:29:41 -07:00
kay.one 10ad7d1ed5 Added sabtitle method
Added custom parse option to Indexrbase
2011-04-20 18:26:13 -07:00
Mark McDowall f3457a730c CustomParser will run now. 2011-04-20 16:30:50 -07:00
Mark McDowall 64bbf8a9b5 Newzbin override for getting proper and quality. 2011-04-20 16:29:12 -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 b86dac57e1 Merge branch 'mark-fork' 2011-04-19 22:02:12 -07:00
kay.one c1121640e4 removed folder name from update notification 2011-04-19 22:01:47 -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 6caae19430 Timers are now initialized on startup. 2011-04-19 19:17:28 -07:00
kay.one 38712c7e5f fixed quality link to series 2011-04-19 18:56:02 -07:00
kay.one 2a603d908f Merge branch 'markus101/NzbDrone'
Conflicts:
	NzbDrone.Core/CentralDispatch.cs
	NzbDrone.Core/NzbDrone.Core.csproj
	NzbDrone.Web/Views/Settings/Indexers.ascx
2011-04-19 18:51:42 -07:00
kay.one 59899286ee Added TimerProvider 2011-04-19 18:20:20 -07:00
Mark McDowall c6ef828429 New UI for Indexer Settings, RAZOR!
Renamed NzbMatrix and NzbsRUs Providers
2011-04-19 16:46:21 -07:00
kay.one 62b8d4be06 Merge branch 'mark-fork' 2011-04-18 23:42:25 -07:00
kay.one b6c04dc2d0 project updates 2011-04-18 23:37:34 -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 bee99cbd5b Added TvDb offline project. still need to clean the data 2011-04-10 01:21:00 -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 1a9948de2f Removed IDiskProvider.
Removed IIndexerProvider.
2011-04-08 17:21:57 -07:00
Mark McDowall e5413d67d6 Removed IRenameProvider. 2011-04-08 17:08:03 -07:00
Mark McDowall 29690d9b6f Removed IRssSyncProvider & IBacklogProvider 2011-04-08 17:04:50 -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
Mark McDowall bd0a7a58dd Removed INotificationProvider 2011-04-08 16:48:47 -07:00
Mark McDowall 4426072232 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-04-08 09:54:03 -07:00
Mark McDowall f52b399ed6 Removed IExternalNotificationProvider 2011-04-08 09:24:17 -07:00
Mark McDowall c77a88dd2f Removed IDownloadProvider 2011-04-08 08:36:34 -07:00
Mark McDowall 0ee4f8cc9b Removed IPostProcessingProvider 2011-04-08 08:24:16 -07:00
Mark McDowall 030c6fb7b7 Removed ITimerProvider 2011-04-08 08:20:45 -07:00
Mark McDowall 8380c25eaf Removed IUpcomingEpisodesProvider 2011-04-08 08:18:01 -07:00
Mark McDowall 83ebd89ff8 Removed IXbmcProvider. 2011-04-08 08:15:51 -07:00
Mark McDowall d63fe6ad56 Removed IRootDirProvider. 2011-04-08 08:10:46 -07:00
kay.one 53607d89fe wrote automoqer unit test 2011-04-07 23:50:30 -07:00
kay.one 7b4a92fbe6 Removed IQuality provider
Updated AutoMoq to support SetConstant
2011-04-07 21:11:45 -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 1e73138f6d some subsonic cleanup 2011-04-05 20:14:43 -07:00
kay.one bdc8abe0b6 fixed application path to support Application path (full IIS Server) 2011-04-05 19:24:57 -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
kay.one b21bdbe41f Merge branch 'mark-fork' 2011-04-04 20:19:18 -07:00
Mark McDowall a30a62f824 Removed orig files. 2011-04-04 20:06:36 -07:00
kay.one ac7c795eb6 Updated Exceptioneer.
project cleanup
2011-04-04 19:59:33 -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 2d9285eee2 fixed some DI issues.
fixed episode list grid width
2011-04-04 00:51:58 -07:00
kay.one 16234d6b79 Added nzbs.org using the provider model. 2011-04-04 00:21:07 -07:00
kay.one 375a0c333e Added more code to FeedProviderBase 2011-04-03 23:53:22 -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
Keivan e33f5206fa Add existing now does is reall time TvDb lookup 2011-04-01 16:11:09 -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
kay.one d4179818cc removed upnp code 2011-03-28 21:23:11 -07:00
Keivan 82808355c4 added sub menu for add series 2011-03-28 17:12:48 -07:00
Keivan c45729a986 removed default root property
tweaked the ui on add new show
2011-03-28 16:38:05 -07:00
Keivan 613a49c3ea Refactored BacklogProvider
Fixed some issues with root folder and settings controller
2011-03-28 14:57:06 -07:00
Mark McDowall e62cb3b5da Updated .gitignore to not store .nzb
Add [PROPER] to titleFix if it's a proper.
User can now change the QualityProfile when adding a series (new or existing), option will default to their DefaultQualityProfile.
2011-03-28 13:22:12 -07:00
Mark McDowall c6a7eaab93 Separate QualityTypes.Bluray to Bluray720 and Bluray1080. 2011-03-26 17:16:50 -07:00
Mark McDowall caa99540a6 Cleaned up RssItemProcessingProvider, will actually process Season NZBs now.
Added Newzbin ID parsing.
2011-03-26 13:11:05 -07:00
Mark McDowall 1076b3ab58 RssItemProcessingProvider will now handle full series NZBs. 2011-03-26 12:16:53 -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 f1db8f52bf Parser REGEX updated to support 103 naming and breaking out of the REGEX foreach loop when a match is found. Most strict to less strict ordering of REGEX is required. 2011-03-24 08:19:21 -07:00
Mark McDowall 302949048b Ability to delete from Edit Series (link wasn't available before).
add .nzb to file when downloading, need to change to WebRequest/WebResponse to get the file so we can retrieve the actual file name... Use %NZBDRONE_PATH% to store NZB if path is not provided...
2011-03-24 00:30:38 -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 dc552ec873 SeasonProvider.IsIgnored will properly handle a season that does not exist in the DB (TV DB doesn't have the latest season is root of the problem, or the season just started and NB DB is out of date). 2011-03-24 00:16:22 -07:00
Mark McDowall 6c818bd8d8 Upcoming shows view added. 2011-03-23 00:06:22 -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 4f2f5a3d71 HttpProvider - Added Download File.
SabProvider - Added AddById (Newzbin)
Fixes to RssItemProcessingProvider
Can either download NZB to file or send to SAB...
2011-03-21 20:51:03 -07:00
Mark McDowall 84f0dfed4e Removed un-needed WebClient from XbmcProvider.
BackLog Provider created.
QueueIfWanted moved to new class (RssItemProcessingProvider) to cutdown on repeating code (between RssSyncProvider and BacklogProvider)
Style.css now sets width for rootDirectories class (when adding a new show).
2011-03-18 08:39:19 -07:00
Mark McDowall b2b4423c92 Fixed XBMC CleanLibrary 2011-03-17 13:01:21 -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 3d81bc8770 AddNew is functional, using jquery for adding and display changes. 2011-03-15 08:29:14 -07:00
Mark McDowall 5a8842e3db AddExisting clears check/hides rows once submitted. Bi-winning
AddNew, currently unable to submit. Bi-polar
2011-03-11 01:04:56 -08:00
Mark McDowall c3425f493f Modified TvDbProvider to aloow returning of multiple results when requesting a list of results. 2011-03-10 12:30:22 -08:00
markus101 48b89abfeb Add Existing Series works, UI shows TVDB Name and Path so you can check before adding to DB. 2011-03-09 23:49:59 -08:00
Mark McDowall 64a1b2d28d Normalize path will now just clean it up, no longer returns the string in all lower-case. 2011-03-09 16:44:21 -08:00
Mark McDowall 2871723bfe Manage multiple Tv Root Folders in Settings/General.
Start of AddExisting.
2011-03-08 23:40:48 -08:00
markus101 df041eb300 Notifications UI Implemented, Added ExternalNotifications and Xbmc Providers to CentralDispatch. 2011-03-06 23:32:36 -08:00
markus101 9e15b27e3a XbmcProvider will use HttpProvider.
Added DownloadString for HttpProvider that allows for authenticaion (required for XBMC with username/password).
2011-03-06 22:33:59 -08:00
markus101 2f8ad5db45 Add quality to titleFix so it will be added to queue (and looked for in queue) that way. [Quality] 2011-03-06 22:20:57 -08:00
markus101 1ba6cd0d3a Removed Drone Specific parser, on 2nd look it is not needed... just need to include the quality when adding it to the SAB Queue. 2011-03-06 22:16:48 -08:00
markus101 fd038891fb Added parser for parsing the Quality of an Episode sent to SAB (So we get the proper quality) 2011-03-06 22:09:22 -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 e166cb1b2d ExternalNotificationProvider complete, XBMC only for now. 2011-03-06 13:40:38 -08:00
markus101 0cb20b0092 XBMC Provider finished 2011-03-06 13:36:09 -08:00
markus101 2af078b23d ExternalNotifications, XBMC notification, building the framework for these, UI not implemented. 2011-03-06 12:45:35 -08:00
markus101 1314d00c97 Post Processing has been implemented, still need to finish app for SAB to NzbDrone. 2011-03-03 00:50:33 -08:00
markus101 ce79ab2827 Display Error when RSS Feed doesn't return any items. 2011-03-02 18:12:33 -08:00
markus101 46830a2777 EpisodeSorting setup, setting page created and usable, needs labels still. 2011-02-25 20:07:22 -08:00
markus101 165beda55b Use Season Folder is set in config (also set per Series), default is true. 2011-02-24 23:20:24 -08:00
markus101 3b749a39a7 Renaming fixes, extension will be used now.
Removing EpisodeFile from DB now works.
2011-02-24 19:52:06 -08:00
markus101 a950a13c30 Show Path to episode on disk in Details.
Timer to cleanup/scan for EpisodeFiles (Midnight)
Fixed Relationship for EpisodeFile to Series
2011-02-24 17:18:22 -08:00
markus101 b5c7135d24 Do not try to rename files if the source and destination path are the same. 2011-02-23 17:41:18 -08:00
markus101 9ffe8ea4cd Fixed the badly broken Renaming, it will now only attempt to rename episodes with files and works with multi-episode files. 2011-02-23 17:23:58 -08: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 ce6bcbfec1 EpisodeFile parsing was incorrect due to change of relationship with Episode 2011-02-22 16:26:03 -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 738700537e Episode RenamingProvider created, allows renaming by Every Episode for Every Series, by Series, by Season, or individual Episodes.
Currently uses Hard-Coded Naming Convention, Undecided on SAB or SB configuration style, SAB's is more robust (and flawless? -SP).
2011-02-21 22:22:40 -08:00
markus101 2a8b598f4f EpisodeFile now has a list of Episodes (support for multi-episode files), was reversed before. 2011-02-21 22:12:53 -08:00
markus101 737330d48b Added NzbTitle to History item and will set it when adding to the DB. 2011-02-21 17:05:56 -08:00
markus101 c448c17605 Add to History when SAB receives the NZB and set episode.status to grabbed. 2011-02-18 08:36:50 -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 dbca3a1974 Added UpdateSeries to SeriesProvider.
Edit now works for Series, AJAX save.
Fixed Adding new series to use the DefaultQualityProfile as the QualityProfileId value.
2011-02-17 18:50:40 -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 445e2f59b9 Fixed SabProvider and Unit Tests for it. 2011-02-16 18:14:41 -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 309e1ba249 Fixed issue with storing and retrieving quality profile, checking the profile. 2011-02-16 00:16:14 -08:00
markus101 a7780fab67 Issue with overwriting user settings for Indexers resolved.
Reworked RssSyncProvider to make it cleaner.

SeasonProvider was returning the reveresed boolean result

Indexer changed to not store empty strings as null when saving config (ApiUrl).
2011-02-15 23:58:39 -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 da79ad147e New series will be added monitored and quality will be set to default quality.
Series now stores a QualityProfile instead of QualityType
2011-02-14 19:48:39 -08:00
markus101 ff44d05a72 Clean up SettingsController to not check for Null's as empty strings will not be null when returned.
class variables for _settingsSaved, _settingsFailed to easily change all error messages when saving
2011-02-14 17:20:17 -08:00
markus101 b2524cf697 Validation changes, moved JS for Client-Side validation to Settings/Index.aspx
Still need to sort out validation for Quality Cutoff (not part of the Model so it seems to cause issues).
2011-02-14 16:45:31 -08:00
markus101 e7cbc4cbcf Added additional priorities supported by SABnzbd.
From shypike:This is the (kind of weird) priority table:

TOP_PRIORITY = 2
HIGH_PRIORITY = 1
NORMAL_PRIORITY = 0
LOW_PRIORITY = -1
DEFAULT_PRIORITY = -100
PAUSED_PRIORITY = -2

-100 won't do a thing, since it means: whatever is default.
2011-02-11 00:12:44 -08:00
markus101 6e66a7a27f Working on validation for forms, issues with server side, not sure how to post back model with AJAX submit, yet.
Split out settings model to support validation.
2011-02-10 17:22:29 -08:00
markus101 6690139616 Fixed an issue where the RssSyncTimer was not updating the NextInterval variable after expiring the first time. 2011-02-09 23:18:07 -08:00
markus101 0fc75e8907 TimerProvider will test every 1 minute to see if it matches a schedule for updating season or entire series.
Countdown now shows a real value from RSS Sync.

CentralDispatch updated to start RSSSyncTimer when run.
2011-02-09 22:51:04 -08:00
markus101 fd4cf86694 EpisodeProvider - RefreshSeasonInfo by Season added, updates only the supplied season. 2011-02-09 22:42:46 -08:00
markus101 ac20da426b SeasonProvider GetLatestSeason added 2011-02-09 22:41:24 -08:00
markus101 57f5b3ddc2 RSS Sync Timer Implemented using System.Timers.Timer 2011-02-08 17:23:01 -08:00
markus101 6d790f8939 Quality now has sortable lists for configuring Profiles, saving not implemented yet. 2011-02-05 18:52:49 -08:00
markus101 be6bdbc483 Quality Config, Dynamically add new User Profiles, just need to get them to save. 2011-02-05 10:27:14 -08:00
markus101 d083d653db Fixed updating of Default Qualities in CentralDispatch.
Default Quality can now be set through Settings/Quality using a drop down list.
Fixed QualityType for BDRip (was sharing a value with DVD).
2011-02-04 22:07:25 -08:00
markus101 48e5b36936 Fixed logging for Settings Controller and QualityProvider
Setup/Update of Default QualityProfiles will occur on start
2011-02-03 18:58:02 -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 9f0e512f5f Returned missing Graphics, CSS and JavaScript files.
Settings Sub-menu updated to include Quality link.
Quality config page started.
2011-02-02 18:49:52 -08:00
markus101 3b63cfb5d2 Added Quality Provider to interface with QualityProfiles.
Changed QualityProfile and AllowedQuality to be meet requirements
2011-02-02 17:07:36 -08:00
markus101 1cf5e55e61 Added in Bluray 1080P Quality Type.
Added additional columns for AllowedQuality
2011-01-31 17:01:49 -08:00
markus101 63336ed58d Added Timer, will hold timer information for RSS Sync and eventually backlog searching.
Attempt at styling configuration page, lots of work to go though.
2011-01-30 23:42:44 -08:00
markus101 c40f18e66f Fixed REGEX for episode parsing so it would correctly parse shows with a year in the title.
Fixed a config saving issue in the SettingsController.
Added bindings in Central dispatch for SabProvider and HttpProvider
2011-01-30 17:30:59 -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 65ecd58111 Updated Telerik MVC to Version: 2010.3 1110 (Nov 10, 2010) 2010-12-02 10:51:22 -08:00
Scott Schlesier d5a869ac54 Parse UNC paths 2010-11-06 09:01:46 -07:00
Keivan 153e013afb cleaned up css 2010-11-06 13:09:58 +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 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 9c7500d4ae updated notification ui 2010-10-17 23:06:16 -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 b59d9f13b1 Oh Hai IIS 2010-10-13 23:29:01 -07:00
Keivan 76379341a7 Added series update notification. 2010-10-11 19:49:27 -07:00
Keivan 76dee4aff2 Merge branch 'master' of git://github.com/markus101/NzbDrone 2010-10-11 18:15:08 -07:00
markus101 3157ee4aba Updated EpisodeProvider methods 2010-10-10 14:20:43 -07:00
Keivan 30d38eead6 fixed ninjet's race condition 2010-10-10 12:00:07 -07:00
Keivan b112e28b80 Merged in rob's UPnP code 2010-10-08 00:10:26 -07:00
nothingmn dfbf13b868 Updated UPnP so it does disco async, updated DiscoProviders to handle that approriately, Added JsonAction result with JS Ajax call for client side detection, on a timer for media controllers 2010-10-07 22:04:25 -07:00
nothingmn 78dba9c668 Added Media Disco Providers - these will be used to auto detect media providers on the LAN 2010-10-07 21:34:32 -07:00
nothingmn 92e0a8f1a4 Added Media Provider Interface and XBMC's implementation 2010-10-07 21:19:05 -07:00
nothingmn 95c368fd04 Added UPnP reference to Core 2010-10-07 21:06:43 -07:00
nothingmn cd91913a4c Added UPnP library
Added the Intel (with some mods) UPnP library (dll)
2010-10-07 20:45:09 -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 26c03d7162 Added broken tests 2010-09-29 10:19:18 -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 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 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
Keivan 020a7462c0 updated some tests 2010-09-27 17:27:02 -07:00
kay.one d870c82147 changed seriesid to string to avoid sqlite bug 2010-09-26 17:21:38 -07:00
markus101 f5cf44c2b3 New Web theme
Added IDownloadClientController & SabController (WIP)
2010-09-25 09:26:31 -07:00
kay.one 2c0469f76e fixed tvdblib xml cache path 2010-09-24 00:24:05 -07:00
kay.one 4d4a8198eb fixed show grid, added details page 2010-09-24 00:14:42 -07:00
kay.one 772452aa8b added tests for basic config set/get to db 2010-09-23 23:16:43 -07:00
kay.one 1620721efe fixed config post issue 2010-09-23 22:37:48 -07:00
kay.one d7bae9135c added settings view to mvc project 2010-09-23 22:21:45 -07:00
kay.one 036b2e7f4f updated the apppath logic and db location 2010-09-23 19:19:55 -07:00
kay.one 74ac3bb599 Initial Commit 2010-09-22 20:19:47 -07:00