Re: couchdb on OS X asks for user/password when using curl

2010-08-15 Thread J Chris Anderson
On Aug 10, 2010, at 12:24 PM, Christian Noack wrote: > Today I installed couchdb on OS X (Snow Leopard) via MacPorts. I started > couchdb and can connect to via the web browser (http://127.0.0.1:5984/). I > got the expected result: > "{"couchdb":"Welcome","version":"1.0.0"}" > > But when I tr

Re: confused about authentication in php vs couchdb

2010-08-15 Thread J Chris Anderson
On Aug 15, 2010, at 7:40 AM, Sebastian Cohnen wrote: > Hey Dan, > > I just wanted to note that CouchDB does only provide per database reader ACL. > So you need to have one database per user in order to protect a users content > from unauthorized access (remember any user with read access can r

Re: File system data representation

2010-08-15 Thread J Chris Anderson
On Aug 15, 2010, at 2:32 PM, Gregory Tappero wrote: > Hello couchers, > > I was looking in a way to build S3 like with couchdb. > > - buckets and files > - sharing between users > - update/move folders in buckets > > Using a separate doc for Each File with the pathj of the file in json > seem

Re: authentication and cookie authentication from web form examples

2010-08-15 Thread Matt Cooley
I don't have a CouchDB instance available at the moment, but I think something like the following gist is what you're looking for. http://gist.github.com/526014 The problem I ran into is that if the login fails, the user is stuck looking at a raw JSON response. There's no way around this without

File system data representation

2010-08-15 Thread Gregory Tappero
Hello couchers, I was looking in a way to build S3 like with couchdb. - buckets and files - sharing between users - update/move folders in buckets Using a separate doc for Each File with the pathj of the file in json seemed like a good plan. We Can easily lits files and folders children of a g

Re: expected behaviour of changes feed

2010-08-15 Thread Cliff Williams
All, Please ignore my last paragraph I was able to replicate my own stupidity . everything on the changes feed is as expected. very best regards Cliff On 15/08/10 17:28, Cliff Williams wrote: All, Gave things a little time to settle down following the data loss issue

Re: expected behaviour of changes feed

2010-08-15 Thread Cliff Williams
All, Gave things a little time to settle down following the data loss issue but checked out trunk from svn this morning and tested the versioning technique outlined by Chris below it works "luvly" and fits my purposes perfectly. As an aside, following my initial reluctance to use the

Re: Test failure after building from svn repo

2010-08-15 Thread Melton Low
On Sun, Aug 15, 2010 at 8:26 AM, Sebastian Cohnen < sebastiancoh...@googlemail.com> wrote: > have you tried to run this test multiple times? > > On 15.08.2010, at 01:32, Melton Low wrote: > > > Hi, > > > > I am on a PPC Mac running OS X 10.4. Using MacPorts I installed all the > dependencies. I

Re: confused about authentication in php vs couchdb

2010-08-15 Thread Sebastian Cohnen
Hey Dan, I just wanted to note that CouchDB does only provide per database reader ACL. So you need to have one database per user in order to protect a users content from unauthorized access (remember any user with read access can read ALL documents in the particular database). and btw: AFAIK j

Re: Test failure after building from svn repo

2010-08-15 Thread Sebastian Cohnen
have you tried to run this test multiple times? On 15.08.2010, at 01:32, Melton Low wrote: > Hi, > > I am on a PPC Mac running OS X 10.4. Using MacPorts I installed all the > dependencies. I then checked out the svn trunk (this afternoon). Following > the instructions, I got a clean build.

Re: couch.js documentation

2010-08-15 Thread Marco Monteiro
On 15 August 2010 02:13, wrote: > Can someone tell me what couch.js is and how that differs from > jquery.couch.js? > jquery.js is used in the tests; it uses synchronous xhr. You probably want to use jquery.couch.js Marco