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

358 Commits

Author SHA1 Message Date
kay.one
cd96d546e8 limited newzbin search to English only. 2011-07-02 11:41:23 -07:00
kay.one
07312780f1 ParseEpisodeInfo is now separated into ParseTitle and ParsePath 2011-06-29 16:31:16 -07:00
kay.one
b98aab87ae Merge branch 'markus101' 2011-06-26 20:06:26 -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
9d7ed33d0d Updated series grid
Added some parser tests
2011-06-24 18:20:52 -07:00
kay.one
7d706a3304 Renamed SubsonicTarget to DataBaseTarget 2011-06-23 21:05:31 -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
fa53b2abb0 Forces Test project to use x86 version of the SQL CE dlls. 2011-06-23 09:05:41 -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
kay.one
5a5d0852ee Updated some log levels 2011-06-21 23:36:07 -07:00
kay.one
56fdf1a040 Removed Episodes list from EpisodeFile object. 2011-06-21 22:44:57 -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
01163a4f87 Cleanup and tests around ImportFile 2011-06-21 18:12:20 -07:00
kay.one
0d51954e92 fixed broken tests 2011-06-21 00:25:39 -07:00
kay.one
f0fbd2bc71 fixed broken tests 2011-06-20 23:40:46 -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
f0fb5aa158 Removed leftover code from old ages ;) 2011-06-19 23:30:47 -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
Mark McDowall
5a99d374d9 Updated tests to for Upcoming Provider to make sure a series is returned. 2011-06-19 20:21:54 -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
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
63a2664d8a Test for HistoryProvider.AllItemsWithRelationships 2011-06-19 17:02:10 -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
ea643630ed Fixed dbBenchmark tests 2011-06-19 11:56:32 -07:00
kay.one
8c12872433 fixed americandad's broken test 2011-06-19 11:38:04 -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
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
Mark McDowall
85d5b07c67 Merge with Kayone. 2011-06-17 23:24:44 -07:00
Mark McDowall
1590ae2d5f Fixed Episode Daily Parse test. 2011-06-17 23:22:54 -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
f2fdece18a Removed subsonic completely 2011-06-17 19:00:44 -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
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
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
ad0aa10e6a Renamed SceneMappingTest now saved in project file. 2011-06-16 23:18:17 -07:00
Mark McDowall
ab26d2dd61 Renamed SceneNameMapping to SceneMapping.
SceneMappingProvider moved to PetaPoco.
2011-06-16 23:04:01 -07:00
Mark McDowall
310c317361 Fixed broken tests. 2011-06-16 21:32:13 -07:00
Mark McDowall
63023d447d Using new PetaPoco Exists method in MediaFileProvider. 2011-06-16 21:12:14 -07:00
Mark McDowall
1f0e71c68e Merge with Kayone. 2011-06-16 20:46:14 -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
Mark McDowall
a151c9cd0f Merge branch 'master' of git://github.com/kayone/NzbDrone 2011-06-16 00:01:48 -07:00
kay.one
33a38481dc Fixed IsIgnored issues 2011-06-16 00:00:55 -07:00
Mark McDowall
0432109a95 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/SeriesProviderTest.cs
	NzbDrone.Core/Providers/MediaFileProvider.cs
	NzbDrone.Core/Providers/SeriesProvider.cs
2011-06-15 23:49:30 -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
Mark McDowall
e934e71b3b Fixed broken tests after new SceneName method. 2011-06-13 22:52:12 -07:00
Mark McDowall
a290a0dcb0 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core/Providers/Jobs/EpisodeSearchJob.cs
	NzbDrone.Core/Providers/SeriesProvider.cs
2011-06-13 19:23:43 -07:00
Mark McDowall
ab2007cb6f SceneNaming is now stored on NzbDrone webserver.
Database will update every 12 hours from CSV on server.
2011-06-13 19:15:55 -07:00
kay.one
6355d5ada1 Added MiniProfiler 2011-06-13 18:35:44 -07:00
Mark McDowall
6dda51d0e7 Merge branch 'master' of git://github.com/kayone/NzbDrone
Conflicts:
	NzbDrone.Core.Test/ParserTest.cs
2011-06-13 11:27:00 -07:00
Mark McDowall
e71a55a33c More episode parsing tests.
Added new regex to find multi-episode files without series titles.
Cleaned up some of the regex.
Normalizing regex will remove all numbers except years that are in the 1900's or 2000's
2011-06-13 11:25:40 -07:00
kay.one
5293d0e204 Fixed american dad's broken fix ;) 2011-06-12 21:24:57 -07:00
kay.one
c5c7e1eb76 Fixed multi testcase tests. 2011-06-12 21:20:29 -07:00