Re: Tips on how to purge a document without compacting

2015-10-16 Thread Alexander Selling
> > I think you’re referring to issue #776 > ? That was > fixed in 1.1.1. > I'm not sure, if you look into the json body in the revs table lots of rows have _removed but the CBLLogger doesn't complain, it's only some documents where i

Re: AppleTV update

2015-10-16 Thread john . vieten
just curious. did you have to change actual objective-c code to make couchbase run on AppleTV? Jens, are you also doing the IOS development? if yes ..repect.. John Am Freitag, 16. Oktober 2015 00:30:40 UTC+2 schrieb Jens Alfke: > > I got Couchbase Lite to pass all its unit tests on AppleTV, an

how to hide who created the document

2015-10-16 Thread Seung Chan Lim
So I wanted to do the following 1. have users create documents 2. only allow the user that created the document to edit the document (i.e. in the sync function check the "owner" attribute to be the same as the authenticated user) 3. allow everyone see the document (i.e. put it in a "public" chan

Re: SG Basic Auth Problem

2015-10-16 Thread Todd Freese
So this is turning into a big project :-( I got the GOROOT and GOPATH vars setup so go version shows the correct info. But it is still failing. Basically, I am running Red Hat on EC2. So this is a very locked down env. build.sh is calling into go.sh which is calling bc and bc is not avail

Re: Tips on how to purge a document without compacting

2015-10-16 Thread Jens Alfke
On Oct 16, 2015, at 12:54 AM, Alexander Selling mailto:alexander.sell...@gmail.com>> wrote: It's the Push replicator that fails, and it gives up when it detects illegal keys such as _removed (which isn't illegal I know but cbl thinks it is, sometimes) Yes, that’s issue #776 that we fixed a fe

Re: SG Basic Auth Problem

2015-10-16 Thread Jens Alfke
On Oct 16, 2015, at 7:49 AM, Todd Freese mailto:to...@filmworkers.com>> wrote: Do you guys do nightly builds or anything like that? Yup, let me find the URL … … … OK, it’s http://latestbuilds.hq.couchbase.com/couchbase-sync-gateway/0.0.0/0.0.0-466/ —Jens -- You received this message becau

Re: SG Basic Auth Problem

2015-10-16 Thread Todd Freese
Awesome! Thanks so much for all the help. Todd -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchbase+unsubscr...@googlegroups.com. To view this d

Re: how to hide who created the document

2015-10-16 Thread Jens Alfke
On Oct 16, 2015, at 7:14 AM, Seung Chan Lim mailto:djs...@gmail.com>> wrote: 1. have users create documents 2. only allow the user that created the document to edit the document (i.e. in the sync function check the "owner" attribute to be the same as the authenticated user) 3. allow everyone s

Re: AppleTV update

2015-10-16 Thread Jens Alfke
On Oct 16, 2015, at 5:28 AM, john.vie...@gmail.com wrote: just curious. did you have to change actual objective-c code to make couchbase run on AppleTV? Actually the only code I had to change was to +[CBLManager defaultDirectory], to use the Caches directory inst

Re: how to hide who created the document

2015-10-16 Thread J. Chris Anderson
On Friday, October 16, 2015 at 11:25:19 AM UTC-7, Jens Alfke wrote: > > > On Oct 16, 2015, at 7:14 AM, Seung Chan Lim wrote: > > 1. have users create documents > 2. only allow the user that created the document to edit the document > (i.e. in the sync function check the "owner" attribute to be

Re: SG Basic Auth Problem

2015-10-16 Thread Todd Freese
So the nightly build solved my problem accessing SG views. FYI, I had to re-submit my view design docs to the SGs for this to work. Do these views get stored in the backing db? In my case it is couchbase. Todd -- You received this message because you are subscribed to the Google Groups "Couc

Re: SG Basic Auth Problem

2015-10-16 Thread Jens Alfke
On Oct 16, 2015, at 11:56 AM, Todd Freese mailto:to...@filmworkers.com>> wrote: FYI, I had to re-submit my view design docs to the SGs for this to work. Do these views get stored in the backing db? In my case it is couchbase. They’re stored in Couchbase Server, but they have to be added via SG

Re: SG Basic Auth Problem

2015-10-16 Thread Todd Freese
So they persist over restarts of SG? Thought it was strange that after updating SG build, that I needed to resend the views to SG. T -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails f

Re: how to hide who created the document

2015-10-16 Thread Seung Chan Lim
Ah... roles... Yes, indeed. It occurs to me that "codename-" prefix is unnecessary. Am I right? slim On Friday, October 16, 2015 at 2:25:19 PM UTC-4, Jens Alfke wrote: > > > On Oct 16, 2015, at 7:14 AM, Seung Chan Lim > wrote: > > 1. have users create documents > 2. only allow the user that cr

scalability of channels

2015-10-16 Thread Seung Chan Lim
Hi, How many channels could a user have access to before it starts to have a significant impact on performance? (roughly speaking, as I understand that this could depend on h/w) # SPACE I'm imagining that access to channel increase the size of the user document. (i.e. "all_channels" attribute)

Re: how to hide who created the document

2015-10-16 Thread J. Chris Anderson
I like to use a prefix so that if it have roles I'm using for this aliasing feature, they don't get mixed up with roles I'm using for something else. The prefix should be unique in your app, but maybe pick something shorter than "codename". Chris On Friday, October 16, 2015 at 3:00:11 PM UTC-7

Re: how to hide who created the document

2015-10-16 Thread Seung Chan Lim
So the only reason you have the prefix is because you have a list of roles to manage for your app, and you want to visibly discern which of them belong to this "feature" and which don't? On Friday, October 16, 2015 at 9:26:56 PM UTC-4, J. Chris Anderson wrote: > > I like to use a prefix so tha

Re: how to hide who created the document

2015-10-16 Thread Jens Alfke
On Oct 16, 2015, at 8:10 PM, Seung Chan Lim mailto:djs...@gmail.com>> wrote: So the only reason you have the prefix is because you have a list of roles to manage for your app, and you want to visibly discern which of them belong to this "feature" and which don't? It helps ensure uniqueness to