/[Apache-SVN]/couchdb/trunk/src/couchdb/couch_httpd_db.erl
ViewVC logotype

Log of /couchdb/trunk/src/couchdb/couch_httpd_db.erl

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 882903 - (view) (annotate) - [select for diffs]
Modified Sat Nov 21 13:43:43 2009 UTC (5 days, 2 hours ago) by kocolosk
File length: 46402 byte(s)
Diff to previous 836324 (colored)
code improvements from tidier. Patch by Kostis Sagonas. COUCHDB-570

Revision 836324 - (view) (annotate) - [select for diffs]
Modified Sun Nov 15 04:11:11 2009 UTC (11 days, 11 hours ago) by damien
File length: 46400 byte(s)
Diff to previous 836087 (colored)
Testing of incremental attachments and more testing of multipart/handling.

Revision 836087 - (view) (annotate) - [select for diffs]
Modified Sat Nov 14 01:14:59 2009 UTC (12 days, 14 hours ago) by damien
File length: 45928 byte(s)
Diff to previous 836032 (colored)
Better testing of multipart/related

Revision 836032 - (view) (annotate) - [select for diffs]
Modified Fri Nov 13 22:29:09 2009 UTC (12 days, 17 hours ago) by damien
File length: 45906 byte(s)
Diff to previous 835981 (colored)
Remove debigging messages

Revision 835981 - (view) (annotate) - [select for diffs]
Modified Fri Nov 13 20:38:45 2009 UTC (12 days, 19 hours ago) by damien
File length: 45977 byte(s)
Diff to previous 834436 (colored)
Initial check-in of APIs for multiple/related supported and incremental replication of only changed attachments. Needs more far more testing and to be hooked up the replicator.

Revision 834436 - (view) (annotate) - [select for diffs]
Modified Tue Nov 10 11:40:01 2009 UTC (2 weeks, 2 days ago) by jan
File length: 42073 byte(s)
Diff to previous 833038 (colored)
Add doc id validation when creating a new document with the
standalone attachment API.

Closes COUCHDB-565.

Revision 833038 - (view) (annotate) - [select for diffs]
Modified Thu Nov 5 12:29:53 2009 UTC (3 weeks ago) by jan
File length: 42028 byte(s)
Diff to previous 833036 (colored)
typo, thanks David Coallier

Revision 833036 - (view) (annotate) - [select for diffs]
Modified Thu Nov 5 12:19:51 2009 UTC (3 weeks ago) by jan
File length: 42024 byte(s)
Diff to previous 832550 (colored)
add safety net for code accidents where the document id in a doc delete request got missing accidentally

Revision 832550 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 20:51:04 2009 UTC (3 weeks, 1 day ago) by damien
File length: 41624 byte(s)
Diff to previous 832427 (colored)
Added batching of multiple updating requests, to improve throughput with many writers. Also removed the couch_batch_save module, now batch requests are simply saved async as immediately, batching with outhr updates if possible.

Revision 832427 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 14:22:19 2009 UTC (3 weeks, 2 days ago) by jan
File length: 41343 byte(s)
Diff to previous 830056 (colored)
Allow updating a doc along with an attachment when posted from an
HTML form.

Patch by Robert Newson.
Closes COUCHDB-436.

We still need tests for the entire form-upload function.

Revision 830056 - (view) (annotate) - [select for diffs]
Modified Tue Oct 27 04:40:18 2009 UTC (4 weeks, 2 days ago) by davisp
File length: 41140 byte(s)
Diff to previous 829919 (colored)
Fixed a minor bug with attachments of zero length.

The Erlang PID handling the request would crash after headers were sent so that the browser never noticed but my cURL client did.


Revision 829919 - (view) (annotate) - [select for diffs]
Modified Mon Oct 26 19:50:04 2009 UTC (4 weeks, 2 days ago) by kocolosk
File length: 41052 byte(s)
Diff to previous 817398 (colored)
asking for a missing rev with ?rev or ?open_revs was a 500 response

Revision 817398 - (view) (annotate) - [select for diffs]
Modified Mon Sep 21 20:18:41 2009 UTC (2 months ago) by kocolosk
File length: 40908 byte(s)
Diff to previous 815984 (colored)
bugfix for _changes when DB is deleted mid-response

Revision 815984 - (view) (annotate) - [select for diffs]
Modified Wed Sep 16 22:04:18 2009 UTC (2 months, 1 week ago) by jchris
File length: 40778 byte(s)
Diff to previous 815629 (colored)
include_docs now take an _id (as well as a _rev) in the emitted value, to load docs other than the one doing the emitting. This means you can have one doc list a set of other docs to load in a single query. Enjoy!

