Skip to content
Commits on Apr 18, 2013
  1. @neojski @daleharvey

    (#683) - introduce attachmentsFilter

    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)
    neojski committed with daleharvey Apr 18, 2013
  2. @neojski @daleharvey

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

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

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

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

    (#683) - redesign getAttachments slightly

    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.
    neojski committed with daleharvey Apr 18, 2013
  5. @neojski @daleharvey

    (#683) - add unexistent attachment test

    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.
    neojski committed with daleharvey Apr 18, 2013
  6. @neojski @daleharvey

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

    Currently you get internal pouch error if you try to get attachment
    and use wrong id.
    neojski committed with daleharvey Apr 14, 2013
  7. @theanimal666 @daleharvey

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

    …nd proxy
    
    (e.g. couch available at http://myserver/couchdb/)
    Change genUrl(...) to add the base path if required to the generated Url
    theanimal666 committed with daleharvey Apr 18, 2013
Commits on Apr 17, 2013
  1. @chesles @daleharvey
  2. @nick-thompson @daleharvey
  3. @nick-thompson @daleharvey
Commits on Apr 16, 2013
  1. @daleharvey
  2. @caolan @daleharvey
  3. @howonlee

    Merge pull request #670 from howonlee/master

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

    (#682) - fix linting errors

    neojski committed with daleharvey Apr 13, 2013
  4. @neojski @daleharvey
  5. @neojski @daleharvey
  6. @neojski @daleharvey
  7. @neojski @daleharvey
  8. @neojski @daleharvey
Commits on Apr 8, 2013
  1. @benrudolph @daleharvey
  2. @benrudolph @daleharvey
  3. @benrudolph @daleharvey

    Prefixing databases

    benrudolph committed with daleharvey Apr 7, 2013
  4. @neojski @daleharvey

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

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

    (#635) - make merging status less explicit

    If we merge statuses {} and {} we now get {} and not {status: missing}
    neojski committed Apr 5, 2013
  2. @neojski

    (#635) - merge_rev_tree tests now support availability

    That's quite to much said as they don't check if the availability
    is merged correctly.
    neojski committed Apr 4, 2013
  3. @neojski

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

    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.
    neojski committed Apr 4, 2013
  4. @neojski
  5. @neojski

    (#635) - make comapction use status from rev_tree

    Start with idb adapter
    neojski committed Apr 4, 2013
  6. @neojski
  7. @neojski

    (#635) - low level method document availability support

    parseDoc and merge have to support new availability option
    neojski committed Apr 4, 2013
  8. @neojski

    (#635) - compact deleted document as well

    Now deleted document are also compacted.
    neojski committed Mar 30, 2013
  9. @neojski

    (#635) - compact deleted document (test)

    Added test so we make sure that also deleted document get compacted
    neojski committed Mar 30, 2013
Commits on Apr 4, 2013
  1. @benrudolph @daleharvey
Something went wrong with that request. Please try again.