summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2009-07-17Deterministic revids, MD5 checking of documents, added tracking of rev when ↵Damien F. Katz
an attachment is edited to allow attachment level replication. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795232 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17one line fixNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795125 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16second cut at _changes feed consumer. still not used by replicatorAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794851 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16first cut at _changes feed consumer. not yet used by replicationAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794848 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16checkpoint long-running view updatesAdam Kocoloski
Improves stale=ok view queries, which will now see gradually updating indexes. Also reduces the consequences of an updater crash because we can restart from the latest checkpoint. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794843 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794834 ↵Noah Slater
13f79535-47bb-0310-9956-ffa450edef68
2009-07-16build fails, note to selfNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794833 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16fixed bugNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794831 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16added missing fileNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794828 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14wheeeeeeeeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794057 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14corrected spellingNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794035 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14updated licence.skipNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794033 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14added licence check, and licence.skipNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794030 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12Added an implementation of Tequals(expect, found, mesg)Paul Joseph Davis
As per request of Jan. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793403 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12removed some unnecessary loggingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793363 13f79535-47bb-0310-9956-ffa450edef68
2009-07-11Updated the custom test run to use a locally defined T() function.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793233 13f79535-47bb-0310-9956-ffa450edef68
2009-07-11Only update a document's _id and _rev if the save was successful.Paul Joseph Davis
Thanks Jason Davies. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793218 13f79535-47bb-0310-9956-ffa450edef68
2009-07-11Forgot to add custom_test.html to share/Makefile.amPaul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793217 13f79535-47bb-0310-9956-ffa450edef68
2009-07-11Create tests in Futon.Paul Joseph Davis
On the test suite page there is now a button that will give you a page to create a custom test that can then be submitted along with JIRA tickets. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793214 13f79535-47bb-0310-9956-ffa450edef68
2009-07-11send Location header for new or updated attachmentsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793205 13f79535-47bb-0310-9956-ffa450edef68
2009-07-11tabs -> spaces, other whitespaceJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793199 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10fix whitespaceJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@792959 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10remove log statementJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@792931 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10fix attachment etags, thanks Mark Hammond for the test case. closes COUCHDB-386John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@792774 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10Apply patch from Benoit Chesneau's COUCHDB-404John Christopher Anderson
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. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@792771 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09fix and test for scrambling of large inline attachmentsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@792618 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08Fixes COUCHDB-389Paul Joseph Davis
Provide an offset calculation for all view responses. Thanks Brad Anderson. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@792013 13f79535-47bb-0310-9956-ffa450edef68