summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-29more relaxed verification of SSL chains, COUCHDB-840Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@980269 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28don't require integer seqnums in the changes feed, COUCHDB-838Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@980265 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27replicator was getting stuck on push replication to design docs by ↵John Christopher Anderson
non-admins. this fix is a bit hackish but makes replication work. once the new_replicator is in place this hackish fix will not matter, so for now it is a good solution. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979907 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27Fix issues with the replicator when using HTTP Basic authentication, ↵Filipe David Borba Manana
receiving an HTTP redirect response, and loosing the authentication credentials because they're not found in the Location header's URL. This happens for example when the replicator does a request to the URI /somedb/_design%2Fmyddoc git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979887 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27fix CLI js test suite.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979642 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26Add SSL support to CouchDB.Robert Newson
To enable SSL you need to do three things; 1) enable the httpsd daemon in local.ini (you can just uncomment the line). 2) supply your PEM-encoded cert and key files in the [ssl] section. 3) start CouchDB. CouchDB will now, in addition to handling HTTP on port 5984, accept SSL connections on port 6984. The patch itself adds SSL support by updating the local version of Mochiweb to the latest. The upstream release includes our local tweak to support large numbers and to handle Accept-Encoding headers. Our local Mochiweb fork changed the default idle timeout from 10 seconds to 5 minutes, and it was agreed on #irc to revert this change. The only tweaks to Mochiweb were in mochiweb.app.src (to record the git commit I built from) and the removal of Makefile (replaced by Makefile.am). Futon received many tweaks as we have 'http://' hardcoded all over. All such instances now use window.location.protocol + '//'. CouchDB received a tweak to use the right scheme in couch_httpd:absolute_uri (it now gets it from the Mochireq and not mochiweb_socket_server). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979368 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26Check if Erlang has been compiled with crypto support at ./configureJan Lehnardt
time. Patch by Kev Jackson. Closes COUCHDB-106 and COUCHDB-131. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979267 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26Multi-part patch to enable white-listing of _config API values:Jan Lehnardt
1. Refactor read-only config handlers to be near each other 2. Refactor PUT and DELETE config handlers to a wrapper 3. Support a whitelist for modifying the config via HTTP, itself stored in the config 4. Document the whitelist process Patch(es) by Jason Smith. Closes COUCHDB-835. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979242 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25send a basic-auth popup header if require_valid_user=true, to prevent lock-outJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979070 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25add _create_config.html to the makefile so it gets installed with makeJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@978961 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24Make sure all the properties of an EJSON change line are binaries (instead ↵Filipe David Borba Manana
of a mix of binaries and atoms). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@978929 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24Move the tracking of the stat {httpd, clients_requesting_changes} from ↵Filipe David Borba Manana
couch_changes module into the couch_httpd_db module (that stat shouldn't be affected when the changes API is used for internal operations). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@978918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23Corrected misleading parameter name (Logs => DbList) and removed unnecessary ↵Filipe David Borba Manana
tuple parameter extraction and reconstruction. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@967262 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23Removed warnings about unused vairables.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@967254 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23Removed bogus log error message.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@967251 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23update json2.js to latest versionJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@966971 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23Make the simple document versioning actually work. I have no idea how it ↵John Christopher Anderson
passed my earlier tests, maybe there was a regression. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@966957 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22Futon: The CSS for dropdowns define a background (white) but noJan Lehnardt
foreground color. Therefore it breaks with dark themes. Patch by Volker Mische. Closes COUCHDB-820. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@966850 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22humane error message on missing design handlerJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@966685 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21Add "Stale views" checkbox to Futon's database pages.Filipe David Borba Manana
Closes COUCHDB-550. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@966283 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20add link to the wiki about the messed up ubuntu install situation. Closes ↵Jan Lehnardt
COUCHDB-830 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@965790 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20require application/json content-type in the remaining places where a POST ↵John Christopher Anderson
has side-effects git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@965700 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19remove unguarded atom creation to prevent DOS attacks. closes COUCHDB-829John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@965667 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19Fix possible bad match error - WriteFun might not return the atom 'ok'.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@965434 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19COUCHDB-810: Adds port to replication checkpoints.Robert Newson
New replication checkpoints now include the port number, which allows for efficient replication between multiple couchdb instances running on the same machine. Old replication checkpoints are recognized (Full replication is not induced) and they are automatically migrated to the new checkpoint format. Thanks to Randall Leeds for the patch. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@965331 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17note about firefox support in test suiteJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@964987 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16Revert revision 964956 (COUCHDB-827) - solution had secondary effects.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@964969 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16Fix for a pull replication, targeted to a 1.0 CouchDB server, where the ↵Filipe David Borba Manana
source DB is in a remote CouchDB 0.11.0 server and the target DB is local (1.0 CouchDB DB). Closes ticket COUCHDB-827. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@964956 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15Update AUTHORS to use my new apache.org address.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@964549 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14Adapt test to change introduced in revision 963725 - deleted documents can ↵Filipe David Borba Manana
now have non-empty bodies. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@964201 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14Fix test assertions introduced in revision 964108.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@964111 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14Bug fix: badmatch error after deleting a user doc (uncovered by revision ↵Filipe David Borba Manana
963723). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@964108 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14fix test report sharingJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@963982 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13show the complete document body even when the document is deleted (Couch ↵John Christopher Anderson
lets you store data with a delete but did not render it to JSON) git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@963725 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13test and fix for deleting users documentsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@963723 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12Reverting revision 963042 - lists:keystore/4 only replaces the first ↵Filipe David Borba Manana
occurrence in the list. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@963367 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11Simplification - avoid 2 proplists lookups and an unnecessary list to binary ↵Filipe David Borba Manana
conversion. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@963151 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11Removing unused function couch_util:ascii_lower/1. If ever needed, the exact ↵Filipe David Borba Manana
same functionality is provided by string:to_lower/1 (ASCII based, not Unicode nor charset based). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@963045 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11Removing unnecessary code.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@963042 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11Removing couch_util:read_file_size/1 because same functionality is provided ↵Filipe David Borba Manana
by filelib:file_size/1. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@963038 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11thank you dialyzerAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@962965 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11deleting a DB while it was being opened would crash couch_serverAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@962964 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09added some list padding to NEWS and CHANGESNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@962577 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09Adding one more assertion to the view_compaction.js test to verify that theFilipe David Borba Manana
view group disk size is smaller after compaction. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@962460 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08validate admin and content type for compact requestsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@961904 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08Fix deletion of view files after compaction.Filipe David Borba Manana
Also added test for view compaction. Thanks Adam for reporting the issue. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@961893 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08use json as the default content-type for requests from jquery.couch.jsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@961854 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08Fix for occasional failed tests caused by responding with 202 success to ↵Damien F. Katz
compaction requests before the compaction actually begins. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@961791 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07fixed up version numbers, etcNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@961493 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07update trunk with version info assuming 1.0.0 passes the voteNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@961477 13f79535-47bb-0310-9956-ffa450edef68