Commit graph

11 commits

Author SHA1 Message Date
Andreas Siegel
6e2676b09b Add doc.find() (#102)
* Add find to doc functions

* Replace const by var
2019-01-04 11:40:31 -06:00
urdeveloper
21c73ffb26 Encode database names and document Ids used n Urls (#55)
* Encode database names and document Ids used n Urls

* Encode viewDocId as well and add the corresponding test cases.

* Fix jshint errors
2017-12-06 16:44:06 -08:00
Geoff Cox
c9ee77e393
refactor(doc): expose updateOrIgnore (#52)
* refactor(doc): expose updateOrIgnore

* fix(doc): missing Promise require
2017-11-18 20:58:30 -08:00
Geoff Cox
5be5b27b13 feat(doc): bulk create or update 2017-10-11 14:17:42 -07:00
Geoff Cox
27339bbd2a fix(doc): update should return new rev 2017-10-10 14:13:38 -07:00
Geoff Cox
25b4bc1fdb feat(persist-through-conflicts): use exponential backoff 2017-09-13 16:07:14 -07:00
Geoff Cox
49d9a2ea01 feat(ignore-dup-updates) 2017-08-31 06:10:17 -07:00
Geoff Cox
9ea044563f fix(couch-persistent-stream-iterator): handle authentication errors 2017-07-28 14:34:50 -07:00
Geoff Cox
f830ee2ba5 test(couchdb-1) (#7)
* test(couchdb-1)

* test(couchdb-1)

* fix(couchdb-1): cross-browser config

* test(updates): really needs to be continuous

* test(membership): coverage in couchdb 1

* test(couchdb-1): disable for circleci
2017-07-18 09:14:16 -07:00
Geoff Cox
da7ca1123e 100% coverage (#4)
* doc(readme): clean up reasons

* doc(motto)

* test(db-and-doc): more coverage

* test(create-or-update-ignore-conflict)

* test(upsert)

* test(ignore-missing)

* test(post-and-ignore-conflict)

* test(get-merge-put)

* refactor(all): rename post and put

* test(get-merge-create-or-update)

* test(get-merge-update-ignore-conflict)

* test(get-merge-upsert)

* test(get-modify-upsert)

* refactor(doc): redundant code

* test(destroy-ignore-conflict)

* test(get-and-destroy)

* test(mark-as-destroyed)

* test(set-destroyed)

* refactor(attachment)

* test(doc): 100% coverage

* test(attachment): create with base 64

* test(attachment): clean up binary code

* test(attachment): get

* test(attachment): destroy

* test(system): is couchdb 1

* test(system): get

* test(system): reset

* test(updates)

* test(updates)

* test(all): unique DB names

* test(system): reactivate tests

* test(user): add role

* test(user): downsert role

* feat(stream-iterator): indefinite

* test(user): 100% coverage

* test(request-class)

* test(request-class): 100% coverage

* test(config)

* test(config): more coverage

* test(config): more coverage

* test(config): 100% coverage

* test(all): 100% coverage

* refactor(beautify)

* test(coverage): enforce 100%

* test(system): fix race condition

* test(user): shortcut for browser

* test(updates): test continuous stream in phantomjs

* test(updates): test continuous stream in phantomjs

* test(continuous): mock for phantomjs

* test(system): abort iterators

* test(system): fake abort
2017-07-18 07:45:32 -07:00
Geoff Cox
559b1a750c refactor(all): simplify naming (#3)
* refactor(db): split up

* refactor(all)

* refactor(db)

* refactor(doc)

* refactor(security)

* refactor(common)

* refactor(view)

* refactor(system)

* refactor(config)

* refactor(user)

* refactor(jshint)

* test(db): all

* test(user)

* refactor(test): remove old

* test(exclude-design-docs-iterator)

* refactor(old): remove old files

* refactor(move): move new files from fomo

* refactor(jshint)
2017-07-13 23:48:34 -07:00