1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 23:42:33 +01:00
Commit Graph

773 Commits

Author SHA1 Message Date
Mark McDowall
afb8305c00 SceneMapping will use the JSON API instead of CSV file now. 2012-01-12 19:22:28 -08:00
Mark McDowall
42554b815a Fixed broken tests. 2012-01-12 15:50:04 -08:00
Mark McDowall
359f6ea012 Bug: Fixed years being picked up as 4-digit season/episode combo when using the folder name only. a year wrapped with brackets '()' or '[]' will be treated as a year.
Bug: Fixed display issue for series with a period in them when adding existing series, Html.Label(path) would only show text from after the period.
2012-01-12 15:40:28 -08:00
Mark McDowall
b52585d62a XbmcProvider will use the HTTP API when updating the library for Eden clients (EventServer was failing). 2012-01-09 23:10:53 -08:00
kay.one
7ec89056af Auto adding of episodes is now disabled. (we should make it more conservative if we want to bring it back) 2012-01-06 13:26:05 -08:00
Mark McDowall
3dce784672 XbmcProvider uses Json.net for reading/writing JSON.
Updated for v3 of XBMC JSON API.
2012-01-04 16:41:42 -08:00
Mark McDowall
e958a019ed Updated parser to skip longer than expected numbers from being parsed. 2012-01-02 18:18:36 -08:00
Mark McDowall
2cc066ccf2 GetActivePlayers will now work with Eden and Dharma. 2011-12-31 12:57:02 -08:00
Mark McDowall
86c5e73f81 DailySeries.CSV now has series name along with series Id. 2011-12-19 17:15:15 -08:00
Mark McDowall
69ddeeb0e3 Fixed spelling for Expected[LogType].
Fixed broken tests for GetEpisodesByParseResult.
2011-12-19 16:58:26 -08:00
Mark McDowall
77bf257132 GetEpisodesByParseResult will log a warning when an episode is daily, but series isn't. 2011-12-19 16:46:14 -08:00
Mark McDowall
6bd8de000a Added another test for mini-series parsing, fixed parsing. 2011-12-16 20:10:15 -08:00
Mark McDowall
40dec07612 Fixed broken tests. 2011-12-16 19:25:30 -08:00
Mark McDowall
3f32ad1bf2 Parser now supports mini-series (treats them as season 1). 2011-12-16 17:58:19 -08:00
kay.one
ed566e6e9a TestDbHelper cleanup 2011-12-14 20:29:21 -08:00
kay.one
1b45a85f3f All tests now use base class Mocker 2011-12-14 20:15:53 -08:00
kay.one
a7a7c4ab49 Fixed job provider existing job update bug. 2011-12-14 00:40:39 -08:00
Mark McDowall
1c99541731 Do not rename episodeFiles if the source and destination are the same (file is already named correctly). 2011-12-13 22:42:24 -08:00
Mark McDowall
f56bf62991 JobProvider.Initialize will now update existing jobs. 2011-12-13 17:07:16 -08:00
Mark McDowall
75cfb7e044 Season Search will only search for past episodes if it falls back to that. 2011-12-11 23:24:45 -08:00
kay.one
1dddf2ffde Added broken parser test 2011-12-11 22:54:09 -08:00
kay.one
bfe4de7a08 Fixed some issue around path normalization. 2011-12-10 11:22:47 -08:00
kay.one
e269494ff8 ParseSeriesName will now return normalized version of the title if it doesn't match any predefined
PostDownload provider will skip subfolders that are known series folders.
2011-12-10 10:54:16 -08:00
Mark McDowall
b3d1b8c47e Added additional FullSeason parse test and another assertion. 2011-12-08 23:08:09 -08:00
Mark McDowall
0f5e7c4265 Using Mocker instead of mocker for SeriesProviderTest. 2011-12-08 16:55:00 -08:00
Mark McDowall
58abb6fbc2 SearchForSeries won't fail if an apostrophe is used in the search term (Let's PetaPoco handle building the query, as it should). 2011-12-08 00:44:22 -08:00
kay.one
f84f8ac992 Fixed auto-complete styling. 2011-12-03 15:22:49 -08:00
Mark McDowall
ac0371ff5c Fixed test per comments on last commit. 2011-12-02 18:29:05 -08:00
Mark McDowall
ceec420035 Added test to verify EpisodeInfo would ignore new episodes for an ignored season (no bug here). 2011-12-02 00:35:56 -08:00
Mark McDowall
1498027192 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-12-01 23:45:34 -08:00
kay.one
ce8713d953 last fix for deleted job didn't work, this should fix it. 2011-12-01 23:26:38 -08:00
Mark McDowall
9a0fe35008 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus
Conflicts:
	NzbDrone.Core.Test/ProviderTests/JobProviderTests/JobProviderFixture.cs
