couchdb-futon.git
13 years agoLink to design docs that have ddoc.couchapp.index or index.html, from Futon database...
John Christopher Anderson [Sun, 22 Feb 2009 07:31:26 +0000 (07:31 +0000)] 
Link to design docs that have ddoc.couchapp.index or index.html, from Futon database index.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@746644 13f79535-47bb-0310-9956-ffa450edef68

13 years agoBetter error messages on decoding invalid JSON. Changes the CouchDB version of mochij...
John Christopher Anderson [Wed, 18 Feb 2009 07:47:57 +0000 (07:47 +0000)] 
Better error messages on decoding invalid JSON. Changes the CouchDB version of mochijson2. Closes COUCHDB-258

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@745401 13f79535-47bb-0310-9956-ffa450edef68

13 years agoReorganize the tests into one file per test. No other changes.
John Christopher Anderson [Sun, 15 Feb 2009 23:59:38 +0000 (23:59 +0000)] 
Reorganize the tests into one file per test. No other changes.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744782 13f79535-47bb-0310-9956-ffa450edef68

13 years agoView etags are now provided. See note in the source about how they could be more...
John Christopher Anderson [Sun, 15 Feb 2009 20:36:53 +0000 (20:36 +0000)] 
View etags are now provided. See note in the source about how they could be more efficient. Changes arity on make_view_fold_fun etc. Closes COUCHDB-4

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744747 13f79535-47bb-0310-9956-ffa450edef68

13 years agoapply COUCHDB-252.
John Christopher Anderson [Fri, 13 Feb 2009 20:52:28 +0000 (20:52 +0000)] 
apply COUCHDB-252.
Allow _list functions to signal that iteration of the view should cease.
Thanks davisp.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744240 13f79535-47bb-0310-9956-ffa450edef68

13 years agoApply COUCHDB-251.
John Christopher Anderson [Fri, 13 Feb 2009 18:33:16 +0000 (18:33 +0000)] 
Apply COUCHDB-251.
Allow _list functions to accept arbitrary GET parameters.
Thanks Paul Davis.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744210 13f79535-47bb-0310-9956-ffa450edef68

13 years agoChanged _uuid to respond to GET instead of POST. Bug COUCHDB-190
Damien F. Katz [Wed, 11 Feb 2009 16:12:39 +0000 (16:12 +0000)] 
Changed _uuid to respond to GET instead of POST. Bug COUCHDB-190

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743373 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix for COUCHDB-238, explicit check and error for doc ids starting with underscore.
Damien F. Katz [Wed, 11 Feb 2009 16:08:38 +0000 (16:08 +0000)] 
Fix for COUCHDB-238, explicit check and error for doc ids starting with underscore.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743371 13f79535-47bb-0310-9956-ffa450edef68

13 years agorow_info object for _list pagination. Thanks benoitc.
John Christopher Anderson [Mon, 9 Feb 2009 01:00:33 +0000 (01:00 +0000)] 
row_info object for _list pagination. Thanks benoitc.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@742220 13f79535-47bb-0310-9956-ffa450edef68

13 years agowhitespace
John Christopher Anderson [Sun, 8 Feb 2009 20:24:40 +0000 (20:24 +0000)] 
whitespace

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@742156 13f79535-47bb-0310-9956-ffa450edef68

13 years agoDo not change local.ini during test suite run. Patch by BradfordW. Thanks.
Jan Lehnardt [Tue, 3 Feb 2009 10:53:36 +0000 (10:53 +0000)] 
Do not change local.ini during test suite run. Patch by BradfordW. Thanks.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@740269 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd iteration numbers to list row functions. closes COUCHDB-233. thanks Benoit Chesneau.
John Christopher Anderson [Mon, 2 Feb 2009 20:27:03 +0000 (20:27 +0000)] 
add iteration numbers to list row functions. closes COUCHDB-233. thanks Benoit Chesneau.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@740094 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd strict semicolons to the test suite for Webkit. thanks davisp. closes COUCH-232
John Christopher Anderson [Sun, 1 Feb 2009 22:30:36 +0000 (22:30 +0000)] 
Add strict semicolons to the test suite for Webkit. thanks davisp. closes COUCH-232

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739872 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdded options member to design docs. Currently the only option is include_designs...
John Christopher Anderson [Sun, 1 Feb 2009 22:21:09 +0000 (22:21 +0000)] 
Added options member to design docs. Currently the only option is include_designs (views can now run over design docs as well if they need to), the default is false, which is the current behavior. Thanks davisp for the original patch. Closes COUCHDB-156

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739866 13f79535-47bb-0310-9956-ffa450edef68

