Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions TinyFileManager.NET/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 32 additions & 19 deletions TinyFileManager.NET/TinyFileManager.NET.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand All @@ -13,8 +13,8 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TinyFileManager.NET</RootNamespace>
<AssemblyName>TinyFileManager</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<UseIISExpress>false</UseIISExpress>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<UseIISExpress>true</UseIISExpress>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
Expand All @@ -24,6 +24,9 @@
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<TargetFrameworkProfile />
<Use64BitIISExpress />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -33,6 +36,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -41,33 +45,39 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Core" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Web.Services" />
<Reference Include="System.EnterpriseServices" />
<Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.Entity" />
<Reference Include="System.Web.ApplicationServices" />
<Reference Include="System.XML" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Compile Include="classes\clsProfile.cs" />
<Compile Include="WebService.asmx.cs">
<DependentUpon>WebService.asmx</DependentUpon>
</Compile>
<Content Include="css\basic.css" />
<Content Include="css\bootstrap-lightbox.min.css" />
<Content Include="css\bootstrap.min.css" />
<Content Include="css\dropzone.css" />
<Content Include="css\style.css" />
<Content Include="dialog.aspx" />
<Content Include="default.aspx" />
<Content Include="img\ico\AC3.png" />
<Content Include="img\ico\ACE.png" />
<Content Include="img\ico\ADE.png" />
Expand Down Expand Up @@ -196,6 +206,7 @@
<Content Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
<Content Include="WebService.asmx" />
</ItemGroup>
<ItemGroup>
<Compile Include="classes\clsConfig.cs">
Expand All @@ -204,12 +215,12 @@
<Compile Include="classes\clsFileItem.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="dialog.aspx.cs">
<DependentUpon>dialog.aspx</DependentUpon>
<Compile Include="default.aspx.cs">
<DependentUpon>default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="dialog.aspx.designer.cs">
<DependentUpon>dialog.aspx</DependentUpon>
<Compile Include="default.aspx.designer.cs">
<DependentUpon>default.aspx</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Settings.Designer.cs">
Expand All @@ -218,16 +229,19 @@
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<None Include="Properties\PublishProfiles\Demo Site.pubxml" />
<None Include="Properties\PublishProfiles\Github.pubxml" />
<None Include="Properties\PublishProfiles\Test Site.pubxml" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\FrameworkLibrary\FrameworkLibrary.csproj">
<Project>{745abeaf-8007-4e75-8ea4-46afaf83b91e}</Project>
<Name>FrameworkLibrary</Name>
</ProjectReference>
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
Expand All @@ -239,12 +253,11 @@
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<UseIIS>True</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>23191</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
<IISUrl>http://localhost:23191/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
Expand Down
75 changes: 49 additions & 26 deletions TinyFileManager.NET/Web.config
Original file line number Diff line number Diff line change
@@ -1,60 +1,83 @@
<?xml version="1.0"?>

<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->

<configuration>
<configSections>
<section name="TFMProfiles" type="TinyFileManager.NET.ConfigProfiles, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" allowDefinition="Everywhere" allowExeDefinition="MachineToApplication" restartOnExternalChanges="true" />
<section name="TFMProfiles" type="TinyFileManager.NET.ConfigProfiles, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" allowDefinition="Everywhere" allowExeDefinition="MachineToApplication" restartOnExternalChanges="true"/>
</configSections>
<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.

The following attributes can be set on the <httpRuntime> tag.
<system.Web>
<httpRuntime targetFramework="4.5.2" />
</system.Web>
-->
<system.web>
<compilation debug="true" targetFramework="4.0" />
<!--<customErrors mode="Off"/>-->
<compilation targetFramework="4.5.2" assemblyPostProcessorType="Microsoft.VisualStudio.Enterprise.Common.AspPerformanceInstrumenter, Microsoft.VisualStudio.Enterprise.AspNetHelper, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" debug="true"/>
<!--<customErrors mode="Off"/>-->
<pages controlRenderingCompatibilityVersion="4.0"/>
</system.web>

<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>

