Skip to content

Commit

Permalink
Implements changes surrounding a 4.x release of the SharePoint Connec…
Browse files Browse the repository at this point in the history
…tor (#1) (#2)

4.0.1 release
  • Loading branch information
Oceanswave authored Jul 12, 2018
1 parent 5e731ec commit 26b7fc3
Show file tree
Hide file tree
Showing 71 changed files with 1,207 additions and 394 deletions.
8 changes: 7 additions & 1 deletion bcvc4sp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bcvc4sp.Addin", "src\bcvc4s
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{9BA962A6-9D77-4059-AEE7-3F90AE659252}"
ProjectSection(SolutionItems) = preProject
LICENSE. = LICENSE.
LICENSE = LICENSE
README.md = README.md
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bcvc4sp.ProxyAzureFunction", "src\bcvc4sp.ProxyAzureFunction\bcvc4sp.ProxyAzureFunction.csproj", "{8FEBA3E2-FE24-4BFF-ADDB-C50D286E5E01}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -29,6 +31,10 @@ Global
{5959D92C-2CCF-4765-9EAB-1E800DB97C25}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5959D92C-2CCF-4765-9EAB-1E800DB97C25}.Release|Any CPU.Build.0 = Release|Any CPU
{5959D92C-2CCF-4765-9EAB-1E800DB97C25}.Release|Any CPU.Deploy.0 = Release|Any CPU
{8FEBA3E2-FE24-4BFF-ADDB-C50D286E5E01}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8FEBA3E2-FE24-4BFF-ADDB-C50D286E5E01}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8FEBA3E2-FE24-4BFF-ADDB-C50D286E5E01}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8FEBA3E2-FE24-4BFF-ADDB-C50D286E5E01}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Binary file added package/BCProxyAzureFunction.zip
Binary file not shown.
Binary file added package/BCProxyClassic.zip
Binary file not shown.
Binary file modified package/bcvc4sp.Addin.app
100644 → 100755
Binary file not shown.
4 changes: 1 addition & 3 deletions src/bcvc4sp.Addin/AppManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest"
Name="bcvc4sp"
ProductID="{ef96a10d-395b-4f52-aa07-98509eee3122}"
Version="3.0.2.0"
Version="4.0.1.0"
SharePointMinVersion="15.0.0.0"
>
<Properties>
Expand All @@ -21,7 +21,5 @@
<RemoteEndpoint Url="https://api.brightcove.com/services/post" />
</RemoteEndpoints>
<AppPermissionRequests>
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="Manage" />
<AppPermissionRequest Scope="http://sharepoint/taxonomy" Right="Read" />
</AppPermissionRequests>
</App>
15 changes: 15 additions & 0 deletions src/bcvc4sp.Addin/BrightcoveExperienceWebPart/Elements.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ClientWebPart Name="BrightcoveExperience" Title="Brightcove Experience" Description="Adds a Brightcove Experience onto classic and modern pages." DefaultWidth="640" DefaultHeight="640">

<!-- Content element identifies the location of the page that will render inside the client web part
Properties are referenced on the query string using the pattern _propertyName_
Example: Src="~appWebUrl/Pages/ClientWebPart1.aspx?Property1=_property1_" -->
<Content Type="html" Src="~appWebUrl/Pages/AppPartPage.aspx?{StandardTokens}&amp;part=experience&amp;IsDlg=1&amp;wpId=_WPID_&amp;wpq=_WPQ_&amp;editmode=_editMode_" />

<!-- Define properties in the Properties element.
Remember to put Property Name on the Src attribute of the Content element above. -->
<Properties />

</ClientWebPart>
</Elements>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ProjectItem Type="Microsoft.VisualStudio.SharePoint.ClientWebPart" DefaultFile="Elements.xml" SupportedTrustLevels="All" SupportedDeploymentScopes="AppPackage" xmlns="http://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel">
<Files>
<ProjectItemFile Source="Elements.xml" Type="AppPackage" />
</Files>
</ProjectItem>
17 changes: 17 additions & 0 deletions src/bcvc4sp.Addin/BrightcoveExperimentalWebPart/Elements.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ClientWebPart Name="BrightcoveExperimentalWebPart" Title="Brightcove Experimental WebPart" Description="Brightcove Web Part that renders content at the specified url as its contents">

<!-- Content element identifies the location of the page that will render inside the client web part
Properties are referenced on the query string using the pattern _propertyName_
Example: Src="~appWebUrl/Pages/ClientWebPart1.aspx?Property1=_property1_" -->
<Content Type="html" Src="~appWebUrl/Pages/Experimental.aspx?{StandardTokens}&amp;IsDlg=1&amp;wpId=_WPID_&amp;wpq=_WPQ_&amp;editmode=_editMode_&amp;contentUrl=_contentUrl_" />

