Commit Graph

115 Commits

Author SHA1 Message Date
kay.one cd32a70179 Starting path clean up. (All paths should go through EnvironmentProvider) 2011-10-28 21:54:33 -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
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 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
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 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 0b586de226 Added misnamed provider, PLINQ speeds it up, but still to slow for use, paging helps, but isn't consistent.
A bunch of files changed removing System.Linq, thanks Resharper :(
2011-09-03 20:05:44 -07:00
kay.one 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 a5527df584 Fixed petapoco's craptastic connection management. 2011-08-28 10:43:33 -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
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 b11a449f65 Updated PetaPoco
Upped IIS's priority
Added Byte multiplier to extention method.
2011-07-17 12:32:58 -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 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 2a64014c96 Added version to page footer, minor tweaks. 2011-07-04 23:46:03 -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 3e61afab03 Added some indexes 2011-06-23 19:04:07 -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
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
kay.one 5fb2c61c77 Fixed sab title issue
Added profiling to OpenSharedconnection
2011-06-21 20:38:46 -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 ec949be789 Removing "Histories" on migration. 2011-06-19 11:28:18 -07:00
Mark McDowall 514998042e PetaPoco won't convert DateTime to UTC by default. 2011-06-18 13:30:30 -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 5629d68645 Fixed enum mapping issue 2011-06-18 01:29:38 -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 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 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
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 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
kay.one 4812cb4611 Increased sqlite cache size to 30mb 2011-06-05 13:01:28 -07:00
kay.one 72af060d68 Fixed migration issue 2011-06-04 23:35:03 -07:00
kay.one ecc2a7e2f6 More updates to Datastore 2011-06-04 23:02:31 -07:00
kay.one a1653022ad refactored Migrations 2011-06-04 11:19:22 -07:00
kay.one d3be516fb2 removed Season/SeasonProvider, updated dbBenchmark tests. 2011-06-03 18:56:53 -07:00
kay.one ce63f05512 added better db migration support than what Subsonic provides out of the box. 2011-05-23 17:34:57 -07:00
kay.one 180da4c82a Migrator.net fails 2011-05-23 16:29:14 -07:00