Permalink
Switch branches/tags
Nothing to show
Commits on Feb 10, 2011
Commits on Mar 4, 2010
Commits on Jan 4, 2010
  1. Added ability for adhoc views to have their query strings appended wh…

    unknown committed Jan 4, 2010
    …en executing Database.adhoc(AdHocView). Enables setting AdHocView options like setLimit(int).
Commits on Sep 26, 2009
  1. Fixed failing tests and updated the API to reflect the latest CouchDB…

    Ilya Sterin committed Sep 26, 2009
    … API changes.
Commits on Aug 1, 2009
  1. Use multithreaded connection manager so that http client can be reuse…

    i386 committed Aug 1, 2009
    …d. End result? connection pooling!
Commits on Jun 25, 2009
  1. git import

    mbreese committed Jun 25, 2009
  2. Added updated Javadocs.

    mbreese committed Jun 25, 2009
  3. Removed old Javadocs.

    mbreese committed Jun 25, 2009
Commits on Jan 13, 2009
  1. Updated pom.xml to bump httpclient

    mbreese committed Jan 13, 2009
Commits on Jan 9, 2009
  1. Added updated Javadocs.

    mbreese committed Jan 9, 2009
  2. Removed old Javadocs.

    mbreese committed Jan 9, 2009
Commits on Sep 30, 2008
  1. fixed example in README

    goobsoft committed Sep 30, 2008
  2. Fixed support for Views

    goobsoft committed Sep 30, 2008
  3. added log4j.properties file for easier debugging

    goobsoft committed Sep 30, 2008
  4. added debugging info to test classes

    goobsoft committed Sep 30, 2008
  5. updated to use emit

    goobsoft committed Sep 30, 2008
  6. changed default port to match 8.1-incubator

    goobsoft committed Sep 30, 2008
  7. added pom.xml from Steve Mactaggart

    mbreese committed Sep 30, 2008
Commits on Sep 23, 2008
  1. Added @SuppressWarning

    mbreese committed Sep 23, 2008
    Document implements Map<?,?> because the values aren't of a particular type (converted to JSON anyway)
  2. Removed bad pom.xml file - needs to be created again from scratch

    mbreese committed Sep 23, 2008
    Updated build.xml to version 0.2.0-SVN
Commits on Sep 17, 2008
  1. CouchResponse

    william.kinney committed Sep 17, 2008
      - Change constructor (CouchResponse(HttpMethod) to use method.getResponseBodyAsString(); instead of a Buffered 
    
    method.getResponseBodyAsStream(), was getting "Bad chunk size: HTTP/1.1 500 Internal Server Error" for large responses
      - Added correct handle of DELETE w/ status code 200 (couchdb API change)
     
    Database
      - Added URLEncoder.encode(id, "utf-8) for id references (save, delete, etc)
        - method signatures changed to throws IOException because of URLEncoder()
      - Added bulkSaveDocuments(Document[]), with performs POST /db/_bulk_docs 
    
    Document
      - Added check for "id" id, in addition to "_id", to String getId() (couchdb API change). 
      - Added check for "rev" rev, in addition to "_rev", to String getRev() (couchdb API change). 
      - Added throws IOException  for some methods, because of URLEncode.encode() additions to Database
      - Fixed getView(String) to use "_design" (couchdb API change)
      - Fixed addView(String, String) to use "_design" (couchdb API change)
      - Fixed deleteView(String) to use "_design" (couchdb API change)
      - getJSONObject() wrapped IOException to RuntimeException, otherwise had to change a lot of JSON method signatures to 
    
    throw IOException (didn't think that was necessary)
    
    
    Session
      - Removed URLEncoder.encode() from buildUrl(String) because it was incorrectly encoding "/"'s from <dbname>/<etc>
      - Added setHttpTimeout(int ms) to enable timeout for HttpClient 
      - Fixed content type check for post(String,String,String) temp_view (now all are json mime)
    
    JUnit Tests
      - Added and fixed some tests.
      - NOTE: addHoc and add new views still do not work.
Commits on Aug 26, 2008
  1. converted e.printStackTrace() to log.error(ExceptionUtils.getStackTra…

    william.kinney committed Aug 26, 2008
    …ce(e))
  2. Issue #1: "Named views don't work" - added missing '_view' string, cr…

    william.kinney committed Aug 26, 2008
    …eated private, internal method for all others to call.
Commits on Aug 22, 2008
  1. Added URLencoding to allow access to named entitied that include esca…

    mbreese committed Aug 22, 2008
    …ped characters
    
    (such as a slash)
Commits on Apr 11, 2008
  1. Issue #8 patch applied

    mbreese committed Apr 11, 2008
    couchdb has changed _all_docs_by_update_seq is now _all_docs_by_seq
  2. Code from Issue #5

    mbreese committed Apr 11, 2008
  3. Issue #6 patch applied

    mbreese committed Apr 11, 2008
    getDatabase() should return null as documented.
    
    Instead it throws
    net.sf.json.JSONException: JSONObject["error"] is not a JSONObject.
            at net.sf.json.JSONObject.getJSONObject(JSONObject.java:2139)
            at com.fourspaces.couchdb.CouchResponse.<init>(CouchResponse.java:90)
    
    This is probably because CouchDB returns
    {"error":"not_found","reason":"missing"}
    where response["error"] is no JSONObject
Commits on Dec 3, 2007
  1. Added patch from protocol7@gmail.com to match updates to the

    mbreese committed Dec 3, 2007
    CouchDB trunk
    
    Also added minimal pom.xml file from protocol7 as well.
Commits on Oct 30, 2007
Commits on Sep 28, 2007
  1. add allDocuments(int revision) && clearified comments

    JanLehnardt committed Sep 28, 2007
Commits on Sep 16, 2007
  1. Added updated Javadocs.

    mbreese committed Sep 16, 2007