2011-12-01 22:32:04 -08:00
Mark McDowall
f3fbcec8cb GetEpisodesByParseResult will return multiple episode names when multiple episodes are found. 2011-12-01 22:26:24 -08:00
kay.one
bb460163c2 Fixed job provider issue where deleted job classes would break scheduler. 2011-12-01 22:26:06 -08:00
Mark McDowall
dba5a1a236 GetSabTitle will now handle daily episodes. 2011-12-01 21:37:13 -08:00
Mark McDowall
8de49bb112 Moved RenameSeriesJob to the Jobs folder. 2011-12-01 21:14:59 -08:00
Mark McDowall
4100274b2e Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-12-01 20:27:55 -08:00
Mark McDowall
3b4b20cc95 SceneMappingProvider will perform an update if database is empty when looking for a SeriesId or SceneName. 2011-12-01 20:24:44 -08:00
kay.one
fabc4c84bd Moved Jobs to their own folder. 2011-12-01 17:33:17 -08:00
Mark McDowall
f9dab843ae Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-12-01 16:39:58 -08:00
kay.one
cc8c70d7f5 Fixed some bugs, cleaned up some code. 2011-12-01 11:05:17 -08:00
Mark McDowall
1b0cdf922e Removed un-needed call from Episode Search.
InventoryProvider.IsAcceptableSize will now handle daily series properly.
2011-11-30 21:08:36 -08:00
kay.one
5c091ccb80 Fixed broken tests. 2011-11-30 20:16:46 -08:00
Mark McDowall
6805a1041b InitializeJobs will use current DateTime to setup new jobs (Prevents jobs running immediately for new installs). 2011-11-30 18:23:22 -08:00
Mark McDowall
4ddd1a0f6f Using RealDb instead of Mocked DB. 2011-11-30 17:10:36 -08:00
Mark McDowall
21601a5805 Updated EpisodeProviderTest to use Mocker and Db. 2011-11-30 17:04:46 -08:00
Mark McDowall
d82edba26c Fixed broken unit test for parsing future daily shows. 2011-11-30 00:29:31 -08:00
Mark McDowall
fbc0a561ca Fixed a big where Season 0 wasn't being ignored for new seasons + a test to confirm it. 2011-11-30 00:21:18 -08:00
kay.one
30497357b4 Removed single search method in indexer base. 2011-11-28 22:49:38 -08:00
kay.one
8ee8ae79c0 TVDb exceptions are now ignored. 2011-11-26 19:53:13 -08:00
Mark McDowall
02f6af4750 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-26 11:10:36 -08:00
Mark McDowall
726eccb0e8 Processing of Daily Episode searching now supported. 2011-11-26 11:10:13 -08:00
kay.one
c1ea4c18c2 Updated WebActivator to 1.5 2011-11-26 09:24:14 -08:00
kay.one
60814fde7b Fixed a bug in SeriesSearchJob that would cause it to fail. 2011-11-25 23:52:54 -08:00
kay.one
313d0f6b8e Fixed broken tests 2011-11-25 22:45:22 -08:00
Mark McDowall
cadccb4360 EpisodeSearch properly uses PerformSearch.
PerformSearch will handle shows that air daily.
2011-11-25 22:13:47 -08:00
Mark McDowall
e16f83c433 Added ReferenceDataProvider to provide lookups (and refreshing) of IsDaily - which will check if the series is a daily series. 2011-11-25 18:20:50 -08:00
kay.one
910efb5941 Some minor clean-up. 2011-11-25 18:06:40 -08:00
Mark McDowall
290e5d5897 Daily episodes that are added via RSS feed will have proper season and episode numbers. 2011-11-24 23:56:07 -08:00
Mark McDowall
8b841c633a Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-24 00:30:27 -08:00
Mark McDowall
38790e9f9c GetEpisodesByParseResult will properly handle Daily episodes. 2011-11-24 00:28:20 -08:00
kay.one
03aa27c45c Parser now ignores daily episodes from the future. 2011-11-24 00:12:24 -08:00
kay.one
d0d9c44124 Parser refactoring. Now tries to parse full path if file name didn't work. 2011-11-23 23:35:37 -08:00
Mark McDowall
2aaa23b11d Refreshing EpisodeInfo will now set new or existing episodes that have air times prior to 1900 to null. 2011-11-23 22:28:52 -08:00
Mark McDowall
e781501021 Added RecentBacklogSearchJob to fill missing episodes from the last 30 days, runs nightly. 2011-11-23 17:09:09 -08:00
kay.one
9e37c894dd Added SqlServerCe EF to webproject 2011-11-22 22:25:07 -08:00
kay.one
c6716f2425 Log page now uses EF for faster runtime queries. 2011-11-22 21:58:26 -08:00
kay.one
a984060533 Merge branch 'markus' into kay.one 2011-11-22 17:55:32 -08:00
kay.one
35e47e1adc Updated twitterizer to 2.4.0.26532
Updated Json to 4.0.4
Updated NBuilder to 3.0.1.1
2011-11-22 17:28:53 -08:00
Mark McDowall
519172dfab Fixed tests to ensure they have different numbers for expected count vs unexpected. 2011-11-22 17:09:06 -08:00
Mark McDowall
b02c7066ad Trim added to LogProvider.
TrimLogsJob added to trim the logs every 24 hours.
2011-11-21 23:35:11 -08:00
kay.one
3520b56bb6 Update logs are now in the UI 2011-11-21 22:55:09 -08:00
kay.one
54e5874770 Update client is now moved rather than copied. 2011-11-21 20:42:05 -08:00
kay.one
0a70c836df Cleaned up progress notification. 2011-11-20 20:43:16 -08:00
kay.one
e56aca17e8 Ignoring WebExceptions in IndexerTests. 2011-11-20 19:49:04 -08:00
kay.one
508be34ebc Update fixes. 2011-11-20 18:59:42 -08:00
kay.one
6778a6ed99 Moved duplicated NormalizePath method to PathExtentions 2011-11-20 16:35:29 -08:00
Mark McDowall
5012144c13 Fixed 1101 and 101 naming incorrectly picking up 1080p and 720p. 2011-11-18 00:10:30 -08:00
kay.one
c1b5f2ebb6 Merge branch 'markus' into kay.one 2011-11-17 22:23:40 -08:00
kay.one
5f2762d608 PerformSearchFixture refactoring 2011-11-17 22:23:11 -08:00
kay.one
4bd226f7c4 PerformSearchFixture refactoring 2011-11-17 20:36:37 -08:00
Mark McDowall
5522466497 Cleaned up units tests. 2011-11-17 19:25:16 -08:00
kay.one
aa082520c2 Even more faster tests. 2011-11-17 18:50:04 -08:00
Mark McDowall
b36dc4ab86 Refactored SearchProvider and corresponding unit tests. 2011-11-17 18:36:53 -08:00
Mark McDowall
ee494486ec Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-16 22:43:12 -08:00
kay.one
1233089ee4 Even more faster tests. 2011-11-16 22:40:54 -08:00
Mark McDowall
be423663d7 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-16 22:36:03 -08:00
Mark McDowall
30e21ecd16 Searching will be more picky now to ensure the proper series and season (and episode if relevant) 2011-11-16 22:32:44 -08:00
kay.one
04d40575da Cleaned up JobProviderFixture, should save ~20 seconds in build time. 2011-11-16 22:23:35 -08:00
Mark McDowall
edfe2f1079 Fixed American Dad test when specials are counted in the NEW numbering system (1,3,4,6,7,21) 2011-11-15 17:08:20 -08:00
Mark McDowall
5ad11ba728 Fixed adding of Newznab provider. 2011-11-15 15:11:17 -08:00
Mark McDowall
d5a602c4eb Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-13 21:37:13 -08:00
kay.one
fbf7d20c5d Fixed update client path issue 2011-11-13 19:09:34 -08:00
kay.one
6369d4f817 Update updates ;) 2011-11-13 18:54:09 -08:00
kay.one
88f4d15fa9 Added some update tests 2011-11-13 17:27:11 -08:00
kay.one
56a6e1372d Update client is now included in the build package 2011-11-13 16:57:03 -08:00
Mark McDowall
09d6c5bf84 Missed in last commit for fixing AutoMoq. 2011-11-13 16:33:49 -08:00
Mark McDowall
fbc75b46fd Fixed AutoMoq for Newznab tests. 2011-11-13 16:33:08 -08:00
Mark McDowall
8c1f7e6663 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-13 16:27:25 -08:00
kay.one
51518787d8 Lots of initialization, configuration clean up. 2011-11-13 16:22:18 -08:00
Mark McDowall
a031fe9d98 Added config.xml to .gitignore.
Added tests for NewznabProvider.
2011-11-13 13:44:19 -08:00
kay.one
207550176c Removed assembly level fixtures 2011-11-13 10:16:31 -08:00
kay.one
72d0fc50ed Alot of refactoring. 2011-11-12 23:27:16 -08:00
kay.one
2e94e322f4 Path calculations are now done using extension methods. 2011-11-12 21:19:19 -08:00
kay.one
1270e464b3 More autoupdate code. 2011-11-12 20:07:06 -08:00
Mark McDowall
f3f2691b4d Added ParentUriString to get the parent site URI from any URI. 2011-11-12 12:21:19 -08:00
Mark McDowall
95cdc4b78c Moved FreeDiskSpace to DiskProvider. 2011-11-12 11:53:36 -08:00
Mark McDowall
bbd5cba272 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus
Fixed CentalDispatch Conflicts.
2011-11-09 20:14:19 -08:00
kay.one
ca7deedfb9 CentralDispatch is no longer static. 2011-11-08 12:12:54 -08:00
kay.one
b43397752e Fixed broken tests 2011-11-07 23:01:52 -08:00
kay.one
07458529f6 JobProvider can reset itself.
cleaned up unit test logging
2011-11-06 22:26:21 -08:00
kay.one
82b6ec5ed4 Some test cleanup 2011-11-03 16:23:54 -07:00
kay.one
633f0b6197 PathProvider. visit us for all of your pathing needs. 2011-11-02 22:04:14 -07:00
kay.one
c503b497ed Merge branch 'markus' into kay.one 2011-11-02 20:34:07 -07:00
Mark McDowall
277b873b39 Added Prowl notifications. 2011-11-02 19:44:22 -07:00
Mark McDowall
1b8e359a63 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-11-02 00:10:11 -07:00
Mark McDowall
3fe1e80ccb Added Growl (Not yet visible on the GUI). 2011-11-01 20:08:53 -07:00
kay.one
5aecd63d09 Update FluentAssertion to 1.6 2011-10-31 18:47:39 -07:00
kay.one
994ea7f090 Update FluentAssertion to 1.6 2011-10-31 18:34:30 -07:00
kay.one
cd32a70179 Starting path clean up. (All paths should go through EnvironmentProvider) 2011-10-28 21:54:33 -07:00
Mark McDowall
6b26843b50 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus
Conflicts:
	NzbDrone.Core.Test/ParserTest.cs
