summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-04Initial check-in of OAuth and cookie authentication.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800938 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04Rookie mistake. Needed to force a compiler error to determine the difference inPaul Joseph Davis
function signature. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800912 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04log bind_address and port after startup, helps with COUCHDB-393Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800884 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04encode slashes in db names in Location response header after database ↵Jan Lehnardt
creation, move couch_rep:url_encode/1 to couch_util:url_encode/1, closes COUCHDB-411 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800883 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04Proper fix because JS_VERSION cannot distinguish between 1.8.0 and 1.8.1Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800873 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04Fix couch_js.c compilation with builds of non-threadsafe Spidermonkey 1.7Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800843 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04search for jsapi.h in in $includedir and $includedir/js as a fallback, patch ↵Jan Lehnardt
by Alessandro Decina git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800757 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04add compile-time conditionals to support the upcoming Spidermonkey 1.8, swap ↵Jan Lehnardt
searching for libjs and libmozjs, patch by Alessandro Decina, closes COUCHDB-288 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800750 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01implement longpolling for _changes, unify _changes-mode parameters, patch by ↵Jan Lehnardt
Benoit Chesneau, closes COUCHDB-241 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@799862 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01enable include_docs=true for list functions, patch by Mark Hammond, closes ↵Jan Lehnardt
COUCHDB-444 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@799835 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29Fix for COUCHDB-434. Only reassign previous revid inside the updater process.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@799093 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27corrected caseNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@798283 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24reassemble split chunks in changes feed, add all() exportAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797553 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24speed up json encoding, patch by Brian Candler, closes COUCHDB-399Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797548 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24comment on jchris comment on not sending Content-Length for attachment GETsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797400 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23Apply patch by Volker Mische to improve the sidebar toggle animation. Really ↵Christopher Lenz
closes COUCHDB-425 now. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797252 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23Updated local_dev.ini build target as per Noah's suggestion.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797216 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23Make local_dev.ini a build product.Paul Joseph Davis
Finally fixing the local_dev.ini problem. local.ini will be copied over to local_dev.ini anytime the latter doesn't exist. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797097 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23etap tests should be executableAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797093 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23use spawn to avoid recursive gen_server callsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797092 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23Update svn:ignore for Makefile build products.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797056 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23Fixes error on first boot after adding an admin.Paul Joseph Davis
hash_admin_passwords() was being called after registering a config callback which caused couch_server to die when first booting. Just placed the first call before registering the callback. Thanks Bob Dionne. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797055 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23Fixes etap tests for recent updates.Paul Joseph Davis
Thanks Bob Dionne git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797053 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23Allow the Futon sidebar to be moved out of the way. Based on idea and patch ↵Christopher Lenz
by Volker Mische. Closes COUCHDB-425. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797024 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22Fix automatic group=true on reduce views in Futon, which was only getting ↵Christopher Lenz
applied erratically depending on timing. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796898 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22Fix off-by-one error in Futon view paging. Thanks to Jason Davies for the ↵Christopher Lenz
patch. Closes COUCHDB-428. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796895 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22Ignore whitespace in reduce code textarea in Futon. Closes COUCHDB-328.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796888 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22Apply patch by Jason Davies that improves how the view menu is populated: ↵Christopher Lenz
only one HTTP request (thanks to `include_docs`), and design docs and view names are sorted alphabetically. Closes COUCHDB-426. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796885 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22various bugfixes and improvements for view compactionAdam Kocoloski
View compaction was broken after the switch to signature-based index files, but we don't have tests for it yet so we didn't notice. I also committed a few changes that should make compaction faster and more robust: * commit the header immediately after compaction finishes. We used to wait 1 seconds, but if the server restarted in that second the index would be reset. * unlink from old index file at the end. Prevents process crashes that could couch_view (and with the delayed commit would sometimes cause index resets). * don't wait for running view updates to finish before replacing old view index file. If an update is running, restart it and point it to the new view group. This alleviates the situation where the view compaction goes into a busy wait, printing "still behind main file" 1000s of times to the log, and generally makes compaction finish more quickly. * better logging git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796805 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22Avoid usage of `Array.indexOf` function, which is not available on IE (and ↵Christopher Lenz
not yet part of any final ECMAScript standard). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796658 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22Change document creation in Futon so that it no longer prompts for a ↵Christopher Lenz
document ID, but simply opens the document page for an empty (and unsaved) document, and allows you to modify the ID. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796635 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21Fix for COUCHDB-318: when adding or renaming a field in Futon, check that a ↵Christopher Lenz
field with the same name does not already exist. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796548 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21Minor cosmetic cleanup for the custom test page: highight active navitem in ↵Christopher Lenz
sidebar, no toggle icon, resizable text area. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796544 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21Fix for compatibility of Futon with design documents that have slashes in ↵Christopher Lenz
the document ID or a view name. Closes COUCHDB-408 (again). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796541 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21Put the database name in the Futon sidebar in the link title, so it is still ↵Christopher Lenz
available in its entirety as a tooltip, even when the link text is cut off. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796537 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21Make the view-selection and jump-to-document widgets at the top of the Futon ↵Christopher Lenz
database page a bit more compact. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796535 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21Avoid wrapping of long database names in the Futon sidebar.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796269 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21One line patch to fix _local docs.Paul Joseph Davis
Accounts for _local docs not having conflict resolution in Futon. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796246 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21fix view selection in Futon for Opera, patch by Alexander Uvarov, closes ↵Jan Lehnardt
COUCHDB-369 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796234 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21refactor jquery.couch.js, gets rid of a lot of duplicate code, patch by Yoan ↵Jan Lehnardt
Blanc, closes COUCHDB-368 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796228 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21Close jsonp response for _changes requests. Patch by Benoit Chesneau. Closes ↵Jan Lehnardt
COUCHDB-418. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796207 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20Make the view URL in Futon consistent with the URL for views in the HTTP ↵Christopher Lenz
interface (and thereby also avoid a redirect). Thanks to Volker Mische for the suggestion and patch. Closes COUCHDB-408. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796027 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20Optimize filtered _changes to use an OS process only when actively filtering ↵Damien F. Katz
changes with the continuous=true option. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795953 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20Initial checkin of _changes filters. The prime weak-spot for this approach ↵John Christopher Anderson
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. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795687 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19oops, bug in r795297 (listen for local update notifications)Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795641 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19protect against empty (=deleted) values. Closes COUCHDB-355Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795630 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18listen for local update notifications when continuous=trueAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795297 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17update ibrowse to 1.5.1+Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795278 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17MD5 term checking by using leading bit in 32 bit length to indicate MD5 ↵Damien F. Katz
presence. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795277 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17update etap tests for new attachment format.Adam Kocoloski
031 #11 still fails because length is undefined in CouchDB's response. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795258 13f79535-47bb-0310-9956-ffa450edef68