Revision 815629 - (view) (annotate) - [select for diffs]
Modified Wed Sep 16 06:35:56 2009 UTC (2 months, 1 week ago) by jchris
File length: 40776 byte(s)
Diff to previous 815308 (colored)
add limit to _changes

Revision 815308 - (view) (annotate) - [select for diffs]
Modified Tue Sep 15 13:04:10 2009 UTC (2 months, 1 week ago) by jan
File length: 40483 byte(s)
Diff to previous 814893 (colored)
fix attachments with an undefined Content-Length header and no TE, patch by Benoit Chesneau, closes COUCHDB-497

Revision 814893 - (view) (annotate) - [select for diffs]
Modified Mon Sep 14 22:33:05 2009 UTC (2 months, 1 week ago) by damien
File length: 40484 byte(s)
Diff to previous 814828 (colored)
View refactoring and addition of raw collationoption. Significant performance improvements in view indexer.

Revision 814828 - (view) (annotate) - [select for diffs]
Modified Mon Sep 14 20:20:50 2009 UTC (2 months, 1 week ago) by jchris
File length: 40491 byte(s)
Diff to previous 814803 (colored)
finish committing my changes adventure. pardon the dust.

Revision 814803 - (view) (annotate) - [select for diffs]
Modified Mon Sep 14 19:40:41 2009 UTC (2 months, 1 week ago) by jchris
File length: 40372 byte(s)
Diff to previous 814787 (colored)
rollback mixed up commit, builds now

Revision 814787 - (view) (annotate) - [select for diffs]
Modified Mon Sep 14 19:17:28 2009 UTC (2 months, 1 week ago) by jchris
File length: 40553 byte(s)
Diff to previous 814778 (colored)
support for deletions in changes feed

Revision 814778 - (view) (annotate) - [select for diffs]
Modified Mon Sep 14 19:03:36 2009 UTC (2 months, 1 week ago) by jchris
File length: 40372 byte(s)
Diff to previous 814078 (colored)
removed _all_docs_by_seq in favor of _changes

Revision 814078 - (view) (annotate) - [select for diffs]
Modified Fri Sep 11 23:23:07 2009 UTC (2 months, 2 weeks ago) by damien
File length: 41651 byte(s)
Diff to previous 813051 (colored)
Refactoring of endkey code in views and btrees. End key functionaility is now handled inside the btree code, simplfying calling code and making it trivial to add new collation options

Revision 813051 - (view) (annotate) - [select for diffs]
Modified Wed Sep 9 16:53:49 2009 UTC (2 months, 2 weeks ago) by kocolosk
File length: 41791 byte(s)
Diff to previous 808716 (colored)
choice of uuid algos for better insert perf. Closes COUCHDB-465.  Thanks rnewson, bitdiddle

Revision 808716 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 01:10:42 2009 UTC (2 months, 4 weeks ago) by kocolosk
File length: 41799 byte(s)
Diff to previous 808574 (colored)
guard against non-existing filters in _changes

Revision 808574 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 19:26:35 2009 UTC (2 months, 4 weeks ago) by kocolosk
File length: 41342 byte(s)
Diff to previous 807459 (colored)
send deleted docs to _changes filters

Revision 807459 - (view) (annotate) - [select for diffs]
Modified Tue Aug 25 02:44:50 2009 UTC (3 months ago) by kocolosk
File length: 41331 byte(s)
Diff to previous 805430 (colored)
_ensure_full_commit?seq=N to ensure everything up to N is committed

Revision 805430 - (view) (annotate) - [select for diffs]
Modified Tue Aug 18 14:48:03 2009 UTC (3 months, 1 week ago) by kocolosk
File length: 40743 byte(s)
Diff to previous 804555 (colored)
continuous _changes are now newline-delimited JSON Objects (no commas)

Revision 804555 - (view) (annotate) - [select for diffs]
Modified Sun Aug 16 03:07:21 2009 UTC (3 months, 1 week ago) by davisp
File length: 39816 byte(s)
Diff to previous 804428 (colored)
Make POST's reflect a provided _id member.

Fixes COUCHDB-468


Revision 804428 - (view) (annotate) - [select for diffs]
Modified Sat Aug 15 02:09:16 2009 UTC (3 months, 1 week ago) by kocolosk
File length: 39706 byte(s)
Diff to previous 804427 (colored)
replace regexp with re. Thanks Kim Shrier, Gordon Stratton. Closes COUCHDB-245

Revision 804427 - (view) (annotate) - [select for diffs]
Modified Sat Aug 15 01:55:32 2009 UTC (3 months, 1 week ago) by kocolosk
File length: 39713 byte(s)
Diff to previous 804269 (colored)
delayed commits are now a config option, off by default. Closes COUCHDB-449

