Commit Graph

503 Commits

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