Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Browser.aspx URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Browser.aspx?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Browser.aspx (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Browser.aspx Fri Nov 28 08:44:28 2014 @@ -0,0 +1,145 @@ +<%@ Page language="C#" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, 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="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Connections.aspx URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Connections.aspx?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Connections.aspx (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Connections.aspx Fri Nov 28 08:44:28 2014 @@ -0,0 +1,100 @@ +<%@ Page language="C#" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, 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="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> + + + + + + + + + + + + + + + + + + +
+ CMIS Connections +
+ +
+ +
+ Add\Edit CMIS Connection +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Name of Connection String: + + +
Server URL: + + +
Server Domain: + + +
User Name: + + +
Password: + + +
+ +
+
+ + + + Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Default.aspx URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Default.aspx?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Default.aspx (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Default.aspx Fri Nov 28 08:44:28 2014 @@ -0,0 +1,63 @@ +<%-- The following 4 lines are ASP.NET directives needed when using SharePoint components --%> + +<%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~masterurl/default.master" Language="C#" %> + +<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> +<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, 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" %> + +<%-- The markup and script in the following Content element will be placed in the of the page --%> + + + + + + + + + + + + +<%-- The markup in the following Content element will be placed in the TitleArea of the page --%> + + Page Title + + +<%-- The markup and script in the following Content element will be placed in the of the page --%> + + +
+

+ + initializing... +

+
+ +
Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Documents.aspx URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Documents.aspx?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Documents.aspx (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Documents.aspx Fri Nov 28 08:44:28 2014 @@ -0,0 +1,171 @@ +<%@ Page language="C#" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, 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="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Elements.xml URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Elements.xml?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Elements.xml (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Elements.xml Fri Nov 28 08:44:28 2014 @@ -0,0 +1,33 @@ + + + + + + + + + Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/Elements.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/SharePointProjectItem.spdata URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/SharePointProjectItem.spdata?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/SharePointProjectItem.spdata (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Pages/SharePointProjectItem.spdata Fri Nov 28 08:44:28 2014 @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/App.js URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/App.js?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/App.js (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/App.js Fri Nov 28 08:44:28 2014 @@ -0,0 +1,80 @@ +/** + * 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. + * + * Browser UI component based on the CMIS 1.1 JS Connector + * + * Developer(s): - Ben Chevallereau (ben.chevallereau@armedia.com / + * benjamin.chevallereau@gmail.com) + * + * Version: 1.1 (05-09-2014) + * + * This JS library can be used to any CMIS 1.1 compliant repository. + */ + + + +'use strict'; + + + +var context = SP.ClientContext.get_current(); + +var user = context.get_web().get_currentUser(); + + + +// This code runs when the DOM is ready and creates a context object which is needed to use the SharePoint object model + +$(document).ready(function () { + + getUserName(); + +}); + + + +// This function prepares, loads, and then executes a SharePoint query to get the current users information + +function getUserName() { + + context.load(user); + + context.executeQueryAsync(onGetUserNameSuccess, onGetUserNameFail); + +} + + + +// This function is executed if the above call is successful + +// It replaces the contents of the 'message' element with the user name + +function onGetUserNameSuccess() { + + $('#message').text('Hello ' + user.get_title()); + +} + + + +// This function is executed if the above call fails + +function onGetUserNameFail(sender, args) { + + alert('Failed to get user name. Error:' + args.get_message()); + +} + Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/App.js ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/Elements.xml URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/Elements.xml?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/Elements.xml (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/Elements.xml Fri Nov 28 08:44:28 2014 @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/Elements.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/SharePointProjectItem.spdata URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/SharePointProjectItem.spdata?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/SharePointProjectItem.spdata (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/SharePointProjectItem.spdata Fri Nov 28 08:44:28 2014 @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/_references.js URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/_references.js?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/_references.js (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/_references.js Fri Nov 28 08:44:28 2014 @@ -0,0 +1,33 @@ +/// +/// +/// +/// +/// +/// +/// + +/** + * 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. + * + * Browser UI component based on the CMIS 1.1 JS Connector + * + * Developer(s): - Ben Chevallereau (ben.chevallereau@armedia.com / + * benjamin.chevallereau@gmail.com) + * + * Version: 1.1 (05-09-2014) + * + * This JS library can be used to any CMIS 1.1 compliant repository. + */ \ No newline at end of file Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Scripts/_references.js ------------------------------------------------------------------------------ svn:eol-style = native