2011-10-24 23:22:34 -07:00
Mark McDowall
1134d925f4 Fixed REGEX for title parsing. 2011-10-24 23:14:55 -07:00
kay.one
c1116d0faa Fixed bug where service where windows service couldn't be installed. 2011-10-24 23:11:50 -07:00
kay.one
b3e4485d71 Post processor now deletes folders that are less than 40MB. 2011-10-24 22:15:20 -07:00
kay.one
3dd7b3d768 This should fix the bug where a folder was tried to be retagged with the same error. 2011-10-24 21:34:48 -07:00
kay.one
4ae268b8e5 lots of different things ;) 2011-10-23 22:54:09 -07:00
kay.one
6828f099bc Removed all static state tracking from job provider. 2011-10-23 14:53:24 -07:00
kay.one
c23e736cc6 Cleaned up ConfigProvider. Added reflection based test for all properties in ConfigProvider. 2011-10-23 13:35:16 -07:00
kay.one
f9a316f632 Moved tests for NzbDrone.Common to its own test project. added some new tests. 2011-10-23 10:32:57 -07:00
kay.one
f52620db70 Replaced deprecated NBuilder calls. 2011-10-22 22:39:14 -07:00
kay.one
956092dbd4 Merge branch 'markus' into kay.one
Conflicts:
	NzbDrone.Core.Test/ProviderTests/DiskScanProviderTest.cs
	NzbDrone.Core.Test/ProviderTests/MediaFileProviderTests.cs
