Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 18, 2013
  1. @neojski @daleharvey

    (#683) - introduce attachmentsFilter

    neojski authored daleharvey committed
    So that adapters get a function to filter apropriate attachments
    and don't have to worry about the logick.
    
    Rework get a little so that it follows node callback style (err, res)
  2. @neojski @daleharvey

    (#683) - fix getAttachment wrong id in leveldb, http

    neojski authored daleharvey committed
    Besides, make leveldb compatible with redesign done in the #683
  3. @neojski @daleharvey

    (#683) - wrong id no longer fails + redesign work

    neojski authored daleharvey committed
    Continue small redesign work from previous commit. This fixes
    websql adapter and redesigns it to follow new convetion of
    how _getAttachment is used
  4. @neojski @daleharvey

    (#683) - redesign getAttachments slightly

    neojski authored daleharvey committed
    Generally getAttachment can be implemented using only get in all
    adapters. As we do have such functionality it does not make sense
    not to use it.
    This is first try of this small redesing:
    
    * getAttachment is implemented entirely using api.get
    * _getAttachment is used as internal functions by our local adapters.
    Now it does not have to check whether it gets txn or not. It just must
    get txn. What's more, it does not must get attachment metadata and it's
    used only by api.get which gives those requirements to it correctly.
    
    This is implementation of these ideas in idb only.
  5. @neojski @daleharvey

    (#683) - add unexistent attachment test

    neojski authored daleharvey committed
    We have two types of errors here: first trying to get attachment
    of unexistent document. Second: trying to get unexistent attachment
    of existent document. This test covers second.
  6. @neojski @daleharvey

    (#683) - add test for getAttachment with wrong id

    neojski authored daleharvey committed
    Currently you get internal pouch error if you try to get attachment
    and use wrong id.
  7. @theanimal666 @daleharvey

    (#704) - Make HTTP Adapter's uuid.get() method work with CouchDB behi…

    theanimal666 authored daleharvey committed
    …nd proxy
    
    (e.g. couch available at http://myserver/couchdb/)
    Change genUrl(...) to add the base path if required to the generated Url
Commits on Apr 17, 2013
  1. @chesles @daleharvey

    (#434) disable database prefix for leveldb adapter

    chesles authored daleharvey committed
  2. @nick-thompson @daleharvey
  3. @nick-thompson @daleharvey
Commits on Apr 16, 2013
  1. @daleharvey
  2. @caolan @daleharvey

    Fix paths for Jam package manager

    caolan authored daleharvey committed
  3. @howonlee

    Merge pull request #670 from howonlee/master

    howonlee authored
    (#589) fix phonegap/cordova adapter api not filling bug
Commits on Apr 15, 2013
  1. @neojski @daleharvey

    (#687) - add getAttachment to http adapter

    neojski authored daleharvey committed
  2. @neojski @daleharvey

    (#687) - add simple getAttachment test

    neojski authored daleharvey committed
  3. @neojski @daleharvey

    (#682) - fix linting errors

    neojski authored daleharvey committed
  4. @neojski @daleharvey

    (#682) - report error on unencoded attachment (leveldb)

    neojski authored daleharvey committed
  5. @neojski @daleharvey
  6. @neojski @daleharvey

    (#682) - ensure unencoded attachment error report in idb

    neojski authored daleharvey committed
  7. @neojski @daleharvey

    (#682) - test putting unencoded attachment

    neojski authored daleharvey committed
  8. @neojski @daleharvey

    (#558) - ensure that remove leaves only stub

    neojski authored daleharvey committed
Commits on Apr 8, 2013
  1. @benrudolph @daleharvey

    Change prefix to _pouch_ for better readability

    benrudolph authored daleharvey committed
  2. @benrudolph @daleharvey

    Updated docs to reflect prefixing changes

    benrudolph authored daleharvey committed
  3. @benrudolph @daleharvey

    Prefixing databases

    benrudolph authored daleharvey committed
  4. @neojski @daleharvey

    (#604) - add brief description and examples of options usage

    neojski authored daleharvey committed
    * rev
    * open_revs
    * conflicts
Commits on Apr 5, 2013
  1. @neojski

    (#635) - make merging status less explicit

    neojski authored
    If we merge statuses {} and {} we now get {} and not {status: missing}
  2. @neojski

    (#635) - merge_rev_tree tests now support availability

    neojski authored
    That's quite to much said as they don't check if the availability
    is merged correctly.
  3. @neojski

    (#635) - move more logic to generic adapter (auto_compaction)

    neojski authored
    In order auto_compaction to work I moved modification of the whole
    rev_tree into compactDocument in generic adapter. It then sends
    revisions which we want to delete and modified rev_tree to adapter
    specific method which does the compaction process.
  4. @neojski
  5. @neojski

    (#635) - make comapction use status from rev_tree

    neojski authored
    Start with idb adapter
  6. @neojski
  7. @neojski

    (#635) - low level method document availability support

    neojski authored
    parseDoc and merge have to support new availability option
  8. @neojski

    (#635) - compact deleted document as well

    neojski authored
    Now deleted document are also compacted.
  9. @neojski

    (#635) - compact deleted document (test)

    neojski authored
    Added test so we make sure that also deleted document get compacted
Commits on Apr 4, 2013
  1. @benrudolph @daleharvey

    (#648) - More console.log fixes

    benrudolph authored daleharvey committed
Something went wrong with that request. Please try again.