13 years agoall_docs view with descending=true works properly now. fix COUCHDB-109
John Christopher Anderson [Fri, 30 Jan 2009 04:57:44 +0000 (04:57 +0000)] 
all_docs view with descending=true works properly now. fix COUCHDB-109

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739170 13f79535-47bb-0310-9956-ffa450edef68

13 years agoswap 412 ad 409 error codes. fixes COUCHDB-226
John Christopher Anderson [Fri, 30 Jan 2009 03:50:44 +0000 (03:50 +0000)] 
swap 412 ad 409 error codes. fixes COUCHDB-226

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739157 13f79535-47bb-0310-9956-ffa450edef68

13 years agoPOST to create docs returns a Location header. fixes COUCHDB-8
John Christopher Anderson [Fri, 30 Jan 2009 01:40:38 +0000 (01:40 +0000)] 
POST to create docs returns a Location header. fixes COUCHDB-8

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739133 13f79535-47bb-0310-9956-ffa450edef68

13 years agoReplacement of inets with ibrowse. Fixes COUCHDB-179 and enhances replication.
John Christopher Anderson [Thu, 29 Jan 2009 22:15:48 +0000 (22:15 +0000)] 
Replacement of inets with ibrowse. Fixes COUCHDB-179 and enhances replication.
Thanks Jason Davies and Adam Kocoloski for the fix, Maximillian Dornseif for reporting.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739047 13f79535-47bb-0310-9956-ffa450edef68