2011-10-22 22:28:59 -07:00
kay.one
ec08436587 Refactored the shit out of PostDownloadProvider 2011-10-22 19:31:28 -07:00
Mark McDowall
a827199902 Fixed broken tests. 2011-10-22 17:13:49 -07:00
kay.one
35e44284c0 Fixed broken test, drop folder prefix uses regex instead of prefix now. 2011-10-22 16:28:57 -07:00
kay.one
1b2af8ea1b Merge branch 'markus' into kay.one 2011-10-22 15:23:21 -07:00
kay.one
2b6fc174ab Moved TestBase to correct folder 2011-10-22 15:22:17 -07:00
Mark McDowall
bb5febaade DiskScanProvider.Scan() will log a warning if the path doesn't exist. 2011-10-22 12:03:54 -07:00
kay.one
e4d90e2f92 Merge branch 'markus' into kay.one 2011-10-21 00:00:10 -07:00
kay.one
5bb3b339a6 Fixed broken test 2011-10-20 23:58:23 -07:00
Mark McDowall
72c555f250 Local series search will now search anywhere in the title, not just the beginning. 2011-10-20 23:06:36 -07:00
kay.one
651a63edea Merge branch 'markus' into kay.one
Conflicts:
	NzbDrone.Core.Test/ProviderTests/LogProviderTest.cs
