summaryrefslogtreecommitdiff
path: root/share/www/script/futon.browse.js
AgeCommit message (Collapse)Author
2010-03-04Futon: use proper document value when constructing input element for inline ↵Christopher Lenz
editing, instead of its HTML rendering, and always create textarea for multiline strings. Closes COUCHDB-671. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@919193 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20Futon: Set rows for document source edit textarea to the numberJan Lehnardt
of rows in the source. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@912082 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14fix futon to use _security object. thanks Filipe Manana, closes COUCHDB-654John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@910054 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01Database-level security.John Christopher Anderson
This patch builds on the DB-admins feature to store lists of database admin and reader names and roles, as well as a security object which can be used for configuration in validation functions. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905436 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-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-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-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-10-30Closes COUCHDB-547 - Adding a View Compaction ButtonPaul Joseph Davis
Thanks to Joshua Bronson for the patch. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@831485 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22Make Futon's Source tab editable.Paul Joseph Davis
Thanks Sven Helmberger and Dan Walters git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@817793 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14Fixes COUCHDB-429 - Error durring paging.Paul Joseph Davis
Patch by Jason Davies git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@804255 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12Introduces native Erlang query servers. Closes COUCHDB-377John Christopher Anderson
Thanks Mark Hammond and Paul Davis for doing most of the work, and Michael McDaniel for the inspiration. There is still room for improvement on the APIs exposed to the Erlang views, as well as likely a whole lot of work to be done to increase parallelism. But the important part now is that we have native Erlang views. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@803685 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22Fix automatic group=true on reduce views in Futon, which was only getting ↵Christopher Lenz
applied erratically depending on timing. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796898 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22Fix off-by-one error in Futon view paging. Thanks to Jason Davies for the ↵Christopher Lenz
patch. Closes COUCHDB-428. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796895 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22Ignore whitespace in reduce code textarea in Futon. Closes COUCHDB-328.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796888 13f79535-47bb-0310-9956-ffa450edef68
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-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-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-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-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-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-14wheeeeeeeeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794057 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06trimmed trailing whitespaceNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22Added 'Jump to Document' in the database.htmlscreen. Would like maybe to see ↵Damien F. Katz
in the future about making it limit input to only existing doc ids, and perhaps only show on the 'All documents' view. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@787354 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13Fixes COUCHDB-349Paul Joseph Davis
Removing a _view can cause the database browser interface to break git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@774587 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20Futon reduce pagination. Fixes COUCHDB-172John Christopher Anderson
Thanks Jason Davies. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@756428 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20map queries with group=true query option will return an error.John Christopher Anderson
closes COUCHDB-185. changes to jquery.couch.js to support ajaxOptions may be useful for more than just openDoc, will need to be spread to the rest of the API. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@756413 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17show group=true notice only when view results are shownJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@755205 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06roll Applications tab out of Futon index pageJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750769 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22Link to design docs that have ddoc.couchapp.index or index.html, from Futon ↵John Christopher Anderson
database index. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@746644 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26Rename 'Custom query' in Futon to 'Temporary view', and add a warning about ↵Christopher Lenz
the use of temp views. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737893 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26Change _slow_view back to _temp_view, as discussed on the mailing list (see ↵Christopher Lenz
http://markmail.org/message/o44cafucgwlpudov). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737859 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26Fix expanding/collapsing nested structures in Futon, as well as ↵Christopher Lenz
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
2009-01-21Fix for view name encoding in Futon, for database names containing slashes. ↵Christopher Lenz
Closes COUCHDB-214 (again). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736400 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21Add caching to the Futon autocompletion feature, and fix the positioning code.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736387 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16Some cleanup of the suggest and editinline jQuery plugins.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735146 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16Fix for autocompletion in "Save as" dialog in Futon to work with the changed ↵Christopher Lenz
`_all_docs` collation. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735071 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16In the Futon document view, delete the whole _attachments row when the ↵Christopher Lenz
only/last attachment is removed. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734955 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15Fix Futon Javascript syntax error in IE.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734739 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15Revert changes that shouldn't have been committed together with r734633. ↵Christopher Lenz
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
2009-01-15Fix bug in test runner triggered by upgrade to jQuery 1.3.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734633 13f79535-47bb-0310-9956-ffa450edef68