<!-- Define properties in the Properties element.
Remember to put Property Name on the Src attribute of the Content element above. -->
<Properties>
<Property Name="contentUrl" Type="string" RequiresDesignerPermission="true" DefaultValue="" WebDisplayName="The url of the content to render" WebCategory="Brightcove" />
</Properties>

</ClientWebPart>
</Elements>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ProjectItem Type="Microsoft.VisualStudio.SharePoint.ClientWebPart" DefaultFile="Elements.xml" SupportedTrustLevels="All" SupportedDeploymentScopes="AppPackage" xmlns="http://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel">
<Files>
<ProjectItemFile Source="Elements.xml" Type="AppPackage" />
</Files>
</ProjectItem>
27 changes: 27 additions & 0 deletions src/bcvc4sp.Addin/BrightcovePlayerWebPart/Elements.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ClientWebPart Name="BrightcoveVideoWebPart" Title="Brightcove Video WebPart" Description="Brightcove Web Part to embed video content onto a web part page." DefaultWidth="640" DefaultHeight="360">

<!-- Content element identifies the location of the page that will render inside the client web part
Properties are referenced on the query string using the pattern _propertyName_
Example: Src="~appWebUrl/Pages/ClientWebPart1.aspx?Property1=_property1_" -->
<Content Type="html" Src="~appWebUrl/Pages/Default.aspx?{StandardTokens}&amp;part=player&amp;IsDlg=1&amp;wpId=_WPID_&amp;editmode=_editMode_&amp;accountId=_accountId_&amp;playerId=_playerId_&amp;videoId=_modeId_&amp;playerMode=_playerMode_&amp;autoplay=_autoplay_" />

<!-- Define properties in the Properties element.
Remember to put Property Name on the Src attribute of the Content element above. -->
<Properties>
<Property Name="accountId" Type="string" RequiresDesignerPermission="true" DefaultValue="" WebDisplayName="The id of the account that contains the video content" WebCategory="Brightcove" />
<Property Name="playerId" Type="string" RequiresDesignerPermission="true" DefaultValue="" WebDisplayName="The id of the player to use" WebCategory="Brightcove" />
<Property Name="playerMode" Type="enum" RequiresDesignerPermission="true" DefaultValue="Video" WebDisplayName="The mode of the player - video or playlist" WebCategory="Brightcove">
<EnumItems>
<EnumItem Value="Video" WebDisplayName="Video" />
<EnumItem Value="Playlist" WebDisplayName="Playlist" />
</EnumItems>
</Property>
<Property Name="modeId" Type="string" RequiresDesignerPermission="true" DefaultValue="" WebDisplayName="The id of the video or playlist to display" WebCategory="Brightcove" />
<Property Name="autoplay" Type="boolean" RequiresDesignerPermission="true" DefaultValue="false" WebDisplayName="Indicates if the video/playlist should autoplay" WebCategory="Brightcove" />
<Property Name="muted" Type="boolean" RequiresDesignerPermission="true" DefaultValue="false" WebDisplayName="Indicates if the video/playlist should be muted" WebCategory="Brightcove" />
</Properties>

</ClientWebPart>
</Elements>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ProjectItem Type="Microsoft.VisualStudio.SharePoint.ClientWebPart" DefaultFile="Elements.xml" SupportedTrustLevels="All" SupportedDeploymentScopes="AppPackage" xmlns="http://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel">
<Files>
<ProjectItemFile Source="Elements.xml" Type="AppPackage" />
</Files>
</ProjectItem>
15 changes: 15 additions & 0 deletions src/bcvc4sp.Addin/BrightcovePlaylistWebPart/Elements.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ClientWebPart Name="BrightcovePlaylist" Title="Brightcove Playlist" Description="Adds a Brightcove Playlist onto classic and modern pages." DefaultWidth="640" DefaultHeight="640">

<!-- Content element identifies the location of the page that will render inside the client web part
Properties are referenced on the query string using the pattern _propertyName_
Example: Src="~appWebUrl/Pages/ClientWebPart1.aspx?Property1=_property1_" -->
<Content Type="html" Src="~appWebUrl/Pages/AppPartPage.aspx?{StandardTokens}&amp;part=playlist&amp;IsDlg=1&amp;wpId=_WPID_&amp;wpq=_WPQ_&amp;editmode=_editMode_" />

<!-- Define properties in the Properties element.
Remember to put Property Name on the Src attribute of the Content element above. -->
<Properties/>

