You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2010/06/25 16:10:53 UTC
svn commit: r957955 - in /couchdb/branches/0.11.x/share/www:
couch_tests.html dialog/_share_test_reports.html style/layout.css
Author: jan
Date: Fri Jun 25 14:10:53 2010
New Revision: 957955
URL: http://svn.apache.org/viewvc?rev=957955&view=rev
Log:
Merge r952326 from trunk:
button on test suite page to replicate test_suite_reports to community couchdb
Added:
couchdb/branches/0.11.x/share/www/dialog/_share_test_reports.html
Modified:
couchdb/branches/0.11.x/share/www/couch_tests.html
couchdb/branches/0.11.x/share/www/style/layout.css
Modified: couchdb/branches/0.11.x/share/www/couch_tests.html
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/share/www/couch_tests.html?rev=957955&r1=957954&r2=957955&view=diff
==============================================================================
--- couchdb/branches/0.11.x/share/www/couch_tests.html [utf-8] (original)
+++ couchdb/branches/0.11.x/share/www/couch_tests.html [utf-8] Fri Jun 25 14:10:53 2010
@@ -35,6 +35,14 @@ specific language governing permissions
$("#toolbar button.load").click(function() {
location.reload(true);
});
+ $("#toolbar button.share").click(function() {
+ $.showDialog("dialog/_share_test_reports.html", {
+ submit: function(data, callback) {
+ $.couch.replicate("test_suite_reports", "http://couchdb.couchdb.org/test_suite_reports");
+ callback();
+ }
+ });
+ });
$("#toolbar button.add").click(function() {
location = "custom_test.html";
});
@@ -52,6 +60,7 @@ specific language governing permissions
<ul id="toolbar">
<li><button class="run">Run All</button></li>
<li><button class="load">Reload</button></li>
+ <li><button class="share">Share Test Reports</button></li>
<li><button class="add">Custom Test</button></li>
</ul>
<p class="help">
Added: couchdb/branches/0.11.x/share/www/dialog/_share_test_reports.html
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/share/www/dialog/_share_test_reports.html?rev=957955&view=auto
==============================================================================
--- couchdb/branches/0.11.x/share/www/dialog/_share_test_reports.html (added)
+++ couchdb/branches/0.11.x/share/www/dialog/_share_test_reports.html Fri Jun 25 14:10:53 2010
@@ -0,0 +1,42 @@
+<!--
+
+Licensed 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.
+
+-->
+<form action="" method="post">
+ <h2>Share Test Reports</h2>
+ <fieldset>
+ <p class="help">
+ After each test run, a results summary document is stored in
+ <a href="/_utils/database.html?test_suite_reports">your local
+ <tt>test_suite_reports</tt> database.</a> The data has no personally
+ identifying information, just details about the test run and your CouchDB
+ and browser versions. (Click the red link above to see what's stored.)
+ The data remains private until you click the "share" button below.
+ </p>
+ <p class="help">
+ Test reports are very valuable to the CouchDB community, and are easy to share.
+ Clicking the "share" button below triggers replication from
+ your local <tt>test_suite_reports</tt> database, to a database hosted by the
+ project.
+ </p>
+ <p class="help">
+ <a href="http://couchdb.couchdb.org/_utils/database.html?test_suite_reports">
+ Browse test reports shared by other users.</a>
+ Thank you for sharing!
+ </p>
+ </fieldset>
+ <div class="buttons">
+ <button type="submit">Share</button>
+ <button type="button" class="cancel">Cancel</button>
+ </div>
+</form>
Modified: couchdb/branches/0.11.x/share/www/style/layout.css
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/share/www/style/layout.css?rev=957955&r1=957954&r2=957955&view=diff
==============================================================================
--- couchdb/branches/0.11.x/share/www/style/layout.css (original)
+++ couchdb/branches/0.11.x/share/www/style/layout.css Fri Jun 25 14:10:53 2010
@@ -242,6 +242,7 @@ body.fullwidth #wrap { margin-right: 0;
#toolbar button.load { background-image: url(../image/load.png); }
#toolbar button.run { background-image: url(../image/run.png); }
#toolbar button.save { background-image: url(../image/save.png); }
+#toolbar button.share { background-image: url(../image/compact.png); }
/* Dialogs */