Added: chemistry/parts/trunk/cmis-js/samples/bundle/js/messageBroadcaster.js
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/cmis-js/samples/bundle/js/messageBroadcaster.js?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/cmis-js/samples/bundle/js/messageBroadcaster.js 
(added)
+++ chemistry/parts/trunk/cmis-js/samples/bundle/js/messageBroadcaster.js Fri 
Nov 28 08:44:28 2014
@@ -0,0 +1,40 @@
+/**
+ * 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.
+ * 
+ * Message Broadacaster between iframes
+ * 
+ * Developer(s): - Ben Chevallereau ([email protected] /
+ * [email protected])
+ * 
+ * Version: 1.1 (09-05-2014)
+ * 
+ */
+
+function listener(event) {
+       if (JSON.parse(event.data).name.substring(0, 5) === "cmis-") {
+               console.log("Received event to broadcast: " + event.data);
+               // Dispatch the same message to all child iframes
+               var iframes = document.getElementsByTagName('iframe');
+               for ( var i = 0; i < iframes.length; i++)
+                       iframes[i].contentWindow.postMessage(event.data, "*");
+       }
+}
+
+if (window.addEventListener) {
+       addEventListener("message", listener, false)
+} else {
+       attachEvent("onmessage", listener)
+}
\ No newline at end of file

Propchange: 
chemistry/parts/trunk/cmis-js/samples/bundle/js/messageBroadcaster.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: chemistry/parts/trunk/cmis-js/samples/config.js
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/cmis-js/samples/config.js?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/cmis-js/samples/config.js (added)
+++ chemistry/parts/trunk/cmis-js/samples/config.js Fri Nov 28 08:44:28 2014
@@ -0,0 +1,31 @@
+/**
+ * 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.
+ */
+
+// Configure header properly if required by the CMIS repository
+
+$.ajaxSetup({
+       headers : {
+               "Access-Control-Allow-Origin" : "http://www.yourcompany.com";
+       }
+});
+
+var cmisOptions = {
+       // Your CMIS endpoint url, e.g. for Alfresco:
+       serverUrl : "http://localhost:8080/inmemory/browser";,
+       username : "a",
+       password : "b"
+};

Propchange: chemistry/parts/trunk/cmis-js/samples/config.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: chemistry/parts/trunk/cmis-js/samples/config.js.sample
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/cmis-js/samples/config.js.sample?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/cmis-js/samples/config.js.sample (added)
+++ chemistry/parts/trunk/cmis-js/samples/config.js.sample Fri Nov 28 08:44:28 
2014
@@ -0,0 +1,31 @@
+/**
+ * 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.
+ */
+
+// Configure header properly if required by the CMIS repository
+
+$.ajaxSetup({
+       headers : {
+               "Access-Control-Allow-Origin" : "http://www.yourcompany.com";
+       }
+});
+
+var cmisOptions = {
+       // Your CMIS endpoint url, e.g. for Alfresco:
+       serverUrl : "https://[YOUR ALFRESCO 
SERVER]/alfresco/api/-default-/public/cmis/versions/1.1/browser",
+       username : "[DEFAULT USERNAME]",
+       password : "[DEFAULT PASSWORD]"
+};

Added: chemistry/parts/trunk/cmis-js/samples/library/library-01.html
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/cmis-js/samples/library/library-01.html?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/cmis-js/samples/library/library-01.html (added)
+++ chemistry/parts/trunk/cmis-js/samples/library/library-01.html Fri Nov 28 
08:44:28 2014
@@ -0,0 +1,62 @@
+<!-- 
+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.
+ -->
+ <!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Library</title>
+<style>
+body {
+       font-family: "Segoe UI", "Segoe", Tahoma, Helvetica, Arial, sans-serif;
+       font-size: 0.8em;
+       color: #444444;
+}
+
+.cmislibrary {
+       width: 900px;
+       margin: 10px;
+       min-height: 300px;
+       padding: 20px;
+}
+</style>
+<!-- jQuery Dependency -->
+<script src="http://code.jquery.com/jquery-1.11.1.min.js";></script>
+<!-- CMIS Library -->
+<script src="../../lib/cmis.js"></script>
+<!-- Library component -->
+<script src="../../components/library/library.js"></script>
+<link rel="stylesheet" href="../../components/library/library.css" />
+<!-- Config file -->
+<script src="../config.js"></script>
+<script type="text/javascript">
+       $(document).ready(function() {
+               var options = {
+                       cmis : cmisOptions
+               };
+
+               var library = $("#library").cmislibrary(options);
+       });
+</script>
+</head>
+<body>
+
+       <div id="library" class="cmislibrary"></div>
+
+</body>
+</html>
\ No newline at end of file

Propchange: chemistry/parts/trunk/cmis-js/samples/library/library-01.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: chemistry/parts/trunk/cmis-js/samples/library/library-02.html
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/cmis-js/samples/library/library-02.html?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/cmis-js/samples/library/library-02.html (added)
+++ chemistry/parts/trunk/cmis-js/samples/library/library-02.html Fri Nov 28 
08:44:28 2014
@@ -0,0 +1,67 @@
+<!-- 
+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.
+ -->
+ <!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Library</title>
+<style>
+body {
+       font-family: "Segoe UI", "Segoe", Tahoma, Helvetica, Arial, sans-serif;
+       font-size: 0.8em;
+       color: #444444;
+}
+
+.cmislibrary {
+       width: 900px;
+       margin: 10px;
+       min-height: 300px;
+       padding: 20px;
+}
+</style>
+<!-- jQuery Dependency -->
+<script src="http://code.jquery.com/jquery-1.11.1.min.js";></script>
+<!-- CMIS Library -->
+<script src="../../lib/cmis.js"></script>
+<!-- Library component -->
+<script src="../../components/library/library.js"></script>
+<link rel="stylesheet" href="../../components/library/library.css" />
+<!-- Config file -->
+<script src="../config.js"></script>
+<script type="text/javascript">
+       $(document).ready(function() {
+               
+               $.extend(cmisOptions, {
+                       initPath : "/Sites/swsdp/documentLibrary"
+               });
+               
+               var options = {
+                       cmis : cmisOptions
+               };
+
+               var library = $("#library").cmislibrary(options);
+       });
+</script>
+</head>
+<body>
+
+       <div id="library" class="cmislibrary"></div>
+
+</body>
+</html>
\ No newline at end of file

