You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/02/09 21:00:19 UTC
[18/57] [abbrv] couchdb commit: updated
refs/heads/developer-preview-2.0 to 849b334
Goodbye Futon, old friend <3
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/78f367cf
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/78f367cf
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/78f367cf
Branch: refs/heads/developer-preview-2.0
Commit: 78f367cfaf4c8dccdab60535f01833181a462a7f
Parents: 6a4893a
Author: Jan Lehnardt <ja...@apache.org>
Authored: Fri Oct 10 20:46:33 2014 +0200
Committer: Alexander Shorin <kx...@apache.org>
Committed: Wed Dec 10 14:07:01 2014 +0300
----------------------------------------------------------------------
share/www/_sidebar.html | 67 -
share/www/config.html | 135 -
share/www/couch_tests.html | 98 -
share/www/custom_test.html | 112 -
share/www/database.html | 270 -
share/www/dialog/_admin_party.html | 33 -
share/www/dialog/_change_password.html | 31 -
share/www/dialog/_compact_cleanup.html | 51 -
share/www/dialog/_create_admin.html | 50 -
share/www/dialog/_create_config.html | 42 -
share/www/dialog/_create_database.html | 33 -
share/www/dialog/_database_security.html | 50 -
share/www/dialog/_delete_database.html | 29 -
share/www/dialog/_delete_document.html | 26 -
share/www/dialog/_login.html | 34 -
share/www/dialog/_save_view_as.html | 35 -
share/www/dialog/_share_test_reports.html | 42 -
share/www/dialog/_signup.html | 35 -
share/www/dialog/_upload_attachment.html | 36 -
share/www/document.html | 114 -
share/www/fauxton/css/index.css | 37 -
share/www/fauxton/img/FontAwesome.otf | Bin 61896 -> 0 bytes
share/www/fauxton/img/couchdb-site.png | Bin 4946 -> 0 bytes
share/www/fauxton/img/couchdblogo.png | Bin 2738 -> 0 bytes
share/www/fauxton/img/fontawesome-webfont.eot | Bin 37405 -> 0 bytes
share/www/fauxton/img/fontawesome-webfont.svg | 399 -
share/www/fauxton/img/fontawesome-webfont.ttf | Bin 79076 -> 0 bytes
share/www/fauxton/img/fontawesome-webfont.woff | Bin 43572 -> 0 bytes
share/www/fauxton/img/fontcustom_fauxton.eot | Bin 7364 -> 0 bytes
share/www/fauxton/img/fontcustom_fauxton.svg | 200 -
share/www/fauxton/img/fontcustom_fauxton.ttf | Bin 9636 -> 0 bytes
share/www/fauxton/img/fontcustom_fauxton.woff | Bin 4816 -> 0 bytes
.../fauxton/img/glyphicons-halflings-white.png | Bin 8777 -> 0 bytes
share/www/fauxton/img/glyphicons-halflings.png | Bin 13826 -> 0 bytes
share/www/fauxton/img/linen.png | Bin 87134 -> 0 bytes
share/www/fauxton/img/loader.gif | Bin 5193 -> 0 bytes
share/www/fauxton/img/minilogo.png | Bin 2927 -> 0 bytes
share/www/fauxton/index.html | 45 -
share/www/fauxton/js/ace/mode-javascript.js | 886 --
share/www/fauxton/js/ace/mode-json.js | 578 -
.../www/fauxton/js/ace/theme-crimson_editor.js | 148 -
share/www/fauxton/js/ace/worker-javascript.js | 10088 -----------------
share/www/fauxton/js/ace/worker-json.js | 2271 ----
share/www/fauxton/js/require.js | 35 -
share/www/favicon.ico | Bin 1406 -> 0 bytes
share/www/image/add.png | Bin 709 -> 0 bytes
share/www/image/apply.gif | Bin 652 -> 0 bytes
share/www/image/bg.png | Bin 372 -> 0 bytes
share/www/image/cancel.gif | Bin 659 -> 0 bytes
share/www/image/compact.png | Bin 28735 -> 0 bytes
share/www/image/delete-mini.png | Bin 418 -> 0 bytes
share/www/image/delete.png | Bin 718 -> 0 bytes
share/www/image/grippie.gif | Bin 75 -> 0 bytes
share/www/image/hgrad.gif | Bin 118 -> 0 bytes
share/www/image/key.png | Bin 859 -> 0 bytes
share/www/image/load.png | Bin 780 -> 0 bytes
share/www/image/logo.png | Bin 3010 -> 0 bytes
share/www/image/order-asc.gif | Bin 195 -> 0 bytes
share/www/image/order-desc.gif | Bin 187 -> 0 bytes
share/www/image/path.gif | Bin 104 -> 0 bytes
share/www/image/progress.gif | Bin 10819 -> 0 bytes
share/www/image/rarrow.png | Bin 27721 -> 0 bytes
share/www/image/run-mini.png | Bin 478 -> 0 bytes
share/www/image/run.png | Bin 718 -> 0 bytes
share/www/image/running.png | Bin 284 -> 0 bytes
share/www/image/save.png | Bin 843 -> 0 bytes
share/www/image/sidebar-toggle.png | Bin 512 -> 0 bytes
share/www/image/spinner.gif | Bin 3008 -> 0 bytes
share/www/image/spinner_33.gif | Bin 2987 -> 0 bytes
share/www/image/spinner_6b.gif | Bin 2969 -> 0 bytes
share/www/image/test_failure.gif | Bin 114 -> 0 bytes
share/www/image/test_success.gif | Bin 185 -> 0 bytes
share/www/image/thead-key.gif | Bin 77 -> 0 bytes
share/www/image/thead.gif | Bin 51 -> 0 bytes
share/www/image/toggle-collapse.gif | Bin 176 -> 0 bytes
share/www/image/toggle-expand.gif | Bin 181 -> 0 bytes
share/www/image/twisty.gif | Bin 160 -> 0 bytes
share/www/index.html | 94 -
share/www/plugins.html | 121 -
share/www/replicator.html | 184 -
share/www/script/base64.js | 124 -
share/www/script/couch.js | 520 -
share/www/script/couch_test_runner.js | 465 -
share/www/script/couch_tests.js | 114 -
share/www/script/futon.browse.js | 1344 ---
share/www/script/futon.format.js | 146 -
share/www/script/futon.js | 597 -
share/www/script/jquery-ui-1.8.11.custom.min.js | 81 -
share/www/script/jquery.couch.js | 1079 --
share/www/script/jquery.dialog.js | 96 -
share/www/script/jquery.editinline.js | 114 -
share/www/script/jquery.form.js | 803 --
share/www/script/jquery.js | 9472 ----------------
share/www/script/jquery.resizer.js | 84 -
share/www/script/jquery.suggest.js | 161 -
share/www/script/json2.js | 482 -
share/www/script/jspec/jspec.css | 149 -
share/www/script/jspec/jspec.jquery.js | 72 -
share/www/script/jspec/jspec.js | 1756 ---
share/www/script/jspec/jspec.xhr.js | 195 -
share/www/script/oauth.js | 511 -
share/www/script/replicator_db_inc.js | 96 -
share/www/script/sha1.js | 202 -
share/www/session.html | 96 -
share/www/spec/couch_js_class_methods_spec.js | 401 -
.../spec/couch_js_instance_methods_1_spec.js | 311 -
.../spec/couch_js_instance_methods_2_spec.js | 246 -
.../spec/couch_js_instance_methods_3_spec.js | 215 -
share/www/spec/custom_helpers.js | 51 -
.../spec/jquery_couch_js_class_methods_spec.js | 523 -
.../jquery_couch_js_instance_methods_1_spec.js | 202 -
.../jquery_couch_js_instance_methods_2_spec.js | 433 -
.../jquery_couch_js_instance_methods_3_spec.js | 540 -
share/www/spec/run.html | 47 -
share/www/status.html | 152 -
share/www/style/jquery-ui-1.8.11.custom.css | 347 -
share/www/style/layout.css | 626 -
share/www/verify_install.html | 119 -
118 files changed, 39381 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/_sidebar.html
----------------------------------------------------------------------
diff --git a/share/www/_sidebar.html b/share/www/_sidebar.html
deleted file mode 100644
index 7ef3513..0000000
--- a/share/www/_sidebar.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<!--
-
-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.
-
--->
-<div id="sidebar">
- <a id="sidebar-toggle" href="#" title="Hide Sidebar"></a>
- <a href="index.html">
- <img id="logo" src="image/logo.png" width="175" height="150" alt="Apache CouchDB: Relax">
- </a>
- <ul id="nav">
- <li><span>Tools</span><ul>
- <li><a href="index.html">Overview</a></li>
- <li><a href="config.html">Configuration</a></li>
- <li><a href="replicator.html">Replicator</a></li>
- <li><a href="status.html">Status</a></li>
- <!-- <li><a href="plugins.html">Plugins</a></li> -->
- </ul></li>
- <li><span>Documentation</span><ul>
- <li><a href="docs/">Manual</a></li>
- </ul></li>
- <li><span>Diagnostics</span><ul>
- <li><a href="verify_install.html">Verify Installation</a></li>
- <!-- These tests are run during installation, so this link is disabled by default. -->
- <!-- <li><a href="couch_tests.html?script/couch_tests.js">Test Suite</a></li> -->
- </ul></li>
- <li><span>Recent Databases</span>
- <ul id="dbs"></ul>
- </li>
- </ul>
- <div id="footer">
- <span id="userCtx">
- <span class="loggedout">
- <a href="#" class="signup">Signup</a> or <a href="#" class="login">Login</a>
- </span>
- <span class="loggedin">
- Welcome <a class="name">?</a>!
- <br/>
- <span class="loggedinadmin">
- <a href="#" class="createadmin">Setup more admins</a> or
- <br/>
- </span>
- <a href="#" class="changepass">Change password</a> or
- <a href="#" class="logout">Logout</a>
- </span>
- <span class="adminparty">
- Welcome to Admin Party!
- <br/>
- Everyone is admin. <a href="#" class="createadmin">Fix this</a>
- </span>
- </span>
- <hr/>
- <span class="couch">
- Futon on <a href="http://couchdb.apache.org/">Apache CouchDB</a>
- <span id="version">?</span>
- </span>
- </div>
-</div>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/config.html
----------------------------------------------------------------------
diff --git a/share/www/config.html b/share/www/config.html
deleted file mode 100644
index cfb1a5b..0000000
--- a/share/www/config.html
+++ /dev/null
@@ -1,135 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-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.
-
--->
-<html lang="en">
- <head>
- <title>Configuration</title>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link rel="stylesheet" href="style/layout.css?0.11.0" type="text/css">
- <script src="script/json2.js"></script>
- <script src="script/sha1.js"></script>
- <script src="script/jquery.js"></script>
- <script src="script/jquery.couch.js"></script>
- <script src="script/jquery.dialog.js"></script>
- <script src="script/futon.js"></script>
- <script src="script/jquery.editinline.js"></script>
- <script>
- $(function() {
- $.couch.config({
- success: function(resp) {
- var sections = [];
- for (var sectionName in resp) {
- sections.push(sectionName);
- }
- sections.sort();
- $.each(sections, function(idx, sectionName) {
- var row = $("<tr><th></th></tr>")
- .find("th").text(sectionName).end()
- .appendTo("#config tbody.content");
- var section = resp[sectionName]
- var options = [];
- for (var option in section) {
- options.push(option);
- }
- options = options.sort();
- var prev = null;
- $.each(options, function(idx, optionName) {
- var cur = idx == 0 ? row : $("<tr></tr>");
- $("<td class='name' section="+sectionName+"><b></b></td>")
- .find("b").text(optionName).end().appendTo(cur);
- $("<td class='value'><code></code></td>")
- .find("code").text(section[optionName]).end().appendTo(cur);
- cur.data("section", sectionName).data("option", optionName);
- if (cur !== row) cur.insertAfter(prev);
- prev = cur;
- });
- row.find("th").attr("rowspan", options.length);
- });
- $("#config tbody tr").removeClass("odd").filter(":odd").addClass("odd");
- $("#config tbody td.value code").makeEditable({
- accept: function(newValue) {
- var row = $(this).parents("tr").eq(0);
- $.couch.config({
- success: function(resp) {
- row.find("td.value code").text(newValue);
- }}, row.data("section"), row.data("option"), newValue);
- }
- }).parent().parent()
- .append($('<td><div style="text-align:center;""><a class="remove" href="#remove">x</a></div></td>'))
- .click(function (ev) {
- // There is a listener that stops all events below this element which is
- // why the remove link listener has to be here
- var n = $(ev.target).parent().parent().parent();
- if ($(ev.target).attr('href') === "#remove" ) {
- $.couch.config({ success: function () {location = location.href.split('#')[0];} }
- , n.find('td.name').attr("section"), n.find('td.name').text(), null);
- }
- })
- var add = $('<a href="#add">Add a new section</a>').click(function () {
- $.showDialog("dialog/_create_config.html", {
- submit: function(data, callback) {
- var fail = false;
- if (!data.section || data.section.length == 0) {
- callback({section: "Please enter a section."});
- fail = true;
- }
- if (!data.option || data.option.length == 0) {
- callback({option: "Please enter a option."});
- fail = true;
- }
- if (!data.val || data.val.length == 0) {
- callback({val: "Please enter a value."});
- fail = true;
- }
- if (fail) {return}
- $.couch.config({ success: function () {callback();location = location.href.split('#')[0]} }
- , data.section, data.option, data.val);
- }
- });
- })
- $("div#content").append(add)
- }
- });
-
- });
- </script>
- </head>
- <body><div id="wrap">
- <h1>
- <a href="index.html">Overview</a>
- <strong>Configuration</strong>
- </h1>
- <div id="content">
- <p class="help">
- <strong>Note:</strong> Some configuration options may require
- restarting the server to take effect after modification.
- </p>
- <p class="help">
- For the strongest consistency guarantees, <tt>delayed_commits</tt> should be set to <tt>false</tt>. The default value of <tt>true</tt> is designed for single-user performance. For more details see <a href="http://wiki.apache.org/couchdb/Durability_Matrix">a discussion of durability on the CouchDB wiki</a>.
- </p>
- <table id="config" class="listing" cellspacing="0">
- <caption>Configuration</caption>
- <thead><tr>
- <th>Section</th>
- <th>Option</th>
- <th>Value</th>
- <th>Delete</th>
- </tr></thead>
- <tbody class="content"></tbody>
- </table>
-
- </div>
- </div></body>
-</html>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/couch_tests.html
----------------------------------------------------------------------
diff --git a/share/www/couch_tests.html b/share/www/couch_tests.html
deleted file mode 100644
index 8f47ce3..0000000
--- a/share/www/couch_tests.html
+++ /dev/null
@@ -1,98 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-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.
-
--->
-<html lang="en">
- <head>
- <title>Test Suite</title>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link rel="stylesheet" href="style/layout.css?0.11.0" type="text/css">
- <script src="script/json2.js"></script>
- <script src="script/sha1.js"></script>
- <script src="script/jquery.js"></script>
- <script src="script/jquery.couch.js"></script>
- <script src="script/jquery.dialog.js"></script>
- <script src="script/futon.js"></script>
- <script src="script/couch.js"></script>
- <script src="script/couch_test_runner.js"></script>
- <script>
- $(function() {
- updateTestsListing();
- $("#toolbar button.run").click(function() {
- setupAdminParty(runAllTests) ;
- });
- $("#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";
- });
- });
- var testsPath = document.location.toString().split('?')[1];
- loadScript(testsPath||"script/couch_tests.js");
- </script>
- </head>
- <body><div id="wrap">
- <h1>
- <a href="index.html">Overview</a>
- <strong>Test Suite</strong>
- </h1>
- <div id="content">
- <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>
- <li class="current"></li>
- </ul>
- <p class="help">
- <strong>Note:</strong> Each of the tests will block the browser. If the
- connection to your CouchDB server is slow, running the tests will take
- some time, and you'll not be able to do much with your browser while
- a test is being executed. <strong>Also:</strong> The test suite is designed
- to work with Firefox (with Firebug disabled). Patches are welcome for
- convenience compatibility with other browsers, but official support is
- for Firefox (latest stable version) only.
- </p>
-
- <table class="listing" id="tests" cellspacing="0">
- <caption>Tests</caption>
- <thead>
- <tr>
- <th class="name">Name</th>
- <th class="status">Status</th>
- <th class="duration">Elapsed Time</th>
- <th class="details">Details</th>
- </tr>
- </thead>
- <tbody class="content">
- </tbody>
- <tbody class="footer">
- <tr>
- <td colspan="4"></td>
- </tr>
- </tbody>
- </table>
-
- </div>
- </div></body>
-</html>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/custom_test.html
----------------------------------------------------------------------
diff --git a/share/www/custom_test.html b/share/www/custom_test.html
deleted file mode 100644
index 155b185..0000000
--- a/share/www/custom_test.html
+++ /dev/null
@@ -1,112 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-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.
-
--->
-<html lang="en">
- <head>
- <title>Custom Test</title>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link rel="stylesheet" href="style/layout.css?0.11.0" type="text/css">
- <script src="script/json2.js"></script>
- <script src="script/sha1.js"></script>
- <script src="script/jquery.js"></script>
- <script src="script/jquery.couch.js"></script>
- <script src="script/jquery.dialog.js"></script>
- <script src="script/futon.js"></script>
- <script src="script/jquery.resizer.js"></script>
- <script src="script/couch.js"></script>
- <script src="script/couch_test_runner.js"></script>
- <script src="script/couch_tests.js"></script>
- <script>
- function T(arg, desc) {
- if(!arg) {
- mesg = "Assertion failed" + (desc ? ": " + desc : "");
- throw new Error(mesg);
- }
- }
-
- function TEquals(expect, found, descr) {
- var mesg = "expected '" + expect + "', got '" + found + "' " + descr;
- T(expect === found, mesg);
- }
-
- $.futon.navigation.ready(function() {
- this.updateSelection(
- location.pathname.replace(/custom_test\.html/, "couch_tests.html"),
- "?script/couch_tests.js");
- });
-
- $(function() {
- $("#status").removeClass("failure").removeClass("success");
- $("#viewcode textarea").enableTabInsertion().makeResizable({
- always: true,
- grippie: $("#viewcode .bottom"),
- vertical: true
- });
- $("#viewcode button.run").click(function() {
- $("#status").removeClass("failure").removeClass("success");
- var code = $("#code").val();
- try {
- var couchTests = {};
- var debug = false;
- code = eval(code);
- $.each(couchTests, function(elm) {
- couchTests[elm](debug);
- });
- } catch(e) {
- alert("" + e);
- $("#status").text("failure").addClass("failure");
- return false;
- }
- $("#status").text("success").addClass("success");
- return false;
- });
- });
- </script>
- </head>
- <body><div id="wrap">
- <h1>
- <a href="index.html">Overview</a>
- <a class="dbname" href="couch_tests.html">Test Suite</a>
- <strong>Custom Test</strong>
- </h1>
-
- <div id="content">
- <div id="viewcode">
- <div class="top">
- <span>Test Function</span>
- </div>
- <table summary="Custom Test Function" cellspacing="0"><tr>
- <td class="code">
- <textarea name="code" id="code" rows="18" cols="120">
-couchTests.custom_test = function(debug) {
- var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
- db.deleteDb();
- db.createDb();
-
- if (debug) debugger;
-
- alert("You can start writing your test now.");
-};
-</textarea>
- </td>
- </tr></table>
- <div class="bottom">
- <button class="run" type="button">Run</button>
- <span id="status"> </span>
- </div>
- </div>
- </div>
- </div></body>
-</html>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/database.html
----------------------------------------------------------------------
diff --git a/share/www/database.html b/share/www/database.html
deleted file mode 100644
index c64f749..0000000
--- a/share/www/database.html
+++ /dev/null
@@ -1,270 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-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.
-
--->
-<html lang="en">
- <head>
- <title>Browse Database</title>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link rel="stylesheet" href="style/layout.css" type="text/css">
- <script src="script/json2.js"></script>
- <script src="script/sha1.js"></script>
- <script src="script/jquery.js"></script>
- <script src="script/jquery.couch.js"></script>
- <script src="script/jquery.dialog.js"></script>
- <script src="script/futon.js"></script>
- <script src="script/jquery.resizer.js"></script>
- <script src="script/jquery.suggest.js"></script>
- <script src="script/futon.browse.js"></script>
- <script src="script/futon.format.js"></script>
- <script>
- var page = new $.futon.CouchDatabasePage();
- $.futon.navigation.ready(function() {
- this.addDatabase(page.db.name);
- this.updateSelection(location.pathname, "?" + page.db.name);
- });
-
- $(function() {
- if (page.redirecting) return;
- $("h1 strong").text(page.db.name);
- var viewPath = page.viewName || "_all_docs";
- if (viewPath != "_temp_view" && viewPath != "_design_docs") {
- viewPath = $.map(viewPath.split("/"), function (part) {
- return encodeURIComponent(part);
- }).join("/");
-
- $("h1 a.raw").attr("href", "/" + encodeURIComponent(page.db.name) +
- "/" + viewPath);
- }
-
- $("#viewcode span").click(function() {
- $("#viewcode").toggleClass("collapsed");
- });
- $("#viewcode button.run").click(function() {
- page.updateDocumentListing();
- });
- $("#viewcode button.revert").click(function() {
- page.revertViewChanges();
- });
- $("#viewcode button.save").click(function() {
- page.saveViewChanges();
- });
- $("#viewcode button.saveas").click(function() {
- page.saveViewAs();
- });
- $("#viewcode textarea").makeResizable({
- always: true,
- grippie: $("#viewcode .bottom"),
- vertical: true
- });
- $("#viewcode td.map").makeResizable({
- always: true,
- grippie: $("#viewcode td.splitter"),
- horizontal: true
- });
-
- // Restore preferences/state
- $("#documents thead th.key").toggleClass("desc", !!$.futon.storage.get("desc"));
- var reduce = !!$.futon.storage.get("reduce");
- $("#reduce :checkbox")[0].checked = reduce;
- $("#grouplevel select").val(parseInt($.futon.storage.get("group_level")));
- $("#grouplevel").toggleClass("disabled", !reduce).find("select").each(function() {
- this.disabled = !reduce;
- });
-
- $("#perpage").val(parseInt($.futon.storage.get("per_page")));
-
- var staleViews = !!$.futon.storage.get("stale");
- $("#staleviews :checkbox")[0].checked = staleViews;
-
- page.populateViewsMenu();
- page.populateViewEditor();
- if (page.isTempView) {
- $("#viewcode").show().removeClass("collapsed").find("textarea")[0].focus();
- $("#documents").hide();
- }
-
- $("#switch select").change(function() {
- var viewName = $(this).val();
- if (!viewName) $.futon.storage.del("view");
- location.href = "?" + encodeURIComponent(page.db.name) +
- (viewName ? "/" + viewName : "");
- });
- $("#staleviews :checkbox").click(function() {
- $.futon.storage.set("stale", this.checked);
- });
- $("#documents thead th.key span").click(function() {
- $(this).closest("th").toggleClass("desc");
- page.updateDocumentListing();
- });
- $("#grouplevel select").change(function() {
- page.updateDocumentListing();
- $.futon.storage.set("group_level", this.value);
- });
- $("#reduce :checkbox").click(function() {
- page.updateDocumentListing();
- var cb = this;
- $("#grouplevel").toggleClass("disabled", !cb.checked).find("select").each(function() {
- this.disabled = !cb.checked;
- });
- $.futon.storage.set("reduce", this.checked);
- });
- $("#perpage").change(function() {
- page.updateDocumentListing();
- $.futon.storage.set("per_page", this.value);
- });
- $("#toolbar button.add").click(page.newDocument);
- $("#toolbar button.compact").click(page.compactAndCleanup);
- $("#toolbar button.delete").click(page.deleteDatabase);
- $("#toolbar button.security").click(page.databaseSecurity);
-
- $('#jumpto input').suggest(function(text, callback) {
- page.db.allDocs({
- limit: 10, startkey: text, endkey: text + 'zzz',
- success: function(docs) {
- var matches = [];
- for (var i = 0; i < docs.rows.length; i++) {
- if (docs.rows[i].id.indexOf(text) == 0) {
- matches[i] = docs.rows[i].id;
- }
- }
- callback(matches);
- }
- });
- }).keypress(function(e) {
- if (e.keyCode == 13) {
- page.jumpToDocument($(this).val());
- }
- });
- });
- </script>
- </head>
-
- <body><div id="wrap">
- <h1>
- <a href="index.html">Overview</a>
- <strong>?</strong>
- <a class="raw" title="Raw view"></a>
- </h1>
- <div id="content">
- <div id="staleviews">
- <label>Stale views
- <input name="staleviews" type="checkbox" />
- </label>
- </div>
- <div id="switch">
- <label>View: <select autocomplete="false">
- <option value="_all_docs">All documents</option>
- <option value="_design_docs">Design documents</option>
- <option value="_temp_view">Temporary view…</option>
- </select></label>
- </div>
- <div id="jumpto">
- <label>Jump to:
- <input type="text" name="docid" placeholder="Document ID" autocomplete="off" />
- </label>
- </div>
- <ul id="toolbar">
- <li><button class="add">New Document</button></li>
- <li><button class="security userAdmin serverAdmin">Security…</button></li>
- <li><button class="compact">Compact & Cleanup…</button></li>
- <li><button class="delete serverAdmin">Delete Database…</button></li>
- </ul>
-
- <div id="viewcode" class="collapsed" style="display: none">
- <div class="top">
- <a id="designdoc-link"></a>
- <span id="view-toggle">View Code</span>
- </div>
- <table summary="View functions" cellspacing="0"><tr>
- <td class="code map">
- <label for="viewcode_map">Map Function:</label>
- <textarea id="viewcode_map" class="map" rows="5" cols="20" spellcheck="false" wrap="off"></textarea>
- </td>
- <td class="splitter"></td>
- <td class="code reduce">
- <label for="viewcode_reduce">Reduce Function (optional):</label>
- <textarea id="viewcode_reduce" class="reduce" rows="5" cols="20" spellcheck="false" wrap="off"></textarea>
- </td>
- </tr></table>
- <div class="bottom">
- <button class="save" type="button" disabled>Save</button>
- <button class="saveas" type="button">Save As…</button>
- <button class="revert" type="button" disabled>Revert</button>
- <button class="run" type="button">Run</button>
- <label>Language: <select id="language"></select></label>
- </div>
- </div>
- <p id="tempwarn">
- <strong>Warning</strong>: Please note that temporary views are not
- suitable for use in production, as they are really slow for any
- database with more than a few dozen documents. You can use a temporary
- view to experiment with view functions, but switch to a permanent view
- before using them in an application.
- </p>
-
- <table id="documents" class="listing" cellspacing="0">
- <caption>Documents</caption>
- <thead>
- <tr>
- <th class="key">
- <label id="grouplevel">
- Grouping: <select>
- <option value="0">none</option>
- <option value="1">level 1</option>
- <option value="2">level 2</option>
- <option value="3">level 3</option>
- <option value="4">level 4</option>
- <option value="5">level 5</option>
- <option value="6">level 6</option>
- <option value="7">level 7</option>
- <option value="8">level 8</option>
- <option value="9">level 9</option>
- <option value="100" selected>exact</option>
- </select>
- </label>
- <span>Key</span>
- </th>
- <th class="value">
- <label id="reduce"><input type="checkbox" autocomplete="off" checked> Reduce</label>
- Value
- </th>
- </tr>
- </thead>
- <tbody class="content">
- </tbody>
- <tbody class="footer">
- <tr>
- <td colspan="4">
- <div id="paging">
- <a class="prev">← Previous Page</a> |
- <label>Rows per page: <select id="perpage">
- <option selected>10</option>
- <option>25</option>
- <option>50</option>
- <option>100</option>
- </select></label> |
- <a class="next">Next Page →</a>
- </div>
- <span></span>
- </td>
- </tr>
- </tbody>
- </table>
- <p id="viewrequestduration">
- View request duration: <span class="timestamp"></span>
- </p>
- </div>
- </div></body>
-</html>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_admin_party.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_admin_party.html b/share/www/dialog/_admin_party.html
deleted file mode 100644
index ea9fb15..0000000
--- a/share/www/dialog/_admin_party.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!--
-
-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>Admin Party!</h2>
- <fieldset>
- <p class="help">
- The test suite requires CouchDB to be in <em>Admin Party</em> mode. This
- mode give all users admin capabilities. This is the least secure mode of
- operation. Do not run the tests on production servers, as you'll impact
- both performance and security.
- </p>
- <p class="help">
- Clicking “Remove Admins” will remove all admins from the configuration. You will
- have to recreate any admins by hand after the tests have finished.
- </p>
- </fieldset>
- <div class="buttons">
- <button type="submit">Remove Admins</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_change_password.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_change_password.html b/share/www/dialog/_change_password.html
deleted file mode 100644
index 40601d9..0000000
--- a/share/www/dialog/_change_password.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!--
-
-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>Change Password</h2>
- <fieldset>
- <table summary=""><tbody><tr>
- <th><label>New Password:</label></th>
- <td><input type="password" name="password" size="24" /></td>
- </tr><tr>
- <th><label>Verify New Password:</label></th>
- <td><input type="password" name="verify_password" size="24" /></td>
- </tr>
- </tbody></table>
- </fieldset>
- <div class="buttons">
- <button type="submit">Login</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_compact_cleanup.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_compact_cleanup.html b/share/www/dialog/_compact_cleanup.html
deleted file mode 100644
index 506417f..0000000
--- a/share/www/dialog/_compact_cleanup.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!--
-
-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>Compact & Cleanup</h2>
- <fieldset class="radiogroup">
- <label>
- <input type="radio" name="action" value="compact_database" checked>
- Compact Database
- </label>
- <p class="help">
- Compacting a database removes deleted documents and previous revisions.
- It is an <strong>irreversible operation</strong> and may take
- a while to complete for large databases.
- </p>
- <hr>
- <label>
- <input type="radio" name="action" value="compact_views">
- Compact Views
- </label>
- <p class="help">
- View compaction will affect all views in this design document. This
- operation may take some time to complete. Your views will still operate
- normally during compaction.
- </p>
- <hr>
- <label>
- <input type="radio" name="action" value="view_cleanup">
- Cleanup Views
- </label>
- <p class="help">
- Cleaning up views in a database removes old view files still stored
- on the filesystem. It is an <strong>irreversible operation</strong>.
- </p>
- </fieldset>
- <div class="buttons">
- <button type="submit">Run</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_create_admin.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_create_admin.html b/share/www/dialog/_create_admin.html
deleted file mode 100644
index d4aec95..0000000
--- a/share/www/dialog/_create_admin.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!--
-
-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>Create Server Admin</h2>
- <fieldset>
- <p class="help">
- Before a server admin is configured, all clients have admin privileges.
- This is fine when HTTP access is restricted
- to trusted users. <strong>If end-users will be accessing this CouchDB, you must
- create an admin account to prevent accidental (or malicious) data loss.</strong>
- </p>
- <p class="help">Server admins can create and destroy databases, install
- and update _design documents, run the test suite, and edit all aspects of CouchDB
- configuration.
- </p>
- <table summary=""><tbody><tr>
- <th><label>Username:</label></th>
- <td><input type="text" name="name" size="24"></td>
- </tr><tr>
- <th><label>Password:</label></th>
- <td><input type="password" name="password" size="24"></td>
- </tr>
- </tbody></table>
- <p class="help">Non-admin users have read and write access to all databases, which
- are controlled by validation functions. CouchDB can be configured to block all
- access to anonymous users.
- </p>
- <h3>About Authentication</h3>
- <p class="help">
- Couch has a pluggable authentication mechanism. Futon exposes a user friendly cookie-auth which handles login and logout, so app developers can relax. Just use <tt>$.couch.session()</tt> to load the current user's info.
- </p>
-
- </fieldset>
- <div class="buttons">
- <button type="submit">Create</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_create_config.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_create_config.html b/share/www/dialog/_create_config.html
deleted file mode 100644
index 79e08b0..0000000
--- a/share/www/dialog/_create_config.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!--
-
-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>Create New Config Option</h2>
- <fieldset>
- <p class="help">
- Please enter the section, option, and value.
- </p>
- <table summary="">
- <tbody>
- <tr>
- <th><label>section:</label></th>
- <td><input type="text" name="section" size="24"></td>
- </tr>
- <tr>
- <th><label>option:</label></th>
- <td><input type="text" name="option" size="24"></td>
- </tr>
- <tr>
- <th><label>value:</label></th>
- <td><input type="text" name="val" size="24"></td>
- </tr>
- </tbody>
- </table>
- </fieldset>
- <div class="buttons">
- <button type="submit">Create</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_create_database.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_create_database.html b/share/www/dialog/_create_database.html
deleted file mode 100644
index 74e7ea6..0000000
--- a/share/www/dialog/_create_database.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!--
-
-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>Create New Database</h2>
- <fieldset>
- <p class="help">
- Please enter the name of the database. Note that only lowercase
- characters (<tt>a-z</tt>), digits (<tt>0-9</tt>), or any of the
- characters <tt>_</tt>, <tt>$</tt>, <tt>(</tt>, <tt>)</tt>, <tt>+</tt>,
- <tt>-</tt>, and <tt>/</tt> are allowed.
- </p>
- <table summary=""><tbody><tr>
- <th><label>Database Name:</label></th>
- <td><input type="text" name="name" size="24"></td>
- </tr></table>
- </fieldset>
- <div class="buttons">
- <button type="submit">Create</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_database_security.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_database_security.html b/share/www/dialog/_database_security.html
deleted file mode 100644
index 265cb6f..0000000
--- a/share/www/dialog/_database_security.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!--
-
-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>Security</h2>
- <fieldset>
- <p class="help">
- Each database contains lists of admins and members.
- Admins and members are each defined by <tt>names</tt> and <tt>roles</tt>, which are lists of strings.
- </p>
-
- <h3>Admins</h3>
- <p class="help">Database admins can update design documents and edit the admin and member lists.</p>
- <table summary=""><tbody><tr>
- <th><label>Names:</label></th>
- <td><input type="text" name="admin_names" size="40"></td>
- </tr><tr>
- <th><label>Roles:</label></th>
- <td><input type="text" name="admin_roles" size="40"></td>
- </tr>
- </tbody></table>
-
- <h3>Members</h3>
- <p class="help">Database members can access the database. If no members are defined, the database is public.</p>
- <table summary=""><tbody><tr>
- <th><label>Names:</label></th>
- <td><input type="text" name="member_names" size="40"></td>
- </tr><tr>
- <th><label>Roles:</label></th>
- <td><input type="text" name="member_roles" size="40"></td>
- </tr>
- </tbody></table>
-
- </fieldset>
- <div class="buttons">
- <button type="submit">Update</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_delete_database.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_delete_database.html b/share/www/dialog/_delete_database.html
deleted file mode 100644
index 7fdf62f..0000000
--- a/share/www/dialog/_delete_database.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!--
-
-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>Delete Database</h2>
- <fieldset>
- <p class="help">
- Are you sure you want to delete this database? This includes all
- documents, design documents, views and security settings.
- <br><br>
- Note that this is an <strong>irreversible operation</strong>!
- </p>
- </fieldset>
- <div class="buttons">
- <button type="submit">Delete</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_delete_document.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_delete_document.html b/share/www/dialog/_delete_document.html
deleted file mode 100644
index 8ae8971..0000000
--- a/share/www/dialog/_delete_document.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!--
-
-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>Delete Document</h2>
- <fieldset>
- <p class="help">
- Are you sure you want to delete this document?
- </p>
- </fieldset>
- <div class="buttons">
- <button type="submit">Delete</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_login.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_login.html b/share/www/dialog/_login.html
deleted file mode 100644
index f05a5fd..0000000
--- a/share/www/dialog/_login.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!--
-
-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>Login</h2>
- <fieldset>
- <p class="help">
- Login to CouchDB with your name and password.
- </p>
- <table summary=""><tbody><tr>
- <th><label>Username:</label></th>
- <td><input type="text" name="name" size="24"></td>
- </tr><tr>
- <th><label>Password:</label></th>
- <td><input type="password" name="password" size="24"></td>
- </tr>
- </tbody></table>
- </fieldset>
- <div class="buttons">
- <button type="submit">Login</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_save_view_as.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_save_view_as.html b/share/www/dialog/_save_view_as.html
deleted file mode 100644
index d59122b..0000000
--- a/share/www/dialog/_save_view_as.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!--
-
-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" id="view-save-as" onload="initForm(this)">
- <h2>Save View As…</h2>
- <fieldset>
- <p class="help">
- You can save this function code as a permanent view in the database. Just
- enter or select the design document and the name of the view below. Note
- that if you choose an existing view, it will be overwritten!
- </p>
- <table summary=""><tbody><tr>
- <th><label for="input_docid">Design Document:</label></th>
- <td><tt>_design/</tt><input type="text" id="input_docid" name="docid" size="20"></td>
- </tr><tr>
- <th><label for="input_name">View Name:<label></th>
- <td><input type="text" id="input_name" name="name" size="30"></td>
- </tr></table>
- </fieldset>
- <div class="buttons">
- <button type="submit">Save</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_share_test_reports.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_share_test_reports.html b/share/www/dialog/_share_test_reports.html
deleted file mode 100644
index 82b49a7..0000000
--- a/share/www/dialog/_share_test_reports.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!--
-
-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>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_signup.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_signup.html b/share/www/dialog/_signup.html
deleted file mode 100644
index 7ba3448..0000000
--- a/share/www/dialog/_signup.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!--
-
-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>Create User Account</h2>
- <fieldset>
- <p class="help">
- Create a user document on this CouchDB. You will be logged in as this
- user after the document is created.
- </p>
- <table summary=""><tbody><tr>
- <th><label>Username:</label></th>
- <td><input type="text" name="name" size="24"></td>
- </tr><tr>
- <th><label>Password:</label></th>
- <td><input type="password" name="password" size="24"></td>
- </tr>
- </tbody></table>
- </fieldset>
- <div class="buttons">
- <button type="submit">Create</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/dialog/_upload_attachment.html
----------------------------------------------------------------------
diff --git a/share/www/dialog/_upload_attachment.html b/share/www/dialog/_upload_attachment.html
deleted file mode 100644
index 50b7e1f..0000000
--- a/share/www/dialog/_upload_attachment.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!--
-
-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" id="upload-form">
- <h2>Upload Attachment</h2>
- <fieldset>
- <p class="help">
- Please select the file you want to upload as an attachment to this
- document. Please note that this will result in the immediate creation of
- a new revision of the document, so it's not necessary to save the
- document after the upload.
- </p>
- <table summary=""><tbody><tr>
- <th><label>File:</label></th>
- <td><input type="file" name="_attachments"></td>
- </tr><tr>
- <td id="progress" colspan="2"> </td>
- </tr></table>
- </fieldset>
- <div class="buttons">
- <input type="hidden" name="_rev" value="">
- <button type="submit">Upload</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/78f367cf/share/www/document.html
----------------------------------------------------------------------
diff --git a/share/www/document.html b/share/www/document.html
deleted file mode 100644
index e041cd9..0000000
--- a/share/www/document.html
+++ /dev/null
@@ -1,114 +0,0 @@
-<!DOCTYPE html>
-<!--
-
-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.
-
--->
-<html lang="en">
- <head>
- <title>View Document</title>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link rel="stylesheet" href="style/layout.css?0.11.0" type="text/css">
- <script src="script/json2.js"></script>
- <script src="script/sha1.js"></script>
- <script src="script/base64.js"></script>
- <script src="script/jquery.js"></script>
- <script src="script/jquery.couch.js"></script>
- <script src="script/jquery.dialog.js"></script>
- <script src="script/futon.js"></script>
- <script src="script/jquery.resizer.js"></script>
- <script src="script/futon.browse.js"></script>
- <script src="script/futon.format.js"></script>
- <script src="script/jquery.editinline.js"></script>
- <script src="script/jquery.form.js"></script>
- <script>
- var page = new $.futon.CouchDocumentPage();
-
- $.futon.navigation.ready(function() {
- this.addDatabase(page.db.name);
- this.updateSelection(
- location.pathname.replace(/document\.html/, "database.html"),
- "?" + page.db.name
- );
- });
-
- $(function() {
- $("h1 a.dbname").text(page.dbName)
- .attr("href", "database.html?" + encodeURIComponent(page.db.name));
- $("h1 strong").text(page.docId);
- $("h1 a.raw").attr("href", "/" + encodeURIComponent(page.db.name) +
- "/" + encodeURIComponent(page.docId));
- page.updateFieldListing();
-
- $("#tabs li.tabular a").click(page.activateTabularView);
- $("#tabs li.source a").click(page.activateSourceView);
-
- $("#toolbar button.save").click(page.saveDocument);
- $("#toolbar button.add").click(page.addField);
- $("#toolbar button.load").click(page.uploadAttachment);
- if (page.isNew) {
- $("#toolbar button.delete").hide();
- } else {
- $("#toolbar button.delete").click(page.deleteDocument);
- }
- });
- </script>
- </head>
-
- <body><div id="wrap">
- <h1>
- <a href="index.html">Overview</a>
- <a class="dbname" href="#">?</a>
- <strong>?</strong>
- <a class="raw" title="Raw document"></a>
- </h1>
- <div id="content">
- <ul id="toolbar">
- <li><button class="save">Save Document</button></li>
- <li><button class="add">Add Field</button></li>
- <li><button class="load">Upload Attachment…</button></li>
- <li><button class="delete">Delete Document…</button></li>
- </ul>
-
- <ul id="tabs">
- <li class="active tabular"><a href="#tabular">Fields</a></li>
- <li class="source"><a href="#source">Source</a></li>
- </ul>
- <table id="fields" class="listing" cellspacing="0">
- <col class="field"><col class="value">
- <caption>Fields</caption>
- <thead>
- <tr>
- <th>Field</th>
- <th>Value</th>
- </tr>
- </thead>
- <tbody class="content">
- </tbody>
- <tbody class="source" style="display: none">
- <tr><td colspan="2"></td></tr>
- </tbody>
- <tbody class="footer">
- <tr>
- <td colspan="2">
- <div id="paging">
- <a class="prev">← Previous Version</a> | <a class="next">Next Version →</a>
- </div>
- <span></span>
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
- </div></body>
-</html>