~ubuntu-branches/ubuntu/maverick/couchdb/maverick

« back to all changes in this revision

Viewing changes to share/www/script/futon.browse.js

  • Committer: Bazaar Package Importer
  • Author(s): Elliot Murphy
  • Date: 2010-08-16 19:45:48 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100816194548-cdm0mjqnbxjt5wa4
Tags: 1.0.1-0ubuntu1
* Upstream microrelease to address data loss (LP: #615224)
  - Fix data corruption bug COUCHDB-844. Please see
    http://couchdb.apache.org/notice/1.0.1.html for details.
  - Added support for replication via an HTTP/HTTP proxy.
  - Fixed various replicator bugs for interop with older
    CouchDB versions.
  - Show fields saved along with _deleted=true.
    Allows for auditing of deletes.
  - Enable basic-auth popup when required to access the server,
    to prevent people from getting locked out.
  - User interface element for querying stale (cached) views.
* debian/patches/auth_patch.patch dropped, included upstream.
* debian/patches/remove_users.patch dropped, included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
        reduce: {},
108
108
        group_level: {defaultValue: 100},
109
109
        per_page: {defaultValue: 10},
110
 
        view: {defaultValue: ""}
 
110
        view: {defaultValue: ""},
 
111
        stale: {defaultValue: false}
111
112
      });
112
113
 
113
114
      var viewName = (urlParts.length > 0) ? urlParts.join("/") : null;
765
766
              db.query(currentMapCode, currentReduceCode, page.viewLanguage, options);
766
767
            } else {
767
768
              var viewParts = viewName.split('/');
 
769
 
 
770
              if ($.futon.storage.get("stale")) {
 
771
                 options.stale = "ok";
 
772
              }
 
773
 
768
774
              db.view(viewParts[1] + "/" + viewParts[3], options);
769
775
            }
770
776
          }