Skip to content

Commit

Permalink
#504: Vimoe module initial version added.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simonas Mikulenas committed Jul 1, 2013
1 parent 89559d7 commit d860857
Show file tree
Hide file tree
Showing 25 changed files with 958 additions and 0 deletions.
14 changes: 14 additions & 0 deletions BetterCms.sln
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BetterCms.Module.Newsletter
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BetterCms.Module.WebApi", "Modules\BetterCms.Module.WebApi\BetterCms.Module.WebApi.csproj", "{5FF9D100-CF25-4899-8D23-8EB9F0C0E102}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BetterCms.Module.Vimeo", "Modules\BetterCms.Module.Vimeo\BetterCms.Module.Vimeo.csproj", "{830378CB-B360-4AC9-B8BC-FB08734C5F70}"
ProjectSection(ProjectDependencies) = postProject
{F3E41793-E8ED-4BA8-A1AB-CBA1E47B0786} = {F3E41793-E8ED-4BA8-A1AB-CBA1E47B0786}
EndProjectSection
EndProject
Global
GlobalSection(TestCaseManagementSettings) = postSolution
CategoryFile = DevBridge.Cms31.vsmdi
Expand Down Expand Up @@ -247,6 +252,14 @@ Global
{5FF9D100-CF25-4899-8D23-8EB9F0C0E102}.Release|Any CPU.Build.0 = Release|Any CPU
{5FF9D100-CF25-4899-8D23-8EB9F0C0E102}.Staging|Any CPU.ActiveCfg = Staging|Any CPU
{5FF9D100-CF25-4899-8D23-8EB9F0C0E102}.Staging|Any CPU.Build.0 = Staging|Any CPU
{830378CB-B360-4AC9-B8BC-FB08734C5F70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{830378CB-B360-4AC9-B8BC-FB08734C5F70}.Debug|Any CPU.Build.0 = Debug|Any CPU
{830378CB-B360-4AC9-B8BC-FB08734C5F70}.Dev|Any CPU.ActiveCfg = Dev|Any CPU
{830378CB-B360-4AC9-B8BC-FB08734C5F70}.Dev|Any CPU.Build.0 = Dev|Any CPU
{830378CB-B360-4AC9-B8BC-FB08734C5F70}.Release|Any CPU.ActiveCfg = Release|Any CPU
{830378CB-B360-4AC9-B8BC-FB08734C5F70}.Release|Any CPU.Build.0 = Release|Any CPU
{830378CB-B360-4AC9-B8BC-FB08734C5F70}.Staging|Any CPU.ActiveCfg = Staging|Any CPU
{830378CB-B360-4AC9-B8BC-FB08734C5F70}.Staging|Any CPU.Build.0 = Staging|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -267,6 +280,7 @@ Global
{6E8E91D9-AEB9-432F-9647-68FA2DEF2CA9} = {35580EFA-13E7-4F08-B5FB-ABBFA899B94C}
{5235602A-EE7C-45A3-8B41-0C8770303650} = {35580EFA-13E7-4F08-B5FB-ABBFA899B94C}
{5FF9D100-CF25-4899-8D23-8EB9F0C0E102} = {35580EFA-13E7-4F08-B5FB-ABBFA899B94C}
{830378CB-B360-4AC9-B8BC-FB08734C5F70} = {35580EFA-13E7-4F08-B5FB-ABBFA899B94C}
{5ABF44DC-EE5E-4EDE-B1FF-E5FE65BA7CC1} = {6721A380-251A-4D6F-BCCD-639A6842DFD9}
{5D0111B2-677B-481C-8F05-C3B26065FEAB} = {6721A380-251A-4D6F-BCCD-639A6842DFD9}
{65E5AB5A-A7E3-428D-A80D-F7D7DC0F9A54} = {01B2D036-F6B3-4796-B9C5-A2D3405987BF}
Expand Down
226 changes: 226 additions & 0 deletions Modules/BetterCms.Module.Vimeo/BetterCms.Module.Vimeo.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.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>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>
</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{830378CB-B360-4AC9-B8BC-FB08734C5F70}</ProjectGuid>
<ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BetterCms.Module.Vimeo</RootNamespace>
<AssemblyName>BetterCms.Module.Vimeo</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<MvcBuildViews>false</MvcBuildViews>
<UseIISExpress>false</UseIISExpress>
<SccProjectName>
</SccProjectName>
<SccLocalPath>
</SccLocalPath>
<SccAuxPath>
</SccAuxPath>
<SccProvider>
</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>4.0</OldToolsVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<PrecompileBeforePublish>false</PrecompileBeforePublish>
<ExcludeGeneratedDebugSymbol>false</ExcludeGeneratedDebugSymbol>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Autofac">
<HintPath>..\..\packages\Autofac.3.0.0\lib\net40\Autofac.dll</HintPath>
</Reference>
<Reference Include="Autofac.Configuration">
<HintPath>..\..\packages\Autofac.3.0.0\lib\net40\Autofac.Configuration.dll</HintPath>
</Reference>
<Reference Include="Common.Logging, Version=2.1.1.0, Culture=neutral, PublicKeyToken=af08829b84f0328e, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Common.Logging.2.1.1\lib\net40\Common.Logging.dll</HintPath>
</Reference>
<Reference Include="FluentMigrator, Version=1.0.6.0, Culture=neutral, PublicKeyToken=aacfc7de5acabf05, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\FluentMigrator.1.0.6.0\lib\40\FluentMigrator.dll</HintPath>
</Reference>
<Reference Include="FluentNHibernate, Version=1.3.0.733, Culture=neutral, PublicKeyToken=8aa435e3cb308880, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\FluentNHibernate.1.3.0.733\lib\FluentNHibernate.dll</HintPath>
</Reference>
<Reference Include="Iesi.Collections, Version=1.0.1.0, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Iesi.Collections.3.2.0.4000\lib\Net35\Iesi.Collections.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.Mvc, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Mvc3Futures.3.0.20105.0\lib\Microsoft.Web.Mvc.dll</HintPath>
</Reference>
<Reference Include="MvcContrib, Version=3.0.100.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\MvcContrib.Mvc3-ci.3.0.100.0\lib\MvcContrib.dll</HintPath>
</Reference>
<Reference Include="NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\NHibernate.3.3.3.4000\lib\Net35\NHibernate.dll</HintPath>
</Reference>
<Reference Include="System.Data.Linq" />
<Reference Include="System.Numerics" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Transactions" />
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.Entity" />
<Reference Include="System.Web.ApplicationServices" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
<Reference Include="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Web.Abstractions" />
<Reference Include="System.Web.Routing" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Services" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Content\Resources\Globalization.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Globalization.resx</DependentUpon>
</Compile>
<Compile Include="Controllers\VideoController.cs" />
<Compile Include="VimeoModuleDescriptor.cs" />
<Compile Include="Models\Maps\VideoMap.cs" />
<Compile Include="Models\Video.cs" />
<Compile Include="Models\Migrations\InitialSetup.cs" />
<Compile Include="Models\Migrations\MigrationVersionMetaData.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Registration\VideoJsModuleIncludeDescriptor.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Content\Resources\Globalization.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Globalization.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\BetterCMS.Configuration\BetterCms.Configuration.csproj">
<Project>{DA2B225E-6AEE-4465-8B08-4D5B1C1CED49}</Project>
<Name>BetterCms.Configuration</Name>
</ProjectReference>
<ProjectReference Include="..\..\BetterCMS.Core\BetterCms.Core.csproj">
<Project>{694ca5ca-a0e2-4578-a249-648498b058d7}</Project>
<Name>BetterCms.Core</Name>
</ProjectReference>
<ProjectReference Include="..\BetterCms.Module.MediaManager\BetterCms.Module.MediaManager.csproj">
<Project>{f3e41793-e8ed-4ba8-a1ab-cba1e47b0786}</Project>
<Name>BetterCms.Module.MediaManager</Name>
</ProjectReference>
<ProjectReference Include="..\BetterCms.Module.Root\BetterCms.Module.Root.csproj">
<Project>{66e7e4df-eeea-4b1e-8663-a1b430eb7375}</Project>
<Name>BetterCms.Module.Root</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="BuildConfiguration.xml" />
<EmbeddedResource Include="Content\Styles\bcms.video.css" />
<Content Include="packages.config">
<SubType>Designer</SubType>
</Content>
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Scripts\bcms.vimeo.js" />
<Content Include="web.config" />
</ItemGroup>
<ItemGroup>
<Folder Include="Command\" />
<Folder Include="Services\" />
<Folder Include="ViewModels\" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\Web.config" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Staging|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Dev|AnyCPU'">
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target> -->
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
</Target>
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<SaveServerSettingsInUserFile>True</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" />
<PropertyGroup>
<PostBuildEvent>$(MSBuildBinPath)\msbuild.exe /p:Configuration=$(ConfigurationName) /p:SolutionDir="$(SolutionDir)\" /p:ProjectDir="$(ProjectDir)\" "$(ProjectDir)BuildConfiguration.xml"</PostBuildEvent>
</PropertyGroup>
</Project>
35 changes: 35 additions & 0 deletions Modules/BetterCms.Module.Vimeo/BuildConfiguration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/MsBuild/2003">

<UsingTask TaskName="CssCompressorTask" AssemblyFile="$(SolutionDir)Libs\YUICompressor-2.2.1.0\Yahoo.Yui.Compressor.Build.MsBuild.dll" />
<UsingTask TaskName="JavaScriptCompressorTask" AssemblyFile="$(SolutionDir)Libs\YUICompressor-2.2.1.0\Yahoo.Yui.Compressor.Build.MsBuild.dll" />

<Target Name="Minify">

<ItemGroup>
<CssFiles Include="$(ProjectDir)Content\Styles\bcms.video.css" />

<JavaScriptFiles Include="$(ProjectDir)Scripts\bcms.vimeo.js" />
</ItemGroup>

<CssCompressorTask
SourceFiles="@(CssFiles)"
OutputFile="$(ProjectDir)Content\Styles\bcms.video.min.css"
/>

<JavaScriptCompressorTask
SourceFiles="@(JavaScriptFiles)"
OutputFile="$(ProjectDir)Scripts\bcms.vimeo.min.js"
CompressionType="Standard"
ObfuscateJavaScript="True"
PreserveAllSemicolons="True"
DisableOptimizations="No"
EncodingType="Default"
LineBreakPosition="-1"
LoggingType="Info"
ThreadCulture="en-au"
IsEvalIgnored="false"
/>

</Target>
</Project>

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

Loading

0 comments on commit d860857

Please sign in to comment.