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

861 Commits

Author SHA1 Message Date
Keivan Beigi
ae1a32b874 Fixed an issue where GetEpisodesByParseResult would throw object reference when episode list was null 2011-10-20 16:07:47 -07:00
Mark McDowall
3bd99a2b7b Added Support for 1011 as a number convention. 2011-10-20 14:30:45 -07:00
kay.one
ea05635fd3 Moved NLog, Fluentassertion to Nuget. 2011-10-20 01:02:12 -07:00
Mark McDowall
a3e5c90319 Cleanup generating paths for error scenarios. 2011-10-18 16:49:43 -07:00
Mark McDowall
e87cdbde44 Removed SharedLiveTemplates.xml.
Cleaned up PostDownloadProvider, added more tests.
2011-10-17 20:08:26 -07:00
Mark McDowall
66b4b094f9 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus
Conflicts:
	NzbDrone.Core.Test/EpisodeProviderTest.cs
	NzbDrone.Core/Providers/PostDownloadProvider.cs
2011-10-17 15:30:43 -07:00
Mark McDowall
714bcee5cb Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-17 13:06:07 -07:00
Mark McDowall
642707e46d Fixed some issues with PostDownloadProvider.
Added tests for PostDownloadProvider.
2011-10-17 13:05:38 -07:00
Keivan Beigi
6af98f9e96 more better exception handling. 2011-10-17 12:23:34 -07:00
kay.one
2e174c03c9 ExceptioneerTarget Tweaks 2011-10-16 21:09:43 -07:00
kay.one
1d97455e9f Teamcity should no longer send in Exceptioneer reports 2011-10-16 20:12:48 -07:00
kay.one
97ed59920b trying to stop team city from sending exeptioneer reports. 2011-10-16 20:02:20 -07:00
kay.one
c55ca42c21 Migration is no longer executed per test, its ran once and the db is cloned after that, (faster tests, cleaner logs ;) 2011-10-16 19:03:54 -07:00
kay.one
87cf08a365 Fixed Exceptioneer. 2011-10-16 18:37:29 -07:00
Mark McDowall
b3abcb6096 RootDirProvider.GetMostFreeRootDir() will calculate the find the RootDir with the most free space and return its path. 2011-10-15 11:54:39 -07:00
Mark McDowall
117cebe655 Found and fixed a bug in EpisodeProvider.GetEpisodesByParseResults, where it would incorrectly return all episodes for a season when a file was detected as a Full Season release. 2011-10-15 11:51:11 -07:00
Mark McDowall
c296b6975c Added DirectoryInfo.FreeDiskSpace to get the free disk space of any directory. 2011-10-15 11:36:09 -07:00
Mark McDowall
8cac84b4ad PostDownloadProvider broken down further.
Will try to reprocess _NzbDrone_ directories each pass, but will mark with an error when possible.
Attempt to process _UNPACK_ and _FAILED_ directories 30 minutes after first detected by NzbDrone (to give SAB time to unpack properly before processing).
2011-10-14 08:37:19 -07:00
Mark McDowall
04ed22db55 Moved core of PostDownloadScanJob to PostDownloadProvider. 2011-10-12 16:47:28 -07:00
Mark McDowall
4915b32cc6 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-11 20:44:45 -07:00
Mark McDowall
5098ea3249 Added two new Episode Statuses - Unpacking and Failed.
Tests added to support new Statuses.
PostDownloadScanJob will update PostDownloadStatus for failed or unpacking.
ImportFile will set the PostDownloadStatus to Processed when added to the database.
2011-10-11 20:44:19 -07:00
kay.one
1ba959298b Added BuildDateTime to central dispatch 2011-10-11 19:24:43 -07:00
Mark McDowall
c534d47b0a Added InheritFolderPermissions to DiskProvider.
DiskScanProvider.MoveEpisode will now set the moved file to inherit the parent folder permissions.
2011-10-10 21:00:31 -07:00
Mark McDowall
dcc4410f84 Merge branch kay.one with markus.
Fixed Conflicts with ConfigProvider.
2011-10-08 18:23:03 -07:00
kay.one
be651660a4 More bugfixes, tests. 2011-10-07 22:06:16 -07:00
Mark McDowall
f973c74c87 ConfigFileProvider will now add missing config values automatically, with a default value.
Added Handbrake and AtomicParsley wrappers for iPod video conversion.
2011-10-06 21:36:47 -07:00
Mark McDowall
430fb9aead SortHelper.SkipArticles will no longer bomb when a null is passed.
Added tests for SkipArticles.
2011-10-06 09:37:34 -07:00
Mark McDowall
33930534c2 Ignore Episode Zero when adding a new episode to the database, either via GetEpisodesByParseResult
or RefreshEpisodeInfo. With tests.
2011-10-03 19:01:39 -07:00
Mark McDowall
2cafedb1aa UpcomingEpisodes will not show ignored episodes. 2011-10-03 16:53:21 -07:00
Mark McDowall
7db08a10ec Next airing will not show ignored episodes. 2011-10-03 16:38:22 -07:00
Mark McDowall
ec6a0e6b7f App_Data added to .gitignore
Added SetValue to ConfigFileProvider.
Added creating of default config file in ConfigFileProvider.
Added more ConfigFileProvider tests.
Added UI for Settings/System
2011-10-01 00:04:06 -07:00
Mark McDowall
f0f706b32c ConfigFile for NzbDrone.exe is now stored under App_Data for NzbDrone.Web. - This will be to provide the users a way to edit Port and set whether they want their default browser to open on startup, all form the WebUI (and not be overwritten on upgrades). 2011-09-30 20:12:18 -07:00
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
7ca59b92aa Replace '&' with its XML encoded equivalent, before parsing XML.
Added test to check for proper XML parsing with illegal characters.
2011-09-28 21:39:05 -07:00
Mark McDowall
6736afbeab Added NextAiring to Series (ResultColumn), which is used for Series/Index. Added tests and fixed broken tests after adding new property. 2011-09-28 10:56:30 -07:00
Mark McDowall
9271b39787 Added ToBestDateString for DateTime, using on Series/Details. 2011-09-27 17:10:08 -07:00
Mark McDowall
5f0a95b2b1 Fixed XBMC JSON requests. 2011-09-27 10:41:36 -07:00
Mark McDowall
4eea6b8c6b Added fix for HttpProvider.PostCommand so it uses a valid URL. 2011-09-26 17:50:58 -07:00
Mark McDowall
b239e28898 Added additional logging to XBMC Provider, to trace failure to update library. 2011-09-26 17:17:41 -07:00
Mark McDowall
0dbb3789eb Treat SUBPACK's as extra releases, so they will not be downloaded. 2011-09-25 18:00:21 -07:00
Mark McDowall
43fa8a1f66 Fixed broken Season parsing REGEX, added test to verify issue without parsing XML. 2011-09-19 21:29:04 -07:00
Mark McDowall
339f191ab8 Releases with only extras will be skipped, with tests. 2011-09-19 17:13:19 -07:00
Mark McDowall
4604bbd821 Mark invalid series downloads with NzbDrone prefix.
Fixed broken tests.
2011-09-18 13:53:05 -07:00
Mark McDowall
951eb4523d Support for csi525 naming added, previously csi.525 would work, but csi525 wouldn't. 2011-09-18 12:59:23 -07:00
Mark McDowall
8c06dde28a Quality size sliders are implemented. Limits are calculated based on MB/Minute. 2011-09-15 21:42:30 -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
e4f01ae0d4 Size is now parsed for each item in the feed.
QualityType added to database to allow saving of size limits.
Fluent now uses longs for multiplication, to ensure it doesn't overflow.
2011-09-13 19:25:33 -07:00
Mark McDowall
dfd0720872 Added BannerDownloadJob, it will run every 30 days.
New series will have their banner downloaded on import.
2011-09-10 01:42:05 -07:00
Mark McDowall
f8be43a486 Upgraded to MiniProfiler 1.9.
Updated to latest WebActivator.
2011-09-07 18:56:00 -07:00
Mark McDowall
070115a59a TopLogs will now return the count pass in, reduced to 5000 from 7500 to prevent JsonSerialization issues when being sent to the grid.
Added tests for TopLogs and GetPagedLogs.
2011-09-07 17:01:51 -07:00
Mark McDowall
73fadac397 Fixed parser to properly parse a more common naming convention where the episode title starts with an episode or series/episode combination.
SeriesController SaveEdit and Delete OrderBy Title with articles removed, with episodeCount.
Reworded Auto-configure button.
2011-09-06 23:43:10 -07:00
Mark McDowall
a56213047f EpisodeSearch now gets the proper QualityProfile (broken after removing AttachSeries), tests updated. 2011-09-05 17:44:03 -07:00
Mark McDowall
1f2a1e3206 Season searching fallback to individual episodes will done in order from 1 to n. 2011-09-05 15:26:53 -07:00
Mark McDowall
5f75891d36 Fixed logs being written to nzbdrone.sdf instead of log.sdf 2011-09-05 14:30:45 -07:00
Mark McDowall
c13c9d15c4 Default Log view uses client operations, added all logs view that uses paging (No support for sorting or filtering). 2011-09-05 12:59:39 -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
9fd2f9ec72 Fixed notification messages for Season searches. 2011-09-04 01:12:30 -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
421ba466a8 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-09-03 20:05:56 -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
Mark McDowall
780abad3f7 Log view now uses proper paging so it doesn't take a year to load up each page. 2011-09-02 23:41:50 -07:00
kay.one
bab358398a potential fix for "Execution lock has fucked up" 2011-09-02 22:30:18 -07:00
Mark McDowall
35cad3d27e Added partial season searching when a full season NZB is not available. 2011-08-31 23:58:54 -07:00
Mark McDowall
fbb4ced77c Full season searching for Nzbs.org and NzbMatrix will also look for S01 in addition to Season. 2011-08-31 17:17:35 -07:00
Mark McDowall
f02e92b005 Fixed EpisodeSorting examples layout.
Added Missing to main UI.
Add links to series from History and Missing.
Image for search link on Missing.
2011-08-30 17:15:22 -07:00
kay.one
8ce222a10c Should fix the transaction issues in petapoco, we are getting to far petapoco master which I don't like. 2011-08-28 20:05:31 -07:00
kay.one
9244a4e6ef Update episode info now uses UpdateMany, InsertMany 2011-08-28 20:03:40 -07:00
Mark McDowall
2980c91f19 GetSabName will return cleaner Season naming when it is a FullSeason release. 2011-08-28 15:22:19 -07:00
Mark McDowall
704084a5c8 Fixed broken parse REGEX, removed parsing test and added to hall of shame. 2011-08-28 14:18:43 -07:00
Mark McDowall
8afd7d2b47 Fixed broken tests. 2011-08-28 12:24:16 -07:00
Mark McDowall
43e5cb7b31 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-28 12:08:06 -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
kay.one
a5527df584 Fixed petapoco's craptastic connection management. 2011-08-28 10:43:33 -07:00
Mark McDowall
273530eda2 SeriesSearchJob uses SeasonSearchJob to try to download seasons first. 2011-08-27 23:37:34 -07:00
Mark McDowall
485f618e02 Full Season searching added (Single NZB). SearchProvider added to perform both Season and Episode searching, triggered via jobs.
Tests added for season searching.
2011-08-27 22:45:36 -07:00
Mark McDowall
07a4c94032 Removed ParseSeasonInfo.
ParseEpisodeInfo will mark a report as a full season if no episodes are found, but was matched.
Fixed tests that were affected by REGEX changes.
2011-08-26 22:37:20 -07:00
Mark McDowall
7a11dfd348 Additional removals for SimpleTitleRegex added to get rid of extraneous numbers. 2011-08-26 21:37:24 -07:00
Mark McDowall
ac3c3386fc Added delete and redownload commands to History Grid (redownload will delete the existing item from history and then start an episode search) 2011-08-26 17:59:51 -07:00
Mark McDowall
1d983801e8 SABnzbd settings will now dynamically get the categories available from SABnzbd when the category drop-box gets focus, it will use values on the page so there is no need to save your settings first. 2011-08-26 10:45:59 -07:00
Mark McDowall
d554e9ec83 Delete existing files on import if equal or better quality otherwise skip importing. If the folder is not deleted after processing it is renamed so it will not be processed repeatedly. 2011-08-25 23:23:21 -07:00
Mark McDowall
2ad200e743 Fixed an issue where large 1080i MPEG HDTV rips were being considered SDTV, they now get caught as Unknown. 2011-08-25 16:58:24 -07:00
Mark McDowall
667fc5d69b Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-24 16:57:00 -07:00
kay.one
6bab9a34dd Improved job thread execution locking log 2011-08-24 16:54:48 -07:00
Mark McDowall
fb9c2b6d9e Fixed SceneMappingProvider to resolve an issue with series with multiple clean names failing to return a Scene Name when being looked up via SeriesId. 2011-08-22 23:07:04 -07:00
Mark McDowall
f6c9fa4f95 Added SeriesSearch and RenameSeries jobs.
Add UI controls for new jobs.
Skip ignored episodes when doing series/season searches.
2011-08-22 22:29:12 -07:00
Mark McDowall
d120a61ccb Series/Details specials grid will be generated like all others.
Added images for Episode Status, Ignored status removed
Updated SceneNameMappings.csv
2011-08-21 23:25:32 -07:00
Mark McDowall
3e87418c5d NormalizeTitle will return all number only titles as is. 2011-08-21 18:42:00 -07:00
Mark McDowall
66522b8109 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-21 18:21:48 -07:00
kay.one
1e9b279a9b Removed basic notification. client side notification should be used. 2011-08-21 18:19:34 -07:00
Mark McDowall
350e0388de Updated JobProvider to allow jobs with two targets.
JobQueueItem class created instead of using Tuples.
Added Search for Season and Rename Season jobs , plus links for them on Series/Details.
Add GetSeasonFiles added to MediaFileProvider.
2011-08-21 17:48:37 -07:00
Mark McDowall
ef16e72b09 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Web/Controllers/SettingsController.cs
2011-08-08 15:46:49 -07:00
kay.one
5ab07d7028 Added instant notification framework 2011-08-08 14:50:48 -07:00
Mark McDowall
020283225b Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-07 17:05:27 -07:00
kay.one
eaaf464d38 Merge branch 'markus101' 2011-08-06 22:49:50 -07:00
kay.one
2601c7c1b9 minor changes 2011-08-06 22:49:07 -07:00
Mark McDowall
f1f85a0eca Fixed parsing issue when Episode Title starts with a number. Split out single and multi episode REGEX for standard naming conventions. 2011-08-05 21:51:36 -07:00
Mark McDowall
13d947d24d Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-05 19:05:08 -07:00
kay.one
79b2fad6e3 Removing items from job queue is now done while a lock is acquired. 2011-08-04 21:49:18 -07:00
Mark McDowall
3507b97887 Settings save buttons are disabled until jQuery loads and attribute is removed (prevents saving without ajax if saving too quickly).
Notifications are set when saving now (progress) until basic is redone.
2011-08-04 21:38:18 -07:00
Mark McDowall
d85a8bc15d If an unsorted episode that had a series that was not being watched it would prevent additional episodes from being processed. 2011-08-04 21:22:42 -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
45b4bb4629 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-08-03 19:23:20 -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
9cb33770a0 Added Readme 2011-08-03 09:29:03 -07:00
Mark McDowall
ec78c5be3e Added todo to remove hack to handle shows that contain numbers only (added in last commit). 2011-08-01 22:15:41 -07:00
Mark McDowall
35abb74993 Fixed parsing of House - S06E13 - 5 to 9
Episode Title was being picked up as part of the numbering. Lost ability to parse some oddly named scene titles.
2011-08-01 22:10:05 -07:00
Mark McDowall
559011ba82 SeriesPathExists compares paths in lower-case now.
GitHub Issue #9
2011-07-28 18:03:24 -07:00
Mark McDowall
e29fee9686 Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-07-28 00:22:12 -07:00
Mark McDowall
ee4b6c9442 ExternalNotifications enabled (Xbmc only right now).
- Grab, Download, Rename
Notification Settings for Xbmc uses definitions.
2011-07-28 00:21:49 -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
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
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