couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joan Touzet (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-472) handle custom CouchdDB welcome page
Date Sat, 26 Jan 2013 11:27:13 GMT


Joan Touzet commented on COUCHDB-472:

Propose pushing this out and repurposing this task:

1. I propose closing COUCHDB-348 as WONTFIX due to what Benoit says above, browsers and clients
are bugged so not much that can be done here
2. Fauxton / new Futon work could subsumesome of this work, in terms of supporting plugins
and new dashboard functionality.
3. This could then morph into a new homepage for Fauxton/new Futon which is user-editable
in a friendlier way than this.
> handle custom CouchdDB welcome page
> -----------------------------------
>                 Key: COUCHDB-472
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>    Affects Versions: 0.10
>            Reporter: Benoit Chesneau
>            Assignee: Benoit Chesneau
>             Fix For: 1.3
>         Attachments: COUCHDB-472-2.patch, COUCHDB-472.patch, couchdb_welcome2.patch,
couchdb_welcome3.patch, couchdb_welcome.patch, screenshot.png, Welcome page screenshot.jpg
> This change modify behaviour of Welcome handler by allowing admin to customize the welcome
page. If content is "application/json" it will send current json object, if not, it will send
an html page or redirect to another path.  
> This patch change the confugration string to a tupple {WelcomeMsg, WelcomePage}. WelcomePage
could be a string for DocumentRoot where it will find welcome.html page or a tupple {redirect,
> Ex if in config you have:
> / = {couch_httpd_misc_handlers, handle_welcome_req, {<<"Welcome">>, "/usr/local/share/couchdb/www"}}
> If Accept content is application/json Couchdb will send :
> "couchdb":"Welcome","version":"0.10.0a"}
> If other it will send welcome.html.
> if you replace "/usr/local/share/couchdb/www" by {redirect, <<"/_utils">>} user
will be redirected on futon.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message