2011-10-20 22:08:55 -07:00
kay.one
8f9946eb63 Added some update APIs to check for updates and download and extract the update package.
Todo: apply updated, UI.
2011-10-20 22:04:26 -07:00
Mark McDowall
eb323b5394 Fixed broken log provider tests. 2011-10-20 17:59:51 -07:00
Mark McDowall
d8fb295214 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-20 16:46:15 -07:00
Keivan Beigi
e5c4f34e0e Adding some structure to NzbDrone.Core.Test 2011-10-20 16:42:17 -07:00
Mark McDowall
f6e14b51f6 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-20 16:39:13 -07:00
Mark McDowall
745d9d9355 TopSlider added for local series searching!
Should be easy to add others (would want to have it close other open ones, I think).
2011-10-20 16:36:47 -07:00
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
kay.one
e2290d9f0f Removed broken test 2011-10-19 22:34:58 -07:00
kay.one
39c8462769 Pushing broken test to test teamcity 2011-10-19 22:05:04 -07:00
Keivan Beigi
88b8c053fc Upgraded to NBuilder 3. 2011-10-18 14:46:06 -07:00
Mark McDowall
e87cdbde44 Removed SharedLiveTemplates.xml.
Cleaned up PostDownloadProvider, added more tests.
2011-10-17 20:08:26 -07:00
Mark McDowall
4b31b5b693 Removed duplicate test. 2011-10-17 15:31:16 -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
f78c5f2124 Fixed a couple tests, so they shouldn't fail due to other tests impacting them. 2011-10-17 13:20:09 -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
288359627e WebException now marks indexer tests as Inconclusive. 2011-10-16 20:51:15 -07:00
kay.one
458565d473 WebException now marks indexer tests as Inconclusive. 2011-10-16 20:40:22 -07:00
kay.one
77b867d65e Testing ExceptionVerification Inconclusive logic 2011-10-16 20:32:57 -07:00
kay.one
97ed59920b trying to stop team city from sending exeptioneer reports. 2011-10-16 20:02:20 -07:00
kay.one
287cb03517 Added ignore exception type to ExceptionVerfication 2011-10-16 19:42:11 -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
Mark McDowall
1ff34c8e38 Better test for Fluent.FreeDiskSpace() 2011-10-15 16:00:59 -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
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
87fe19ab4e Added compile date to footer 2011-10-11 19:39:46 -07:00
kay.one
1ba959298b Added BuildDateTime to central dispatch 2011-10-11 19:24:43 -07:00
kay.one
012fa88301 Merge branch 'markus' into kay.one
Conflicts:
	NzbDrone/NzbDrone.csproj
	NzbDrone/Providers/ConfigProvider.cs
