Re: browserid support

2011-12-26 Thread Randall Leeds
On Sun, Dec 25, 2011 at 22:02, Jason Smith wrote: > On Mon, Dec 26, 2011 at 9:51 AM, Michiel de Jong wrote: >> The other thing, CouchDB as a BrowserId RP, would simply be instead of >> clicking 'login' at the bottom right in futon, there would be a BrowserId >> sign in button there. This is nice

Re: Database size seems off even after compaction runs.

2011-12-26 Thread Jens Alfke
On Dec 24, 2011, at 4:39 PM, Mark Hahn wrote: Some say nothing but minimal id/rev data is retained after deleting a doc … ... But some say the entire document is retained ... Deleting a doc just adds a new revision (a “tombstone”) that’s marked as deleted. Compacting removes the space occupied

Re: Database size seems off even after compaction runs.

2011-12-26 Thread Nathan Vander Wilt
On Dec 23, 2011, at 2:56 PM, Chris Stockton wrote: > Hello, > > On Fri, Dec 23, 2011 at 5:48 AM, CGS wrote: >> Hi, >> >> Sorry to interfere with such a question, but why don't you work with a >> buffer database? I mean, make a replica to another database which filters >> out the deleted document

Re: browserid support

2011-12-26 Thread Jim Klo
Just thought I'd point out, if you didn't know already, BrowserID is still considered a Draft prototype and all the crypto happens in JS. The actual security of this with the current JS implementation is questionable - it was done this way for quick prototype, and may be prone to XSS. The concep

Re: Unable to access all the documnets by 'documentType' property

2011-12-26 Thread Keith Gable
Isn't it view_by_whatever? Then again I do use an older CouchRest. On Dec 26, 2011 2:17 AM, "Shreekumar" wrote: > after making changes in view as follows, as u suggested > > function(doc) { > emit(doc.documentType, null); > } > > I tried the command as follows > > Android.find_by_documentType(:*

Re: browserid support

2011-12-26 Thread Tim Kuijsten
Op 26-12-11 03:51, Michiel de Jong schreef: there are three parts to consider: - the javascript shim - the verifier - the identity provider (whether primary or secondary) the verifier is already available as a node module. this means you could probably also host the javascript shim yourself, a

Re: Modeling a tree in couchdb.

2011-12-26 Thread Jason Smith
On Sat, Dec 24, 2011 at 4:03 AM, Jens Alfke wrote: > > On Dec 23, 2011, at 3:26 AM, CGS wrote: > > An idea I got from the CouchDB documentation: use floating point numbers > instead of integers. That is, instead of 1, 2, 3, 4..., you can use 0.1, > 0.2, 0.3, 0.4... or 1.0, 2.0, 3.0, 4.0... That ca

Re: Unable to access all the documnets by 'documentType' property

2011-12-26 Thread Shreekumar
after making changes in view as follows, as u suggested function(doc) { emit(doc.documentType, null); } I tried the command as follows Android.find_by_documentType(:key=>'Survey') and Android.by_documentType(:key=>'Survey') Bothe are giving Bad Request 400 error. Could you please send me an