You'd probably also wanna check the user doc IDs for caps in a validate_doc_update function. —Zach
On Fri, Sep 17, 2010 at 2:24 PM, Damien Katz <[email protected]> wrote: > A simple fix for this is to normalize to lowercase names during registration > and login, then the user can put in whatever mixed case they want. > > -Damien > > > On Sep 17, 2010, at 12:21 PM, Chris Anderson wrote: > >> On Fri, Sep 17, 2010 at 3:07 AM, Ido Ran <[email protected]> wrote: >>> I agree, it should not be forced - I think it should be the default. >>> If you know what you are doing and have a good reason to use case-sensitive >>> usernames then go ahead, but for the rest of us, it should be as simple as >>> it can. >>> How Couch people say - case-insensitive username is more relaxing :) >>> >> >> CouchDB uses document lookups to find users, so doing this would >> involve making docids case-insensitive, which isn't gonna happen. >> >> The good answer would be to add whatever iPhone tags you have to add >> to keep it from doing that stupid auto-shift key thing on login forms. >> >> I'd love a patch for that against this file: >> >> http://github.com/couchapp/couchapp/blob/master/vendor/evently/account/loginForm/mustache.html >> >> Chris >> >>> Ido >>> >>> On Fri, Sep 17, 2010 at 3:32 AM, Robert Newson >>> <[email protected]>wrote: >>> >>>> The question is whether CouchDB should force everyone to do that or >>>> not. I think it should not. >>>> >>>> B. >>>> >>>> On Fri, Sep 17, 2010 at 2:23 AM, Tyler Gillies <[email protected]> wrote: >>>>> I think case insensitivity is good, prevents thing from getting >>>> complicated >>>>> with two users one named tyler and one named Tyler >>>>> >>>>> On Thu, Sep 16, 2010 at 12:50 PM, Randall Leeds <[email protected] >>>>> wrote: >>>>> >>>>>> On Thu, Sep 16, 2010 at 03:13, Ido Ran <[email protected]> wrote: >>>>>>> Unix, Linux, Windows, Gmail, Skype >>>>>>> >>>>>>> Any application I can think of treat username in case-insensitive way. >>>>>> >>>>>> Really??? >>>>>> >>>>>> rle...@randalltor:~$ sudo -u Rleeds >>>>>> sudo: unknown user: Rleeds >>>>>> rle...@randalltor:~$ >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> http://www.readwriteweb.com/about#tyler >>>>> >>>>> Ask me anything <http://tumble.pdxbrain.com/ask>! >>>>> >>>> >>> >> >> >> >> -- >> Chris Anderson >> http://jchrisa.net >> http://couch.io > >