2011-10-09 10:45:08 -07:00
kay.one
495d7b8595 More code to support service, isn't working yet. (Console still works fine) 2011-10-08 19:16:11 -07:00
kay.one
e15e79a6c1 Merge branch 'markus' into kay.one 2011-10-07 21:17:46 -07:00
Mark McDowall
2c3eff2741 Merge branch 'kay.one' of github.com:NzbDrone/NzbDrone into markus 2011-10-07 16:25:52 -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
Keivan Beigi
f3ca3e97f9 Starting to add windows service support, making nzbdrone.exe unit testable. 2011-10-06 18:30:44 -07:00
Mark McDowall
d9b2c72125 WindowsAuthentication now works (disabled by default).
Tests for SortHelper will now be run.
2011-10-06 18:18:34 -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
9714a96437 Upcoming/Index now uses .ToBestDateString() for Dates, only showing on FutureForecast grid (instead of all grids). Status is shown on grid and option to search for episode.
Series/Details season grids won't be as tall now, due to reduced padding.
2011-09-28 17:20:29 -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
f014ddcfea Added Tests for DateTime Fluent. 2011-09-28 10:12:53 -07:00
Mark McDowall
5f0a95b2b1 Fixed XBMC JSON requests. 2011-09-27 10:41:36 -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
10d526d003 Fixed broken test that was using app relative path. 2011-09-15 23:01:31 -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
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
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
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
8cffa5168b Fixed broken EpisodeProvider tests. 2011-08-31 16:56:25 -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
52e6d09325 Fixed port, added broken parser test 2011-08-28 10:43:01 -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
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
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
4e41791d58 Fixed broken tests for episode status = ignored. 2011-08-21 23:32:38 -07:00
Mark McDowall
12af491b45 Added test for seondaryTargetId being less than 0. 2011-08-21 18:07:22 -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
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
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
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
23681167e4 Fixed DownloadProviderTest (wasn't providing a mock for ExternalNotificationProvider) 2011-07-28 18:02:21 -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
5e30c482cd Priority is now set using a timer 2011-07-10 22:15:37 -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
c322dd9e7a Fixed broken Series with Episode Count test. 2011-07-09 19:58:36 -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