couchdb-nano.git
3 months ago6.4.2 master v6.4.2
Glynn Bird [Wed, 20 Sep 2017 20:33:38 +0000 (21:33 +0100)] 
6.4.2

3 months agoUse cloudant-follow (#60)
Loay [Wed, 20 Sep 2017 20:32:13 +0000 (16:32 -0400)] 
Use cloudant-follow (#60)

3 months ago6.4.1 6.4.1 v6.4.1
Glynn Bird [Wed, 20 Sep 2017 09:52:05 +0000 (10:52 +0100)] 
6.4.1

3 months ago6.4.0 mismatch
Glynn Bird [Wed, 20 Sep 2017 09:51:58 +0000 (10:51 +0100)] 
6.4.0 mismatch

3 months agoMerge pull request #51 from apache/feat/cloudant-follow
Jan Lehnardt [Tue, 19 Sep 2017 13:09:48 +0000 (15:09 +0200)] 
Merge pull request #51 from apache/feat/cloudant-follow

feat: switch from follow to cloudant-follow, which is maintaned

6 months agofeat: switch from follow to cloudant-follow, which is maintaned 51/head
Jan Lehnardt [Wed, 5 Jul 2017 06:45:44 +0000 (08:45 +0200)] 
feat: switch from follow to cloudant-follow, which is maintaned

6 months agoMerge pull request #50 from apache/feat/find
Jan Lehnardt [Tue, 4 Jul 2017 13:43:25 +0000 (15:43 +0200)] 
Merge pull request #50 from apache/feat/find

feat: add _find

6 months agoMerge pull request #39 from slang800/remove-version-and-path-export
Jan Lehnardt [Tue, 4 Jul 2017 12:19:24 +0000 (14:19 +0200)] 
Merge pull request #39 from slang800/remove-version-and-path-export

remove version and path export

6 months agofeat: add _find 50/head
Jan Lehnardt [Tue, 4 Jul 2017 12:12:34 +0000 (14:12 +0200)] 
feat: add _find

6 months agoMerge pull request #49 from apache/fix/happy
Jan Lehnardt [Tue, 4 Jul 2017 09:07:30 +0000 (11:07 +0200)] 
Merge pull request #49 from apache/fix/happy

Fix/happy

6 months agofix: happier language 49/head
Jan Lehnardt [Tue, 4 Jul 2017 09:01:54 +0000 (11:01 +0200)] 
fix: happier language

6 months agochore: whitespace
Jan Lehnardt [Tue, 4 Jul 2017 09:01:36 +0000 (11:01 +0200)] 
chore: whitespace

7 months agocapitalised sentences, acronymns and added a note about Promises (#46)
Glynn Bird [Wed, 31 May 2017 15:27:12 +0000 (16:27 +0100)] 
capitalised sentences, acronymns and added a note about Promises (#46)

* capitalised sentences, acronymns and added a note about Promises

* Nulk --> Bulk

8 months ago6.3.0 v6.3.0
Garren Smith [Thu, 18 May 2017 13:55:20 +0000 (15:55 +0200)] 
6.3.0

8 months agoAdd/update contribution guidelines, issue/PR templates for GH Issues (#44)
Joan Touzet [Thu, 18 May 2017 13:45:33 +0000 (09:45 -0400)] 
Add/update contribution guidelines, issue/PR templates for GH Issues (#44)

8 months agoremove unsupported versions of Node.js. (#45)
Glynn Bird [Thu, 18 May 2017 13:44:58 +0000 (14:44 +0100)] 
remove unsupported versions of Node.js.  (#45)

We now test against latest stable, latest v4, latest v6 and latest v7

9 months agoremove version and path export 39/head
Sean Lang [Mon, 12 Oct 2015 00:03:56 +0000 (20:03 -0400)] 
remove version and path export

modules should not need to export their version or path, especially
since it requires an extra synchronous file read

9 months ago(#38) - Updated documentation for clarification
Tanner [Wed, 29 Mar 2017 14:43:54 +0000 (08:43 -0600)] 
(#38) - Updated documentation for clarification

db.view params requirements #37

10 months agoAdding replication using the "_replicator" database
Carlos Manuel Duclos Vergara [Thu, 2 Feb 2017 13:25:50 +0000 (14:25 +0100)] 
Adding replication using the "_replicator" database

Starting with 1.2.0 CouchDB added a new system database called
"_replicator" to handle replications jobs.

Replications are now created as entries on that database and
the server will schedule and perform the replication
accordingly. Entries in the "_replicator" db will be updated.

This means that replication now is a completely asynchronous job
that is not guaranteed to run right after the replication was started.

This commit adds three new object with three object to handle this new
type of replication:

- replication.enable: To enable the replication of a database.
- replication.query: To query the status of a replication job.
- replication.disable: To disable the replication of a database.

More information on this type of replication can be found:
- https://wiki.apache.org/couchdb/Replication#from_1.2.0_onward
- http://guide.couchdb.org/draft/replication.html
- https://gist.github.com/fdmanana/832610

[Addendum after merging with the new repo]
Fixing tests for uuids, since they were not passing.

11 months agoEnsure 'qs' is real whenever qs will be manipulated. 5/head
idearat [Sat, 11 Feb 2017 16:34:32 +0000 (09:34 -0700)] 
Ensure 'qs' is real whenever qs will be manipulated.

12 months agoNano improvements
Glynn Bird [Thu, 3 Nov 2016 15:35:53 +0000 (15:35 +0000)] 
Nano improvements

The improvements:
* Node 0.12 is no longer supported
* Only JSON encode parameters which are not strings to avoid double encoding as per https://github.com/cloudant/nodejs-cloudant/issues/89
* Update package.json for this repo's project name
* Added GET /_uuids api call
* Added selective encoding of string parameters to the search function

12 months agoadd reference to server in doc scope 3/head
Dominic Barnes [Tue, 10 Jan 2017 15:09:08 +0000 (08:09 -0700)] 
add reference to server in doc scope

14 months agoensure CouchDB 2.0 Docker is stopped after each test run 1/head
Glynn Bird [Thu, 27 Oct 2016 07:47:06 +0000 (08:47 +0100)] 
ensure CouchDB 2.0 Docker is stopped after each test run

14 months agomodify tests to work mocked and unmocked with CouchDB 2.0 from Docker
Glynn Bird [Wed, 26 Oct 2016 14:01:12 +0000 (15:01 +0100)] 
modify tests to work mocked and unmocked with CouchDB 2.0 from Docker

14 months agoUpdate express.js example for nano 6 and express 4
phil manijak [Mon, 9 May 2016 07:37:41 +0000 (00:37 -0700)] 
Update express.js example for nano 6 and express 4

There were a few places where this file was out of date.

Express 4:
* express.createServer() has been deprecated
* passing the status via send() has been deprecated
* convention is to use 'req' and 'res' instead of
  'request' and 'response'

Nano 6:
* error['status-code'] is now error.statusCode

Also there was a syntax error (too many curly braces).

14 months agoValidate docName parameter to avoid db delete
Rami Alia [Mon, 25 Apr 2016 17:42:52 +0000 (13:42 -0400)] 
Validate docName parameter to avoid db delete

14 months agoct: Fix mocks.
Chris Taylor [Sat, 23 Apr 2016 05:09:05 +0000 (01:09 -0400)] 
ct: Fix mocks.

14 months agoct: Allow body to be optional in db.atomic.
Chris Taylor [Sat, 23 Apr 2016 04:54:54 +0000 (00:54 -0400)] 
ct: Allow body to be optional in db.atomic.

14 months agoct: Test for optional body in db.atomic
Chris Taylor [Sat, 23 Apr 2016 04:52:50 +0000 (00:52 -0400)] 
ct: Test for optional body in db.atomic

14 months agoEnsure fetch params is optional, fixes #319.
André Cruz [Sat, 26 Mar 2016 22:03:43 +0000 (22:03 +0000)] 
Ensure fetch params is optional, fixes #319.

14 months agoAdd db.info doc.
André Cruz [Fri, 26 Feb 2016 23:48:52 +0000 (23:48 +0000)] 
Add db.info doc.

14 months agoUpdate README.md
Brian Delahunty [Tue, 9 Feb 2016 22:54:39 +0000 (14:54 -0800)] 
Update README.md

Change `cloudant.use` to `nano.use`.

14 months agoremoved the osx target since it is not supported by travis
Pedro Narciso García Revington [Thu, 28 Jan 2016 10:31:47 +0000 (11:31 +0100)] 
removed the osx target since it is not supported by travis

14 months agoTest with 4.2 (LTS) and 5.5 (Stable)
Pedro Narciso García Revington [Mon, 25 Jan 2016 12:08:57 +0000 (13:08 +0100)] 
Test with 4.2 (LTS) and 5.5 (Stable)

14 months agomodified tests to work with latest dependencies and CouchDB 2.0
Glynn Bird [Wed, 26 Oct 2016 13:19:25 +0000 (14:19 +0100)] 
modified tests to work with latest dependencies and CouchDB 2.0

14 months agofix mocked tests
Glynn Bird [Wed, 26 Oct 2016 10:54:56 +0000 (11:54 +0100)] 
fix mocked tests

14 months agoversion bump for dependencies
Glynn Bird [Wed, 26 Oct 2016 09:51:56 +0000 (10:51 +0100)] 
version bump for dependencies

23 months agoFix links to the new project home; closes #119
Jason Smith (iMac) [Wed, 20 Jan 2016 09:51:13 +0000 (16:51 +0700)] 
Fix links to the new project home; closes #119

2 years agoEncode search parameters which must be JSON-encoded v6.2.0
Jason Smith [Thu, 22 Oct 2015 06:40:05 +0000 (13:40 +0700)] 
Encode search parameters which must be JSON-encoded

2 years agoWorking on v6.2.0
Jason Smith [Thu, 22 Oct 2015 02:18:53 +0000 (09:18 +0700)] 
Working on v6.2.0

2 years agoMerge remote-tracking branch 'glynnbird/scrubauth' into HEAD
Jason Smith [Sun, 13 Sep 2015 08:40:19 +0000 (15:40 +0700)] 
Merge remote-tracking branch 'glynnbird/scrubauth' into HEAD

2 years agoNano is now the official CouchDB client!
Jason Smith [Sun, 20 Sep 2015 11:22:43 +0000 (18:22 +0700)] 
Nano is now the official CouchDB client!

2 years agoSet the project author to the CouchDB project
Jason Smith [Sun, 20 Sep 2015 11:22:00 +0000 (18:22 +0700)] 
Set the project author to the CouchDB project

2 years agoRemove pre-commit requirements
Jason Smith [Sun, 20 Sep 2015 11:16:51 +0000 (18:16 +0700)] 
Remove pre-commit requirements

2 years agoscrub authentication details from the error response
Glynn Bird [Thu, 10 Sep 2015 07:41:05 +0000 (08:41 +0100)] 
scrub authentication details from the error response

2 years agoCorrect link for request
Johannes J. Schmidt [Mon, 17 Aug 2015 14:09:53 +0000 (16:09 +0200)] 
Correct link for request

2 years agoCorrect links and docs for Follow
Jason Smith (iMac) [Tue, 11 Aug 2015 07:09:59 +0000 (14:09 +0700)] 
Correct links and docs for Follow

2 years ago6.1.5 v6.1.5
Johannes J. Schmidt [Mon, 3 Aug 2015 10:01:08 +0000 (12:01 +0200)] 
6.1.5

2 years agoWebpack support
Johannes J. Schmidt [Mon, 3 Aug 2015 09:58:24 +0000 (11:58 +0200)] 
Webpack support

Specify `.json` extension when requiring `package.json` as suggested by @abhishiv.

Closes #289

2 years ago6.1.4 v6.1.4
Johannes J. Schmidt [Mon, 29 Jun 2015 09:24:49 +0000 (11:24 +0200)] 
6.1.4

2 years agoMerge branch 'glynnbird-newfollow'
Johannes J. Schmidt [Mon, 29 Jun 2015 09:21:56 +0000 (11:21 +0200)] 
Merge branch 'glynnbird-newfollow'

2 years agobumped follow to version 0.12.1
Glynn Bird [Sun, 28 Jun 2015 09:10:11 +0000 (10:10 +0100)] 
bumped follow to version 0.12.1

2 years agoMerge pull request #283 from glynnbird/master
Johannes Jörg Schmidt [Tue, 16 Jun 2015 10:14:15 +0000 (12:14 +0200)] 
Merge pull request #283 from glynnbird/master

Added further documentation for the db.insert function

2 years agoMerge pull request #1 from glynnbird/glynnbird-readme-1
Glynn Bird [Tue, 16 Jun 2015 09:58:13 +0000 (10:58 +0100)] 
Merge pull request #1 from glynnbird/glynnbird-readme-1

Add further documentation for the db.insert function

2 years agoAdd further documentation for the db.insert function
Glynn Bird [Tue, 16 Jun 2015 09:57:20 +0000 (10:57 +0100)] 
Add further documentation for the db.insert function

The db.insert function can be used to both create and update documents. This wasn't clear from the the README and we had more than one issue raise about it on our Cloudant fork of the project. This commit shows using the function with one parameter and a callaback, and its use to update existing documents.

2 years ago6.1.3 v6.1.3
Johannes J. Schmidt [Fri, 22 May 2015 14:43:31 +0000 (16:43 +0200)] 
6.1.3

2 years agoMerge branch 'gr2m-master'
Johannes J. Schmidt [Fri, 22 May 2015 14:42:45 +0000 (16:42 +0200)] 
Merge branch 'gr2m-master'

2 years ago(test): bumping branches coverage to 100% after #268
Gregor Martynus [Fri, 22 May 2015 13:32:12 +0000 (15:32 +0200)] 
(test): bumping branches coverage to 100% after #268

2 years agoMerge pull request #279 from pdehaan/patch-1
Johannes Jörg Schmidt [Thu, 21 May 2015 09:24:42 +0000 (11:24 +0200)] 
Merge pull request #279 from pdehaan/patch-1

Updating license attribute

2 years agoUpdating license attribute
Peter deHaan [Wed, 20 May 2015 23:29:43 +0000 (16:29 -0700)] 
Updating license attribute

specifying the type and URL is deprecated:

https://docs.npmjs.com/files/package.json#license
http://npm1k.org/

Updated to "Apache-2.0" per https://spdx.org/licenses/

2 years agoSemicolon fix I just noticed in an example
Jason Smith [Tue, 12 May 2015 11:35:35 +0000 (18:35 +0700)] 
Semicolon fix I just noticed in an example

2 years agoMerge pull request #277 from robertkowalski/license-headers
Nuno Job [Sun, 3 May 2015 19:55:01 +0000 (20:55 +0100)] 
Merge pull request #277 from robertkowalski/license-headers

add missing license headers

2 years agoadd missing license headers
Robert Kowalski [Sat, 2 May 2015 20:25:20 +0000 (22:25 +0200)] 
add missing license headers

needed for the asf ip clearance process

2 years agoMerge pull request #267 from jandrieu/patch-1
Johannes Jörg Schmidt [Thu, 16 Apr 2015 19:16:01 +0000 (21:16 +0200)] 
Merge pull request #267 from jandrieu/patch-1

Insert's document name param property is docName

2 years agoMerge pull request #271 from exclsr/patch-1
Johannes Jörg Schmidt [Sat, 11 Apr 2015 20:19:24 +0000 (22:19 +0200)] 
Merge pull request #271 from exclsr/patch-1

Fix typo in Readme

2 years agoFix typo in Readme
phil manijak [Thu, 9 Apr 2015 19:56:08 +0000 (12:56 -0700)] 
Fix typo in Readme

This link wasn't working in Chrome because it's case sensitive, and the Markdown parsers (GitHub, npmjs) make the anchor tags / destinations lowercase.

2 years agoMerge pull request #269 from gr2m/master
Johannes Jörg Schmidt [Wed, 25 Mar 2015 23:22:56 +0000 (00:22 +0100)] 
Merge pull request #269 from gr2m/master

fix: db.follow breaks when couchdb is at a prefix #268

2 years agofix: db.follow breaks when couchdb is at a prefix #268
Gregor Martynus [Tue, 24 Mar 2015 20:03:08 +0000 (21:03 +0100)] 
fix: db.follow breaks when couchdb is at a prefix #268

2 years agoFix docs: doc_name has been renamed to docName
Johannes Jörg Schmidt [Wed, 18 Mar 2015 10:59:13 +0000 (11:59 +0100)] 
Fix docs: doc_name has been renamed to docName

2 years agoFix docs: multipart insert requires PUT
Johannes Jörg Schmidt [Wed, 18 Mar 2015 10:58:24 +0000 (11:58 +0100)] 
Fix docs: multipart insert requires PUT

see #266

2 years agoInsert's document name param property is docName
Joe Andrieu [Tue, 17 Mar 2015 16:08:43 +0000 (09:08 -0700)] 
Insert's document name param property is docName

Either this or the nano.js library should be changed. Since I'm assuming other people are using the "docName" parameter, it's probably easier to update the documentation. It gets turned into "doc" in the actual params, so it doesn't align directly with couch either way.

2 years agoMerge pull request #262 from jo/add-test-targets
Johannes Jörg Schmidt [Wed, 4 Mar 2015 10:11:17 +0000 (11:11 +0100)] 
Merge pull request #262 from jo/add-test-targets

Run Travis on nodejs 0.12 and on io.js

2 years agoRun Travis on nodejs 0.12 and on io.js
Johannes J. Schmidt [Wed, 4 Mar 2015 10:06:40 +0000 (11:06 +0100)] 
Run Travis on nodejs 0.12 and on io.js

2 years ago6.1.2 v6.1.2
Johannes J. Schmidt [Fri, 27 Feb 2015 22:11:32 +0000 (23:11 +0100)] 
6.1.2

2 years agoMerge pull request #261 from jo/update-request
Johannes Jörg Schmidt [Fri, 27 Feb 2015 22:05:04 +0000 (23:05 +0100)] 
Merge pull request #261 from jo/update-request

Update request

2 years agoUpdate request
Johannes J. Schmidt [Fri, 27 Feb 2015 21:39:26 +0000 (22:39 +0100)] 
Update request

From
[`2.46.0`](https://github.com/request/request/blob/master/CHANGELOG.md#v2530-20150202)
to
[`2.53.0`](https://github.com/request/request/blob/master/CHANGELOG.md#v2470-20141026)
with tons of improvements:

* Browserifyability (yeah!)
* Improved multipart handling
* Dependency updates

Just to mention some.

2 years agocodestyle fixes with `else` in a newline
Johannes J. Schmidt [Fri, 27 Feb 2015 21:36:53 +0000 (22:36 +0100)] 
codestyle fixes with `else` in a newline

2 years ago6.1.1 v6.1.1
Johannes J. Schmidt [Thu, 26 Feb 2015 13:02:34 +0000 (14:02 +0100)] 
6.1.1

2 years ago(#247) - fix tests and make jscs happy
Johannes J. Schmidt [Thu, 26 Feb 2015 13:01:36 +0000 (14:01 +0100)] 
(#247) - fix tests and make jscs happy

2 years agoMerge pull request #247 from jandrieu/master
Johannes Jörg Schmidt [Thu, 26 Feb 2015 12:42:11 +0000 (13:42 +0100)] 
Merge pull request #247 from jandrieu/master

fixed content_type mistake in insertMultipart

2 years ago(#260) - its `userCtx.name` not `userCtx.user`
Johannes J. Schmidt [Thu, 26 Feb 2015 12:23:49 +0000 (13:23 +0100)] 
(#260) - its `userCtx.name` not `userCtx.user`

Thanks @elcomandantetibi.

2 years ago6.1.0 v6.1.0
Johannes J. Schmidt [Thu, 26 Feb 2015 12:19:27 +0000 (13:19 +0100)] 
6.1.0

2 years agoMerge pull request #258 from jo/253-update-follow
Johannes Jörg Schmidt [Thu, 26 Feb 2015 12:14:21 +0000 (13:14 +0100)] 
Merge pull request #258 from jo/253-update-follow

(fixes #253) - update follow

2 years ago(fixes #253) - update follow
Johannes J. Schmidt [Thu, 5 Feb 2015 10:59:25 +0000 (11:59 +0100)] 
(fixes #253) - update follow

Update follow from 0.11.3 to 0.11.4.
This closes a qs vulnerability in request versions before 2.40.0.

2 years agoMerge pull request #254 from jo/features/parseUrl
Johannes Jörg Schmidt [Thu, 26 Feb 2015 12:02:04 +0000 (13:02 +0100)] 
Merge pull request #254 from jo/features/parseUrl

Introduce parseUrl flag to prevent db extraction

2 years agoIntroduce parseUrl flag to prevent db extraction
Johannes J. Schmidt [Thu, 29 Jan 2015 08:52:36 +0000 (09:52 +0100)] 
Introduce parseUrl flag to prevent db extraction

When the `parseUrl` flag is set to `false` (default it `true`) `url` will not
be parsed but will be considered the root of the CouchDB server and Nanos
server api gets returned.

2 years agoParams is now qs
Nuno Job [Wed, 21 Jan 2015 12:45:55 +0000 (12:45 +0000)] 
Params is now qs

Fixes #250

3 years agofixed content_type mistake in insertMultipart
Joe Andrieu [Fri, 16 Jan 2015 15:57:43 +0000 (07:57 -0800)] 
fixed content_type mistake in insertMultipart

The previous code was looking for the wrong property name (contentType) in the attachments array in insertMultipart. It should be content_type.

3 years agoMerge pull request #243 from pcolazurdo/patch-1
Nuno Job [Thu, 15 Jan 2015 18:17:47 +0000 (18:17 +0000)] 
Merge pull request #243 from pcolazurdo/patch-1

Fixed db.view_with_list documentation

3 years agoFixed db.view_with_list documentation
Pablo Colazurdo [Tue, 6 Jan 2015 15:52:56 +0000 (12:52 -0300)] 
Fixed db.view_with_list documentation

The right name for this function is: db.viewWithList

3 years agoMerge pull request #240 from marinintim/master
Nuno Job [Wed, 26 Nov 2014 23:23:09 +0000 (23:23 +0000)] 
Merge pull request #240 from marinintim/master

changed url from godaddy parking to stackoverflow

3 years agochanged url from godaddy parking to stackoverflow
Tim Marinin [Wed, 26 Nov 2014 22:47:51 +0000 (01:47 +0300)] 
changed url from godaddy parking to stackoverflow

3 years ago6.0.2
Johannes J. Schmidt [Tue, 25 Nov 2014 21:57:56 +0000 (22:57 +0100)] 
6.0.2

3 years agoMerge pull request #238 from jo/236-fix-url-jumble
Johannes Jörg Schmidt [Tue, 25 Nov 2014 21:53:51 +0000 (22:53 +0100)] 
Merge pull request #238 from jo/236-fix-url-jumble

(fixes #236) - url reformating

3 years ago(fixes #236) - url reformating
Johannes J. Schmidt [Tue, 25 Nov 2014 21:44:19 +0000 (22:44 +0100)] 
(fixes #236) - url reformating

This solves a bug when initializing nano with a url with databasename, which
also occurs somewhere else in the url, eg. in the username.
Also makes it possible to use nano with couches which are exposed from a
subdirectory, eg the server lives at http://example.com/couchdb.

3 years agoFixes codestyle from #234
Nuno Job [Tue, 25 Nov 2014 16:56:25 +0000 (16:56 +0000)] 
Fixes codestyle from #234

3 years agoMerge pull request #234 from runetvilum/camelCase-issues
Johannes Jörg Schmidt [Mon, 17 Nov 2014 09:57:35 +0000 (10:57 +0100)] 
Merge pull request #234 from runetvilum/camelCase-issues

contentType and requestDefaults

3 years agocontentType and requestDefaults
Rune Tvilum [Mon, 17 Nov 2014 09:50:18 +0000 (10:50 +0100)] 
contentType and requestDefaults

3 years agofix main script location in package.json
Johannes J. Schmidt [Wed, 12 Nov 2014 23:29:35 +0000 (00:29 +0100)] 
fix main script location in package.json

3 years agoNew timeout
Nuno Job [Fri, 7 Nov 2014 15:26:53 +0000 (15:26 +0000)] 
New timeout