Propchange: chemistry/parts/trunk/cmis-js/samples/library/library-02.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: chemistry/parts/trunk/cmis-js/samples/library/library-03.html
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/cmis-js/samples/library/library-03.html?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/cmis-js/samples/library/library-03.html (added)
+++ chemistry/parts/trunk/cmis-js/samples/library/library-03.html Fri Nov 28 
08:44:28 2014
@@ -0,0 +1,67 @@
+<!-- 
+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.
+ -->
+ <!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Library</title>
+<style>
+body {
+       font-family: "Segoe UI", "Segoe", Tahoma, Helvetica, Arial, sans-serif;
+       font-size: 0.8em;
+       color: #444444;
+}
+
+.cmislibrary {
+       width: 900px;
+       margin: 10px;
+       min-height: 300px;
+       padding: 20px;
+}
+</style>
+<!-- jQuery Dependency -->
+<script src="http://code.jquery.com/jquery-1.11.1.min.js";></script>
+<!-- CMIS Library -->
+<script src="../../lib/cmis.js"></script>
+<!-- Library component -->
+<script src="../../components/library/library.js"></script>
+<link rel="stylesheet" href="../../components/library/library.css" />
+<!-- Config file -->
+<script src="../config.js"></script>
+<script type="text/javascript">
+       $(document).ready(function() {
+               
+               $.extend(cmisOptions, {
+                       initQuery : "SELECT * FROM cmis:document WHERE 
CONTAINS('Data')"
+               });
+               
+               var options = {
+                       cmis : cmisOptions
+               };
+
+               var library = $("#library").cmislibrary(options);
+       });
+</script>
+</head>
+<body>
+
+       <div id="library" class="cmislibrary"></div>
+
+</body>
+</html>
\ No newline at end of file

Propchange: chemistry/parts/trunk/cmis-js/samples/library/library-03.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: chemistry/parts/trunk/cmis-js/samples/library/library-04.html
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/cmis-js/samples/library/library-04.html?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/cmis-js/samples/library/library-04.html (added)
+++ chemistry/parts/trunk/cmis-js/samples/library/library-04.html Fri Nov 28 
08:44:28 2014
@@ -0,0 +1,64 @@
+<!-- 
+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.
+ -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Library</title>
+<style>
+body {
+       font-family: "Segoe UI", "Segoe", Tahoma, Helvetica, Arial, sans-serif;
+       font-size: 0.8em;
+       color: #444444;
+}
+
+.cmislibrary {
+       width: 900px;
+       margin: 10px;
+       min-height: 300px;
+       padding: 20px;
+}
+</style>
+<!-- jQuery Dependency -->
+<script src="http://code.jquery.com/jquery-1.11.1.min.js";></script>
+<!-- CMIS Library -->
+<script src="../../lib/cmis.js"></script>
+<!-- Library component -->
+<script src="../../components/library/library.js"></script>
+<link rel="stylesheet" href="../../components/library/library.css" />
+<!-- Config file -->
+<script src="../config.js"></script>
+<script type="text/javascript">
+       $(document).ready(function() {
+
+               var options = {
+                       cmis : cmisOptions,
+                       showOnlyCheckedOutDocs : true
+               };
+
+               var library = $("#library").cmislibrary(options);
+       });
+</script>
+</head>
+<body>
+
+       <div id="library" class="cmislibrary"></div>
+
+</body>
+</html>
\ No newline at end of file

Propchange: chemistry/parts/trunk/cmis-js/samples/library/library-04.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: chemistry/parts/trunk/cmis-js/test/css/prettyprint.css
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/cmis-js/test/css/prettyprint.css?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/cmis-js/test/css/prettyprint.css (added)
+++ chemistry/parts/trunk/cmis-js/test/css/prettyprint.css Fri Nov 28 08:44:28 
2014
@@ -0,0 +1,116 @@
+/**
+ * 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.
+ */
+
+#qunit,#json {
+       float: left;
+}
+
+#qunit {
+       width: 40%;
+}
+
+#json {
+       width: 60%;
+}
+
+#templates {
+       display: none;
+}
+
+.jsonContent {
+       background-color: ghostwhite;
+       border-right: 3px solid silver;
+       border-left: 3px solid silver;
+       border-bottom: 3px solid silver;
+       padding: 10px 20px;
+       margin: 0px;
+}
+
+.json-key {
+       color: brown;
+}
+
+.json-value {
+       color: navy;
+}
+
+.json-string {
+       color: olive;
+}
+
+#jsonPanels {
+       font-family: "Helvetica Neue Light", "HelveticaNeue-Light",
+               "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
+       font-size: small;
+}
+
+#jsonPanels div.title {
+       background-color: #D2E0E6;
+       border-bottom: 1px solid #FFFFFF;
+       padding: 0.5em 1em;
+       color: #366097;
+}
+
+#jsonPanels div.title.active {
+       background-color: ghostwhite;
+       border-right: 3px solid silver;
+       border-left: 3px solid silver;
+       border-top: 3px solid silver;
+       padding: 0.5em 1em;
+       color: #366097;
+}
+
+#jsonPanels div.title a {
+       color: #2B81AF;
+       text-decoration: none;
+}
+
+#params {
+       font-family: "Helvetica Neue Light", "HelveticaNeue-Light",
+               "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
+       margin-bottom: 20px;
+}
+
+#params h1 {
+       background-color: #0D3349;
+       border-radius: 5px 5px 0 0;
+       color: #8699A4;
+       font-size: 1.5em;
+       font-weight: 400;
+       line-height: 1em;
+       padding: 0.5em 0 0.5em 1em;
+       margin-bottom: 0;
+}
+
+#params table {
+       background-color: #EEEEEE;
+       color: #5E740B;
+       overflow: hidden;
+       padding: 0.5em 1em;
+       width: 100%;
+}
+
+#params .param-key {
+       font-size: smaller;
+       width: 150px;
+}
+
+#params input[name='serverUrl'] {
+       width: 300px;
+}
\ No newline at end of file

Propchange: chemistry/parts/trunk/cmis-js/test/css/prettyprint.css
------------------------------------------------------------------------------
    svn:eol-style = native

