Re: Adding fields to _user db

2012-11-09 Thread Jim Klo
Mark mail also provides excellent archive search http://markmail.org/search/?q=list%3Aorg.apache.couchdb.user Sent from my iPad On Nov 9, 2012, at 4:16 AM, "Aliaksandr Barysiuk" wrote: > Marcus, > > Try this > https://groups.google.com/forum/#!searchin/couchdb-user-archive/userCtx/couchdb-us

Re: Adding fields to _user db

2012-11-09 Thread Aliaksandr Barysiuk
Marcus, Try this https://groups.google.com/forum/#!searchin/couchdb-user-archive/userCtx/couchdb-user-archive/gQFTbJmOoro/oO3KFKe4Aa8J . Alex On 09/11/12 15:07, Wordit wro

Re: Adding fields to _user db

2012-11-09 Thread Wordit
Thanks Alex, any tips on how to search the mailing list archives? Apache.org only lets you browse by month. Google is not very focused if I try "couchdb userCtx extra information". Marcus On Fri, Nov 9, 2012 at 12:13 PM, Aliaksandr Barysiuk wrote: > Please find 'userCtx extra information' thre

Re: Adding fields to _user db

2012-11-09 Thread Aliaksandr Barysiuk
Please find 'userCtx extra information' thread in mail-list. I think there will be some useful info for you. Alex On 09/11/12 13:59, Wordit wrote: On Thu, Nov 8, 2012 at 8:34 PM, Nathan Vander Wilt wrote: The catch, though, is that these fields will not currently be passed via the "userCtx" f

Re: Adding fields to _user db

2012-11-09 Thread Wordit
On Thu, Nov 8, 2012 at 8:34 PM, Nathan Vander Wilt wrote: > The catch, though, is that these fields will not currently be passed via > the "userCtx" field to validation, filter, show/list, etc. functions as you > might expect. Yes, I discovered that soon after my decision to add a "nickname" fi

Re: Adding fields to _user db

2012-11-08 Thread Nathan Vander Wilt
The built-in validation function prevents you from storing *other* document types in the _users database. I don't know of any problems, in practice, to storing additional fields *within* user documents. You should prefix them (or isolate them within an app-specific key) however, to avoid issues

Re: Adding fields to _user db

2012-10-04 Thread svilen
+1 on the question i am still undecisive whether to use _users (and put all profile data there), make separate db, and live with the ~joins, or use completely separate (~already made) non-couchdb thing - in my case it's no much difference. if internaly it is not any special than other databases,