13 years agoImproved etag handling for show funcs and db_doc requests; main.js cleanup (baby...
John Christopher Anderson [Tue, 27 Jan 2009 20:46:39 +0000 (20:46 +0000)] 
Improved etag handling for show funcs and db_doc requests; main.js cleanup (baby steps); null doc allowed for show funcs

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@738237 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRename 'Custom query' in Futon to 'Temporary view', and add a warning about the use...
Christopher Lenz [Mon, 26 Jan 2009 22:10:58 +0000 (22:10 +0000)] 
Rename 'Custom query' in Futon to 'Temporary view', and add a warning about the use of temp views.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737893 13f79535-47bb-0310-9956-ffa450edef68

13 years agoChange _slow_view back to _temp_view, as discussed on the mailing list (see http...
Christopher Lenz [Mon, 26 Jan 2009 21:22:18 +0000 (21:22 +0000)] 
Change _slow_view back to _temp_view, as discussed on the mailing list (see markmail.org/message/o44cafucgwlpudov).

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737859 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix expanding/collapsing nested structures in Futon, as well as expanding/collapsing...
Christopher Lenz [Mon, 26 Jan 2009 20:52:43 +0000 (20:52 +0000)] 
Fix expanding/collapsing nested structures in Futon, as well as expanding/collapsing after cancelling an in-place edit.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737834 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd a page to Futon that shows the currently active tasks (compaction, view indexing...
Christopher Lenz [Mon, 26 Jan 2009 20:38:52 +0000 (20:38 +0000)] 
Add a page to Futon that shows the currently active tasks (compaction, view indexing, etc).

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737829 13f79535-47bb-0310-9956-ffa450edef68

13 years agoGuess port based on protocol if we run on standard ports and in the browser.
Jan Lehnardt [Sat, 24 Jan 2009 12:27:15 +0000 (12:27 +0000)] 
Guess port based on protocol if we run on standard ports and in the browser.
Closes COUCHDB-213.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737346 13f79535-47bb-0310-9956-ffa450edef68

13 years agoImprove show/list API and send external responses without chunked as it's not needed.
John Christopher Anderson [Sat, 24 Jan 2009 05:17:50 +0000 (05:17 +0000)] 
Improve show/list API and send external responses without chunked as it's not needed.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737304 13f79535-47bb-0310-9956-ffa450edef68

13 years agoView list functions can stream views in any format. See list_views test for details.
John Christopher Anderson [Fri, 23 Jan 2009 00:53:05 +0000 (00:53 +0000)] 
View list functions can stream views in any format. See list_views test for details.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736876 13f79535-47bb-0310-9956-ffa450edef68

13 years agoThat was quick: update to jQuery 1.3.1.
Christopher Lenz [Thu, 22 Jan 2009 13:25:04 +0000 (13:25 +0000)] 
That was quick: update to jQuery 1.3.1.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736635 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAutocompletion in Futon: a better fix for positioning in scrollable containers.
Christopher Lenz [Thu, 22 Jan 2009 13:18:58 +0000 (13:18 +0000)] 
Autocompletion in Futon: a better fix for positioning in scrollable containers.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736632 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix for view name encoding in Futon, for database names containing slashes. Closes...
Christopher Lenz [Wed, 21 Jan 2009 20:11:31 +0000 (20:11 +0000)] 
Fix for view name encoding in Futon, for database names containing slashes. Closes COUCHDB-214 (again).

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736400 13f79535-47bb-0310-9956-ffa450edef68

13 years agoThe Futon autocomplete dropdown should reposition every time its shown, not only...
Christopher Lenz [Wed, 21 Jan 2009 20:10:04 +0000 (20:10 +0000)] 
The Futon autocomplete dropdown should reposition every time its shown, not only when its first created.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736399 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd caching to the Futon autocompletion feature, and fix the positioning code.
Christopher Lenz [Wed, 21 Jan 2009 19:40:19 +0000 (19:40 +0000)] 
Add caching to the Futon autocompletion feature, and fix the positioning code.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736387 13f79535-47bb-0310-9956-ffa450edef68

13 years agotests for fix to COUCHDB-215, and changing of how max_dbs_open setting is handled...
Damien F. Katz [Mon, 19 Jan 2009 23:31:51 +0000 (23:31 +0000)] 
tests for fix to COUCHDB-215, and changing of how max_dbs_open setting is handled at runtime.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735875 13f79535-47bb-0310-9956-ffa450edef68

13 years agoalso test attachment paths against db names with slashes
John Christopher Anderson [Mon, 19 Jan 2009 22:37:48 +0000 (22:37 +0000)] 
also test attachment paths against db names with slashes

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735858 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix attachment_views test on Safari
John Christopher Anderson [Mon, 19 Jan 2009 22:34:16 +0000 (22:34 +0000)] 
fix attachment_views test on Safari

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735857 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix for COUCHDB-214 (design docs on dbs with slashes)
John Christopher Anderson [Mon, 19 Jan 2009 22:22:37 +0000 (22:22 +0000)] 
fix for COUCHDB-214 (design docs on dbs with slashes)

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735850 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd on-select callback to Futon autocompletion plugin.
Christopher Lenz [Mon, 19 Jan 2009 09:36:35 +0000 (09:36 +0000)] 
Add on-select callback to Futon autocompletion plugin.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735639 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix coding-style.
Jan Lehnardt [Sat, 17 Jan 2009 13:36:23 +0000 (13:36 +0000)] 
Fix coding-style.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735287 13f79535-47bb-0310-9956-ffa450edef68

13 years agoBack out unintentionally committed changes from r735284.
Jan Lehnardt [Sat, 17 Jan 2009 13:34:43 +0000 (13:34 +0000)] 
Back out unintentionally committed changes from r735284.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735285 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd some tests for using _attachments in views.
Jan Lehnardt [Sat, 17 Jan 2009 13:25:49 +0000 (13:25 +0000)] 
Add some tests for using _attachments in views.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735284 13f79535-47bb-0310-9956-ffa450edef68

13 years agoSome cleanup of the suggest and editinline jQuery plugins.
Christopher Lenz [Fri, 16 Jan 2009 21:27:43 +0000 (21:27 +0000)] 
Some cleanup of the suggest and editinline jQuery plugins.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735146 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix for autocompletion in "Save as" dialog in Futon to work with the changed `_all_do...
Christopher Lenz [Fri, 16 Jan 2009 18:01:33 +0000 (18:01 +0000)] 
Fix for autocompletion in "Save as" dialog in Futon to work with the changed `_all_docs` collation.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735071 13f79535-47bb-0310-9956-ffa450edef68

13 years agoShow total elapsed time in test suite. Closes COUCHDB-203.
Christopher Lenz [Fri, 16 Jan 2009 10:51:15 +0000 (10:51 +0000)] 
Show total elapsed time in test suite. Closes COUCHDB-203.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734968 13f79535-47bb-0310-9956-ffa450edef68

13 years agoIn the Futon document view, delete the whole _attachments row when the only/last...
Christopher Lenz [Fri, 16 Jan 2009 10:08:46 +0000 (10:08 +0000)] 
In the Futon document view, delete the whole _attachments row when the only/last attachment is removed.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734955 13f79535-47bb-0310-9956-ffa450edef68

13 years agoUpdate jquery.form to 2.18 in order to fix compatibility issues with jQuery 1.3,...
Christopher Lenz [Fri, 16 Jan 2009 10:04:18 +0000 (10:04 +0000)] 
Update jquery.form to 2.18 in order to fix compatibility issues with jQuery 1.3, in particular COUCHDB-211.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734953 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix Futon Javascript syntax error in IE.
Christopher Lenz [Thu, 15 Jan 2009 16:07:13 +0000 (16:07 +0000)] 
Fix Futon Javascript syntax error in IE.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734739 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRevert changes that shouldn't have been committed together with r734633. Note to...
Christopher Lenz [Thu, 15 Jan 2009 09:02:43 +0000 (09:02 +0000)] 
Revert changes that shouldn't have been committed together with r734633. Note to self: consume sufficient coffee before the first checkin in the morning.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734637 13f79535-47bb-0310-9956-ffa450edef68

13 years agoOops, removed debugging leftovers from r734633.
Christopher Lenz [Thu, 15 Jan 2009 09:00:39 +0000 (09:00 +0000)] 
Oops, removed debugging leftovers from r734633.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734636 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix bug in test runner triggered by upgrade to jQuery 1.3.
Christopher Lenz [Thu, 15 Jan 2009 08:53:25 +0000 (08:53 +0000)] 
Fix bug in test runner triggered by upgrade to jQuery 1.3.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734633 13f79535-47bb-0310-9956-ffa450edef68

13 years agoUpdate to jQuery 1.3.
Christopher Lenz [Wed, 14 Jan 2009 22:18:23 +0000 (22:18 +0000)] 
Update to jQuery 1.3.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734534 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMake the updating of the page-wide loading indicator in Futon both simpler and more...
Christopher Lenz [Wed, 14 Jan 2009 22:09:30 +0000 (22:09 +0000)] 
Make the updating of the page-wide loading indicator in Futon both simpler and more robust by hooking into the jQuery global AJAX events support.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734531 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd view language selection to Futon, based on patch by Brian Palmer. Closes COUCHDB...
Christopher Lenz [Wed, 14 Jan 2009 21:59:48 +0000 (21:59 +0000)] 
Add view language selection to Futon, based on patch by Brian Palmer. Closes COUCHDB-202.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734528 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAllow modification of existing config option values from Futon.
Christopher Lenz [Wed, 14 Jan 2009 16:48:07 +0000 (16:48 +0000)] 
Allow modification of existing config option values from Futon.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734443 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRefactor the inline editing Javascript code in Futon to make it reusable.
Christopher Lenz [Wed, 14 Jan 2009 13:41:32 +0000 (13:41 +0000)] 
Refactor the inline editing Javascript code in Futon to make it reusable.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734390 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFix for COUCHDB-205 (removing newly added doc fields in Futon failed).
Christopher Lenz [Tue, 13 Jan 2009 10:52:28 +0000 (10:52 +0000)] 
Fix for COUCHDB-205 (removing newly added doc fields in Futon failed).

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734098 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAs a follow-up to r733462, instead of making the last part of the breadcrumb a link...
Christopher Lenz [Tue, 13 Jan 2009 10:18:15 +0000 (10:18 +0000)] 
As a follow-up to r733462, instead of making the last part of the breadcrumb a link to the raw JSON doc, add a little arrow thingy at the right side of the navigation bar for the same purpose, and also make it work for views from the database page.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734091 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMove `browse.js` code into the `futon` namespace, and restore the selected tab based...
Christopher Lenz [Mon, 12 Jan 2009 21:40:59 +0000 (21:40 +0000)] 
Move `browse.js` code into the `futon` namespace, and restore the selected tab based on the hash in the URL. Applies a small part of the patch to COUCHDB-200.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733912 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdd syntax highlighting of JSON code in Futon.
Christopher Lenz [Mon, 12 Jan 2009 21:06:35 +0000 (21:06 +0000)] 
Add syntax highlighting of JSON code in Futon.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733897 13f79535-47bb-0310-9956-ffa450edef68

13 years agorename _form to _show and move the funcs in the design doc to design.show.docs
John Christopher Anderson [Mon, 12 Jan 2009 01:48:36 +0000 (01:48 +0000)] 
rename _form to _show and move the funcs in the design doc to design.show.docs

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733576 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFuton docids are links to the raw JSON doc
John Christopher Anderson [Sun, 11 Jan 2009 12:31:05 +0000 (12:31 +0000)] 
Futon docids are links to the raw JSON doc

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733462 13f79535-47bb-0310-9956-ffa450edef68

13 years agoremove console.log() statement from database.html
John Christopher Anderson [Sat, 10 Jan 2009 19:01:40 +0000 (19:01 +0000)] 
remove console.log() statement from database.html

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733315 13f79535-47bb-0310-9956-ffa450edef68

13 years agoSet go_faster=true in the test suite.
Damien F. Katz [Fri, 9 Jan 2009 22:44:52 +0000 (22:44 +0000)] 
Set go_faster=true in the test suite.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733182 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdded support so clients can detect if a server has potentially lost commits after...
Damien F. Katz [Fri, 9 Jan 2009 22:20:48 +0000 (22:20 +0000)] 
Added support so clients can detect if a server has potentially lost commits after multiple updates, like during bulk imports and so the replicator can detect lost commits on remote replications.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733174 13f79535-47bb-0310-9956-ffa450edef68

13 years agofixed design doc listing in Futon for new all docs collation
John Christopher Anderson [Fri, 9 Jan 2009 19:34:01 +0000 (19:34 +0000)] 
fixed design doc listing in Futon for new all docs collation

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733128 13f79535-47bb-0310-9956-ffa450edef68

13 years agofixed _all_docs view to use the correct PassedEndFun for binary docid sorting
John Christopher Anderson [Fri, 9 Jan 2009 19:03:22 +0000 (19:03 +0000)] 
fixed _all_docs view to use the correct PassedEndFun for binary docid sorting

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733116 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRefactoring in Futon to clean up interactions between specific pages and the navigati...
Christopher Lenz [Fri, 9 Jan 2009 18:20:37 +0000 (18:20 +0000)] 
Refactoring in Futon to clean up interactions between specific pages and the navigation. Also, switched some graphics over to PNGs with alpha-transparency (screw you IE6), and added a button for removing databases from the recent databases list.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733104 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMake the autocomplete in Futon a bit more robust, especially in Safari.
Christopher Lenz [Thu, 8 Jan 2009 22:04:00 +0000 (22:04 +0000)] 
Make the autocomplete in Futon a bit more robust, especially in Safari.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@732844 13f79535-47bb-0310-9956-ffa450edef68

13 years agoGet rid of the iframe structure in Futon to allow easy bookmarking, reloading and...
Christopher Lenz [Thu, 8 Jan 2009 10:19:20 +0000 (10:19 +0000)] 
Get rid of the iframe structure in Futon to allow easy bookmarking, reloading and back/forward button support across all browsers. Resolves COUCHDB-186 and COUCHDB-56.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@732675 13f79535-47bb-0310-9956-ffa450edef68

13 years agobacking out r732413 - Futon browse history, due to Safari incompatibility
John Christopher Anderson [Wed, 7 Jan 2009 21:37:38 +0000 (21:37 +0000)] 
backing out r732413 - Futon browse history, due to Safari incompatibility

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@732510 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFuton history browsing - applied patch from COUCHDB-186
John Christopher Anderson [Wed, 7 Jan 2009 18:21:23 +0000 (18:21 +0000)] 
Futon history browsing - applied patch from COUCHDB-186

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@732413 13f79535-47bb-0310-9956-ffa450edef68

13 years agoDelayed commit patch. Allows documents to be saved immediately but fully committed...
Damien F. Katz [Mon, 5 Jan 2009 05:42:52 +0000 (05:42 +0000)] 
Delayed commit patch. Allows documents to be saved immediately but fully committed asynchronously. On by default, to fully commit documents synchronously, use X-Couch-Full-Commit=true in the http header. We still needs to prevent committing view indexes ahead of data and to detect when a server has crashed causing potentially lost updates during remote replication (fixed by retrying the incremental replication).

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731452 13f79535-47bb-0310-9956-ffa450edef68

13 years agoremove unnessary headers declaration from tests
John Christopher Anderson [Sun, 4 Jan 2009 07:25:16 +0000 (07:25 +0000)] 
remove unnessary headers declaration from tests

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731188 13f79535-47bb-0310-9956-ffa450edef68

13 years agobetter E4X escaping in tests, dropped JS heredoc
John Christopher Anderson [Sun, 4 Jan 2009 07:22:22 +0000 (07:22 +0000)] 
better E4X escaping in tests, dropped JS heredoc

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731187 13f79535-47bb-0310-9956-ffa450edef68

13 years agochange count to limit in view query params
John Christopher Anderson [Sun, 4 Jan 2009 02:28:08 +0000 (02:28 +0000)] 
change count to limit in view query params

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731159 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRename _temp_views to _slow_views. Any clients who were using temp views are encourag...
John Christopher Anderson [Sun, 4 Jan 2009 01:01:33 +0000 (01:01 +0000)] 
Rename _temp_views to _slow_views. Any clients who were using temp views are encouraged not to use slow views, and instead transition to design documents (or running the views on the client).

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731144 13f79535-47bb-0310-9956-ffa450edef68

13 years agotest runner is back up (thanks davisp), and tests pass in safari again (e4x syntax...
John Christopher Anderson [Fri, 2 Jan 2009 02:00:33 +0000 (02:00 +0000)] 
test runner is back up (thanks davisp), and tests pass in safari again (e4x syntax fix)

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@730656 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFuton supports pretty slashes for design docs and attachment paths
John Christopher Anderson [Tue, 30 Dec 2008 03:08:08 +0000 (03:08 +0000)] 
Futon supports pretty slashes for design docs and attachment paths

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@730038 13f79535-47bb-0310-9956-ffa450edef68

13 years agomerge form branch to trunk
John Christopher Anderson [Mon, 29 Dec 2008 23:43:10 +0000 (23:43 +0000)] 
merge form branch to trunk

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@730016 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd etags to standalone attachment requests. Closes COUCHDB-184
Jan Lehnardt [Mon, 29 Dec 2008 20:14:37 +0000 (20:14 +0000)] 
add etags to standalone attachment requests. Closes COUCHDB-184

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@729992 13f79535-47bb-0310-9956-ffa450edef68

13 years agodesign docs use slashes. attachements with slashes in the name can be accessed with...
John Christopher Anderson [Sat, 27 Dec 2008 03:55:18 +0000 (03:55 +0000)] 
design docs use slashes. attachements with slashes in the name can be accessed with slashes in the url

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@729587 13f79535-47bb-0310-9956-ffa450edef68

13 years agoI agree with Damien that action.js is more than we want to support right now. Externa...
John Christopher Anderson [Wed, 24 Dec 2008 22:10:53 +0000 (22:10 +0000)] 
I agree with Damien that action.js is more than we want to support right now. External is not activated by default, but remains available, see default.ini for details.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@729376 13f79535-47bb-0310-9956-ffa450edef68

13 years agoshorter path to _action servers, external supports better routing control
John Christopher Anderson [Fri, 19 Dec 2008 08:25:19 +0000 (08:25 +0000)] 
shorter path to _action servers, external supports better routing control

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727973 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix COUCHDB-177. thanks Paul Carey and Paul Davis
John Christopher Anderson [Tue, 16 Dec 2008 21:19:03 +0000 (21:19 +0000)] 
fix COUCHDB-177. thanks Paul Carey and Paul Davis

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727156 13f79535-47bb-0310-9956-ffa450edef68

13 years agoaction.js and tests
John Christopher Anderson [Tue, 16 Dec 2008 20:48:00 +0000 (20:48 +0000)] 
action.js and tests

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727141 13f79535-47bb-0310-9956-ffa450edef68

13 years agoview group state gen_server. thanks damien and davisp.
John Christopher Anderson [Wed, 10 Dec 2008 01:13:17 +0000 (01:13 +0000)] 
view group state gen_server. thanks damien and davisp.

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@724946 13f79535-47bb-0310-9956-ffa450edef68

13 years agoLate follow-up to r712282: make the path segment separator in the navigation bar...
Christopher Lenz [Tue, 9 Dec 2008 18:42:40 +0000 (18:42 +0000)] 
Late follow-up to r712282: make the path segment separator in the navigation bar in Futon somewhat less subtle.

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@724814 13f79535-47bb-0310-9956-ffa450edef68

13 years agoDon't automatically execute temp view in Futon when the page is loaded, but rather...
Christopher Lenz [Fri, 5 Dec 2008 17:16:09 +0000 (17:16 +0000)] 
Don't automatically execute temp view in Futon when the page is loaded, but rather defer until the Run button is clicked.

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@723793 13f79535-47bb-0310-9956-ffa450edef68

13 years agotest that non-authors can't delete docs
John Christopher Anderson [Tue, 2 Dec 2008 03:37:24 +0000 (03:37 +0000)] 
test that non-authors can't delete docs

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@722364 13f79535-47bb-0310-9956-ffa450edef68

13 years ago_all_docs_by_seq works with descending=true
John Christopher Anderson [Tue, 25 Nov 2008 02:47:39 +0000 (02:47 +0000)] 
_all_docs_by_seq works with descending=true

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@720384 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemoved logging from security test and added deletion.
Damien F. Katz [Fri, 21 Nov 2008 22:55:06 +0000 (22:55 +0000)] 
Removed logging from security test and added deletion.

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@719738 13f79535-47bb-0310-9956-ffa450edef68

13 years agoNearly completed security/validation work. Still needs replication testing.
Damien F. Katz [Thu, 20 Nov 2008 04:42:43 +0000 (04:42 +0000)] 
Nearly completed security/validation work. Still needs replication testing.

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@719160 13f79535-47bb-0310-9956-ffa450edef68

13 years agofactored couch_test_runner.js out from couch_tests.js, made it usuable for unit testi...
John Christopher Anderson [Mon, 17 Nov 2008 22:14:14 +0000 (22:14 +0000)] 
factored couch_test_runner.js out from couch_tests.js, made it usuable for unit testing views from design docs

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@718409 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMore security and validation work. Still incomplete.
Damien F. Katz [Mon, 17 Nov 2008 18:18:51 +0000 (18:18 +0000)] 
More security and validation work. Still incomplete.

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@718311 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix for _all_docs_by_seq with include_docs
John Christopher Anderson [Fri, 14 Nov 2008 03:47:21 +0000 (03:47 +0000)] 
fix for _all_docs_by_seq with include_docs

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@713914 13f79535-47bb-0310-9956-ffa450edef68

13 years agoCheck in of initial validation and authorization work. This work is incomplete, as...
Damien F. Katz [Tue, 11 Nov 2008 19:45:50 +0000 (19:45 +0000)] 
Check in of initial validation and authorization work. This work is incomplete, as there is not yet any way of restricting who can update the design docs.

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@713132 13f79535-47bb-0310-9956-ffa450edef68

13 years agoapply replication fixing patches from COUCHDB-157
John Christopher Anderson [Sun, 9 Nov 2008 22:39:26 +0000 (22:39 +0000)] 
apply replication fixing patches from COUCHDB-157

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@712578 13f79535-47bb-0310-9956-ffa450edef68

13 years agoA darker and more subtle navigation bar for Futon.
Christopher Lenz [Fri, 7 Nov 2008 21:47:30 +0000 (21:47 +0000)] 
A darker and more subtle navigation bar for Futon.

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@712282 13f79535-47bb-0310-9956-ffa450edef68

13 years agofixed JSON regression about revs_info status
John Christopher Anderson [Fri, 31 Oct 2008 21:21:05 +0000 (21:21 +0000)] 
fixed JSON regression about revs_info status

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@709572 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix for COUCHDB-139 keys available when reduce=false
John Christopher Anderson [Tue, 21 Oct 2008 20:06:37 +0000 (20:06 +0000)] 
fix for COUCHDB-139 keys available when reduce=false

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@706744 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix for COUCHDB-138 include_docs=true&reduce=false
John Christopher Anderson [Tue, 21 Oct 2008 19:49:41 +0000 (19:49 +0000)] 
fix for COUCHDB-138 include_docs=true&reduce=false

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@706735 13f79535-47bb-0310-9956-ffa450edef68

13 years agotest to close COUCHDB-117
John Christopher Anderson [Tue, 21 Oct 2008 19:34:59 +0000 (19:34 +0000)] 
test to close COUCHDB-117

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@706732 13f79535-47bb-0310-9956-ffa450edef68