summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-16Provide Content-MD5 header support for attachments.Paul Joseph Davis
Fixes COUCHDB-558. Thanks to Filipe Manana we now have checks for attachment transfer integrity using the Content-MD5 header (or trailer). Use of this integrity check is triggered by specifying a Content-MD5 header in your request with a value that is a base64 encoded md5. For requests that are using a chunked Transfer-Encoding it is also possible to use a trailer so that the Content-MD5 doesn't need to be known before transfer. This works by specifying a header "Trailer: Content-MD5" and then in the final chunk (the one with a size of zero) you can specify a Content-MD5 with exactly the same format as in the request headers. See the ETap test 130-attachments-md5.t for explicit examples of the request messages. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@891077 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15fix query_server_spec.rb for changes in the build processJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@890898 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14Email notification test failed. Undoing.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@890187 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14Forcing a build failure to check buildbot emails.Paul Joseph Davis
Blame Gavin. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@890186 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12Create a new sandbox for each reset.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@890008 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12Futon: Improve display of multi-line strings in tabular document view.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889867 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11Futon: Show empty lists and objects in document view as [] and {}, respectively.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889856 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11Futon: Remember tabular vs. source tab preference in a cookie.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889846 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11Futon: A couple of bug fixes:Christopher Lenz
* Enable tab insertion in text areas for temp views. * Properly sync disabled status of "grouping" control on page load. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889841 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11Futon: Allow control over the group and group_level options on reduce views.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889795 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11Futon: Improve storage of session state by storing short-term settings in ↵Christopher Lenz
the window.name. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889766 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10cache headers for favicon.ico - thanks Matthew HookerJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889402 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10Futon: Fix toggling of reduce checkbox on database page.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889307 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10Add a "Reduce" checkbox to the database view page in Futon, which controls ↵Christopher Lenz
the `reduce=true|false` query string parameter. I had to add `reduce=false` support for temp views on the server side to make the feature not-confusing. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889256 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10Futon: Update all the cache invalidation query strings from 0.9.0 to 0.11.0.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889148 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10Futon: Also enable tab insertion in the custom test textarea.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889139 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09Futon: Gecko now supports box-shadow, too.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889017 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09The "View Code" expansion triangle now actually shows the expanded/collapsed ↵Christopher Lenz
state. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889016 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09A couple of Futon improvements:Christopher Lenz
* JSON strings are now displayed as-is in the document view, without the escaping of new-lines and quotes. That dramatically improves readability of multi-line strings. * Same goes for editing of JSON string values. When a change to a field value is submitted, and the value is not valid JSON it is assumed to be a string. This improves editing of multi-line strings a lot. * Hitting tab in textareas no longer moves focus to the next form field, but simply inserts a tab character at the current caret position. * Fixed some font declarations. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889013 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08release old Fds on replication reboot, shut down child procs in a cleaner orderAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@888267 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06fix COUCHDB-593, thanks Roger Binns for reportingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@887791 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02removed add_fun optimization for filters, this provides better concurrency ↵John Christopher Anderson
at the cost of some function transfer/eval overhead, which will be optimized in a future patch. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@886334 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02COUCHDB-588: don't make log noise when an OS process chooses to terminate ↵Mark Hammond
normally git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@886319 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02minor changeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@886270 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02minor changeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@886267 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02added 0.9.2 changes/news to trunkNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@886242 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02ensure the child exit code is reported correctly to couchMark Hammond
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@886061 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02Fixes for make distcheck in the test/bench directory.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@886034 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01fixed paths for query_server_spec.rbJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885994 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01change some timings to make the changes test more robustJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885954 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30Fix two issues for databases upgraded from 0.9.x:Jan Lehnardt
- Compaction would fail. - GET /db/doc?attachments=true would generate a 500. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885542 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30passing test for filtered continuous changesJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885533 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30ETags on POSTs to _view and _list should depend on Keys. COUCHDB-586Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885529 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30work on COUCHDB-582, fixes issues with filtered longpoll requests closing earlyJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885329 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29add *.la and test/bench/run to .gitignoreJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885287 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29add assertion that _all_dbs API existsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885286 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27Fix weird error with JS_DefineFunctions call.Paul Joseph Davis
I found a fairly odd case with JS_DefineFunctions returning success without actually having defined any functions on the global object. This was happening on an Ubuntu 9.10 machine with Spidermonkey 1.7 which is most odd. I refactored the code to iterate over the JSFunctionSpec array and define the functions one by one which appears to alleviate the issue. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885041 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27cURL refactoring requires a version bump.Paul Joseph Davis
We might want to discuss making cURL a soft dependency. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885022 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27Force couchspawnkillable to be executable.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884948 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27Minor formatting fix.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884946 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27get windows building againMark Hammond
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884751 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Updated the benchmarks to use the new cURL adapter.Paul Joseph Davis
Moved the bench directory into the tests directory. Refactored the benchmarks to reuse more of the code from the JavaScript CLI test runner. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884716 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Remove test/javascript/run for distcheck.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884683 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Ignore test/javascript/run build productPaul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884680 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Forgot to add SCRIPT variable for test/javascript/runPaul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884679 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Ignoring src/couchdb/priv/couchjsPaul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884678 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Setup JavaScript command line runner.Paul Joseph Davis
All JS tests can now be run from the command line using the cURL adapter. In the future I would like to rework this and provide better TAP output. For now, each test is a single TAP assert. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884675 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Complete refactoring of couch_js.Paul Joseph Davis
In particular, the cURL bindings have been rewritten to be more useful and easily applied in command line scripts. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884672 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Move all C code to src/couchdb/privPaul Joseph Davis
Shuffling bits around to conform to Erlang conventions. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884671 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Use TEquals() in content_negotiation test.Jason David Davies
This gives us better error messages when the assertion fails. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884567 13f79535-47bb-0310-9956-ffa450edef68