mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Merge branch 'ui-notifications' into develop
Conflicts: NzbDrone.Common/NzbDrone.Common.csproj UI/Series/Details/SeasonLayout.js
This commit is contained in:
commit
a7eb331d4e
87 changed files with 1322 additions and 294 deletions
|
@ -10,6 +10,7 @@ using NzbDrone.Common.Instrumentation;
|
|||
using NzbDrone.Common.Messaging;
|
||||
using NzbDrone.Core.Instrumentation;
|
||||
using NzbDrone.Core.Lifecycle;
|
||||
using NzbDrone.Core.ProgressMessaging;
|
||||
using TinyIoC;
|
||||
|
||||
namespace NzbDrone.Api
|
||||
|
@ -29,14 +30,12 @@ namespace NzbDrone.Api
|
|||
{
|
||||
_logger.Info("Starting NzbDrone API");
|
||||
|
||||
|
||||
RegisterPipelines(pipelines);
|
||||
|
||||
container.Resolve<DatabaseTarget>().Register();
|
||||
container.Resolve<IEnableBasicAuthInNancy>().Register(pipelines);
|
||||
container.Resolve<IMessageAggregator>().PublishEvent(new ApplicationStartedEvent());
|
||||
|
||||
|
||||
ApplicationPipelines.OnError.AddItemToEndOfPipeline(container.Resolve<NzbDroneErrorPipeline>().HandleException);
|
||||
}
|
||||
|
||||
|
@ -48,10 +47,8 @@ namespace NzbDrone.Api
|
|||
{
|
||||
registerNancyPipeline.Register(pipelines);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
protected override TinyIoCContainer GetApplicationContainer()
|
||||
{
|
||||
return _tinyIoCContainer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue