1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00
Commit Graph

92 Commits

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