</ClientWebPart>
</Elements>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ProjectItem Type="Microsoft.VisualStudio.SharePoint.ClientWebPart" DefaultFile="Elements.xml" SupportedTrustLevels="All" SupportedDeploymentScopes="AppPackage" xmlns="http://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel">
<Files>
<ProjectItemFile Source="Elements.xml" Type="AppPackage" />
</Files>
</ProjectItem>
8 changes: 4 additions & 4 deletions src/bcvc4sp.Addin/BrightcoveRibbonCustomActions/Elements.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<CommandUIHandlers>
<CommandUIHandler
Command="Invoke_BrightcoveRibbonCustomActions2"
CommandAction="~appWebUrl/Pages/Default.aspx?listId={ListId}&amp;selectedListId={SelectedListId}&amp;itemId={ItemId}&amp;selectedItemId={SelectedItemId}"/>
CommandAction="~appWebUrl/Pages/AppPartPage.aspx?listId={ListId}&amp;selectedListId={SelectedListId}&amp;itemId={ItemId}&amp;selectedItemId={SelectedItemId}"/>
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>
Expand All @@ -71,7 +71,7 @@
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler Command="Invoke_AddBrightcoveVideo"
CommandAction="~appWebUrl/Pages/Default.aspx?{StandardTokens}&amp;mini=videos"/>
CommandAction="~appWebUrl/Pages/AppPartPage.aspx?{StandardTokens}&amp;mini=videos"/>
</CommandUIHandlers>
</CommandUIExtension >
</CustomAction>
Expand All @@ -97,7 +97,7 @@
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler Command="Invoke_AddBrightcovePlaylist"
CommandAction="~appWebUrl/Pages/Default.aspx?{StandardTokens}&amp;mini=playlists"/>
CommandAction="~appWebUrl/Pages/AppPartPage.aspx?{StandardTokens}&amp;mini=playlists"/>
</CommandUIHandlers>
</CommandUIExtension >
</CustomAction>
Expand All @@ -123,7 +123,7 @@
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler Command="Invoke_AddBrightcoveExperience"
CommandAction="~appWebUrl/Pages/Default.aspx?{StandardTokens}&amp;mini=experiences"/>
CommandAction="~appWebUrl/Pages/AppPartPage.aspx?{StandardTokens}&amp;mini=experiences"/>
</CommandUIHandlers>
</CommandUIExtension >
</CustomAction>
Expand Down
4 changes: 4 additions & 0 deletions src/bcvc4sp.Addin/BrightcoveSettings/Elements.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ListInstance Title="BrightcoveSettings" OnQuickLaunch="FALSE" TemplateType="101" FeatureId="00bfea71-e717-4e80-aa17-d0c71b360101" Url="BrightcoveSettings" Description="Contains Brightcove App settings and configuration." Hidden="TRUE"></ListInstance>
</Elements>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ProjectItem Type="Microsoft.VisualStudio.SharePoint.ListInstance" DefaultFile="Elements.xml" SupportedTrustLevels="All" SupportedDeploymentScopes="Web, Site" xmlns="http://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel">
<Files>
<ProjectItemFile Source="Elements.xml" Target="BrightcoveSettings\" Type="ElementManifest" />
</Files>
</ProjectItem>
15 changes: 15 additions & 0 deletions src/bcvc4sp.Addin/BrightcoveVideoWebPart/Elements.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ClientWebPart Name="BrightcoveVideo" Title="Brightcove Video" Description="Adds a Brightcove Video onto classic and modern pages." DefaultWidth="640" DefaultHeight="640">

<!-- Content element identifies the location of the page that will render inside the client web part
Properties are referenced on the query string using the pattern _propertyName_
Example: Src="~appWebUrl/Pages/ClientWebPart1.aspx?Property1=_property1_" -->
<Content Type="html" Src="~appWebUrl/Pages/AppPartPage.aspx?{StandardTokens}&amp;part=video&amp;IsDlg=1&amp;wpId=_WPID_&amp;wpq=_WPQ_&amp;editmode=_editMode_" />

<!-- Define properties in the Properties element.
Remember to put Property Name on the Src attribute of the Content element above. -->
<Properties/>