Revision 804269 - (view) (annotate) - [select for diffs]
Modified Fri Aug 14 15:47:27 2009 UTC (3 months, 1 week ago) by davisp
File length: 39633 byte(s)
Diff to previous 804094 (colored)
Fixes COUCHDB-422 - Reject invalid _local doc ids.



Revision 804094 - (view) (annotate) - [select for diffs]
Modified Fri Aug 14 06:58:30 2009 UTC (3 months, 1 week ago) by jchris
File length: 38940 byte(s)
Diff to previous 804087 (colored)
benoitc's attachment PUT patch passes tests for me. Closes COUCHDB-461

Revision 804087 - (view) (annotate) - [select for diffs]
Modified Fri Aug 14 06:10:16 2009 UTC (3 months, 1 week ago) by jchris
File length: 38595 byte(s)
Diff to previous 803690 (colored)
apply Benoit's patch fixing attachment content-length handling for GET from COUCHDB-461

Revision 803690 - (view) (annotate) - [select for diffs]
Modified Wed Aug 12 20:07:06 2009 UTC (3 months, 2 weeks ago) by kocolosk
File length: 39021 byte(s)
Diff to previous 803663 (colored)
rollback _conflicts view patch

Revision 803663 - (view) (annotate) - [select for diffs]
Modified Wed Aug 12 18:48:25 2009 UTC (3 months, 2 weeks ago) by jan
File length: 42412 byte(s)
Diff to previous 803358 (colored)
add native /db/_conflicts view, patch by Adam Kocolosk, closes COUCHDB-462

Revision 803358 - (view) (annotate) - [select for diffs]
Modified Wed Aug 12 03:20:21 2009 UTC (3 months, 2 weeks ago) by jchris
File length: 39021 byte(s)
Diff to previous 800883 (colored)
recloses COUCHDB-4 (view etags) thanks to Matt Goodall for the tests. keep 'em coming!

Revision 800883 - (view) (annotate) - [select for diffs]
Modified Tue Aug 4 17:25:17 2009 UTC (3 months, 3 weeks ago) by jan
File length: 39087 byte(s)
Diff to previous 799862 (colored)
encode slashes in db names in Location response header after database creation, move couch_rep:url_encode/1 to couch_util:url_encode/1, closes COUCHDB-411

Revision 799862 - (view) (annotate) - [select for diffs]
Modified Sat Aug 1 13:50:38 2009 UTC (3 months, 3 weeks ago) by jan
File length: 39064 byte(s)
Diff to previous 797400 (colored)
implement longpolling for _changes, unify _changes-mode parameters, patch by Benoit Chesneau, closes COUCHDB-241

Revision 797400 - (view) (annotate) - [select for diffs]
Modified Fri Jul 24 09:55:09 2009 UTC (4 months ago) by jan
File length: 38793 byte(s)
Diff to previous 796207 (colored)
comment on jchris comment on not sending Content-Length for attachment GETs

Revision 796207 - (view) (annotate) - [select for diffs]
Modified Tue Jul 21 09:18:07 2009 UTC (4 months ago) by jan
File length: 38686 byte(s)
Diff to previous 795953 (colored)
Close jsonp response for _changes requests. Patch by Benoit Chesneau. Closes COUCHDB-418.

Revision 795953 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 18:46:30 2009 UTC (4 months, 1 week ago) by damien
File length: 38681 byte(s)
Diff to previous 795687 (colored)
Optimize filtered _changes to use an OS process only when actively filtering changes with the continuous=true option.

Revision 795687 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 04:11:36 2009 UTC (4 months, 1 week ago) by jchris
File length: 38892 byte(s)
Diff to previous 795232 (colored)
Initial checkin of _changes filters. The prime weak-spot for this approach is that it maintains an OS-process per connected filtered _changes consumer. I'm pretty sure we'll be able to work around this without changing the API, but it'll involve a lot of OS-process bookkeeping. Those enhancements should generally improve show & list performance as well. Punting on them for now, first wanted to get _changes filters implemented so people could give feedback.

Revision 795232 - (view) (annotate) - [select for diffs]
Modified Fri Jul 17 21:33:41 2009 UTC (4 months, 1 week ago) by damien
File length: 37360 byte(s)
Diff to previous 794057 (colored)
Deterministic revids, MD5 checking of documents, added tracking of rev when an attachment is edited to allow attachment level replication.

Revision 794057 - (view) (annotate) - [select for diffs]
Modified Tue Jul 14 20:21:39 2009 UTC (4 months, 1 week ago) by nslater
File length: 36789 byte(s)
Diff to previous 793363 (colored)
wheeeeeeee

