summaryrefslogtreecommitdiff
path: root/src/couchdb
AgeCommit message (Collapse)Author
2009-09-11fix oauth access to design documents, patch by Jason DaviesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@813803 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09oopsieAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@813102 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09choice of uuid algos for better insert perf. Closes COUCHDB-465. Thanks ↵Adam Kocoloski
rnewson, bitdiddle git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@813051 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06Fix for building CouchDB on Snow Leapord.Paul Joseph Davis
I was unable to track down the root cause of this bug, but for some reason, having -ljs in the link command for couch_erl_driver was causing a segfault when loading the latter in Erlang. This patch just removes -ljs from the global LIBS variable and places it specificially in the libs for couchjs. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@811910 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06check if either history is empty, not bothAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@811868 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05thou shalt make before thou commit, thou shalt make before thou commit, thou ↵Jan Lehnardt
shalt make before thou commit git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@811710 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05code =~ s/imperative/declarative & faster/, thanks to Kostis Sagonas for ↵Jan Lehnardt
pointing these out, more to come git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@811709 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02skip some regex etc. if DB is already openAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@810729 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02use the same password hash calculation for user creation via ini file and ↵Jan Lehnardt
user db, patch by Benoit Chesneau, closes COUCHDB-492 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@810435 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02fix buildJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@810432 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02fix continuous replication occurring after identical normal oneAdam Kocoloski
Both forms of replication had the same child ID in the replication supervisor. As a result, a continuous replication triggered after an otherwise-identical normal replication would "forget" that it was continuous. The tricky part about this patch is that it lets a normal and a continuous replication with the same source and target execute simultaneously. That's inefficient, but other solutions are convoluted or give surprising results to the client. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@810358 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02Support for replication over SSL. Resolves COUCHDB-491Adam Kocoloski
This turned out to be a decent amount of work, since: 1) ibrowse did not use SSL on dedicated connections. Wrote a simplistic patch, will contact Chandru for further discussion. 2) When nginx is used for the SSL wrapper, it wants to buffer the changes feed. Setting "proxy_buffering off" in nginx.conf helps, but some buffering still occurred. Fixed by making couch_rep_changes_feed smart enough to split merged chunks. 3) The Erlang ssl application showed instabilities when used with {active,once}. Switched to the "new implementation" using {ssl_imp, new} and instabilities disappeared. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@810350 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02Added 3 stage pipeline for indexing views: loader, mapper, writer. This ↵Damien F. Katz
results in better performance and resource utilization. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@810345 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01remove debugging leftoverJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@809977 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30use a POSIX-compatible invocation of basenameAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@809407 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30refactor CouchDB startup procedure, see COUCHDB-216 for detailsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@809392 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29merge cascading auth patch by Jason Davies, closes COUCHDB-478, fix testsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@809134 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28fix pattern matching bug in redirects for replicationAdam Kocoloski
if opening the DB returns 301, use the new URL for the rest of the replication git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@808876 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28couch_rep_httpc should know about 503sAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@808741 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28guard against non-existing filters in _changesAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@808716 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27Fixed spurious console errors caused when attempting to query information ↵Damien F. Katz
about an already closed socket. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@808679 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27Fix for problem where HEAD requests that would have a chunked responses ↵Damien F. Katz
would send the chunked respone anyway. Also, we now avoid processing the request, and instead abort it as soon as the header is sent. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@808632 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27send deleted docs to _changes filtersAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@808574 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25fix a process leak in local changes feed consumerAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807477 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25disable gen_server timeouts for internal replication processesAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807473 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25use _ensure_full_commit?seq=N in replication for efficiencyAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807461 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25_ensure_full_commit?seq=N to ensure everything up to N is committedAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807459 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24only save a checkpoint at the end if something changedAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807360 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24overlooked a function clauseAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807354 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24also follow 302 for _changes feedAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807345 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24follow 302s in replicationAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807342 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24checkpoint at most once per 5 secondsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807320 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24more precise and accurate calculation of replication progressAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807308 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24skip full_commit during replication when its safeAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807208 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23fix HEAD requests for OAuth, patch by Jason Davies, closes COUCHDB-479Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@806983 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23heartbeat bugfix for continuous replication from remote sourceAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@806918 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22Fix bug that caused duplicate INI sections on write back.Paul Joseph Davis
Thanks to Bob Dionne finding the fix. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@806766 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21Munge all ErlJSON to use binaries.Paul Joseph Davis
Our flavor of ErlJSON has this interesting characteristic: {[{foo, bar}]} == {[{<<"foo">>, <<"bar">>}]} This is fine and dandy for writing ErlJSON that is going to go directly to a serializer, but when it goes to client code executing in couch_native_process.erl it becomes a pain in the but to know whether to use atoms or binaries. This patch munges all input to user functions to use binaries except for null, true, and false obviously. This fixes the commented out test in erlang_views.js as well as adds a show to poke into the request object that has known instances of where things get munged. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@806732 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19maybe reopen source to get newer documentsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805792 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19continuous replication request returns 202 Accepted and the _local docidAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805643 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18cleanup application of auth functionsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805551 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18allow configurable X-Forwarded-Host header handling for work behind reverse ↵Jan Lehnardt
proxies, patch by Benoit Chesneau, closes COUCHDB-466 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805500 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18continuous _changes are now newline-delimited JSON Objects (no commas)Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805430 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18fix make install, closes COUCHDB-471 againJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805410 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18Fixing make distcheck errors.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805272 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18Add license notice to couchdb.bat.tpl.inPaul Joseph Davis
Fix naming issue for windows c16e.exe git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805271 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18The real fix for the make install issue. Autotools FTLPaul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805260 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18Minor issue with make install not installing couchspawnkillable.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805245 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18Applying markh's Windows build patch.Paul Joseph Davis
Fixes COUCHDB-406 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805243 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17allow list function and view function to be in different design docs, patch ↵Jan Lehnardt
by Mark Hammond, closes COUCHDB-446 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805201 13f79535-47bb-0310-9956-ffa450edef68