summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
2009-04-18refactor main.js into many files and improve show/list error handlingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766383 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18Resolves COUCHDB-306 - Wacky error responses to malformed documentsPaul Joseph Davis
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. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766373 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18Fixes COUCHDB-322Paul Joseph Davis
Specifying reduce=true now returns a 400 error when the view has no reduce function. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766347 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17output errors differently during chunked responses (view and list)John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@765819 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16Baby steps toward better reporting of os_process errors (and JavaScript ↵John Christopher Anderson
syntax errors) git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@765479 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15add bulkSave method to jquery.couch.jsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@765419 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15URL-encode attachment paths during replicationAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@765364 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14whitespaceJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@764835 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10Fixes for leaked file handles, with test.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@763858 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09Fix for attachment sparseness bug COUCHDB-220 by giving each attachment it's ↵Damien F. Katz
own stream and calling set_min_buffer instead of ensure_buffer. Also fixed spurious couch_file crash messages by putting the statistics decrement code into a seperate monitoring process. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@763816 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28always load _conflicts in _show functionsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@759588 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27Location header responses should be absolute URIs, thanks ChristopherJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@758942 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26return a Location header on newly created documents using PUT requestsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@758768 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26return Location header for newly create databasesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@758723 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26whitespaceJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@758717 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24fix unstable stats test; the open_os_files counter needs a separate testJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@757744 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24force full doc reload because ETags don't honour compactionJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@757711 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21regression test for update/delete in one bulk_docs updateJohn Christopher Anderson
closes COUCHDB-172 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@756953 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21provide a 404 response on deletion of non-existant docsJohn Christopher Anderson
closes COUCHDB-297 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@756948 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21Fix for COUCHDB-300. Old seq were being removed when a conflict. An old bug, ↵Damien F. Katz
but recent changes made it much more likely to happen. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@756925 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20Futon reduce pagination. Fixes COUCHDB-172John Christopher Anderson
Thanks Jason Davies. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@756428 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20map queries with group=true query option will return an error.John Christopher Anderson
closes COUCHDB-185. changes to jquery.couch.js to support ajaxOptions may be useful for more than just openDoc, will need to be spread to the rest of the API. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@756413 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20remove leftovers of MOVE form the stats testsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@756404 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19inclusive_end query option for views, defaults to true (does not change ↵John Christopher Anderson
current behavior). inclusive_end=false treats endkey as an open interval. this is progress on COUCHDB-194. I think it is enough for 0.9, we can discuss switching the default behavior, and adding a similar option for startkey. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@755926 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18fix make installJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@755616 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18reflect filename change in the loadTest() functionJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@755577 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18rename test file to reclect new test nameJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@755576 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18remove MOVE requests as they can't sensibly be supported and COPY & DELETE ↵Jan Lehnardt
does the same thing git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@755575 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17show group=true notice only when view results are shownJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@755205 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17Closes COUCHDB-135 View offset regression after 0.8.1Paul Joseph Davis
This test shows that Damien's changes to couch_btree.erl have alleviated the offset regersion reported by Paul Carey. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@755105 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16tabs->spaces, other whitespace enhancementsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@754843 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15add note about Futon adding `?group=true` to view queries automaticallyJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@754720 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15Streaming attachment replication now follows redirects and checks for error ↵John Christopher Anderson
codes. Includes tests that design doc attachments are replicated. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@754704 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15error message on invalid rev format.John Christopher Anderson
another replication test. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@754563 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13Commit Damien's rep_security branch to trunk. John Christopher Anderson
Changes bulk_docs conflict checking. Breaks file format, see mailing list for data upgrade procedure, or http://wiki.apache.org/couchdb/Breaking_changes git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@753448 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10Update the 'Raw view' link on the Futon database page to reflect the recent ↵Christopher Lenz
view URL change. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@752167 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10Remove leftover console.log(). Should we get a pre-commit hook for these? ↵Jan Lehnardt
Closes COUCHDB-286. Patch by Jason Smith, thanks. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@752020 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09merge design doc resource branch. breaking changes to _view query paths. John Christopher Anderson
closes COUCHDB-280 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@751813 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06validate reduce view list queries, make query_parse_error response code 400John Christopher Anderson
thanks Jan, thanks Jason Davies. closes COUCHDB-283 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750969 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06roll Applications tab out of Futon index pageJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750769 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06Verify attachment names. They must be utf-8 (closes COUCHDB-280) and must ↵Jan Lehnardt
not start with an underscore. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750695 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05make row_info.prev_key available on 2nd rowJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750683 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05allow multi-key POST requests for _list. John Christopher Anderson
closes COUCHDB-269. thanks Jason Davies git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750565 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04whitespaceJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749857 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04allow for handling 404s in document show functionsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749852 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03stats metrics renamed: os_open_files -> open_os_files, database_changes -> ↵Jan Lehnardt
database_writes git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749583 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28supply etags for reduce view listsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748754 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27- remove unused aggregate metrics fieldJan Lehnardt
- return an empty object when there are no stats git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748622 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27- group HTTP method stats into httpd_requests_methods as per Christopher ↵Jan Lehnardt
Lenz's suggestion - renamed http_status_codes to httpd_status_codes - better internal variable naming - remove comments that were leftovers from earlier refactoring git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748582 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26Fix and test for file descriptor leaksDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748299 13f79535-47bb-0310-9956-ffa450edef68