Revision 793363 - (view) (annotate) - [select for diffs]
Modified Sun Jul 12 15:01:40 2009 UTC (4 months, 2 weeks ago) by jchris
File length: 36802 byte(s)
Diff to previous 793205 (colored)
removed some unnecessary logging

Revision 793205 - (view) (annotate) - [select for diffs]
Modified Sat Jul 11 17:00:42 2009 UTC (4 months, 2 weeks ago) by jan
File length: 36896 byte(s)
Diff to previous 792774 (colored)
send Location header for new or updated attachments

Revision 792774 - (view) (annotate) - [select for diffs]
Modified Fri Jul 10 01:17:15 2009 UTC (4 months, 2 weeks ago) by jchris
File length: 36571 byte(s)
Diff to previous 792771 (colored)
fix attachment etags, thanks Mark Hammond for the test case. closes COUCHDB-386

Revision 792771 - (view) (annotate) - [select for diffs]
Modified Fri Jul 10 00:59:36 2009 UTC (4 months, 2 weeks ago) by jchris
File length: 36431 byte(s)
Diff to previous 792013 (colored)
Apply patch from Benoit Chesneau's COUCHDB-404

Restores 0.8-style /db/_view view urls and adds an option to render views and documents as other formats like:

/db/docid?show=blog/post
/db/_view/blog/posts?list=index

We're retaining the longer _design/appname paths as well because that resource is valuable for reverse proxies and rewriters.


Revision 792013 - (view) (annotate) - [select for diffs]
Modified Wed Jul 8 01:33:00 2009 UTC (4 months, 2 weeks ago) by davisp
File length: 35497 byte(s)
Diff to previous 791350 (colored)
Fixes COUCHDB-389

Provide an offset calculation for all view responses.

Thanks Brad Anderson.


Revision 791350 - (view) (annotate) - [select for diffs]
Modified Mon Jul 6 00:33:50 2009 UTC (4 months, 3 weeks ago) by nslater
File length: 35487 byte(s)
Diff to previous 791140 (colored)
trimmed trailing whitespace

Revision 791140 - (view) (annotate) - [select for diffs]
Modified Sat Jul 4 15:47:47 2009 UTC (4 months, 3 weeks ago) by jchris
File length: 35604 byte(s)
Diff to previous 788979 (colored)
Name view index files by their function hashes for no downtime deploys. Closes COUCHDB-218

Adds ability to switch view indexes on the fly by building the index from a "staging" design doc, and then COPYing the staging doc to the production doc's id. Since indexes are referenced by view definition, the new version of the production design doc will point immediately to the index files already built in staging.

Please use and give feedback.

Revision 788979 - (view) (annotate) - [select for diffs]
Modified Sat Jun 27 14:32:36 2009 UTC (4 months, 4 weeks ago) by jchris
File length: 34750 byte(s)
Diff to previous 786337 (colored)
removed some dead code found by Dialyzer, more to come

Revision 786337 - (view) (annotate) - [select for diffs]
Modified Thu Jun 18 23:43:40 2009 UTC (5 months, 1 week ago) by davisp
File length: 34800 byte(s)
Diff to previous 780539 (colored)
Fixes COUCHDB-383 - Ignore extra URL parameters.

No one opposed the switch so here it is.


Revision 780539 - (view) (annotate) - [select for diffs]
Modified Mon Jun 1 00:27:28 2009 UTC (5 months, 3 weeks ago) by damien
File length: 34816 byte(s)
Diff to previous 780531 (colored)
Added tests for heartbeat and timeout options in the _changes api.

Revision 780531 - (view) (annotate) - [select for diffs]
Modified Sun May 31 23:45:12 2009 UTC (5 months, 3 weeks ago) by damien
File length: 34786 byte(s)
Diff to previous 780529 (colored)
Removed space from whitespace heartbeat in _changes api

Revision 780529 - (view) (annotate) - [select for diffs]
Modified Sun May 31 23:43:22 2009 UTC (5 months, 3 weeks ago) by damien
File length: 34787 byte(s)
Diff to previous 778485 (colored)
Added timeout and heartbeat options to the _changes api

Revision 778485 - (view) (annotate) - [select for diffs]
Modified Mon May 25 19:52:28 2009 UTC (6 months ago) by damien
File length: 33583 byte(s)
Diff to previous 778072 (colored)
Merging new tail append storage into trunk. Upgrades are automatic, once opened by this version  old versions of CouchDB will not be able to open the files. As a precaution, you should back-up your production databases before upgrading.

Revision 778072 - (view) (annotate) - [select for diffs]
Modified Sun May 24 00:04:36 2009 UTC (6 months ago) by damien
File length: 33656 byte(s)
Diff to previous 777757 (colored)
Added stats tracking for active _changes clients.