</ClientWebPart>
</Elements>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ProjectItem Type="Microsoft.VisualStudio.SharePoint.ClientWebPart" DefaultFile="Elements.xml" SupportedTrustLevels="All" SupportedDeploymentScopes="AppPackage" xmlns="http://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel">
<Files>
<ProjectItemFile Source="Elements.xml" Type="AppPackage" />
</Files>
</ProjectItem>
4 changes: 4 additions & 0 deletions src/bcvc4sp.Addin/BrightcoveWebPartData/Elements.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ListInstance Title="BrightcoveWebPartData" OnQuickLaunch="FALSE" TemplateType="101" FeatureId="00bfea71-e717-4e80-aa17-d0c71b360101" Url="BrightcoveWebPartData" Description="Contains Brightcove Web Part settings and configuration." Hidden="TRUE"></ListInstance>
</Elements>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ProjectItem Type="Microsoft.VisualStudio.SharePoint.ListInstance" DefaultFile="Elements.xml" SupportedTrustLevels="All" SupportedDeploymentScopes="Web, Site" xmlns="http://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel">
<Files>
<ProjectItemFile Source="Elements.xml" Target="BrightcoveWebPartData\" Type="ElementManifest" />
</Files>
</ProjectItem>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/">
</Feature>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<feature xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="85443e0f-f032-4e99-ab20-fa7c773e378b" description="Contains Add-in Parts for Videos/Playlists/Experiences" featureId="85443e0f-f032-4e99-ab20-fa7c773e378b" imageUrl="" solutionId="00000000-0000-0000-0000-000000000000" title="Brightcove Add-in Parts" version="" deploymentPath="$SharePoint.Project.FileNameWithoutExtension$_$SharePoint.Feature.FileNameWithoutExtension$" xmlns="http://schemas.microsoft.com/VisualStudio/2008/SharePointTools/FeatureModel">
<projectItems>
<projectItemReference itemId="f7172cff-8287-48dd-9e0e-978e4416ad7b" />
</projectItems>
</feature>
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<feature xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="4d304f08-d2ec-45dd-a12d-df752489c24b" description="Contains Ribbon Custom Actions that appear when Editing Pages to allow for easy embeds of Brightcove content." featureId="4d304f08-d2ec-45dd-a12d-df752489c24b" imageUrl="" solutionId="00000000-0000-0000-0000-000000000000" title="Brightcove Ribbon Custom Actions" version="" deploymentPath="$SharePoint.Project.FileNameWithoutExtension$_$SharePoint.Feature.FileNameWithoutExtension$" xmlns="http://schemas.microsoft.com/VisualStudio/2008/SharePointTools/FeatureModel" />
<feature xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="4d304f08-d2ec-45dd-a12d-df752489c24b" activateOnDefault="false" description="Contains Ribbon Custom Actions that appear when Editing Pages to allow for easy embeds of Brightcove content." featureId="4d304f08-d2ec-45dd-a12d-df752489c24b" imageUrl="" solutionId="00000000-0000-0000-0000-000000000000" title="Brightcove Ribbon Custom Actions" version="" deploymentPath="$SharePoint.Project.FileNameWithoutExtension$_$SharePoint.Feature.FileNameWithoutExtension$" xmlns="http://schemas.microsoft.com/VisualStudio/2008/SharePointTools/FeatureModel">
<projectItems>
<projectItemReference itemId="81e210bf-25e9-4b1c-b8d6-e6af9ab9aaa9" />
</projectItems>
</feature>
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<feature xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="9c4dc333-d268-44d0-8068-64e2ecbb733b" description="Enables the Brightcove Video Connector for SharePoint which allows for upload of videos and management of Video content, Playlists and Experiences from the comfort of a SharePoint Add-in" featureId="9c4dc333-d268-44d0-8068-64e2ecbb733b" imageUrl="" solutionId="00000000-0000-0000-0000-000000000000" title="Brightcove Video Connector for SharePoint" version="" deploymentPath="$SharePoint.Project.FileNameWithoutExtension$_$SharePoint.Feature.FileNameWithoutExtension$" xmlns="http://schemas.microsoft.com/VisualStudio/2008/SharePointTools/FeatureModel">
<projectItems>
<projectItemReference itemId="9ef0eb52-1433-4306-ad58-aaca16cc1471" />
<projectItemReference itemId="ef96a10d-395b-4f52-aa07-98509eee3122" />
<projectItemReference itemId="d9be85bd-b70f-4151-bc5e-5f01ee0c84fa" />
<projectItemReference itemId="bfd18400-29a8-4066-a076-24bbb23562e6" />
Expand Down
1 change: 1 addition & 0 deletions src/bcvc4sp.Addin/Package/Package.package
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
<features>
<featureReference itemId="9c4dc333-d268-44d0-8068-64e2ecbb733b" />
<featureReference itemId="8eadd482-0d19-4916-81fa-4ccaac3ecdad" />
<featureReference itemId="c00501ff-24e0-4328-90af-087fc7866387" />
</features>
</package>
Loading

0 comments on commit 26b7fc3

Please sign in to comment.