couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Palmer (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-202) [PATCH] Support other languages for views in Futon
Date Fri, 09 Jan 2009 23:05:59 GMT
[PATCH] Support other languages for views in Futon
--------------------------------------------------

                 Key: COUCHDB-202
                 URL: https://issues.apache.org/jira/browse/COUCHDB-202
             Project: CouchDB
          Issue Type: Improvement
          Components: Administration Console
            Reporter: Brian Palmer
         Attachments: Futon_languages_support.patch

Attached is a small patch to generalize Futon to support any language defined in the .ini
file. If the language is recognized, Futon will use the correct "stub" map function in the
edit textarea. Currently I've added stub map methods for javascript and ruby, more could be
added.

Languages are checked on save and handled conservatively. So once a view has been created,
its language cannot be changed. And when first saving a view, the target document's language
is checked and an error is returned if the languages don't match.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message