<TFMProfiles>
<profile name="Default">
<AllowedImageExtensions>'jpg', 'jpeg', 'png', 'gif', 'bmp', 'tiff'</AllowedImageExtensions>
<AllowedImageExtensions>'jpg', 'jpeg', 'png', 'gif', 'bmp', 'tiff','svg'</AllowedImageExtensions>
<AllowedFileExtensions>'doc', 'docx', 'pdf', 'xls', 'xlsx', 'txt', 'csv','html','psd','sql','log','fla','xml','ade','adp','ppt','pptx','zip','rar'</AllowedFileExtensions>
<AllowedVideoExtensions>'mov', 'mpeg', 'mp4', 'avi', 'mpg','wma'</AllowedVideoExtensions>
<AllowedMusicExtensions>'mp3', 'm4a', 'ac3', 'aiff', 'mid'</AllowedMusicExtensions>
<AllowedMiscExtensions></AllowedMiscExtensions>
<UploadPath>resources\files</UploadPath>
<ThumbPath>resources\thumbs</ThumbPath>
<AllowedMiscExtensions/>
<UploadPath/>
<ThumbPath/>
<AllowUploadFile>True</AllowUploadFile>
<AllowDeleteFile>True</AllowDeleteFile>
<AllowCreateFolder>True</AllowCreateFolder>
<AllowDeleteFolder>True</AllowDeleteFolder>
<MaxUploadSizeMb>100</MaxUploadSizeMb>
<RootPath></RootPath>
<RootURL></RootURL>
<FillSelector></FillSelector>
<PopupCloseCode></PopupCloseCode>
<RootPath/>
<RootURL/>
<FillSelector/>
<PopupCloseCode/>
</profile>
<profile name="NoTinyMCE">
<AllowedImageExtensions>'jpg', 'jpeg', 'png', 'gif', 'bmp', 'tiff'</AllowedImageExtensions>
<AllowedImageExtensions>'jpg', 'jpeg', 'png', 'gif', 'bmp', 'tiff','svg'</AllowedImageExtensions>
<AllowedFileExtensions>'doc', 'docx', 'pdf', 'xls', 'xlsx', 'txt', 'csv','html','psd','sql','log','fla','xml','ade','adp','ppt','pptx','zip','rar'</AllowedFileExtensions>
<AllowedVideoExtensions>'mov', 'mpeg', 'mp4', 'avi', 'mpg','wma'</AllowedVideoExtensions>
<AllowedMusicExtensions>'mp3', 'm4a', 'ac3', 'aiff', 'mid'</AllowedMusicExtensions>
<AllowedMiscExtensions></AllowedMiscExtensions>
<UploadPath>resources\files</UploadPath>
<ThumbPath>resources\thumbs</ThumbPath>
<AllowedMiscExtensions/>
<UploadPath/>
<ThumbPath/>
<AllowUploadFile>True</AllowUploadFile>
<AllowDeleteFile>True</AllowDeleteFile>
<AllowCreateFolder>True</AllowCreateFolder>
<AllowDeleteFolder>True</AllowDeleteFolder>
<MaxUploadSizeMb>100</MaxUploadSizeMb>
<RootPath></RootPath>
<RootURL></RootURL>
<FillSelector>'#demotextbox', window.opener.document</FillSelector>
<PopupCloseCode>window.close();</PopupCloseCode>
</profile>
<RootPath/>
<RootURL/>
<FillSelector>window.parent.$('#demotextbox')</FillSelector>
<PopupCloseCode>window.parent.$.fn.colorbox.close()</PopupCloseCode>
</profile>
</TFMProfiles>
</configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.Enterprise.AspNetHelper" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<codeBase version="15.0.0.0" href="file:///C:/Program%20Files%20(x86)/Microsoft%20Visual%20Studio/Shared/Common/VSPerfCollectionTools/Microsoft.VisualStudio.Enterprise.AspNetHelper.DLL"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="VsWebSite.Interop" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<codeBase version="8.0.0.0" href="file:///C:/Program%20Files%20(x86)/Microsoft%20Visual%20Studio/Shared/Common/VSPerfCollectionTools/VsWebSite.Interop.DLL"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<appSettings>
<add key="Microsoft.VisualStudio.Enterprise.AspNetHelper.VsInstrLocation" value="C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Performance Tools\vsinstr.exe"/>
</appSettings>
</configuration>
1 change: 1 addition & 0 deletions TinyFileManager.NET/WebService.asmx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<%@ WebService Language="C#" CodeBehind="WebService.asmx.cs" Class="TinyFileManager.NET.WebService" %>
Loading