Revision 777757 - (view) (annotate) - [select for diffs]
Modified Sat May 23 01:14:13 2009 UTC (6 months ago) by jchris
File length: 33525 byte(s)
Diff to previous 773401 (colored)
added an design doc option so that doc._local_seq can be available in the map view. Closes COUCHDB-346

Revision 773401 - (view) (annotate) - [select for diffs]
Modified Sun May 10 20:19:04 2009 UTC (6 months, 2 weeks ago) by jchris
File length: 33377 byte(s)
Diff to previous 773387 (colored)
export a method

Revision 773387 - (view) (annotate) - [select for diffs]
Modified Sun May 10 19:20:23 2009 UTC (6 months, 2 weeks ago) by jchris
File length: 33315 byte(s)
Diff to previous 773319 (colored)
refactor JSON body error handling, also consolidate update_docs JSON response generation.

Revision 773319 - (view) (annotate) - [select for diffs]
Modified Sun May 10 09:11:52 2009 UTC (6 months, 2 weeks ago) by jchris
File length: 34165 byte(s)
Diff to previous 772406 (colored)
Refactor the make_view_fold_function stuff. Added a proper Acc to both map and reduce view folds. Cleaned up some pattern matchers.

Revision 772406 - (view) (annotate) - [select for diffs]
Modified Wed May 6 19:11:10 2009 UTC (6 months, 3 weeks ago) by damien
File length: 34109 byte(s)
Diff to previous 771474 (colored)
First cut at _changes api. Update the by_id and by_seq indexes to contain update seq numbers and pointers to bodies on disk, for use in the _changes api. This is a new file version, but the code can continue to serve the old 0.9 version without problems, though certain features in the _changes api will not be able to work. Upgrade to new file version (from 1 to 2) by compacting the file. Also fixed bugs with how the stats api tracks open databases.

Revision 771474 - (view) (annotate) - [select for diffs]
Modified Mon May 4 22:25:23 2009 UTC (6 months, 3 weeks ago) by kocolosk
File length: 31337 byte(s)
Diff to previous 771418 (colored)
standalone attachment GETs should respect "rev" qs param

Revision 771418 - (view) (annotate) - [select for diffs]
Modified Mon May 4 19:59:39 2009 UTC (6 months, 3 weeks ago) by jchris
File length: 31369 byte(s)
Diff to previous 769127 (colored)
Use batch=ok query param for document PUT and POST to defer index updates until a threshold of documents (or amount of time) has been passed.
This option returns a 202 Accepted response instead of a 201 Created, so do not use it for applications which require all data to be saved safely to disk. It is ideal for applications like logging where losing some events in a crash will be ok.

Revision 769127 - (view) (annotate) - [select for diffs]
Modified Mon Apr 27 19:41:23 2009 UTC (6 months, 4 weeks ago) by davisp
File length: 30443 byte(s)
Diff to previous 767543 (colored)
Resolves COUCHDB-332 Proper errors for invalid docids.


Revision 767543 - (view) (annotate) - [select for diffs]
Modified Wed Apr 22 14:41:47 2009 UTC (7 months ago) by davisp
File length: 30369 byte(s)
Diff to previous 766505 (colored)
Refactoring the view URL parameter parsing.


Revision 766505 - (view) (annotate) - [select for diffs]
Modified Sun Apr 19 20:02:45 2009 UTC (7 months, 1 week ago) by davisp
File length: 30340 byte(s)
Diff to previous 766373 (colored)
COUCHDB-306 - Improving reported errors.

Case #3 turns out to be misusing the end-point for HTML forms that Futon uses.
For new people it would also be triggered by accidentally using POST when a PUT
to /db_name/docid is used.


Revision 766373 - (view) (annotate) - [select for diffs]
Modified Sat Apr 18 18:34:31 2009 UTC (7 months, 1 week ago) by davisp
File length: 30131 byte(s)
Diff to previous 762153 (colored)
Resolves COUCHDB-306 - Wacky error responses to malformed documents

Mostly adds improvements to the parsing of Json bodies for _bulk_docs and
multi-get queries. Includes tests in basics.js and view_errors.js.


Revision 762153 - (view) (annotate) - [select for diffs]
Modified Sun Apr 5 20:34:35 2009 UTC (7 months, 3 weeks ago) by kocolosk
File length: 29656 byte(s)
Diff to previous 758942 (colored)
added compaction for view indexes.  See COUCHDB-92

No tests or Futon interface for this feature yet.

Revision 758942 - (view) (annotate) - [select for diffs]
Modified Fri Mar 27 00:26:39 2009 UTC (8 months ago) by jan
File length: 29493 byte(s)
Diff to previous 758768 (colored)
Location header responses should be absolute URIs, thanks Christopher

