Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/DocumentEditorWebPart.cs URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/DocumentEditorWebPart.cs?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/DocumentEditorWebPart.cs (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/DocumentEditorWebPart.cs Fri Nov 28 08:44:28 2014 @@ -0,0 +1,188 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Web.UI; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.WebControls; +using System.Configuration; +using Microsoft.SharePoint; + +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +namespace CMIS.Sharepoint.WebParts.Documents +{ + class DocumentEditorWebPart : EditorPart + { + + protected Documents ParentWebPart { get; set; } + private DropDownList CMISConnectionChoices { get; set; } + protected ConnectionStringSettingsCollection cs = new ConnectionStringSettingsCollection(); + private TextBox CMISInitialObjectID { get; set; } + private TextBox CMISInitialPath { get; set; } + private TextBox CMISInitialQuery { get; set; } + private TextBox CMISInitialMaxItems { get; set; } + private CheckBox CMISOnlyCheckedOutDocuments { get; set; } + + public DocumentEditorWebPart() + { + Title = "CMIS Connections"; + } + + /// <summary> + /// Creates the controls + /// </summary> + protected override void CreateChildControls() + { + Utility.msg("CMIS.Documents:CreateChildControls", Microsoft.SharePoint.Administration.TraceSeverity.High); + + + + CMISConnectionChoices = new DropDownList(); + CMISInitialObjectID = new TextBox(); + CMISInitialPath = new TextBox(); + CMISInitialQuery = new TextBox(); + CMISInitialMaxItems= new TextBox(); + CMISOnlyCheckedOutDocuments= new CheckBox(); + + cs.Clear(); + loadConnections(); + + + Controls.Add(new LiteralControl("<div class='UserSectionHead'>CMIS Library</div>")); + Controls.Add(new LiteralControl("<div class='UserSectionBody'><div class='UserControlGroup'><nobr>")); + Controls.Add(CMISConnectionChoices); + Controls.Add(new LiteralControl("</nobr></div></div>")); + Controls.Add(new LiteralControl("<div class='UserSectionHead'>Initial Object ID</div>")); + Controls.Add(new LiteralControl("<div class='UserSectionBody'><div class='UserControlGroup'><nobr>")); + Controls.Add(CMISInitialObjectID); + Controls.Add(new LiteralControl("</nobr></div></div>")); + Controls.Add(new LiteralControl("<div class='UserSectionHead'>Initial Path</div>")); + Controls.Add(new LiteralControl("<div class='UserSectionBody'><div class='UserControlGroup'><nobr>")); + Controls.Add(CMISInitialPath); + Controls.Add(new LiteralControl("</nobr></div></div>")); + Controls.Add(new LiteralControl("<div class='UserSectionHead'>Initial Query</div>")); + Controls.Add(new LiteralControl("<div class='UserSectionBody'><div class='UserControlGroup'><nobr>")); + Controls.Add(CMISInitialQuery); + Controls.Add(new LiteralControl("</nobr></div></div>")); + Controls.Add(new LiteralControl("<div class='UserSectionHead'>Initial Max Items</div>")); + Controls.Add(new LiteralControl("<div class='UserSectionBody'><div class='UserControlGroup'><nobr>")); + Controls.Add(CMISInitialMaxItems); + Controls.Add(new LiteralControl("</nobr></div></div>")); + Controls.Add(new LiteralControl("<div class='UserSectionHead'>Only Checked Out Documents</div>")); + Controls.Add(new LiteralControl("<div class='UserSectionBody'><div class='UserControlGroup'><nobr>")); + Controls.Add(CMISOnlyCheckedOutDocuments); + Controls.Add(new LiteralControl("</nobr></div></div>")); + + base.CreateChildControls(); + + ChildControlsCreated = true; + } + + + protected override void Render(HtmlTextWriter writer) + { + Utility.msg("CMIS.Documents:Render", Microsoft.SharePoint.Administration.TraceSeverity.High); + EnsureChildControls(); + base.Render(writer); + } + + /// <summary> + /// Reads current value from parent web part and show that in the ddl + /// </summary> + public override void SyncChanges() + { + Utility.msg("CMIS.Documents:SyncChanges", Microsoft.SharePoint.Administration.TraceSeverity.High); + EnsureChildControls(); + ParentWebPart = WebPartToEdit as Documents; + + if (ParentWebPart != null && WebPartManager.Personalization.Scope == PersonalizationScope.Shared) + { + ListItem item = CMISConnectionChoices.Items.FindByValue(ParentWebPart.CMISConnectionName); + if (item != null) item.Selected = true; + CMISInitialObjectID.Text = (ParentWebPart.CMISInitialObjectID==null ? "": ParentWebPart.CMISInitialObjectID); + CMISInitialPath.Text = (ParentWebPart.CMISInitialPath == null ? "" : ParentWebPart.CMISInitialPath); + CMISInitialQuery.Text = (ParentWebPart.CMISInitialQuery == null ? "" : ParentWebPart.CMISInitialQuery); + CMISInitialMaxItems.Text = (ParentWebPart.CMISInitialMaxItems == null ? "" : ParentWebPart.CMISInitialMaxItems); + CMISOnlyCheckedOutDocuments.Checked = ParentWebPart.CMISOnlyCheckedOutDocuments; + } + } + + /// <summary> + /// Applies change in editor part ddl to the parent web part + /// </summary> + /// <returns></returns> + public override bool ApplyChanges() + { + Utility.msg("CMIS.Documents:ApplyChanges", Microsoft.SharePoint.Administration.TraceSeverity.High); + try + { + EnsureChildControls(); + ParentWebPart = WebPartToEdit as Documents; + + if (ParentWebPart != null && WebPartManager.Personalization.Scope == PersonalizationScope.Shared) + { + ParentWebPart.CMISConnectionName = CMISConnectionChoices.SelectedValue; + ParentWebPart.CMISInitialObjectID = CMISInitialObjectID.Text; + ParentWebPart.CMISInitialPath = CMISInitialPath.Text; + ParentWebPart.CMISInitialQuery = CMISInitialQuery.Text; + ParentWebPart.CMISInitialMaxItems = CMISInitialMaxItems.Text; + ParentWebPart.CMISOnlyCheckedOutDocuments = CMISOnlyCheckedOutDocuments.Checked; + } + // The operation was succesful + return true; + } + catch (Exception e) + { + Utility.msg("CMIS.Documents:Exeption: " + e.Message, Microsoft.SharePoint.Administration.TraceSeverity.High); + System.Diagnostics.Debug.WriteLine("Exeption: " + e.Message); + // Because an error has occurred, the SyncChanges() method wonât be invoked. + return false; + } + } + + protected void loadConnections() + { + try + { + + StringBuilder s = new StringBuilder(); + using (SPSite siteCollection = new SPSite(SPContext.Current.Web.Url)) + { + using (SPWeb web = siteCollection.OpenWeb()) + { + SPListItemCollection iColl = web.Lists["CMIS Connections"].Items; + foreach (SPListItem item in iColl) + { + CMISConnectionChoices.Items.Add(new ListItem(item["Title"].ToString(), item["Title"].ToString())); + } + } + } + } + catch (Exception ex) + { + Utility.msg("CMIS.BrowserEditorWebPart.LoadConnection:Exception: " + ex.Message, Microsoft.SharePoint.Administration.TraceSeverity.High); + throw new Exception("CMIS.BrowserEditorWebPart.LoadConnection:Exception: " + ex.Message); + } + } + + } +}
Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx Fri Nov 28 08:44:28 2014 @@ -0,0 +1,103 @@ +<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> +<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> +<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> +<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> +<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %> +<%@ Import Namespace="Microsoft.SharePoint" %> +<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Documents.ascx.cs" Inherits="CMIS.Sharepoint.WebParts.Documents.Documents" %> + + +<html> +<head> +<meta charset="utf-8"> +<title>Documents</title> + +<!-- CMIS Dependencies --> +<SharePoint:ScriptLink ID="JQuery" runat="server" Name="~SiteCollection/SiteAssets/dependencies/jquery-1.11.1.min.js" /> +<SharePoint:ScriptLink ID="CMIS" runat="server" Name="~SiteCollection/SiteAssets/lib/cmis.js" /> +<SharePoint:ScriptLink ID="LibraryJS" runat="server" Name="~SiteCollection/SiteAssets/library/library.js" /> +<asp:literal ID="LibraryCSS" runat="server" Text="<link href='"/><SharePoint:ProjectProperty ID="ProjectProperty2" Property="SiteUrl" runat="server" /><asp:literal ID="Literal4" runat="server" Text="/SiteAssets/library/library.css' rel='stylesheet' type='text/css'/>"/> +<SharePoint:ScriptLink ID="CMISWebParts" runat="server" Name="~SiteCollection/SiteAssets/dependencies/cmiswebparts.js" /> + +<!-- Secured Storage Dependencies --> +<SharePoint:ScriptLink ID="AES" runat="server" Name="~SiteCollection/SiteAssets/credentials/aes.js" /> +<SharePoint:ScriptLink ID="SPServices" runat="server" Name="~SiteCollection/SiteAssets/credentials/jquery.SPServices-2014.01.min.js" /> +<SharePoint:ScriptLink ID="MicrosoftAjax" runat="server" Name="~SiteCollection/SiteAssets/credentials/MicrosoftAjax.js" /> +<SharePoint:ScriptLink ID="SiteUserCredentials" runat="server" Name="~SiteCollection/SiteAssets/credentials/siteusercredentials.js" /> + + +</head> +<body> + + <div id="library" class="cmislibrary"></div> + + <script type="text/javascript"> + var hiddenField = document.getElementById('DocumentWebPartProperties'); + if (hiddenField != undefined && hiddenField != null) { + webpartProperies = eval("(" + hiddenField.value + ")"); + } + + var maxItems = parseInt(webpartProperies.InitialMaxItems); + if (maxItems == NaN) + maxItems = 20; + + var query = null; + if (webpartProperies.InitialQuery.length > 0) + query = webpartProperies.InitialQuery; + + var initPath = null; + if (webpartProperies.InitialPath.length > 0) + initPath = webpartProperies.InitialPath; + + var initObjectId = null; + if (webpartProperies.InitialObjectID.length > 0) + initObjectId = webpartProperies.InitialObjectID; + + var autoLoad = false; + if (webpartProperies.InitialPath.length > 0 || webpartProperies.InitialObjectID.length > 0 || webpartProperies.InitialQuery.length > 0 || webpartProperies.OnlyCheckedOutDocuments == "True") + autoLoad = true; + + var documentsOptions = { + cmis: { + serverUrl: webpartProperies.Url, + username: webpartProperies.Username, + password: webpartProperies.Password, + initObjectId: initObjectId, + initPath: initPath, + initQuery: query + }, + autoLoad: autoLoad, + maxItems: maxItems, + showOnlyCheckedOutDocs: webpartProperies.OnlyCheckedOutDocuments == "True", + }; + + // Override if an object has been created in the windows + if (typeof cmisDocumentsOptions !== 'undefined') + $.extend(true, documentsOptions, cmisDocumentsOptions); + + var library = $("#library").cmislibrary(documentsOptions); + </script> + <!-- + /** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + --> +</body> + +</html> \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx.cs URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx.cs?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx.cs (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx.cs Fri Nov 28 08:44:28 2014 @@ -0,0 +1,273 @@ +using System; +using System.Linq; +using System.Collections.Generic; +using System.ComponentModel; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Text; +using System.Configuration; +using Microsoft.SharePoint; + +namespace CMIS.Sharepoint.WebParts.Documents +{ + [ToolboxItemAttribute(false)] + public partial class Documents : WebPart, IWebEditable + { + private string _pageTitle; + private string _cmisConnectionName = ""; + private string _cmisConnectionUrl = ""; + private string _cmisConnectionUser = ""; + private string _cmisConnectionPassword = ""; + + private string _cmisInitialObjectID = ""; + private string _cmisInitialPath = ""; + private string _cmisInitialQuery = ""; + private string _cmisInitialMaxItems = ""; + private bool _cmisOnlyCheckedOutDocuments = false; + + [WebBrowsable(true), + WebDisplayName("My TextBox"), + WebDescription("TextBox Description"), + Category("My Category"), + Personalizable(PersonalizationScope.Shared), + DefaultValue("Default")] + public string PageTitle + { + get + { + return _pageTitle; + } + set + { + _pageTitle = value; + } + } + + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISConnectionName + { + get + { + return _cmisConnectionName; + } + set + { + _cmisConnectionName = value; + } + } + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISConnectionUrl + { + get + { + return _cmisConnectionUrl; + } + set + { + _cmisConnectionUrl = value; + } + } + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISConnectionUser + { + get + { + return _cmisConnectionUser; + } + set + { + _cmisConnectionUser = value; + } + } + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISConnectionPassword + { + get + { + return _cmisConnectionPassword; + } + set + { + _cmisConnectionPassword = value; + } + } + + + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISInitialObjectID + { + get + { + return _cmisInitialObjectID; + } + set + { + _cmisInitialObjectID = value; + } + } + + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISInitialPath + { + get + { + return _cmisInitialPath; + } + set + { + _cmisInitialPath = value; + } + } + + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISInitialQuery + { + get + { + return _cmisInitialQuery; + } + set + { + _cmisInitialQuery = value; + } + } + + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISInitialMaxItems + { + get + { + return _cmisInitialMaxItems; + } + set + { + _cmisInitialMaxItems = value; + } + } + + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue(false)] + public bool CMISOnlyCheckedOutDocuments + { + get + { + return _cmisOnlyCheckedOutDocuments; + } + set + { + _cmisOnlyCheckedOutDocuments = value; + } + } + + + // Uncomment the following SecurityPermission attribute only when doing Performance Profiling on a farm solution + // using the Instrumentation method, and then remove the SecurityPermission attribute when the code is ready + // for production. Because the SecurityPermission attribute bypasses the security check for callers of + // your constructor, it's not recommended for production purposes. + // [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Assert, UnmanagedCode = true)] + public Documents() + { + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + InitializeControl(); + } + + protected void Page_Load(object sender, EventArgs e) + { + + } + + protected override void CreateChildControls() + { + Utility.msg("CMIS Documents.CreateChildControls", Microsoft.SharePoint.Administration.TraceSeverity.High); + this.Controls.Clear(); + + HiddenField hiddenWebPartProperties = new HiddenField() { ID = "DocumentWebPartProperties", ClientIDMode = System.Web.UI.ClientIDMode.Static }; + this.Controls.Add(hiddenWebPartProperties); + + base.CreateChildControls(); + + } + protected override void OnPreRender(EventArgs e) + { + base.OnPreRender(e); + Utility.msg("CMIS Documents.OnPreRender:CMISConnectionName = " + CMISConnectionName, Microsoft.SharePoint.Administration.TraceSeverity.High); + + string webPartPropertiesJSON = string.Empty; + if (CMISConnectionName != null && CMISConnectionName.Length > 0) + { + + using (SPSite siteCollection = new SPSite(SPContext.Current.Web.Url)) + { + using (SPWeb web = siteCollection.OpenWeb()) + { + Utility.msg("CMIS Documents.OnPreRender:web = " + web.Url, Microsoft.SharePoint.Administration.TraceSeverity.High); + SPListItemCollection iColl = web.Lists["CMIS Connections"].Items; + foreach (SPListItem item in iColl) + { + if (item["Title"].ToString().Equals(CMISConnectionName)) + { + CMISConnectionUrl = item["Url"].ToString(); + CMISConnectionUser = item["UserName1"].ToString(); + CMISConnectionPassword = item["Password"].ToString(); + } + } + } + } + + webPartPropertiesJSON = "{ 'ConnectionName': '" + CMISConnectionName + "', 'Url': '" + CMISConnectionUrl + "', 'Username': '" + CMISConnectionUser + "', 'Password': '" + CMISConnectionPassword + "', 'InitialObjectID': '" + (CMISInitialObjectID==null?"":CMISInitialObjectID) + "', 'InitialPath': '" + (CMISInitialPath==null?"":CMISInitialPath) + "', 'InitialQuery': '" + (CMISInitialQuery==null?"":CMISInitialQuery) + "', 'InitialMaxItems': '" + (CMISInitialMaxItems==null?"":CMISInitialMaxItems) + "', 'OnlyCheckedOutDocuments': '" + CMISOnlyCheckedOutDocuments + "' }"; + + } + else + { + webPartPropertiesJSON = "{ 'ConnectionName': '', 'Url': '', 'Username': '', 'Password': '', 'InitialObjectID': '" + (CMISInitialObjectID == null ? "" : CMISInitialObjectID) + "', 'InitialPath': '" + (CMISInitialPath == null ? "" : CMISInitialPath) + "', 'InitialQuery': '" + (CMISInitialQuery == null ? "" : CMISInitialQuery) + "', 'InitialMaxItems': '" + (CMISInitialMaxItems == null ? "" : CMISInitialMaxItems) + "', 'OnlyCheckedOutDocuments': '" + CMISOnlyCheckedOutDocuments + "' }"; + } + ((HiddenField)this.FindControl("DocumentWebPartProperties")).Value = webPartPropertiesJSON; + } + + EditorPartCollection IWebEditable.CreateEditorParts() + { + var editors = new List<EditorPart>(); + DocumentEditorWebPart editorPart = new DocumentEditorWebPart(); + editorPart.ID = ID + "_editorPart"; + editors.Add(editorPart); + return new EditorPartCollection(editors); + } + + object IWebEditable.WebBrowsableObject + { + get { return this; } + } + + } +} Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx.g.cs URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx.g.cs?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx.g.cs (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.ascx.g.cs Fri Nov 28 08:44:28 2014 @@ -0,0 +1,266 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.18444 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace CMIS.Sharepoint.WebParts.Documents { + using System.Web.UI.WebControls.Expressions; + using System.Web.UI.HtmlControls; + using System.Collections; + using System.Text; + using System.Web.UI; + using System.Collections.Generic; + using System.Linq; + using System.Xml.Linq; + using Microsoft.SharePoint.WebPartPages; + using System.Web.SessionState; + using System.Configuration; + using Microsoft.SharePoint; + using System.Web; + using System.Web.DynamicData; + using System.Web.Caching; + using System.Web.Profile; + using System.ComponentModel.DataAnnotations; + using System.Web.UI.WebControls; + using System.Web.Security; + using System; + using Microsoft.SharePoint.Utilities; + using System.Text.RegularExpressions; + using System.Collections.Specialized; + using System.Web.UI.WebControls.WebParts; + using Microsoft.SharePoint.WebControls; + + + public partial class Documents { + + protected global::Microsoft.SharePoint.WebControls.ScriptLink JQuery; + + protected global::Microsoft.SharePoint.WebControls.ScriptLink CMIS; + + protected global::Microsoft.SharePoint.WebControls.ScriptLink LibraryJS; + + protected global::System.Web.UI.WebControls.Literal LibraryCSS; + + protected global::Microsoft.SharePoint.WebControls.ProjectProperty ProjectProperty2; + + protected global::System.Web.UI.WebControls.Literal Literal4; + + protected global::Microsoft.SharePoint.WebControls.ScriptLink CMISWebParts; + + protected global::Microsoft.SharePoint.WebControls.ScriptLink AES; + + protected global::Microsoft.SharePoint.WebControls.ScriptLink SPServices; + + protected global::Microsoft.SharePoint.WebControls.ScriptLink MicrosoftAjax; + + protected global::Microsoft.SharePoint.WebControls.ScriptLink SiteUserCredentials; + + public static implicit operator global::System.Web.UI.TemplateControl(Documents target) + { + return target == null ? null : target.TemplateControl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private global::Microsoft.SharePoint.WebControls.ScriptLink @__BuildControlJQuery() { + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl; + @__ctrl = new global::Microsoft.SharePoint.WebControls.ScriptLink(); + this.JQuery = @__ctrl; + @__ctrl.ID = "JQuery"; + @__ctrl.Name = "~SiteCollection/SiteAssets/dependencies/jquery-1.11.1.min.js"; + return @__ctrl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private global::Microsoft.SharePoint.WebControls.ScriptLink @__BuildControlCMIS() { + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl; + @__ctrl = new global::Microsoft.SharePoint.WebControls.ScriptLink(); + this.CMIS = @__ctrl; + @__ctrl.ID = "CMIS"; + @__ctrl.Name = "~SiteCollection/SiteAssets/lib/cmis.js"; + return @__ctrl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private global::Microsoft.SharePoint.WebControls.ScriptLink @__BuildControlLibraryJS() { + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl; + @__ctrl = new global::Microsoft.SharePoint.WebControls.ScriptLink(); + this.LibraryJS = @__ctrl; + @__ctrl.ID = "LibraryJS"; + @__ctrl.Name = "~SiteCollection/SiteAssets/library/library.js"; + return @__ctrl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private global::System.Web.UI.WebControls.Literal @__BuildControlLibraryCSS() { + global::System.Web.UI.WebControls.Literal @__ctrl; + @__ctrl = new global::System.Web.UI.WebControls.Literal(); + this.LibraryCSS = @__ctrl; + @__ctrl.ID = "LibraryCSS"; + @__ctrl.Text = "<link href=\'"; + return @__ctrl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private global::Microsoft.SharePoint.WebControls.ProjectProperty @__BuildControlProjectProperty2() { + global::Microsoft.SharePoint.WebControls.ProjectProperty @__ctrl; + @__ctrl = new global::Microsoft.SharePoint.WebControls.ProjectProperty(); + this.ProjectProperty2 = @__ctrl; + @__ctrl.ID = "ProjectProperty2"; + @__ctrl.Property = "SiteUrl"; + return @__ctrl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private global::System.Web.UI.WebControls.Literal @__BuildControlLiteral4() { + global::System.Web.UI.WebControls.Literal @__ctrl; + @__ctrl = new global::System.Web.UI.WebControls.Literal(); + this.Literal4 = @__ctrl; + @__ctrl.ID = "Literal4"; + @__ctrl.Text = "/SiteAssets/library/library.css\' rel=\'stylesheet\' type=\'text/css\'/>"; + return @__ctrl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private global::Microsoft.SharePoint.WebControls.ScriptLink @__BuildControlCMISWebParts() { + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl; + @__ctrl = new global::Microsoft.SharePoint.WebControls.ScriptLink(); + this.CMISWebParts = @__ctrl; + @__ctrl.ID = "CMISWebParts"; + @__ctrl.Name = "~SiteCollection/SiteAssets/dependencies/cmiswebparts.js"; + return @__ctrl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private global::Microsoft.SharePoint.WebControls.ScriptLink @__BuildControlAES() { + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl; + @__ctrl = new global::Microsoft.SharePoint.WebControls.ScriptLink(); + this.AES = @__ctrl; + @__ctrl.ID = "AES"; + @__ctrl.Name = "~SiteCollection/SiteAssets/credentials/aes.js"; + return @__ctrl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private global::Microsoft.SharePoint.WebControls.ScriptLink @__BuildControlSPServices() { + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl; + @__ctrl = new global::Microsoft.SharePoint.WebControls.ScriptLink(); + this.SPServices = @__ctrl; + @__ctrl.ID = "SPServices"; + @__ctrl.Name = "~SiteCollection/SiteAssets/credentials/jquery.SPServices-2014.01.min.js"; + return @__ctrl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private global::Microsoft.SharePoint.WebControls.ScriptLink @__BuildControlMicrosoftAjax() { + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl; + @__ctrl = new global::Microsoft.SharePoint.WebControls.ScriptLink(); + this.MicrosoftAjax = @__ctrl; + @__ctrl.ID = "MicrosoftAjax"; + @__ctrl.Name = "~SiteCollection/SiteAssets/credentials/MicrosoftAjax.js"; + return @__ctrl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private global::Microsoft.SharePoint.WebControls.ScriptLink @__BuildControlSiteUserCredentials() { + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl; + @__ctrl = new global::Microsoft.SharePoint.WebControls.ScriptLink(); + this.SiteUserCredentials = @__ctrl; + @__ctrl.ID = "SiteUserCredentials"; + @__ctrl.Name = "~SiteCollection/SiteAssets/credentials/siteusercredentials.js"; + return @__ctrl; + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + private void @__BuildControlTree(global::CMIS.Sharepoint.WebParts.Documents.Documents @__ctrl) { + System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl)); + @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n\r\n<html>\r\n<head>\r\n<meta charset=\"utf-8\">\r\n<title>Documents</title>\r\n\r\n<!-- CM" + + "IS Dependencies -->\r\n")); + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl1; + @__ctrl1 = this.@__BuildControlJQuery(); + @__parser.AddParsedSubObject(@__ctrl1); + @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n")); + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl2; + @__ctrl2 = this.@__BuildControlCMIS(); + @__parser.AddParsedSubObject(@__ctrl2); + @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n")); + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl3; + @__ctrl3 = this.@__BuildControlLibraryJS(); + @__parser.AddParsedSubObject(@__ctrl3); + @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n")); + global::System.Web.UI.WebControls.Literal @__ctrl4; + @__ctrl4 = this.@__BuildControlLibraryCSS(); + @__parser.AddParsedSubObject(@__ctrl4); + global::Microsoft.SharePoint.WebControls.ProjectProperty @__ctrl5; + @__ctrl5 = this.@__BuildControlProjectProperty2(); + @__parser.AddParsedSubObject(@__ctrl5); + global::System.Web.UI.WebControls.Literal @__ctrl6; + @__ctrl6 = this.@__BuildControlLiteral4(); + @__parser.AddParsedSubObject(@__ctrl6); + @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n")); + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl7; + @__ctrl7 = this.@__BuildControlCMISWebParts(); + @__parser.AddParsedSubObject(@__ctrl7); + @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n<!-- Secured Storage Dependencies -->\r\n")); + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl8; + @__ctrl8 = this.@__BuildControlAES(); + @__parser.AddParsedSubObject(@__ctrl8); + @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n")); + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl9; + @__ctrl9 = this.@__BuildControlSPServices(); + @__parser.AddParsedSubObject(@__ctrl9); + @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n")); + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl10; + @__ctrl10 = this.@__BuildControlMicrosoftAjax(); + @__parser.AddParsedSubObject(@__ctrl10); + @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n")); + global::Microsoft.SharePoint.WebControls.ScriptLink @__ctrl11; + @__ctrl11 = this.@__BuildControlSiteUserCredentials(); + @__parser.AddParsedSubObject(@__ctrl11); + @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n\r\n</head>\r\n<body>\r\n\r\n\t<div id=\"library\" class=\"cmislibrary\"></div>\r\n\r\n <sc" + + "ript type=\"text/javascript\">\r\n var hiddenField = document.getElementById(" + + "\'DocumentWebPartProperties\');\r\n if (hiddenField != undefined && hiddenFie" + + "ld != null) {\r\n webpartProperies = eval(\"(\" + hiddenField.value + \")\"" + + ");\r\n }\r\n\r\n var maxItems = parseInt(webpartProperies.InitialMaxItem" + + "s);\r\n if (maxItems == NaN)\r\n maxItems = 20;\r\n\r\n var que" + + "ry = null;\r\n if (webpartProperies.InitialQuery.length > 0)\r\n q" + + "uery = webpartProperies.InitialQuery;\r\n\r\n var initPath = null;\r\n i" + + "f (webpartProperies.InitialPath.length > 0)\r\n initPath = webpartPrope" + + "ries.InitialPath;\r\n\r\n var initObjectId = null;\r\n if (webpartProper" + + "ies.InitialObjectID.length > 0)\r\n initObjectId = webpartProperies.Ini" + + "tialObjectID;\r\n\r\n var autoLoad = false;\r\n if (webpartProperies.Ini" + + "tialPath.length > 0 || webpartProperies.InitialObjectID.length > 0 || webpartPro" + + "peries.InitialQuery.length > 0 || webpartProperies.OnlyCheckedOutDocuments == \"T" + + "rue\")\r\n autoLoad = true;\r\n\r\n var documentsOptions = {\r\n " + + " cmis: {\r\n serverUrl: webpartProperies.Url,\r\n " + + "username: webpartProperies.Username,\r\n password: webpartProperies" + + ".Password,\r\n initObjectId: initObjectId,\r\n initPat" + + "h: initPath,\r\n initQuery: query\r\n },\r\n auto" + + "Load: autoLoad,\r\n maxItems: maxItems,\r\n showOnlyCheckedOut" + + "Docs: webpartProperies.OnlyCheckedOutDocuments == \"True\",\r\n };\r\n\r\n " + + " // Override if an object has been created in the windows\r\n if (typeof cm" + + "isDocumentsOptions !== \'undefined\')\r\n $.extend(true, documentsOptions" + + ", cmisDocumentsOptions);\r\n\r\n var library = $(\"#library\").cmislibrary(docu" + + "mentsOptions);\r\n </script>\r\n</body>\r\n\r\n</html>")); + } + + private void InitializeControl() { + this.@__BuildControlTree(this); + this.Load += new global::System.EventHandler(this.Page_Load); + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + protected virtual object Eval(string expression) { + return global::System.Web.UI.DataBinder.Eval(this.Page.GetDataItem(), expression); + } + + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)] + protected virtual string Eval(string expression, string format) { + return global::System.Web.UI.DataBinder.Eval(this.Page.GetDataItem(), expression, format); + } + } +} Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.webpart URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.webpart?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.webpart (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Documents.webpart Fri Nov 28 08:44:28 2014 @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<webParts> + <webPart xmlns="http://schemas.microsoft.com/WebPart/v3"> + <metaData> + <type name="CMIS.Sharepoint.WebParts.Documents.Documents, $SharePoint.Project.AssemblyFullName$" /> + <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage> + </metaData> + <data> + <properties> + <property name="Title" type="string">Documents</property> + <property name="Description" type="string">This component can be used to display documents stored in a CMIS 1.1 compliant repository. It includes features to view properties and versions, to download, upload, check-in/check-out or delete documents. A previewer is also included for PDF documents.</property> + </properties> + </data> + </webPart> +</webParts> +<!-- +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +--> Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Elements.xml URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Elements.xml?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Elements.xml (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Elements.xml Fri Nov 28 08:44:28 2014 @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<Elements xmlns="http://schemas.microsoft.com/sharepoint/" > + <Module Name="Documents" List="113" Url="_catalogs/wp"> + <File Path="Documents\Documents.webpart" Url="CMIS.Sharepoint.WebParts_Documents.webpart" Type="GhostableInLibrary" > + <Property Name="Group" Value="CMIS WebParts" /> + </File> + </Module> +</Elements> +<!-- /** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ --> Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/Elements.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/SharePointProjectItem.spdata URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/SharePointProjectItem.spdata?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/SharePointProjectItem.spdata (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Documents/SharePointProjectItem.spdata Fri Nov 28 08:44:28 2014 @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<ProjectItem Type="Microsoft.VisualStudio.SharePoint.WebPart" DefaultFile="Documents.ascx" SupportedTrustLevels="All" SupportedDeploymentScopes="Site" xmlns="http://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel"> + <Files> + <ProjectItemFile Source="Elements.xml" Target="Documents\" Type="ElementManifest" /> + <ProjectItemFile Source="Documents.webpart" Target="Documents\" Type="ElementFile" /> + </Files> + <SafeControls> + <SafeControl Name="SafeControlEntry1" Assembly="$SharePoint.Project.AssemblyFullName$" Namespace="CMIS.Sharepoint.WebParts.Documents" TypeName="*" IsSafe="true" IsSafeAgainstScript="false" /> + </SafeControls> +</ProjectItem> \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Features/Components/Components.Template.xml URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Features/Components/Components.Template.xml?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Features/Components/Components.Template.xml (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Features/Components/Components.Template.xml Fri Nov 28 08:44:28 2014 @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8" ?> +<Feature xmlns="http://schemas.microsoft.com/sharepoint/"> +</Feature> \ No newline at end of file Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Features/Components/Components.Template.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Features/Components/Components.feature URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Features/Components/Components.feature?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Features/Components/Components.feature (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Features/Components/Components.feature Fri Nov 28 08:44:28 2014 @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<feature xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="8443081b-9b5a-437b-a04c-c05d0340bc0b" alwaysForceInstall="true" description="Provisions WebParts that support CMIS integration" featureId="8443081b-9b5a-437b-a04c-c05d0340bc0b" imageUrl="" scope="Site" solutionId="00000000-0000-0000-0000-000000000000" title="CMIS.Sharepoint.WebParts Components" version="" deploymentPath="$SharePoint.Project.FileNameWithoutExtension$_$SharePoint.Feature.FileNameWithoutExtension$" xmlns="http://schemas.microsoft.com/VisualStudio/2008/SharePointTools/FeatureModel"> + <projectItems> + <projectItemReference itemId="62b8dbdd-4992-4192-bbb3-39162f948f5a" /> + <projectItemReference itemId="6ac6f985-0ce9-4db4-bf32-dd73de7357e8" projectPath="..\..\CMIS.Sharepoint.SiteAssets\CMIS.Sharepoint.SiteAssets.csproj" /> + <projectItemReference itemId="786e2b5d-852e-4fbd-a084-df1b41b626c4" /> + <projectItemReference itemId="ce263a0a-8e1e-4af4-9045-59b4ef915c31" /> + <projectItemReference itemId="e0c3dbd8-d2eb-4a11-8596-ca9b0d233fe1" /> + </projectItems> +</feature> \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Layouts/SharePointProjectItem.spdata URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Layouts/SharePointProjectItem.spdata?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Layouts/SharePointProjectItem.spdata (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Layouts/SharePointProjectItem.spdata Fri Nov 28 08:44:28 2014 @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<ProjectItem Type="Microsoft.VisualStudio.SharePoint.MappedFolder" SupportedTrustLevels="FullTrust" SupportedDeploymentScopes="Package" xmlns="http://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel"> + <ProjectItemFolder Target="Layouts" Type="TemplateFile" /> +</ProjectItem> \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Package/Package.Template.xml URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Package/Package.Template.xml?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Package/Package.Template.xml (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Package/Package.Template.xml Fri Nov 28 08:44:28 2014 @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<Solution xmlns="http://schemas.microsoft.com/sharepoint/"> +</Solution> \ No newline at end of file Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Package/Package.Template.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Package/Package.package URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Package/Package.package?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Package/Package.package (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Package/Package.package Fri Nov 28 08:44:28 2014 @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<package xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="5b15f756-882c-4684-a529-493d26434fb5" solutionId="5b15f756-882c-4684-a529-493d26434fb5" resetWebServer="false" sharePointProductVersion="15.0" name="CMIS.Sharepoint.WebParts" xmlns="http://schemas.microsoft.com/VisualStudio/2008/SharePointTools/PackageModel"> + <features> + <featureReference itemId="d20c744a-73e3-49e2-a0e0-905b59e3bb52" /> + </features> + <projectItems> + <projectItemReference itemId="7208b045-df73-4670-9f43-42da78bf66fa" /> + </projectItems> +</package> \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Properties/AssemblyInfo.cs URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Properties/AssemblyInfo.cs?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Properties/AssemblyInfo.cs (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Properties/AssemblyInfo.cs Fri Nov 28 08:44:28 2014 @@ -0,0 +1,38 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Security; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("CMIS.Sharepoint.WebParts")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("CMIS.Sharepoint.WebParts")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("1cefa895-b680-4738-9793-816e426d3ba7")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] + Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Utility.cs URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Utility.cs?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Utility.cs (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/Utility.cs Fri Nov 28 08:44:28 2014 @@ -0,0 +1,78 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Microsoft.SharePoint.Administration; +using Microsoft.SharePoint; + +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +namespace CMIS.Sharepoint.WebParts +{ + public static class Utility + { + /// <summary> + /// static method to send a message to the Sharepoint logs of a farm server + /// </summary> + public static void msg(string message, TraceSeverity severity) + { + // This will write a message to sharepoint logs + SPDiagnosticsService diagnosticsService = SPDiagnosticsService.Local; + SPDiagnosticsCategory cat = diagnosticsService.Areas["SharePoint Foundation"].Categories["General"]; + diagnosticsService.WriteTrace(1, cat, TraceSeverity.High, message, cat.Name, cat.Area.Name); + // This will write to the event log on window server...not every user can do this + //diagSvc.WriteEvent(0, new SPDiagnosticsCategory("KNRequirements", + // TraceSeverity.Monitorable, + // EventSeverity.Error), + // EventSeverity.Error, + // message); + } + /// <summary> + /// static method to send a message to the LogMessage list + /// </summary> + public static void logmsg(SPWeb web, string title, string category, string message) + { + try + { + web.AllowUnsafeUpdates = true; + // send to sharepoint logs + msg(title + "." + category + "." + message, TraceSeverity.Medium); + // send to LogMessage list on site + SPList list = web.Lists["CMIS Logs"]; + SPListItem item = list.AddItem(); + item["Title"] = title; + item["Category"] = category; + item["Message"] = message; + item.Update(); + web.AllowUnsafeUpdates = false; + } + catch (Exception e) + { + throw new SPException("EXCEPTION: " + e.Message); + // ignore exception if logging fails + } + finally + { + // ignore exception if logging fails + } + } + } +} Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/key.snk URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/key.snk?rev=1642272&view=auto ============================================================================== Binary file - no diff available. Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.WebParts/CMIS.Sharepoint.WebParts/key.snk ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets.sln URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets.sln?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets.sln (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets.sln Fri Nov 28 08:44:28 2014 @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CMIS.Sharepoint2010.SiteAssets", "CMIS.Sharepoint2010.SiteAssets\CMIS.Sharepoint2010.SiteAssets.csproj", "{FE8B6B87-E092-442F-9747-1954A4362713}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FE8B6B87-E092-442F-9747-1954A4362713}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FE8B6B87-E092-442F-9747-1954A4362713}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FE8B6B87-E092-442F-9747-1954A4362713}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {FE8B6B87-E092-442F-9747-1954A4362713}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FE8B6B87-E092-442F-9747-1954A4362713}.Release|Any CPU.Build.0 = Release|Any CPU + {FE8B6B87-E092-442F-9747-1954A4362713}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets.csproj URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets.csproj?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets.csproj (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets.csproj Fri Nov 28 08:44:28 2014 @@ -0,0 +1,93 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{FE8B6B87-E092-442F-9747-1954A4362713}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>CMIS.Sharepoint2010.SiteAssets</RootNamespace> + <AssemblyName>CMIS.Sharepoint2010.SiteAssets</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{BB1F664B-9266-4fd6-B973-E1E44974B511};{14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <SandboxedSolution>False</SandboxedSolution> + <IncludeAssemblyInPackage>False</IncludeAssemblyInPackage> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <UseVSHostingProcess>false</UseVSHostingProcess> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <UseVSHostingProcess>false</UseVSHostingProcess> + </PropertyGroup> + <PropertyGroup> + <SignAssembly>true</SignAssembly> + </PropertyGroup> + <PropertyGroup> + <AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Data" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="System.Xml" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="Microsoft.SharePoint" /> + <Reference Include="Microsoft.SharePoint.Security" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <None Include="key.snk" /> + <None Include="Package\Package.package"> + <PackageId>{a485b64d-0f35-4447-b364-64ea4757f9da}</PackageId> + </None> + <None Include="Package\Package.Template.xml"> + <DependentUpon>Package.package</DependentUpon> + </None> + <None Include="SiteAssets\SharePointProjectItem.spdata"> + <SharePointProjectItemId>{b8a2b1ab-659a-4dc8-8554-af3920182b36}</SharePointProjectItemId> + </None> + </ItemGroup> + <ItemGroup> + <Folder Include="Features\" /> + </ItemGroup> + <ItemGroup> + <Content Include="SiteAssets\browser\browser.css" /> + <Content Include="SiteAssets\browser\browser.js" /> + <Content Include="SiteAssets\browser\reset.css" /> + <Content Include="SiteAssets\browser\template.html" /> + <Content Include="SiteAssets\credentials\aes.js" /> + <Content Include="SiteAssets\credentials\jquery.SPServices-2014.01.min.js" /> + <Content Include="SiteAssets\credentials\MicrosoftAjax.js" /> + <Content Include="SiteAssets\credentials\siteusercredentials.js" /> + <Content Include="SiteAssets\Elements.xml"> + <SubType>Designer</SubType> + </Content> + <Content Include="SiteAssets\library\library.css" /> + <Content Include="SiteAssets\library\library.js" /> + <Content Include="SiteAssets\library\reset.css" /> + <Content Include="SiteAssets\library\template.html" /> + <Content Include="SiteAssets\lib\cmis.js" /> + <Content Include="SiteAssets\dependencies\cmiswebparts.js" /> + <Content Include="SiteAssets\dependencies\jquery-1.11.1.min.js" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets" /> +</Project> \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Package/Package.Template.xml URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Package/Package.Template.xml?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Package/Package.Template.xml (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Package/Package.Template.xml Fri Nov 28 08:44:28 2014 @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<Solution xmlns="http://schemas.microsoft.com/sharepoint/"> +</Solution> \ No newline at end of file Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Package/Package.Template.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Package/Package.package URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Package/Package.package?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Package/Package.package (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Package/Package.package Fri Nov 28 08:44:28 2014 @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8"?> +<package xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="a485b64d-0f35-4447-b364-64ea4757f9da" solutionId="a485b64d-0f35-4447-b364-64ea4757f9da" resetWebServer="false" name="CMIS.Sharepoint2010.SiteAssets" xmlns="http://schemas.microsoft.com/VisualStudio/2008/SharePointTools/PackageModel" /> \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Properties/AssemblyInfo.cs URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Properties/AssemblyInfo.cs?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Properties/AssemblyInfo.cs (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/Properties/AssemblyInfo.cs Fri Nov 28 08:44:28 2014 @@ -0,0 +1,37 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Security; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("CMIS.Sharepoint2010.SiteAssets")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Amazon.com")] +[assembly: AssemblyProduct("CMIS.Sharepoint2010.SiteAssets")] +[assembly: AssemblyCopyright("Copyright © Amazon.com 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("fe8b6b87-e092-442f-9747-1954a4362713")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/Elements.xml URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/Elements.xml?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/Elements.xml (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/Elements.xml Fri Nov 28 08:44:28 2014 @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<Elements xmlns="http://schemas.microsoft.com/sharepoint/"> + <Module Name="SiteAssets" List="101" Url="SiteAssets"> +<File Path="SiteAssets\lib\cmis.js" Url="lib/cmis.js" Type="GhostableInLibrary"/> +<File Path="SiteAssets\dependencies\cmiswebparts.js" Url="dependencies/cmiswebparts.js" Type="GhostableInLibrary"/> +<File Path="SiteAssets\dependencies\jquery-1.11.1.min.js" Url="dependencies/jquery-1.11.1.min.js" Type="GhostableInLibrary"/> +<File Path="SiteAssets\browser\browser.css" Url="browser/browser.css" Type="GhostableInLibrary"/> +<File Path="SiteAssets\browser\browser.js" Url="browser/browser.js" Type="GhostableInLibrary"/> +<File Path="SiteAssets\browser\reset.css" Url="browser/reset.css" Type="GhostableInLibrary"/> +<File Path="SiteAssets\browser\template.html" Url="browser/template.html" Type="GhostableInLibrary"/> +<File Path="SiteAssets\library\library.css" Url="library/library.css" Type="GhostableInLibrary"/> +<File Path="SiteAssets\library\library.js" Url="library/library.js" Type="GhostableInLibrary"/> +<File Path="SiteAssets\library\reset.css" Url="library/reset.css" Type="GhostableInLibrary"/> +<File Path="SiteAssets\library\template.html" Url="library/template.html" Type="GhostableInLibrary"/> +<File Path="SiteAssets\credentials\aes.js" Url="credentials/aes.js" Type="GhostableInLibrary"/> +<File Path="SiteAssets\credentials\jquery.SPServices-2014.01.min.js" Url="credentials/jquery.SPServices-2014.01.min.js" Type="GhostableInLibrary" /> +<File Path="SiteAssets\credentials\MicrosoftAjax.js" Url="credentials/MicrosoftAjax.js" Type="GhostableInLibrary"/> +<File Path="SiteAssets\credentials\siteusercredentials.js" Url="credentials/siteusercredentials.js" Type="GhostableInLibrary"/> +</Module> +</Elements> \ No newline at end of file Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/Elements.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/SharePointProjectItem.spdata URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/SharePointProjectItem.spdata?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/SharePointProjectItem.spdata (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/SharePointProjectItem.spdata Fri Nov 28 08:44:28 2014 @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<ProjectItem Type="Microsoft.VisualStudio.SharePoint.Module" DefaultFile="Elements.xml" SupportedTrustLevels="All" SupportedDeploymentScopes="Web, Site" xmlns="http://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel"> + <Files> + <ProjectItemFile Source="Elements.xml" Target="SiteAssets\" Type="ElementManifest" /> + <ProjectItemFile Source="lib\cmis.js" Target="SiteAssets\lib\" Type="ElementFile" /> + <ProjectItemFile Source="dependencies\cmiswebparts.js" Target="SiteAssets\dependencies\" Type="ElementFile" /> + <ProjectItemFile Source="dependencies\jquery-1.11.1.min.js" Target="SiteAssets\dependencies\" Type="ElementFile" /> + <ProjectItemFile Source="browser\browser.css" Target="SiteAssets\browser\" Type="ElementFile" /> + <ProjectItemFile Source="browser\browser.js" Target="SiteAssets\browser\" Type="ElementFile" /> + <ProjectItemFile Source="browser\reset.css" Target="SiteAssets\browser\" Type="ElementFile" /> + <ProjectItemFile Source="browser\template.html" Target="SiteAssets\browser\" Type="ElementFile" /> + <ProjectItemFile Source="library\library.css" Target="SiteAssets\library\" Type="ElementFile" /> + <ProjectItemFile Source="library\library.js" Target="SiteAssets\library\" Type="ElementFile" /> + <ProjectItemFile Source="library\reset.css" Target="SiteAssets\library\" Type="ElementFile" /> + <ProjectItemFile Source="library\template.html" Target="SiteAssets\library\" Type="ElementFile" /> + <ProjectItemFile Source="credentials\aes.js" Target="SiteAssets\credentials\" Type="ElementFile" /> + <ProjectItemFile Source="credentials\jquery.SPServices-2014.01.min.js" Target="SiteAssets\credentials\" Type="ElementFile" /> + <ProjectItemFile Source="credentials\MicrosoftAjax.js" Target="SiteAssets\credentials\" Type="ElementFile" /> + <ProjectItemFile Source="credentials\siteusercredentials.js" Target="SiteAssets\credentials\" Type="ElementFile" /> + </Files> +</ProjectItem> \ No newline at end of file
