mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-16 07:19:51 +02:00
Application now starts up
This commit is contained in:
parent
036b2e7f4f
commit
9ff60cba63
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ dist
|
|||||||
*resharper*
|
*resharper*
|
||||||
*.user
|
*.user
|
||||||
*.cache
|
*.cache
|
||||||
|
nzbdrone.db
|
Binary file not shown.
Binary file not shown.
@ -12,7 +12,7 @@
|
|||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>NzbDrone.Web</RootNamespace>
|
<RootNamespace>NzbDrone.Web</RootNamespace>
|
||||||
<AssemblyName>NzbDrone.Web</AssemblyName>
|
<AssemblyName>NzbDrone.Web</AssemblyName>
|
||||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
<MvcBuildViews>true</MvcBuildViews>
|
<MvcBuildViews>true</MvcBuildViews>
|
||||||
<TargetFrameworkProfile />
|
<TargetFrameworkProfile />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@ -50,6 +50,7 @@
|
|||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Web.ApplicationServices" />
|
||||||
<Reference Include="System.Web.DynamicData" />
|
<Reference Include="System.Web.DynamicData" />
|
||||||
<Reference Include="System.Web.Entity" />
|
<Reference Include="System.Web.Entity" />
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations">
|
<Reference Include="System.ComponentModel.DataAnnotations">
|
||||||
@ -80,7 +81,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Global.asax" />
|
<Content Include="Global.asax" />
|
||||||
<Content Include="Views\Series\SeriesView.aspx" />
|
<Content Include="Views\Series\index.aspx" />
|
||||||
<Content Include="Web.config">
|
<Content Include="Web.config">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -1,77 +0,0 @@
|
|||||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<NzbDrone.Core.Repository.Series>>" %>
|
|
||||||
|
|
||||||
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|
||||||
SeriesView
|
|
||||||
</asp:Content>
|
|
||||||
|
|
||||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|
||||||
|
|
||||||
<h2>SeriesView</h2>
|
|
||||||
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th></th>
|
|
||||||
<th>
|
|
||||||
Id
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
SeriesName
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
Status
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
Overview
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
AirTimes
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
Language
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
Path
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<% foreach (var item in Model) { %>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<%: Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) %> |
|
|
||||||
<%: Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ })%> |
|
|
||||||
<%: Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })%>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<%: item.Id %>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<%: item.SeriesName %>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<%: item.Status %>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<%: item.Overview %>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<%: item.AirTimes %>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<%: item.Language %>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<%: item.Path %>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<% } %>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<%: Html.ActionLink("Create New", "Create") %>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</asp:Content>
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Note: As an alternative to hand editing this file you can use the
|
Note: As an alternative to hand editing this file you can use the
|
||||||
web admin tool to configure settings for your application. Use
|
web admin tool to configure settings for your application. Use
|
||||||
@ -9,48 +8,24 @@
|
|||||||
\Windows\Microsoft.Net\Framework\v2.x\Config
|
\Windows\Microsoft.Net\Framework\v2.x\Config
|
||||||
-->
|
-->
|
||||||
<configuration>
|
<configuration>
|
||||||
|
|
||||||
<configSections>
|
|
||||||
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|
||||||
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|
||||||
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
|
|
||||||
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|
||||||
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
|
|
||||||
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
|
||||||
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
|
||||||
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
|
||||||
</sectionGroup>
|
|
||||||
</sectionGroup>
|
|
||||||
</sectionGroup>
|
|
||||||
</configSections>
|
|
||||||
|
|
||||||
<appSettings/>
|
<appSettings/>
|
||||||
|
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
|
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
|
||||||
</connectionStrings>
|
</connectionStrings>
|
||||||
|
|
||||||
<system.web>
|
<system.web>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Set compilation debug="true" to insert debugging
|
Set compilation debug="true" to insert debugging
|
||||||
symbols into the compiled page. Because this
|
symbols into the compiled page. Because this
|
||||||
affects performance, set this value to true only
|
affects performance, set this value to true only
|
||||||
during development.
|
during development.
|
||||||
-->
|
-->
|
||||||
<compilation debug="true">
|
<compilation debug="true" targetFramework="4.0">
|
||||||
<assemblies>
|
<assemblies>
|
||||||
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
|
||||||
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
||||||
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
||||||
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
||||||
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||||
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||||
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||||
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
|
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies>
|
||||||
</assemblies>
|
|
||||||
</compilation>
|
</compilation>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The <authentication> section enables configuration
|
The <authentication> section enables configuration
|
||||||
of the security authentication mode used by
|
of the security authentication mode used by
|
||||||
@ -59,39 +34,18 @@
|
|||||||
<authentication mode="Forms">
|
<authentication mode="Forms">
|
||||||
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
|
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
|
||||||
</authentication>
|
</authentication>
|
||||||
|
|
||||||
<membership>
|
<membership>
|
||||||
<providers>
|
<providers>
|
||||||
<clear/>
|
<clear/>
|
||||||
<add name="AspNetSqlMembershipProvider"
|
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" applicationName="/"/>
|
||||||
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
|
|
||||||
connectionStringName="ApplicationServices"
|
|
||||||
enablePasswordRetrieval="false"
|
|
||||||
enablePasswordReset="true"
|
|
||||||
requiresQuestionAndAnswer="false"
|
|
||||||
requiresUniqueEmail="false"
|
|
||||||
passwordFormat="Hashed"
|
|
||||||
maxInvalidPasswordAttempts="5"
|
|
||||||
minRequiredPasswordLength="6"
|
|
||||||
minRequiredNonalphanumericCharacters="0"
|
|
||||||
passwordAttemptWindow="10"
|
|
||||||
passwordStrengthRegularExpression=""
|
|
||||||
applicationName="/"
|
|
||||||
/>
|
|
||||||
</providers>
|
</providers>
|
||||||
</membership>
|
</membership>
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
<providers>
|
<providers>
|
||||||
<clear/>
|
<clear/>
|
||||||
<add name="AspNetSqlProfileProvider"
|
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/"/>
|
||||||
type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
|
|
||||||
connectionStringName="ApplicationServices"
|
|
||||||
applicationName="/"
|
|
||||||
/>
|
|
||||||
</providers>
|
</providers>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
<roleManager enabled="false">
|
<roleManager enabled="false">
|
||||||
<providers>
|
<providers>
|
||||||
<clear/>
|
<clear/>
|
||||||
@ -99,7 +53,6 @@
|
|||||||
<add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
<add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
||||||
</providers>
|
</providers>
|
||||||
</roleManager>
|
</roleManager>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The <customErrors> section enables configuration
|
The <customErrors> section enables configuration
|
||||||
of what to do if/when an unhandled error occurs
|
of what to do if/when an unhandled error occurs
|
||||||
@ -112,13 +65,7 @@
|
|||||||
<error statusCode="404" redirect="FileNotFound.htm" />
|
<error statusCode="404" redirect="FileNotFound.htm" />
|
||||||
</customErrors>
|
</customErrors>
|
||||||
-->
|
-->
|
||||||
|
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
|
||||||
<pages>
|
|
||||||
<controls>
|
|
||||||
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
||||||
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
||||||
</controls>
|
|
||||||
|
|
||||||
<namespaces>
|
<namespaces>
|
||||||
<add namespace="System.Web.Mvc"/>
|
<add namespace="System.Web.Mvc"/>
|
||||||
<add namespace="System.Web.Mvc.Ajax"/>
|
<add namespace="System.Web.Mvc.Ajax"/>
|
||||||
@ -128,69 +75,19 @@
|
|||||||
<add namespace="System.Collections.Generic"/>
|
<add namespace="System.Collections.Generic"/>
|
||||||
</namespaces>
|
</namespaces>
|
||||||
</pages>
|
</pages>
|
||||||
|
|
||||||
<httpHandlers>
|
|
||||||
<remove verb="*" path="*.asmx"/>
|
|
||||||
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
||||||
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
||||||
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
|
|
||||||
</httpHandlers>
|
|
||||||
|
|
||||||
<httpModules>
|
|
||||||
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
||||||
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
|
||||||
</httpModules>
|
|
||||||
|
|
||||||
</system.web>
|
</system.web>
|
||||||
|
|
||||||
<system.codedom>
|
|
||||||
<compilers>
|
|
||||||
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4"
|
|
||||||
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<providerOption name="CompilerVersion" value="v3.5"/>
|
|
||||||
<providerOption name="WarnAsError" value="false"/>
|
|
||||||
</compiler>
|
|
||||||
|
|
||||||
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4"
|
|
||||||
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<providerOption name="CompilerVersion" value="v3.5"/>
|
|
||||||
<providerOption name="OptionInfer" value="true"/>
|
|
||||||
<providerOption name="WarnAsError" value="false"/>
|
|
||||||
</compiler>
|
|
||||||
</compilers>
|
|
||||||
</system.codedom>
|
|
||||||
|
|
||||||
<system.web.extensions/>
|
<system.web.extensions/>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The system.webServer section is required for running ASP.NET AJAX under Internet
|
The system.webServer section is required for running ASP.NET AJAX under Internet
|
||||||
Information Services 7.0. It is not necessary for previous version of IIS.
|
Information Services 7.0. It is not necessary for previous version of IIS.
|
||||||
-->
|
-->
|
||||||
<system.webServer>
|
<system.webServer>
|
||||||
<validation validateIntegratedModeConfiguration="false"/>
|
|
||||||
|
|
||||||
<modules runAllManagedModulesForAllRequests="true">
|
<modules runAllManagedModulesForAllRequests="true">
|
||||||
<remove name="ScriptModule" />
|
|
||||||
<remove name="UrlRoutingModule" />
|
|
||||||
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
||||||
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<handlers>
|
<handlers>
|
||||||
<remove name="WebServiceHandlerFactory-Integrated"/>
|
|
||||||
<remove name="ScriptHandlerFactory" />
|
|
||||||
<remove name="ScriptHandlerFactoryAppServices" />
|
|
||||||
<remove name="ScriptResource" />
|
|
||||||
<remove name="UrlRoutingHandler"/>
|
<remove name="UrlRoutingHandler"/>
|
||||||
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
|
|
||||||
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
||||||
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
|
|
||||||
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
||||||
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
|
||||||
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
||||||
</handlers>
|
</handlers>
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
|
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
@ -199,6 +96,4 @@
|
|||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
|
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user