Revision 758768 - (view) (annotate) - [select for diffs]
Modified Thu Mar 26 17:40:27 2009 UTC (8 months ago) by jan
File length: 29405 byte(s)
Diff to previous 758723 (colored)
return a Location header on newly created documents using PUT requests

Revision 758723 - (view) (annotate) - [select for diffs]
Modified Thu Mar 26 16:28:21 2009 UTC (8 months ago) by jan
File length: 29198 byte(s)
Diff to previous 756948 (colored)
return Location header for newly create databases

Revision 756948 - (view) (annotate) - [select for diffs]
Modified Sat Mar 21 14:18:46 2009 UTC (8 months ago) by jchris
File length: 29167 byte(s)
Diff to previous 756186 (colored)
provide a 404 response on deletion of non-existant docs
closes COUCHDB-297

Revision 756186 - (view) (annotate) - [select for diffs]
Modified Thu Mar 19 20:51:28 2009 UTC (8 months, 1 week ago) by cmlenz
File length: 29062 byte(s)
Diff to previous 755575 (colored)
Bring back Futon attachment uploading that was removed in the recent rep_security merge. Should close COUCHDB-295. Ideally this would have a test, but that will need some trickery.

Revision 755575 - (view) (annotate) - [select for diffs]
Modified Wed Mar 18 12:15:17 2009 UTC (8 months, 1 week ago) by jan
File length: 28238 byte(s)
Diff to previous 753448 (colored)
remove MOVE requests as they can't sensibly be supported and COPY & DELETE does the same thing

Revision 753448 - (view) (annotate) - [select for diffs]
Modified Fri Mar 13 22:15:34 2009 UTC (8 months, 2 weeks ago) by jchris
File length: 29184 byte(s)
Diff to previous 751813 (colored)
Commit Damien's rep_security branch to trunk. 
Changes bulk_docs conflict checking. 
Breaks file format, see mailing list for data upgrade procedure, or
http://wiki.apache.org/couchdb/Breaking_changes

Revision 751813 - (view) (annotate) - [select for diffs]
Modified Mon Mar 9 19:52:54 2009 UTC (8 months, 2 weeks ago) by jchris
File length: 27356 byte(s)
Diff to previous 750699 (colored)
merge design doc resource branch. breaking changes to _view query paths. 
closes COUCHDB-280

Revision 750699 - (view) (annotate) - [select for diffs]
Modified Fri Mar 6 00:20:53 2009 UTC (8 months, 3 weeks ago) by jchris
File length: 27005 byte(s)
Diff to previous 750695 (colored)
tiny refactor of validate_attachment_name for pattern matching

Revision 750695 - (view) (annotate) - [select for diffs]
Modified Fri Mar 6 00:12:15 2009 UTC (8 months, 3 weeks ago) by jan
File length: 27059 byte(s)
Diff to previous 749902 (colored)
Verify attachment names. They must be utf-8 (closes COUCHDB-280) and must not start with an underscore.

Revision 749902 - (view) (annotate) - [select for diffs]
Modified Wed Mar 4 04:45:10 2009 UTC (8 months, 3 weeks ago) by jchris
File length: 25736 byte(s)
Diff to previous 749852 (colored)
refactor show 404 handling doc-loading special case out of couch_httpd_db.erl

Revision 749852 - (view) (annotate) - [select for diffs]
Modified Wed Mar 4 00:15:07 2009 UTC (8 months, 3 weeks ago) by jan
File length: 25950 byte(s)
Diff to previous 748582 (colored)
allow for handling 404s in document show functions

Revision 748582 - (view) (annotate) - [select for diffs]
Modified Fri Feb 27 16:44:53 2009 UTC (8 months, 4 weeks ago) by jan
File length: 25736 byte(s)
Diff to previous 748217 (colored)
- group HTTP method stats into httpd_requests_methods as per Christopher Lenz's suggestion
- renamed http_status_codes to httpd_status_codes
- better internal variable naming
- remove comments that were leftovers from earlier refactoring

Revision 748217 - (view) (annotate) - [select for diffs]
Modified Thu Feb 26 17:28:25 2009 UTC (8 months, 4 weeks ago) by jan
File length: 26353 byte(s)
Diff to previous 746691 (colored)
- add descriptions to metrics
- move document_* metrics to couch_db module and merge them into database_* metrics

Revision 746691 - (view) (annotate) - [select for diffs]
Modified Sun Feb 22 13:50:38 2009 UTC (9 months ago) by jan
File length: 26335 byte(s)
Diff to previous 744747 (colored)
Add runtime statistics -- without EUnit tests for now.

Revision 744747 - (view) (annotate) - [select for diffs]
Modified Sun Feb 15 20:36:53 2009 UTC (9 months, 1 week ago) by jchris
File length: 25684 byte(s)
Diff to previous 743971 (colored)
View etags are now provided. See note in the source about how they could be more efficient. Changes arity on make_view_fold_fun etc. Closes COUCHDB-4

