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

738 Commits

Author SHA1 Message Date
kay.one
5717b7f596 New: Rewrite of download decision engine. 2012-02-06 21:14:55 -08:00
kay.one
174f765ec9 New: NzbDrone service to automatically report errors and episode parse issues. 2012-02-04 22:50:41 -08:00
kay.one
9fcb3a4573 Improved: Episodes that are in the future AND have no title will not be added to db (place holder episodes in TVDB) 2012-02-04 20:36:42 -08:00
kay.one
02a3b38210 Added service integration tests. 2012-02-03 21:28:50 -08:00
kay.one
65417bd8ec Fixed: Multipart episodes are now added to sab queue using single episode title only. 2012-02-02 22:49:34 -08:00
kay.one
44d6d20bd6 Deskmetrics will not report any data unless using the master branch. 2012-02-02 16:11:18 -08:00
Mark McDowall
a96ff2519a New: Blackhole implemented, allowing clients other than SABnzbd to be used. 2012-02-01 16:02:16 -08:00
kay.one
2009693787 Fix: Indexers that are enabled but aren't configured correctly will be skipped during rss/search 2012-01-31 17:38:05 -08:00
Mark McDowall
e0170a08e4 More REGEX work, cleaned up some extraneous bits and made them more accurate. 2012-01-31 17:17:42 -08:00
kay.one
fb0b487e6d Added broken parser test. 2012-01-31 11:47:13 -08:00
kay.one
feb4ef969e Fixed: Issue where daily episodes/full season releases would break sab queue check. 2012-01-31 11:35:03 -08:00
Mark McDowall
1f983094ac Fix: Resolved a parsing issue when timeleft for an SabQueueItem was greater than 24 hours. 2012-01-30 13:34:15 -08:00
kay.one
68e1a0bc4d Fixed: Fixed issue where an unknown episode/item in the queue would crash CheckQueue. 2012-01-27 16:21:06 -08:00
kay.one
14ed804025 Fixed broken reference. 2012-01-26 21:39:37 -08:00
Mark McDowall
93ee97123f System/Backup will backup Config.xml and NzbDrone.sdf to a zip file for the client to download. 2012-01-25 23:56:05 -08:00
kay.one
340f05aef4 Fixed broken tests, DeskMetrics now has a different id during dev and production. 2012-01-25 17:52:47 -08:00
kay.one
b225db9aaf Started to add support for deskmetrics 2012-01-25 17:32:36 -08:00
Mark McDowall
02cb12bdb8 BacklogSetting refactoring. 2012-01-25 17:02:21 -08:00
Mark McDowall
9eb022fdf4 BacklogStatus added to individually control which series are included in backlog searches. Applies to Backlog and RecentBacklog jobs. Editable in Series/MassEdit and Series Edit. 2012-01-23 22:29:32 -08:00
Mark McDowall
fb17765d3a Fixed issues with searching and the results being filtered before the SearchProvider could properly handle them. 2012-01-23 12:25:14 -08:00
Mark McDowall
8267be0a48 Added another test for IsUpgrade. 2012-01-23 10:57:27 -08:00
Mark McDowall
197979ea3c QualityParseTest will accept bool IsProper as a parameter.
IsUpgrade will take into account that a proper of the same quality should be accepted even if the cutoff was met.
2012-01-23 10:57:27 -08:00
kay.one
d6d1bbe3f5 Tweaked Progress notification. 2012-01-22 23:43:54 -08:00
kay.one
7071cf829a Updated diskprovider to use GetFiles instead of EnumerateFiles to prevent a screwed up issue. 2012-01-22 22:43:11 -08:00
kay.one
ead5f37921 Directory write time is now calculated based on the most recent file write to any file inside of that directory. 2012-01-22 20:59:23 -08:00
kay.one
a68c882032 fixed http 500 error. 2012-01-22 20:34:30 -08:00
kay.one
54881a0e4a fixed http 500 error. 2012-01-22 20:29:09 -08:00
kay.one
63bef2de31 Fixed more queue issue. 2012-01-22 20:25:05 -08:00
Mark McDowall
baa0b8df67 Series Grid won't show series that haven't been completely added (LastInfoSync is null). 2012-01-22 20:14:01 -08:00
kay.one
0d582f12fb Fixed 503 Http errors not marking the test as ignored. 2012-01-22 19:01:16 -08:00
kay.one
01775d70b3 Fixed broken test. 2012-01-22 18:47:50 -08:00
kay.one
d1e3298da1 Enabled rolling file logging. 2012-01-22 18:41:44 -08:00
kay.one
5e3e071692 Added a duplicated item to Queue.txt, reformated existing json sample files. 2012-01-22 18:41:44 -08:00
Mark McDowall
c0542449a4 Added additional logging to episode searching. 2012-01-22 13:16:25 -08:00
Mark McDowall
d5e62bc70b Files will be tagged with Proper when append quality is enabled and episode is a proper. 2012-01-22 11:25:59 -08:00
Mark McDowall
3de5522444 SetUp must be Public... FYI. 2012-01-20 00:25:51 -08:00
Mark McDowall
7b14da9b17 Fixed GetQueue and GetHistory. 2012-01-20 00:18:38 -08:00
Mark McDowall
e885fadc59 Added MassEdit for series editing. 2012-01-19 23:51:26 -08:00
kay.one
906b5d12cd Updated queue.txt json to match actual sab queue. 2012-01-19 23:49:48 -08:00
kay.one
b498c242af Fixed QueueEmpty.txt json file. 2012-01-19 23:36:29 -08:00
kay.one
b6d43273cf Fixed an issue where an unparsable item could break the parser. 2012-01-19 23:08:05 -08:00
kay.one
0276fa12f0 Fixed an issue where a none-paused empty queue would throw. 2012-01-19 22:59:37 -08:00
kay.one
78268f3c58 Better parser logging. 2012-01-19 22:35:10 -08:00
kay.one
9d90f04b6e Added Linq post filtering to indexer searches. 2012-01-19 22:01:30 -08:00
kay.one
7483d5d3a5 Added sab queue check for multiepisodes. 2012-01-19 21:50:17 -08:00
kay.one
9acfb7330c Check sab queue now takes quality into consideration 2012-01-19 21:50:16 -08:00
Mark McDowall
2d1f506f93 Fixed tests, results won't be as focused for nzbs.org. 2012-01-18 22:10:37 -08:00
kay.one
d967d4198c Duplicated root folders are now blocked. 2012-01-18 21:06:48 -08:00
kay.one
7c6d745c86 You can no longer add root folders that don't already exist. 2012-01-18 21:06:45 -08:00
Mark McDowall
b4eed1a657 SabProvider now gets JSON instead of XML for history and queue. 2012-01-18 20:05:03 -08:00
Mark McDowall
26c4240a6b SabProvider can now get the entire Queue for additional processing. 2012-01-18 16:05:44 -08:00
Mark McDowall
20c1639ada Added pre-search check for EpisodeSearch to see if an upgrade is possible, before attempting. 2012-01-17 23:45:21 -08:00
Mark McDowall
d1262f1ced No longer checking history when doing a manual search. 2012-01-17 21:06:37 -08:00
Mark McDowall
5cea5282bd Improved the parser to properly handle files without titles, with tests. 2012-01-16 23:17:56 -08:00
kay.one
4da2e1cb72 Episode auto-ignore is now done in realtime rather than using a job. 2012-01-16 20:05:36 -08:00
kay.one
24d51093d6 Fixed issue where AppUpdateJob would throw when there are no updates available. 2012-01-16 10:10:18 -08:00
Mark McDowall
488be41fb1 Fixed broken tests after adding new job. 2012-01-15 20:25:09 -08:00
Mark McDowall
218059e08d Added the ability to auto-ignore episodes for files that are deleted, good for people that delete after watching. Option is not exposed in the UI and is disabled by default (obviously). 2012-01-15 20:12:47 -08:00
kay.one
8f4f863631 Turning off tagging folder for now, to stop messing people's series folders 2012-01-14 19:17:23 -08:00
kay.one
e358ad6d87 Jobs now use Timespan rather than integer to represent minutes. 2012-01-14 18:47:23 -08:00
Mark McDowall
624b6e5acb Fixed broken tests. 2012-01-14 18:05:46 -08:00
Mark McDowall
3e9593ba3b SabProvider will use Series.Title instead of the series Path, it is first cleaned by MediaFileProvide.CleanName(). 2012-01-14 12:36:11 -08:00
Mark McDowall
7ff53e5ac2 Season 1, Episode 0 will not be automatically ignored (usually a pilot), with test. 2012-01-14 11:09:48 -08:00
kay.one
e8e0e8e5dc Adding series with a ID of 0 is now blocked. 2012-01-13 14:16:33 -08:00
Mark McDowall
ad4afbcb6d DailySeries now use the JSON API instead of the CSV file. 2012-01-12 20:08:58 -08:00
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