Added: chemistry/parts/trunk/cmis-js/test/index.html
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/cmis-js/test/index.html?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/cmis-js/test/index.html (added)
+++ chemistry/parts/trunk/cmis-js/test/index.html Fri Nov 28 08:44:28 2014
@@ -0,0 +1,92 @@
+<!-- 
+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.
+ -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CMIS Library Unit Test</title>
+<link rel="stylesheet" href="http://code.jquery.com/qunit/qunit-1.15.0.css";>
+<link rel="stylesheet" href="css/prettyprint.css">
+</head>
+<body>
+
+       <div id="params">
+               <h1>Configuration</h1>
+               <table>
+                       <tr>
+                               <td class="param-key">Server URL:</td>
+                               <td class="param-value"><input type="text" 
name="serverUrl"
+                                       autocomplete="off"
+                                       value=""></input></td>
+                       </tr>
+                               <td class="param-key">Username:</td>
+                               <td class="param-value"><input type="text" 
name="username"
+                                       value="admin" 
autocomplete="off"></input></td>
+                       </tr>
+                       <tr>
+                               <td class="param-key">Password:</td>
+                               <td class="param-value"><input type="password" 
name="password"
+                                       value="admin" 
autocomplete="off"></input></td>
+                       </tr>
+                       <tr>
+                               <td class="param-key">Test File:</td>
+                               <td class="param-value"><input type="file" 
name="file"></input></td>
+                       </tr>
+                       <tr>
+                       <tr>
+                               <td><input type="button" id="start" 
value="Start Test"
+                                       autocomplete="off" /></td>
+                       </tr>
+               </table>
+       </div>
+
+       <!-- QUnit Code -->
+       <div id="qunit"></div>
+       <!-- JSON OUPUT -->
+       <div id=json>
+               <h1 id="qunit-header">JSON Output</h1>
+               <h2 id="qunit-banner" class="qunit-pass"></h2>
+               <div id="jsonPanels"></div>
+       </div>
+
+       <!-- Templates -->
+       <div id="templates">
+               <div id="jsonBlock-template">
+                       <div class="title">
+                               <a href="#">${heading}</a>
+                       </div>
+                       <div class="content">
+                               <pre class="jsonContent">${content}</pre>
+                       </div>
+               </div>
+       </div>
+       </div>
+
+
+       <!-- QUnit library -->
+       <script src="http://code.jquery.com/qunit/qunit-1.15.0.js";></script>
+       <!-- JQuery Dependencies -->
+       <script src="http://code.jquery.com/jquery-1.11.1.min.js";></script>
+       <!-- CMIS Library -->
+       <script src="../lib/cmis.js"></script>
+       <!-- QUnit test -->
+       <script src="tests.js"></script>
+       <script type="text/javascript" src="lib/library.js"></script>
+</body>
+</html>
\ No newline at end of file