Revision 743971 - (view) (annotate) - [select for diffs]
Modified Fri Feb 13 03:55:36 2009 UTC (9 months, 1 week ago) by jchris
File length: 24917 byte(s)
Diff to previous 742158 (colored)
Accept standalone attachment PUTs with Transfer-Encoding: chunked 
Includes a patch to mochiweb_request that is under review for inclusion upstream.

Revision 742158 - (view) (annotate) - [select for diffs]
Modified Sun Feb 8 20:29:51 2009 UTC (9 months, 2 weeks ago) by jchris
File length: 24379 byte(s)
Diff to previous 739157 (colored)
extract method couch_httpd:send_redirect(Req, Path)

Revision 739157 - (view) (annotate) - [select for diffs]
Modified Fri Jan 30 03:50:44 2009 UTC (9 months, 3 weeks ago) by jchris
File length: 24459 byte(s)
Diff to previous 739133 (colored)
swap 412 ad 409 error codes. fixes COUCHDB-226

Revision 739133 - (view) (annotate) - [select for diffs]
Modified Fri Jan 30 01:40:38 2009 UTC (9 months, 3 weeks ago) by jchris
File length: 24459 byte(s)
Diff to previous 739047 (colored)
POST to create docs returns a Location header. fixes COUCHDB-8

Revision 739047 - (view) (annotate) - [select for diffs]
Modified Thu Jan 29 22:15:48 2009 UTC (9 months, 3 weeks ago) by jchris
File length: 24323 byte(s)
Diff to previous 738237 (colored)
Replacement of inets with ibrowse. Fixes COUCHDB-179 and enhances replication.
Thanks Jason Davies and Adam Kocoloski for the fix, Maximillian Dornseif for reporting.

Revision 738237 - (view) (annotate) - [select for diffs]
Modified Tue Jan 27 20:46:39 2009 UTC (9 months, 4 weeks ago) by jchris
File length: 24283 byte(s)
Diff to previous 736876 (colored)
Improved etag handling for show funcs and db_doc requests; main.js cleanup (baby steps); null doc allowed for show funcs

Revision 736876 - (view) (annotate) - [select for diffs]
Modified Fri Jan 23 00:53:05 2009 UTC (10 months ago) by jchris
File length: 24554 byte(s)
Diff to previous 736856 (colored)
View list functions can stream views in any format. See list_views test for details.

Revision 736856 - (view) (annotate) - [select for diffs]
Modified Thu Jan 22 23:55:43 2009 UTC (10 months ago) by jchris
File length: 24326 byte(s)
Diff to previous 735850 (colored)
Fix some eJSON stragglers (works with mochijson2, but not eep18). thanks kocolosk!

Revision 735850 - (view) (annotate) - [select for diffs]
Modified Mon Jan 19 22:22:37 2009 UTC (10 months ago) by jchris
File length: 24302 byte(s)
Diff to previous 734849 (colored)
fix for COUCHDB-214 (design docs on dbs with slashes)

Revision 734849 - (view) (annotate) - [select for diffs]
Modified Thu Jan 15 23:12:56 2009 UTC (10 months, 1 week ago) by damien
File length: 24251 byte(s)
Diff to previous 733461 (colored)
Support for streaming attachment writes.

Revision 733461 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 12:29:04 2009 UTC (10 months, 2 weeks ago) by jchris
File length: 24006 byte(s)
Diff to previous 733174 (colored)
Polishing _design/doc urls with slashes -- adding auto redirect from the old %2F style urls to the new pretty ones.

Revision 733174 - (view) (annotate) - [select for diffs]
Modified Fri Jan 9 22:20:48 2009 UTC (10 months, 2 weeks ago) by damien
File length: 23483 byte(s)
Diff to previous 733116 (colored)
Added support so clients can detect if a server has potentially lost commits after multiple updates, like during bulk imports and so the replicator can detect lost commits on remote replications.

Revision 733116 - (view) (annotate) - [select for diffs]
Modified Fri Jan 9 19:03:22 2009 UTC (10 months, 2 weeks ago) by jchris
File length: 23420 byte(s)
Diff to previous 731452 (colored)
fixed _all_docs view to use the correct PassedEndFun for binary docid sorting

Revision 731452 - (view) (annotate) - [select for diffs]
Modified Mon Jan 5 05:42:52 2009 UTC (10 months, 3 weeks ago) by damien
File length: 23074 byte(s)
Diff to previous 731159 (colored)
Delayed commit patch. Allows documents to be saved immediately but fully committed asynchronously. On by default, to fully commit documents synchronously, use X-Couch-Full-Commit=true in the http header. We still needs to prevent committing view indexes ahead of data and to detect when a server has crashed causing potentially lost updates during remote replication (fixed by retrying the incremental replication).

