Commit Graph

597 Commits

Author SHA1 Message Date
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 8927a938b7 Fixed episode status of recently imported episodes. 2011-07-10 13:07:42 -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 c339ea6ba2 Updated miniprofiler to 1.4 2011-07-07 22:40:29 -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
kay.one 8424dd6ede Increased some columns sizes to avoid cutoffs. 2011-07-06 00:37:58 -07:00
kay.one f0735c0693 minor tweaks 2011-07-06 00:36:49 -07:00
kay.one fc0d7fc72f Logging notification tweaks 2011-07-05 23:17:21 -07:00
kay.one 3dd8e7240e Added GetDirectorySize to DiskProvider
Removed search folder from disk provider
2011-07-05 00:09:07 -07:00
kay.one 8b0c8afb81 PostDownloadScanJob will not fail completely if a single folder fails. 2011-07-04 23:52:06 -07:00
kay.one 2a64014c96 Added version to page footer, minor tweaks. 2011-07-04 23:46:03 -07:00
kay.one 678c33d5fa Logs view improvements 2011-07-03 22:23:38 -07:00
kay.one badcfecb93 Fixed Exceptioneer, Launcher should run as priority normal 2011-07-03 22:03:05 -07:00
kay.one cfd42049e5 minor cleanup 2011-07-03 17:18:27 -07:00
kay.one c37544d4ce Episode is now marked as grabbed on download 2011-07-03 16:04:57 -07:00
kay.one f2b091dcd2 Fixed issue with nzbs.org search where title contained brackets 2011-07-03 15:32:36 -07:00
kay.one 861026f743 Fixed some petapoco issue with insert. 2011-07-02 16:45:29 -07:00
kay.one 5a4e8330b2 Updated petapoco to 4.0.3 2011-07-02 16:12:20 -07:00
kay.one b8b4e507b9 Added more video extensions 2011-07-02 15:18:19 -07:00
kay.one cd96d546e8 limited newzbin search to English only. 2011-07-02 11:41:23 -07:00
kay.one 555e62fd17 fixed some notification issues 2011-07-02 10:41:10 -07:00
kay.one a1caa789fe Instant progress notifications. Now use comet instead of pooling. 2011-07-02 01:56:58 -07:00
kay.one 07312780f1 ParseEpisodeInfo is now separated into ParseTitle and ParsePath 2011-06-29 16:31:16 -07:00
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