summaryrefslogtreecommitdiff
path: root/share/www/script
AgeCommit message (Collapse)Author
2011-06-30COUCHDB-1206 - include current_seq in view ETag for include_docs=trueRobert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1141522 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21Backport revision 1137928 from trunkFilipe David Borba Manana
Fix server crash associated with the replicator database If there's an exception when calculating the replication ID for a replication document, it crashes the replication manager gen_server 10 times. 10 is the maximum number of restarts per hour specified for the couch_server_sup supervisor. An easy way to trigger such exception is to specify a non existent filter in a replication document. This closes COUCHDB-1199. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1137929 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30fix replication.js, continuous:true wasn't passed and so the wrong RepId was ↵Robert Newson
calculated. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1129108 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28delete regression.jsRobert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1128712 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28move COUCHDB-1178 test to conflicts.jsRobert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1128708 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28COUCHDB-1171 Multiple requests to _changes feed causes {error, system_limit} ↵Robert Newson
"Too many processes" git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1128704 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28COUCHDB-1173 - pass md5 in stub so replication verifies the transfer.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1128698 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27COUCHDB-1074 - fix variable substitution in rewriterRobert Newson
- key= ":key", startkey=[":a", ":b"] - variable substitution via query arguments - variable substituin via reversed path matching variables The variable substition is now a lot easier than the old one. Variables are decoded from the query if they are json, and we recode them only at the end. (Patch by Benoît Chesneau) git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1128189 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26COUCHDB-1178 - fix make_first_doc_on_disk function_clause errorRobert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1128039 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25Backported revision 1127632 from trunkFilipe David Borba Manana
Force non admins to supply a user_ctx in replication documents This is to prevent users deleting replication documents added by other users and to make it clear who triggers which replications. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1127634 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23COUCHDB-1156 - send Accept header so Futon doesn't display HTML where it ↵Robert Newson
expects JSON (Thanks Dale Harvey for patch) git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1126411 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21Merged revision 1125828 from trunkFilipe David Borba Manana
Add missing option to multipart/related GETs This is necessary as the client needs to be able to know if attachments are encoded or not. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1125830 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21Merged revision 1125680 from trunkFilipe David Borba Manana
Use RFC3339 timestamps in replication documents As recently proposed by Max Odgen, RFC3339 timestamps are now used instead of Unix timestamps. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1125682 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20Replication manager: allow edition of replication documentsFilipe David Borba Manana
Replication documents that are not in the triggered state can now be edited by users. This is to make it simpler for Futon users to restart replications - they can just edit the document, remove its state field, and save it, instead of recreating it or adding a similar document but with a different _id. This is a backport of revision 1125319 (trunk). git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1125321 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18Avoid assertion failure in replication.js due to timing issuesFilipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1124185 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17Add missing doc open option to the test for COUCHDB-885Filipe David Borba Manana
These were forgotten when backporting the attachment related assertions from 1.0.x. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1104481 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17Added extra assertions to the test for COUCHDB-885Filipe David Borba Manana
This is to verify the attachments really exist in the target and have the right data and metadata. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1104478 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17port Filipe's fix and test for COUCHDB-885 to 1.1.xRobert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1104475 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11Fix circular imports in CommonJS modules.Paul Joseph Davis
Backport of 1102006 from trunk. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1102017 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06COUCHDB-760 - allow utf-8 in attachment names (patch by davisp/benoitc)Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1100254 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20Replace replication destination db UI element.Paul Joseph Davis
This is a backport of 1095523 from trunk. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095524 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20Merged revision 1095386 from trunkFilipe David Borba Manana
Avoid replicator_db.js test failures due to timing issues These happen sometimes on slower machines. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095387 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18Merged revision 1091372 from trunkFilipe David Borba Manana
Fixing replicator_db.js test failures due to timing issues Failures in this test shouldn't happen so frequently on slower machines anymore. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094480 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16Add "change password" feature to Futon.Jan Lehnardt
Closes COUCHDB-1015 Patch by Benjamin Young. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094083 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16fix referenceJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094081 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16Note to self: Test before commit.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094079 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16Make prepareUserDoc a public method.Jan Lehnardt
Closes COUCHDB-1014 Patch by Benjamin Young. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094077 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16Fix display issue with documents that have single or double quotesJan Lehnardt
in their id. Closes COUCHDB-1111 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094050 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16enable greedy replacementsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094042 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16Don't call mochiweb_util:parse_qs/1 with an undefined argument.Jan Lehnardt
Found this while debugging COUCHDB-1116. Closes COUCHDB-1116 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094031 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16Don't expect a 202 repsponse code when cancelling a replication.Jan Lehnardt
Closes COUCHDB-1016 Patch by Felix Hummel. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094025 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28Fix function signature mismatch. Allow purging of single revisions in a ↵Jan Lehnardt
conflicted document. Closes COUCHDB-1065 Patch by Randall Leeds, verified by Robert Dionne. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1086240 13f79535-47bb-0310-9956-ffa450edef68
2011-03-27Backport fix for COUCHDB-1093 (revision 1086007)Filipe David Borba Manana
Fix for crashes in continuous and filtered changes feeds Fixes COUCHDB-1093. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1086009 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19merge trunk. COUCHDB-1094Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1083325 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12Merged revision 1080953 from trunkFilipe David Borba Manana
Replicator manager: do basic validation of replication documents Now the default design document of the replicator database validates each replication document added to the database so that necessary fields must be present and have the right type, and optional replication related fields have the correct type as well. Closes COUCHDB-1088. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1080954 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09Merged revision 1079939 from trunkFilipe David Borba Manana
Parameter "include_docs" now honors parameter "conflicts" When querying a map view, /db/_all_docs/ or /db/_changes/ with "include_docs=true", if "conflicts=true" is given as well, the documents will contain the conflicts list (if there are conflicting revisions). Closes COUCHDB-549. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1079941 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03Merged revision 1076569 from trunkFilipe David Borba Manana
Added replicator database compaction test A test to confirm that ongoing replications are not stopped when/after the replicator database is compacted. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1076570 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16Make compatible with jQuery 1.5.xRobert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1071191 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15Only accept application/json from jquery.couch.jsRobert Newson
Since Filipe's fix for parsing the accepted content types at r1041103, returns from $.ajax could return a 302 that redirects to an HTML page. Functions like activeTasks() expect JSON and barf when fed HTML. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1070885 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14Merged revision 1070625 from trunk:Filipe David Borba Manana
_all_docs rows must not deleted include documents After COUCHDB-1061, when POSTing to _all_docs?include_docs=true with the body "keys" option, deleted documents were part part of the output. The "doc" property of each _all_docs row should have the value 'null' for all deleted documents (when ?include_docs=true). A test was added to help prevent this from happening again. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1070631 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10Merged revision 1069268 from trunkFilipe David Borba Manana
Added more tests to all_docs.js git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1069270 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01Merged revision 1065923 from trunkFilipe David Borba Manana
Cleanup all test databases created by replicator_db.js git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1065924 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31Merge revision 1065448 from trunkFilipe David Borba Manana
Added test swap_rep_db to test case replicator_db.js The purpose of this test is to verify that replications are stopped and restarted when the replicator database is dynamically changed. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1065449 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28COUCHDB-1047 - support inclusive_end with reduce callsRobert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1064801 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24Merge revision 1062783 from trunkFilipe David Borba Manana
Replicator DB: on restart, make several attempts to restart the replications Now on restart, the replicator database listener will make up to 10 attempts to restart each replication. Before each attempt, it waits, using an exponential backoff strategy, before doing the next attempt. This is very useful because when one server restarts, other servers that are endpoints of its replications, may not be online yet. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1062784 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21Merged revision 1061809 from trunkFilipe David Borba Manana
Fix strange result when passing a filter and a limit of 1 to /db/_changes Fixes COUCHDB-1037 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1061811 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18Avoid bug in rev tree logic during attachment uploadsAdam Kocoloski
This is a workaround for a bug in couch_key_tree, described in COUCHDB-902, which would cause uploads to fail with spurious conflicts. A patch for the key tree itself will be landing on trunk. Thanks Bob Dionne, Klaus Trainer. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1060150 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12Preserve purge metadata during compaction, thanks Mike LeddyAdam Kocoloski
Closes COUCHDB-1021 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1057987 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11Merged revision 1057875 from trunk:Filipe David Borba Manana
Make the doc multipart GET APIs always send attachments compressed For attachments that are stored in compressed (gzip) form, make sure the document multipart/related and multipart/mixed APIs don't decompress the attachments before sending them through the socket. This is to avoid multipart parser issues when the attachment's identity length is unknown or lost due to a local to local replication triggered by CouchDB versions up to 1.0.1 Closes COUCHDB-1022. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1057879 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11spell javascript correctly in loadScript(url)Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1057557 13f79535-47bb-0310-9956-ffa450edef68