Revision 731159 - (view) (annotate) - [select for diffs]
Modified Sun Jan 4 02:28:08 2009 UTC (10 months, 3 weeks ago) by jchris
File length: 22644 byte(s)
Diff to previous 729992 (colored)
change count to limit in view query params

Revision 729992 - (view) (annotate) - [select for diffs]
Modified Mon Dec 29 20:14:37 2008 UTC (10 months, 3 weeks ago) by jan
File length: 22644 byte(s)
Diff to previous 729587 (colored)
add etags to standalone attachment requests. Closes COUCHDB-184

Revision 729587 - (view) (annotate) - [select for diffs]
Modified Sat Dec 27 03:55:18 2008 UTC (10 months, 4 weeks ago) by jchris
File length: 22568 byte(s)
Diff to previous 728177 (colored)
design docs use slashes. attachements with slashes in the name can be accessed with slashes in the url

Revision 728177 - (view) (annotate) - [select for diffs]
Modified Fri Dec 19 22:26:34 2008 UTC (11 months, 1 week ago) by cmlenz
File length: 22350 byte(s)
Diff to previous 726143 (colored)
Fix Etag checking for document requests: need to convert Etag header value to binary early, as the `ExplicitRev` is already a binary, thus the comparison would fail.

Revision 726143 - (view) (annotate) - [select for diffs]
Modified Fri Dec 12 22:32:42 2008 UTC (11 months, 2 weeks ago) by joes
File length: 22355 byte(s)
Diff to previous 720384 (colored)
move couchdb to tlp

Revision 720384 - (view) (annotate) - [select for diffs]
Modified Tue Nov 25 02:47:39 2008 UTC (12 months ago) by jchris
Original Path: incubator/couchdb/trunk/src/couchdb/couch_httpd_db.erl
File length: 22355 byte(s)
Diff to previous 719160 (colored)
_all_docs_by_seq works with descending=true

Revision 719160 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 04:42:43 2008 UTC (12 months ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_httpd_db.erl
File length: 22327 byte(s)
Diff to previous 718311 (colored)
Nearly completed security/validation work. Still needs replication testing.

Revision 718311 - (view) (annotate) - [select for diffs]
Modified Mon Nov 17 18:18:51 2008 UTC (12 months, 1 week ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_httpd_db.erl
File length: 21890 byte(s)
Diff to previous 713132 (colored)
More security and validation work. Still incomplete.

Revision 713132 - (view) (annotate) - [select for diffs]
Modified Tue Nov 11 19:45:50 2008 UTC (12 months, 2 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_httpd_db.erl
File length: 21859 byte(s)
Diff to previous 706848 (colored)
Check in of initial validation and authorization work. This work is incomplete, as there is not yet any way of restricting who can update the design docs.

Revision 706848 - (view) (annotate) - [select for diffs]
Modified Wed Oct 22 03:08:53 2008 UTC (13 months ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_httpd_db.erl
File length: 21753 byte(s)
Diff to previous 703275 (colored)
First check-in of admin http authentication and authorization.

Revision 703275 - (view) (annotate) - [select for diffs]
Modified Thu Oct 9 22:02:05 2008 UTC (13 months, 2 weeks ago) by jchris
Original Path: incubator/couchdb/trunk/src/couchdb/couch_httpd_db.erl
File length: 21669 byte(s)
Diff to previous 701847 (colored)
remove content-length header from file attachment responses. see inline comments

Revision 701847 - (view) (annotate) - [select for diffs]
Modified Sun Oct 5 18:54:36 2008 UTC (13 months, 3 weeks ago) by jchris
Original Path: incubator/couchdb/trunk/src/couchdb/couch_httpd_db.erl
File length: 21384 byte(s)
Diff to previous 701814 (colored)
include_docs option adds a doc member to view rows with the latest _rev of the document (or the _rev specified in the row value)

Revision 701814 - (view) (annotate) - [select for diffs]
Modified Sun Oct 5 16:00:15 2008 UTC (13 months, 3 weeks ago) by jchris
Original Path: incubator/couchdb/trunk/src/couchdb/couch_httpd_db.erl
File length: 21356 byte(s)
Diff to previous 701174 (colored)
added multi-key requests to _view, _temp_view, and _all_docs (with help from davisp)

Revision 701174 - (view) (annotate) - [select for diffs]
Added Thu Oct 2 16:14:45 2008 UTC (13 months, 3 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_httpd_db.erl
File length: 19646 byte(s)
Added files forgotten in the httpd refactoring checkin.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2