Propchange: chemistry/parts/trunk/cmis-js/test/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: chemistry/parts/trunk/cmis-js/test/lib/library.js
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/cmis-js/test/lib/library.js?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/cmis-js/test/lib/library.js (added)
+++ chemistry/parts/trunk/cmis-js/test/lib/library.js Fri Nov 28 08:44:28 2014
@@ -0,0 +1,58 @@
+/**
+ * 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.
+ */
+
+ if (!library)
+       var library = {};
+
+library.json = {
+       replacer : function(match, pIndent, pKey, pVal, pEnd) {
+               var key = '<span class=json-key>';
+               var val = '<span class=json-value>';
+               var str = '<span class=json-string>';
+               var r = pIndent || '';
+               if (pKey)
+                       r = r + key + pKey.replace(/[": ]/g, '') + '</span>: ';
+               if (pVal)
+                       r = r + (pVal[0] == '"' ? str : val) + pVal + '</span>';
+               return r + (pEnd || '');
+       },
+       prettyPrint : function(obj) {
+               var jsonLine = /^( *)("[\w]+": 
)?("[^"]*"|[\w.+-]*)?([,[{])?$/mg;
+               return JSON.stringify(obj, null, 3).replace(/&/g, 
'&amp;').replace(/\\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, 
'&gt;').replace(jsonLine, library.json.replacer);
+       }
+};
+
+library.refreshPanels = function() {
+       // hide all div containers
+       $('#jsonPanels div.content').hide();
+       // append click event to the a element
+       $('#jsonPanels a').click(function(e) {
+               // slide down the corresponding div if hidden, or slide up if 
shown
+               $(this).parent().next('#jsonPanels div').slideToggle('slow');
+               // set the current item as active
+               $(this).parent().toggleClass('active');
+               e.preventDefault();
+       });
+};
+
+library.displayResult = function(title, content) {
+       var jsonBlockTemplate = $("#jsonBlock-template");
+       var requestBody = jsonBlockTemplate.html().replace('${heading}', 
title).replace('${content}', library.json.prettyPrint(content));
+       $('#jsonPanels').append(requestBody);
+};
\ No newline at end of file

Propchange: chemistry/parts/trunk/cmis-js/test/lib/library.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: chemistry/parts/trunk/cmis-js/test/tests.js
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/cmis-js/test/tests.js?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/cmis-js/test/tests.js (added)
+++ chemistry/parts/trunk/cmis-js/test/tests.js Fri Nov 28 08:44:28 2014
@@ -0,0 +1,767 @@
+/**
+ * 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.
+ */
+
+var session;
+
+/*
+ * ADD HERE CUSTOME HEADERS IF REQUIRED LIKE THAT:
+ * 
+ * $.ajaxSetup({headers : {
+ *     "Access-Control-Allow-Origin" : "http://www.yourcompany.com";
+ * }});
+ */
+
+asyncTest("CMIS Connexion", function() {
+       session = cmis.createSession($("input[name='serverUrl']").val());
+       session.setCredentials($("input[name='username']").val(), 
$("input[name='password']").val()).loadRepositories({
+               request : {
+                       success : function(data) {
+                               library.displayResult("CMIS Connexion", data);
+                               ok(true, "Successful connexion!");
+                               start();
+                               testSuite();
+                       },
+                       error : function(e) {
+                               if (e.responseJSON)
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                               else
+                                       ok(false, "Error during the request: " 
+ e.statusText);
+                               start();
+                       }
+               }
+       });
+});
+
+function testSuite() {
+
+       var folderId;
+       var fileId;
+       var workingCopyId;
+       var folderName = "CMIS_JS_LIB_" + (new Date()).getTime();
+
+       asyncTest("Get Repository Info", function() {
+               session.getRepositoryInfo({
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Repository Info: 
SUCCESS");
+                                       library.displayResult("Get Repository 
Info", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Create Folder", function() {
+               session.createFolder(session.defaultRepository.rootFolderId, 
folderName, null, null, null, {
+                       request : {
+                               success : function(data) {
+                                       folderId = 
data.properties["cmis:objectId"].value;
+                                       ok(true, "Create Folder: SUCCESS");
+                                       library.displayResult("Create Folder", 
data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Object By Path", function() {
+               session.getObjectByPath("/" + folderName, {
+                       includeRelationships : 'both',
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Object By Path: SUCCESS");
+                                       library.displayResult("Get Object By 
Path", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Children", function() {
+               session.getChildren(folderId, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Children: SUCCESS");
+                                       library.displayResult("Get Children", 
data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Descendants", function() {
+               session.getDescendants(folderId, 1, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Descendants: SUCCESS");
+                                       library.displayResult("Get 
Descendants", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Folder Parent", function() {
+               session.getFolderParent(folderId, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Folder Parent: SUCCESS");
+                                       library.displayResult("Get Folder 
Parent", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+       /*
+        * asyncTest("Get Folder Tree", function() { 
session.getFolderTree(folderId,
+        * 1, { request : { success : function(data) { ok(true, "Get Folder 
Tree:
+        * SUCCESS"); library.displayResult("Get Folder Tree", data); start(); 
},
+        * error : function(e) { ok(false, "Error during the request: " +
+        * e.responseJSON.message); start(); } } }); });
+        */
+
+       asyncTest("Get Parents", function() {
+               session.getParents(folderId, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Parents: SUCCESS");
+                                       library.displayResult("Get Parents", 
data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Allowable Actions", function() {
+               session.getAllowableActions(folderId, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Allowable Actions: 
SUCCESS");
+                                       library.displayResult("Get Allowable 
Actions", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Properties", function() {
+               session.getProperties(folderId, 'latest', {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Properties: SUCCESS");
+                                       library.displayResult("Get Properties", 
data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Type Children", function() {
+               session.getTypeChildren(null, true, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Type Children: SUCCESS");
+                                       library.displayResult("Get Type 
Children", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Type Descendants", function() {
+               session.getTypeDescendants("cmis:folder", null, true, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Type Descendants: 
SUCCESS");
+                                       library.displayResult("Get Type 
Descendants", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Type Definition", function() {
+               session.getTypeDefinition("cmis:folder", {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Type Definition: 
SUCCESS");
+                                       library.displayResult("Get Type 
Definition", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Create Document", function() {
+               var file = $("input[name='file']")[0].files[0];
+               
+               session.createDocument(folderId, file, "test-file.txt", 
"text/plain", "major", null, null, null, {
+                       request : {
+                               success : function(data) {
+                                       fileId = 
data.properties["cmis:objectId"].value;
+                                       ok(true, "Create Document: SUCCESS");
+                                       library.displayResult("Create 
Document", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+       
+       test("Get Content Stream URL", function() {
+               var url = session.getContentStreamURL(fileId, true);
+               ok(url.length > 0, "Get Content Stream URL: " + url);
+       });
+
+       asyncTest("Set Content Stream", function() {
+               var file = $("input[name='file']")[0].files[0];
+               
+               session.setContentStream(fileId, file, true, "text/plain", {
+                       request : {
+                               success : function(data) {
+                                       fileId = 
data.properties["cmis:objectId"].value;
+                                       ok(true, "Set Content Stream: SUCCESS");
+                                       library.displayResult("Set Content 
Stream", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+
+       asyncTest("Create Document From Source", function() {
+               session.createDocumentFromSource(folderId, fileId, "TEST FILE 
DATA", "test-file-2.txt", "text/plain", "major", null, null, null, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Create Document From Source: 
SUCCESS");
+                                       library.displayResult("Create Document 
From Source", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Update Properties", function() {
+               session.updateProperties(fileId, {
+                       'cmis:name' : 'myfile.txt'
+               }, {
+                       request : {
+                               success : function(data) {
+                                       fileId = 
data.properties["cmis:objectId"].value;
+                                       ok(true, "Update Properties: SUCCESS");
+                                       library.displayResult("Update 
Properties", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       /*
+       asyncTest("Bulk Update Properties", function() {
+
+               session.query('select * from cmis:document where IN_FOLDER(\'' 
+ folderId + '\') ', false, {
+                       request : {
+                               success : function(data) {
+
+                                       var ids = new Array();
+                                       $(data.results).each(function(index) {
+                                               var id = 
this.properties['cmis:objectId'];
+                                               ids.push(id);
+                                       });
+
+                                       session.bulkUpdateProperties(ids, {
+                                               'cmis:name' : 'myfile.txt'
+                                       }, null, null, {
+                                               request : {
+                                                       success : 
function(data) {
+                                                               ok(true, "Bulk 
Update Properties: SUCCESS");
+                                                               
library.displayResult("Bulk Update Properties", data);
+                                                               start();
+                                                       },
+                                                       error : function(e) {
+                                                               ok(false, 
"Error during the request: " + e.responseJSON.message);
+                                                               start();
+                                                       }
+                                               }
+                                       });
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });*/
+
+       asyncTest("Get Object", function() {
+               session.getObject(fileId, 'latest', {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Object: SUCCESS");
+                                       library.displayResult("Get Object", 
data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Renditions", function() {
+               session.getRenditions(fileId, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Renditions: SUCCESS");
+                                       library.displayResult("Get Renditions", 
data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Content Stream", function() {
+               session.getContentStream(fileId, false, {
+                       request : {
+                               complete : function(e, textStatus, errorThrown) 
{
+                                       if (e.status == 200)
+                                               ok(true, "Get Content Stream: " 
+ e.responseText);
+                                       else
+                                               ok(false, "Error during the 
request: " + e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       /*
+       asyncTest("Append Content Stream", function() {
+               var file = $("input[name='file']")[0].files[0];
+               
+               session.appendContentStream(fileId, file, true, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Append Content Stream: 
SUCCESS");
+                                       library.displayResult("Append Content 
Stream", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+       */
+
+       asyncTest("Check-out", function() {
+               session.checkOut(fileId, {
+                       request : {
+                               success : function(data) {
+                                       workingCopyId = 
data.properties['cmis:objectId'].value;
+                                       ok(true, "Check-out: SUCCESS");
+                                       library.displayResult("Check-out", 
data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get Checked Out Documents", function() {
+               session.getCheckedOutDocs(null, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Checked Out Documents: 
SUCCESS");
+                                       library.displayResult("Get Checked Out 
Documents", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Cancel Check-out", function() {
+               session.cancelCheckOut(workingCopyId, {
+                       request : {
+                               complete : function(e, textStatus, errorThrown) 
{
+                                       if (e.status == 200)
+                                               ok(true, "Cancel check-out 
document: SUCCESS");
+                                       else
+                                               ok(false, "Error during the 
request: " + e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Check-out", function() {
+               session.checkOut(fileId, {
+                       request : {
+                               success : function(data) {
+                                       workingCopyId = 
data.properties['cmis:objectId'].value;
+                                       ok(true, "Check-out: SUCCESS");
+                                       library.displayResult("Check-out", 
data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Check-in", function() {
+               session.checkIn(workingCopyId, true, 'new_name.txt', 'UPDATE', 
'Check-in', null, null, null, {
+                       request : {
+                               success : function(data) {
+                                       fileId = 
data.properties['cmis:objectId'].value;
+                                       ok(true, "Check-in: SUCCESS");
+                                       library.displayResult("Check-in", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Move Object", function() {
+               session.createFolder(session.defaultRepository.rootFolderId, 
folderName + "_B", null, null, null, {
+                       request : {
+                               success : function(data) {
+                                       var targetFolderId = 
data.properties["cmis:objectId"].value;
+
+                                       session.moveObject(fileId, folderId, 
targetFolderId, {
+                                               request : {
+                                                       success : 
function(data) {
+                                                               ok(true, "Move 
Object: SUCCESS");
+                                                               
library.displayResult("Move Object", data);
+                                                               start();
+                                                       },
+                                                       error : function(e) {
+                                                               ok(false, 
"Error during the request: " + e.responseJSON.message);
+                                                               start();
+                                                       }
+                                               }
+                                       });
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Add Object To Folder", function() {
+               session.addObjectToFolder(fileId, folderId, true, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Add Object To Folder: 
SUCCESS");
+                                       library.displayResult("Add Object To 
Folder", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Remove Object To Folder", function() {
+               session.removeObjectFromFolder(fileId, folderId, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Remove Object To Folder: 
SUCCESS");
+                                       library.displayResult("Remove Object To 
Folder", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get all versions", function() {
+               session.getAllVersions(fileId, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get all versions: SUCCESS");
+                                       library.displayResult("Get all 
versions", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Get relationships", function() {
+               session.getObjectRelationships(fileId, true, 'either', null, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get relationships: SUCCESS");
+                                       library.displayResult("Get 
relationships", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       /*
+        * test("createRelationship", function() { ok(false, "Test not
+        * implemented."); });
+        * 
+        */
+
+       asyncTest("Get applied policies", function() {
+               session.getAppliedPolicies(fileId, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get applied policies: 
SUCCESS");
+                                       library.displayResult("Get applied 
policies", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       /*
+        * test("createPolicy", function() { ok(false, "Test not 
implemented."); });
+        * test("applyPolicy", function() { ok(false, "Test not implemented."); 
});
+        * test("removePolicy", function() { ok(false, "Test not 
implemented."); });
+        * 
+        */
+
+       asyncTest("Get ACL", function() {
+               session.getACL(fileId, false, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get ACL: SUCCESS");
+                                       library.displayResult("Get ACL", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Apply ACL", function() {
+               session.applyACL(fileId, {
+                       'GROUP_EVERYONE' : [ 'cmis:write' ]
+               }, null, true, {
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Apply ACL: SUCCESS");
+                                       library.displayResult("Apply ACL", 
data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Delete Object", function() {
+               session.deleteObject(fileId, true, {
+                       request : {
+                               complete : function(e, textStatus, errorThrown) 
{
+                                       if (e.status == 200)
+                                               ok(true, "Delete Object: 
SUCCESS");
+                                       else
+                                               ok(false, "Error during the 
request: " + e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Delete Tree", function() {
+               session.deleteTree(folderId, true, 'delete', true, {
+                       request : {
+                               complete : function(e, textStatus, errorThrown) 
{
+                                       if (e.status == 200)
+                                               ok(true, "Delete Tree: 
SUCCESS");
+                                       else
+                                               ok(false, "Error during the 
request: " + e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       asyncTest("Query", function() {
+               session.query('select * from cmis:folder ', false, {
+                       maxItems : 5,
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Query: SUCCESS");
+                                       library.displayResult("Query", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+
+       /*
+       asyncTest("Get Last Result", function() {
+               session.getLastResult({
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Last Result: SUCCESS");
+                                       library.displayResult("Get Last 
Result", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });*/
+
+       asyncTest("Get Content Changes", function() {
+               session.getContentChanges(null, true, false, false, {
+                       maxItems : 5,
+                       request : {
+                               success : function(data) {
+                                       ok(true, "Get Content Changes: 
SUCCESS");
+                                       library.displayResult("Get Content 
Changes", data);
+                                       start();
+                               },
+                               error : function(e) {
+                                       ok(false, "Error during the request: " 
+ e.responseJSON.message);
+                                       start();
+                               }
+                       }
+               });
+       });
+       
+}
+
+QUnit.config.reorder = false;
+QUnit.config.autostart = false;
+QUnit.done(function(details) {
+       library.refreshPanels();
+});
+
+$("#start").click(function() {
+       $("#start").prop('disabled', true);
+       QUnit.start();
+});

Propchange: chemistry/parts/trunk/cmis-js/test/tests.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps.sln
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps.sln?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps.sln
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps.sln
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1,33 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CMIS.Sharepoint.Apps", 
"CMIS.Sharepoint.Apps\CMIS.Sharepoint.Apps.csproj", 
"{547D616E-E042-445C-86F7-92E1D5094D11}"
+       ProjectSection(ProjectDependencies) = postProject
+               {61F0EDA5-B65B-4109-A5BA-ECD57899DB2A} = 
{61F0EDA5-B65B-4109-A5BA-ECD57899DB2A}
+       EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = 
"CMIS.Sharepoint.SiteAssets", 
"..\CMIS.Sharepoint.SiteAssets\CMIS.Sharepoint.SiteAssets.csproj", 
"{61F0EDA5-B65B-4109-A5BA-ECD57899DB2A}"
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Any CPU = Debug|Any CPU
+               Release|Any CPU = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {547D616E-E042-445C-86F7-92E1D5094D11}.Debug|Any CPU.ActiveCfg 
= Debug|Any CPU
+               {547D616E-E042-445C-86F7-92E1D5094D11}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+               {547D616E-E042-445C-86F7-92E1D5094D11}.Debug|Any CPU.Deploy.0 = 
Debug|Any CPU
+               {547D616E-E042-445C-86F7-92E1D5094D11}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+               {547D616E-E042-445C-86F7-92E1D5094D11}.Release|Any CPU.Build.0 
= Release|Any CPU
+               {547D616E-E042-445C-86F7-92E1D5094D11}.Release|Any CPU.Deploy.0 
= Release|Any CPU
+               {61F0EDA5-B65B-4109-A5BA-ECD57899DB2A}.Debug|Any CPU.ActiveCfg 
= Debug|Any CPU
+               {61F0EDA5-B65B-4109-A5BA-ECD57899DB2A}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+               {61F0EDA5-B65B-4109-A5BA-ECD57899DB2A}.Debug|Any CPU.Deploy.0 = 
Debug|Any CPU
+               {61F0EDA5-B65B-4109-A5BA-ECD57899DB2A}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+               {61F0EDA5-B65B-4109-A5BA-ECD57899DB2A}.Release|Any CPU.Build.0 
= Release|Any CPU
+               {61F0EDA5-B65B-4109-A5BA-ECD57899DB2A}.Release|Any CPU.Deploy.0 
= Release|Any CPU
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/AppManifest.xml
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/AppManifest.xml?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/AppManifest.xml
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/AppManifest.xml
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9-->
+<App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest";
+     Name="CMISSharepointApps"
+     ProductID="{98f5d2ff-81dd-4d3b-aa78-bb48406161c2}"
+     Version="1.0.0.57"
+     SharePointMinVersion="15.0.0.0"
+>
+  <Properties>
+    <Title>CMIS.Sharepoint.Apps</Title>
+    <StartPage>~appWebUrl/Pages/Default.aspx?{StandardTokens}</StartPage>
+  </Properties>
+
+  <AppPrincipal>
+    <Internal />
+  </AppPrincipal>
+
+
+</App>

Propchange: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/AppManifest.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Browser/Elements.xml
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Browser/Elements.xml?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Browser/Elements.xml
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Browser/Elements.xml
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Elements xmlns="http://schemas.microsoft.com/sharepoint/";>
+  <ClientWebPart Name="CMIS App Browser" Title="CMIS App Browser" 
Description="This component can be used to browse a CMIS 1.1 compliant 
repository using a tree folder." DefaultWidth="300" DefaultHeight="200">
+
+    <!-- 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/Browser.aspx?{StandardTokens}&amp;Url=_Url_&amp;UserName=_UserName_&amp;Password=_Password_&amp;InitialObjectID=_InitialObjectID_&amp;InitialPath=_InitialPath_&amp;AccessControlAllowOrigin=_AccessControlAllowOrigin_"
 />
+
+    <!-- Define properties in the Properties element.
+         Remember to put Property Name on the Src attribute of the Content 
element above. -->
+    <Properties>
+      <Property Name="Url" Type="string" WebBrowsable="true" 
WebDisplayName="Connection Url" WebDescription="Url to CMIS repository" 
WebCategory="CMIS Properties" DefaultValue="" 
RequiresDesignerPermission="true"/>
+      <Property Name="UserName" Type="string" WebBrowsable="true" 
WebDisplayName="Account Name" WebDescription="Account used for Connection Url" 
WebCategory="CMIS Properties" DefaultValue="" 
RequiresDesignerPermission="true"/>
+      <Property Name="Password" Type="string" WebBrowsable="true" 
WebDisplayName="Account Password" WebDescription="Password used for Connection 
Url" WebCategory="CMIS Properties" DefaultValue="" 
RequiresDesignerPermission="true"/>
+      <Property Name="InitialObjectID" Type="string" WebBrowsable="true" 
WebDisplayName="Initial Object ID" WebDescription="Initial Object ID" 
WebCategory="CMIS Properties" DefaultValue="" 
RequiresDesignerPermission="true"/>
+      <Property Name="InitialPath" Type="string" WebBrowsable="true" 
WebDisplayName="Initial Path" WebDescription="Initial Path" WebCategory="CMIS 
Properties" DefaultValue="" RequiresDesignerPermission="true"/>
+      <Property Name="AccessControlAllowOrigin" Type="string" 
WebBrowsable="true" WebDisplayName="Access Control Allow Origin" 
WebDescription="Access Control Allow Origin" WebCategory="CMIS Properties" 
DefaultValue="" RequiresDesignerPermission="true"/>
+    </Properties>
+
+  </ClientWebPart>
+</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.
+ * 
+ * Browser UI component based on the CMIS 1.1 JS Connector
+ * 
+ * Developer(s): - Ben Chevallereau ([email protected] /
+ * [email protected])
+ * 
+ * Version: 1.1 (05-09-2014)
+ * 
+ * This JS library can be used to any CMIS 1.1 compliant repository.
+ */
+        -->

Propchange: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Browser/Elements.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Browser/SharePointProjectItem.spdata
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Browser/SharePointProjectItem.spdata?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Browser/SharePointProjectItem.spdata
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Browser/SharePointProjectItem.spdata
 Fri Nov 28 08:44:28 2014
@@ -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>

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps.csproj
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps.csproj?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps.csproj
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps.csproj
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" 
xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <Import 
Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
 
Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
 />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{547D616E-E042-445C-86F7-92E1D5094D11}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>CMIS.Sharepoint.Apps</RootNamespace>
+    <AssemblyName>CMIS.Sharepoint.Apps</AssemblyName>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+    <TargetOfficeVersion>15.0</TargetOfficeVersion>
+    <FileAlignment>512</FileAlignment>
+    
<ProjectTypeGuids>{C1CDDADD-2546-481F-9697-4EA41081F2FC};{14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <IncludeAssemblyInPackage>False</IncludeAssemblyInPackage>
+    <ProjectMode>SharePointApp</ProjectMode>
+    <AppFeaturePartId>{bef5b698-8a06-4365-9c32-a182cf3cf23d}</AppFeaturePartId>
+    <WspPartId>{5e093fb4-8359-486e-93cc-6d25ed2a949b}</WspPartId>
+    <WorkflowPartId>{67d86698-3499-4b95-9eb0-d23aa078fc95}</WorkflowPartId>
+    <CspkgPartId>{e0e46a2e-0d62-4058-bcd1-42699a5659f6}</CspkgPartId>
+    <SqlPackagePartId>{aa333e4c-5a7f-4600-8e13-b8e1ca0a97e5}</SqlPackagePartId>
+    <ActivePublishProfile />
+  </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>
+  <ItemGroup>
+    <None Include="Browser\SharePointProjectItem.spdata">
+      
<SharePointProjectItemId>{1eddd1d4-e437-4fa0-b8b2-e4806a580bbd}</SharePointProjectItemId>
+    </None>
+    <None Include="Documents\SharePointProjectItem.spdata">
+      
<SharePointProjectItemId>{e3ac3bb5-7b32-4ca2-810d-62670c99c909}</SharePointProjectItemId>
+    </None>
+    <None Include="packages.config" />
+    <None Include="Pages\SharePointProjectItem.spdata">
+      
<SharePointProjectItemId>{98f5d2ff-81dd-4d3b-aa78-bb48406161c2}</SharePointProjectItemId>
+    </None>
+    <Content Include="Browser\Elements.xml">
+      <OpcRelationship>feature-elementmanifest</OpcRelationship>
+      <SubType>Designer</SubType>
+    </Content>
+    <Content Include="Documents\Elements.xml">
+      <OpcRelationship>feature-elementmanifest</OpcRelationship>
+      <SubType>Designer</SubType>
+    </Content>
+    <Content Include="Pages\Browser.aspx" />
+    <Content Include="Pages\Documents.aspx" />
+    <Content Include="Pages\Elements.xml" />
+    <Content Include="Pages\Default.aspx" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Scripts\SharePointProjectItem.spdata">
+      
<SharePointProjectItemId>{aa333e4c-5a7f-4600-8e13-b8e1ca0a97e5}</SharePointProjectItemId>
+    </None>
+    <Content Include="Scripts\Elements.xml" />
+    <Content Include="Scripts\App.js" />
+    <Content Include="Scripts\jquery-1.7.1.intellisense.js" />
+    <Content Include="Scripts\jquery-1.7.1.js" />
+    <Content Include="Scripts\jquery-1.7.1.min.js" />
+    <Content Include="Scripts\_references.js" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Content\SharePointProjectItem.spdata">
+      
<SharePointProjectItemId>{ecee7b78-abca-41d0-9e58-7946e54a89a0}</SharePointProjectItemId>
+    </None>
+    <Content Include="Content\Elements.xml" />
+    <Content Include="Content\App.css" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="Images\AppIcon.png">
+      <OpcRelationship>manifest-icon</OpcRelationship>
+    </Content>
+    <Content Include="Images\Elements.xml" />
+    <None Include="Images\SharePointProjectItem.spdata">
+      
<SharePointProjectItemId>{442842ce-bf07-4ffa-b424-01676f2685df}</SharePointProjectItemId>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Package\Package.package">
+      <PackageId>{4becbb86-2984-41a7-a397-3849c9d621b8}</PackageId>
+    </None>
+    <None Include="Package\Package.Template.xml">
+      <DependentUpon>Package.package</DependentUpon>
+    </None>
+    <None Include="Features\Components\Components.feature">
+      <FeatureId>{490c6bb3-a8fb-4710-b639-e759a006c1ad}</FeatureId>
+    </None>
+    <None Include="Features\Components\Components.Template.xml">
+      <DependentUpon>Components.feature</DependentUpon>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <AppManifestFile Include="AppManifest.xml">
+      <SubType>Designer</SubType>
+    </AppManifestFile>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <PropertyGroup>
+    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == '' or 
'$(VisualStudioVersion)' &lt; '11.0'">11.0</VisualStudioVersion>
+    <VSToolsPath Condition="'$(VSToolsPath)' == 
''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
+  </PropertyGroup>
+  <Import 
Project="$(VSToolsPath)\SharePointTools\Microsoft.VisualStudio.SharePoint.targets"
 Condition="'$(VSToolsPath)' != ''" />
+</Project>
\ No newline at end of file

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Connections/Elements.xml
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Connections/Elements.xml?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Connections/Elements.xml
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Connections/Elements.xml
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Elements xmlns="http://schemas.microsoft.com/sharepoint/";>
+  <ClientWebPart Name="Connections" Title="Connections Title" 
Description="Connections Description" DefaultWidth="300" DefaultHeight="200">
+
+    <!-- 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/Connections.aspx?{StandardTokens}" />
+
+    <!-- Define properties in the Properties element.
+         Remember to put Property Name on the Src attribute of the Content 
element above. -->
+    <Properties>
+    </Properties>
+
+  </ClientWebPart>
+</Elements>

Propchange: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Connections/Elements.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Connections/SharePointProjectItem.spdata
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Connections/SharePointProjectItem.spdata?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Connections/SharePointProjectItem.spdata
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Connections/SharePointProjectItem.spdata
 Fri Nov 28 08:44:28 2014
@@ -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>

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/App.css
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/App.css?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/App.css
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/App.css
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1 @@
+/* Place custom styles below */

Propchange: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/App.css
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/Elements.xml
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/Elements.xml?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/Elements.xml
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/Elements.xml
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Elements xmlns="http://schemas.microsoft.com/sharepoint/";>
+  <Module Name="Content">
+    <File Path="Content\App.css" Url="Content/App.css" ReplaceContent="TRUE" />
+  </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.
+ * 
+ * Browser UI component based on the CMIS 1.1 JS Connector
+ * 
+ * Developer(s): - Ben Chevallereau ([email protected] /
+ * [email protected])
+ * 
+ * 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/Content/Elements.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/SharePointProjectItem.spdata
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/SharePointProjectItem.spdata?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/SharePointProjectItem.spdata
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Content/SharePointProjectItem.spdata
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1,7 @@
+<?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="Content\" 
Type="ElementManifest" />
+    <ProjectItemFile Source="App.css" Target="Content\" Type="ElementFile" />
+  </Files>
+</ProjectItem>
\ No newline at end of file

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Documents/Elements.xml
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Documents/Elements.xml?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Documents/Elements.xml
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Documents/Elements.xml
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Elements xmlns="http://schemas.microsoft.com/sharepoint/";>
+  <ClientWebPart Name="CMIS App Documents" Title="CMIS App Documents" 
Description="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." DefaultWidth="300" DefaultHeight="200">
+
+    <!-- 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/Documents.aspx?{StandardTokens}&amp;Url=_Url_&amp;UserName=_UserName_&amp;Password=_Password_&amp;InitialObjectID=_InitialObjectID_&amp;InitialPath=_InitialPath_&amp;InitialQuery=_InitialQuery_&amp;InitialMaxItems=_InitialMaxItems_&amp;OnlyCheckedOutDocuments=_OnlyCheckedOutDocuments_&amp;AccessControlAllowOrigin=_AccessControlAllowOrigin_"
 />
+
+    <!-- Define properties in the Properties element.
+         Remember to put Property Name on the Src attribute of the Content 
element above. -->
+    <Properties>
+      <Property Name="Url" Type="string" WebBrowsable="true" 
WebDisplayName="Connection Url" WebDescription="Url to CMIS repository" 
WebCategory="CMIS Properties" DefaultValue="" 
RequiresDesignerPermission="true"/>
+      <Property Name="UserName" Type="string" WebBrowsable="true" 
WebDisplayName="Account Name" WebDescription="Account used for Connection Url" 
WebCategory="CMIS Properties" DefaultValue="" 
RequiresDesignerPermission="true"/>
+      <Property Name="Password" Type="string" WebBrowsable="true" 
WebDisplayName="Account Password" WebDescription="Password used for Connection 
Url" WebCategory="CMIS Properties" DefaultValue="" 
RequiresDesignerPermission="true"/>
+      <Property Name="InitialObjectID" Type="string" WebBrowsable="true" 
WebDisplayName="Initial Object ID" WebDescription="Initial Object ID" 
WebCategory="CMIS Properties" DefaultValue="" 
RequiresDesignerPermission="true"/>
+      <Property Name="InitialPath" Type="string" WebBrowsable="true" 
WebDisplayName="Initial Path" WebDescription="Initial Path" WebCategory="CMIS 
Properties" DefaultValue="" RequiresDesignerPermission="true"/>
+      <Property Name="InitialQuery" Type="string" WebBrowsable="true" 
WebDisplayName="Initial Query" WebDescription="Initial Query" WebCategory="CMIS 
Properties" DefaultValue="" RequiresDesignerPermission="true"/>
+      <Property Name="InitialMaxItems" Type="string" WebBrowsable="true" 
WebDisplayName="Initial Max Items" WebDescription="Initial Max Items" 
WebCategory="CMIS Properties" DefaultValue="" 
RequiresDesignerPermission="true"/>
+      <Property Name="OnlyCheckedOutDocuments" Type="boolean" 
WebBrowsable="true" WebDisplayName="Only Checked Out Documents" 
WebDescription="Only Checked Out Documents" WebCategory="CMIS Properties" 
DefaultValue="false" RequiresDesignerPermission="true"/>
+      <Property Name="AccessControlAllowOrigin" Type="string" 
WebBrowsable="true" WebDisplayName="Access Control Allow Origin" 
WebDescription="Access Control Allow Origin" WebCategory="CMIS Properties" 
DefaultValue="" RequiresDesignerPermission="true"/>
+    </Properties>
+
+  </ClientWebPart>
+</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.
+ * 
+ * Browser UI component based on the CMIS 1.1 JS Connector
+ * 
+ * Developer(s): - Ben Chevallereau ([email protected] /
+ * [email protected])
+ * 
+ * Version: 1.1 (05-09-2014)
+ * 
+ * This JS library can be used to any CMIS 1.1 compliant repository.
+ */
+        -->

Propchange: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Documents/Elements.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Documents/SharePointProjectItem.spdata
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Documents/SharePointProjectItem.spdata?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Documents/SharePointProjectItem.spdata
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Documents/SharePointProjectItem.spdata
 Fri Nov 28 08:44:28 2014
@@ -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>

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Features/Components/Components.Template.xml
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Features/Components/Components.Template.xml?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Features/Components/Components.Template.xml
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/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.Apps/CMIS.Sharepoint.Apps/Features/Components/Components.Template.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Features/Components/Components.feature
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Features/Components/Components.feature?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Features/Components/Components.feature
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/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="490c6bb3-a8fb-4710-b639-e759a006c1ad" 
description="Provisions SharePoint Apps that support CMIS integration" 
featureId="490c6bb3-a8fb-4710-b639-e759a006c1ad" imageUrl="" 
solutionId="00000000-0000-0000-0000-000000000000" title="CMIS.Sharepoint.Apps 
Components" version="" 
deploymentPath="$SharePoint.Project.FileNameWithoutExtension$_$SharePoint.Feature.FileNameWithoutExtension$"
 
xmlns="http://schemas.microsoft.com/VisualStudio/2008/SharePointTools/FeatureModel";>
+  <projectItems>
+    <projectItemReference itemId="98f5d2ff-81dd-4d3b-aa78-bb48406161c2" />
+    <projectItemReference itemId="aa333e4c-5a7f-4600-8e13-b8e1ca0a97e5" />
+    <projectItemReference itemId="ecee7b78-abca-41d0-9e58-7946e54a89a0" />
+    <projectItemReference itemId="442842ce-bf07-4ffa-b424-01676f2685df" />
+    <projectItemReference itemId="6ac6f985-0ce9-4db4-bf32-dd73de7357e8" 
projectPath="..\..\CMIS.Sharepoint.SiteAssets\CMIS.Sharepoint.SiteAssets.csproj"
 />
+  </projectItems>
+</feature>
\ No newline at end of file

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/AppIcon.png
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/AppIcon.png?rev=1642272&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/AppIcon.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/Elements.xml
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/Elements.xml?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/Elements.xml
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/Elements.xml
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Elements xmlns="http://schemas.microsoft.com/sharepoint/";>
+  <Module Name="Images">
+    <File Path="Images\AppIcon.png" Url="Images/AppIcon.png" 
ReplaceContent="TRUE" />
+  </Module>
+</Elements>
\ No newline at end of file

Propchange: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/Elements.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/SharePointProjectItem.spdata
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/SharePointProjectItem.spdata?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/SharePointProjectItem.spdata
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Images/SharePointProjectItem.spdata
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1,7 @@
+<?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="Images\" 
Type="ElementManifest" />
+    <ProjectItemFile Source="AppIcon.png" Target="Images\" Type="ElementFile" 
/>
+  </Files>
+</ProjectItem>

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Package/Package.Template.xml
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Package/Package.Template.xml?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Package/Package.Template.xml
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/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.Apps/CMIS.Sharepoint.Apps/Package/Package.Template.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Package/Package.package
URL: 
http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Package/Package.package?rev=1642272&view=auto
==============================================================================
--- 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Package/Package.package
 (added)
+++ 
chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint.Apps/CMIS.Sharepoint.Apps/Package/Package.package
 Fri Nov 28 08:44:28 2014
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<package dslVersion="1.0.0.0" 
+        Id="4becbb86-2984-41a7-a397-3849c9d621b8" 
+        solutionId="4becbb86-2984-41a7-a397-3849c9d621b8" 
+        
xmlns="http://schemas.microsoft.com/VisualStudio/2008/SharePointTools/PackageModel";
 
+        name="CMIS.Sharepoint.Apps"
+        sharePointProductVersion="15.0">
+  <features>
+        <featureReference itemId="490c6bb3-a8fb-4710-b639-e759a006c1ad" />
+  </features>
+</package>
\ No newline at end of file


Reply via email to