summaryrefslogtreecommitdiff
path: root/share/www
AgeCommit message (Collapse)Author
2010-01-26Replace the old JavaScript query server JSON library with json2.jsJohn Christopher Anderson
This change makes us interoperate better with other JSON implementations. It also means we can use the native JSON handlers in JavaScript runtimes that support them. Should be faster right away on new Spidermonkeys. There are some potential breaking changes for apps that depend on Couch blowing up on 'undefined'. json2.js serialized undefined as 'null' instead of crashing. This change will also affect people using E4X, as you can't just return an XML object and have it serialized to a string for you. Calling .toXMLString() on these is all you need to do. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@903023 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23show conflicts in changes filters. Patch by Lena Herrmann. Closes COUCHDB-630Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@902422 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23styleJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@902418 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20Futon: Prefix cookie names with the port number, so that different CouchDB ↵Christopher Lenz
instances accessed through the same host name but different ports get their own storage. Closes COUCHDB-533. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@901413 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20properly encode user name in link urlJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@901055 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19Futon: Merge the different compaction/cleanup buttons into a single button ↵Christopher Lenz
on the database page, which will bring up a dialog allowing you to choose which type of compaction/cleanup to perform. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900999 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19Minor Futon style tweaks.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900997 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19Futon: Simplify placeholder fallback using jQuery live focus events.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900989 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19Upgraded jQuery to 1.4.0.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900978 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18need to add sha1.js to allow account creation on status pageJohn Christopher Anderson
it doesn't really make sense to create accounts on a page that will show nothing unless you are logged in under an admin account, but so it goes. Better would be to hide the "status" link unless you're logged in as admin. but anyway adding this js lib is relatively harmless, and eliminates that ugly dialog error modified: share/www/status.html git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900567 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18added jquery.dialog to status.html pageJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900566 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18normalize userCtx name and roles, also, no log in via a conflict docJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900275 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13use config info for users dbJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@898650 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09better validations on users dbJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@897521 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07merge account branch to trunkJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@896989 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02add button to cleanup old view files. closes COUCHDB-610. thanks Ilia CheishviliJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@895262 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23Follow RFC 2616 closer and use "verb" instead of "method"Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@893364 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22remove show from db doc GET handler, completing flip-flop on COUCHDB-404John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@893261 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22move query server to a design-doc based protocol, closes COUCHDB-589John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@893249 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12Futon: Improve display of multi-line strings in tabular document view.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889867 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11Futon: Show empty lists and objects in document view as [] and {}, respectively.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889856 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11Futon: Remember tabular vs. source tab preference in a cookie.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889846 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11Futon: A couple of bug fixes:Christopher Lenz
* Enable tab insertion in text areas for temp views. * Properly sync disabled status of "grouping" control on page load. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889841 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11Futon: Allow control over the group and group_level options on reduce views.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889795 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11Futon: Improve storage of session state by storing short-term settings in ↵Christopher Lenz
the window.name. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889766 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10Futon: Fix toggling of reduce checkbox on database page.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889307 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10Add a "Reduce" checkbox to the database view page in Futon, which controls ↵Christopher Lenz
the `reduce=true|false` query string parameter. I had to add `reduce=false` support for temp views on the server side to make the feature not-confusing. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889256 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10Futon: Update all the cache invalidation query strings from 0.9.0 to 0.11.0.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889148 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10Futon: Also enable tab insertion in the custom test textarea.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889139 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09Futon: Gecko now supports box-shadow, too.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889017 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09The "View Code" expansion triangle now actually shows the expanded/collapsed ↵Christopher Lenz
state. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889016 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09A couple of Futon improvements:Christopher Lenz
* JSON strings are now displayed as-is in the document view, without the escaping of new-lines and quotes. That dramatically improves readability of multi-line strings. * Same goes for editing of JSON string values. When a change to a field value is submitted, and the value is not valid JSON it is assumed to be a string. This improves editing of multi-line strings a lot. * Hitting tab in textareas no longer moves focus to the next form field, but simply inserts a tab character at the current caret position. * Fixed some font declarations. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889013 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06fix COUCHDB-593, thanks Roger Binns for reportingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@887791 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01change some timings to make the changes test more robustJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885954 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30passing test for filtered continuous changesJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885533 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30ETags on POSTs to _view and _list should depend on Keys. COUCHDB-586Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885529 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30work on COUCHDB-582, fixes issues with filtered longpoll requests closing earlyJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885329 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29add assertion that _all_dbs API existsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885286 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Setup JavaScript command line runner.Paul Joseph Davis
All JS tests can now be run from the command line using the cURL adapter. In the future I would like to rework this and provide better TAP output. For now, each test is a single TAP assert. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884675 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Use TEquals() in content_negotiation test.Jason David Davies
This gives us better error messages when the assertion fails. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884567 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Refactored the fix for active_dbs timeouts.Paul Joseph Davis
I was getting a bit of weirdness with the old test version so I updated to be more straight forward in its testing. I've also updated the patch to couch_db_updater.erl to only to the db_updated call when a delayed commit changes the db because it was interacting badly with compaction. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884369 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Update the open db's test to check failure.Paul Joseph Davis
Damien made a good point that we should check that the error is generated as expected before waiting as necessary for the active db's to go idle. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884344 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25Fixed a bug preventing active_dbs from working.Paul Joseph Davis
Thanks Jeff Macdonald for the report. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884315 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23Fix and tests for COUCHDB-292Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@883494 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20whitespace, add missing curly braces, 80 columns width -- no functionality ↵Jan Lehnardt
change git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@882523 13f79535-47bb-0310-9956-ffa450edef68
2009-11-15Testing of incremental attachments and more testing of multipart/handling.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@836324 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14Removed redudant multipart/related test from attachments.jsDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@836089 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14Better testing of multipart/relatedDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@836087 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13Initial check-in of APIs for multiple/related supported and incremental ↵Damien F. Katz
replication of only changed attachments. Needs more far more testing and to be hooked up the replicator. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@835981 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12Whoops. No alerts in tests plzkthx.Paul Joseph Davis
Forgot to replace a debugging alert. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@835195 13f79535-47bb-0310-9956-ffa450edef68