Hi everyone,
Here's what happens for me on ubuntu.
% cd webserver/sgw
% /opt/couchbase-sync-gateway/bin/sync_gateway -verbose config.json
13:38:46.441707 Enabling logging: [CRUD CRUD+ HTTP HTTP+ Access Changes
Changes+]
13:38:46.442237 Couchbase Sync Gateway/1.00 (1.0.0-23; commit
I may be missing something very obvious. I'm trying to retrieve the name of
users given a role. I know that I can retrieve the name of roles given a
user name, but I don't seem to be able to find out how I can retire the
name of users given a role.
would love your help,
slim
--
You received
I have the following two types of documents
1. space
2. conversation: "space" attribute points to the _id of space
Whenever a conversation starts, a new doc of type "conversation" is created
and its attribute "space" contains the _id of a doc of type "space"
What I want to ensure in my sync
What I'm leaning toward is just creating a EVERYONE role, then adding any
new user to that role.
Then giving any public space provide access to that role.
I guess that's the way?
slim
On Wednesday, October 21, 2015 at 5:36:39 PM UTC-4, Seung Chan Lim wrote:
>
> I have the following two
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"
Is there a way for the sync function to notice that doc has an attachment?
slim
--
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
I vaguely remember hearing about a "!" channel for saw 1.1. Is this
implemented and if so what exactly does it do? I couldn't find
documentation on it.
would love your help
slim
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To
In my sync function I call:
channel(*)
on a document, and I'm expecting now any authenticated user to be able to
see the content of this document. But I'm proven wrong by reality.
I get forbidden to my request.
When I look at the metadata I see this:
_sync: {
rev:
Got it. I now understand that when I give a user access to the * channel,
that user has access to all document (i.e. giving GUEST access to *
channel would, in most cases, be a bad idea, for example. ) Am I
understanding right?
Yes, ! is exactly what I'm looking for. When's 1.0.4 due out?
Hold on. I'm an idiot. Never mind. I was trying to PUT the wrong URL.
slim
On Sunday, February 22, 2015 at 10:38:20 PM UTC-5, Seung Chan Lim wrote:
I'm making PUT requests to /db/_user/ calls, and noticing that this also
goes through the sync function.
Is there a way to know inside
I'm making PUT requests to /db/_user/ calls, and noticing that this also
goes through the sync function.
Is there a way to know inside the sync function that it's a admin api call
or a /db/_user (or /db/_role/) call and treat it differently than a normal
call?
slim
--
You received this
Yeah, it'd be great if there's a dbname/_channel/id API much like the _user
and _role
slim
On Friday, February 20, 2015 at 12:28:13 PM UTC-5, Jens Alfke wrote:
On Feb 20, 2015, at 4:34 AM, James Nocentini james.n...@gmail.com
javascript: wrote:
I'm not sure, i think there's a
(doc.members[i].indexOf(
:)+1))
};
access(memberNames, list-+doc._id); //list-+doc._id is the
channel name
}
I've not yet been using roles yet, so lets count on the others.
-Sean
On Saturday, February 21, 2015 at 12:33:46 PM UTC+8, Seung Chan Lim wrote:
I think I still lack
I think I still lack a more fundamental understanding of what's going on
with the sync function. The part that's confusing me is what's happening
_implicitly_.
If I understand correctly. Each time a document is created/updated the sync
function is called.
From what I understand, there is an
Oh wait. I can just check
function (doc, old_doc) {
if (old_doc doc._deleted) {
} else { // do error checking
}
}
right?
slim
On Friday, February 20, 2015 at 8:04:11 PM UTC-5, Seung Chan Lim wrote:
What I'm trying to do is delete a document through the sync gateway. But
my sync function
I see that if I ask for _changes since=0 I get notifications for docs that
were DELETEd long time ago.
Why is this necessary?
slim
--
You received this message because you are subscribed to the Google Groups
Couchbase Mobile group.
To unsubscribe from this group and stop receiving emails
What I'm trying to do is delete a document through the sync gateway. But my
sync function won't let me do it for this reason
Sync fn rejected: new=map[_deleted:true
_rev:15-663c3c699eed204714085666df9fe784
_id:c493aedaa7ba443489d1784c0e792436]
I remember there being a REST API to finding out which users (and role?)
have access to a given channel. I can't find out where in the docs this is
stated.
Could someone help?
thank you
slim
--
You received this message because you are subscribed to the Google Groups
Couchbase Mobile
Cool!
Here's the talk if anyone else is interested:
https://www.youtube.com/watch?v=mFQTGiCEHrE
slim
On Saturday, February 14, 2015 at 2:56:33 PM UTC-5, Jens Alfke wrote:
On Feb 9, 2015, at 3:46 PM, Seung Chan Lim djs...@gmail.com javascript:
wrote:
Is there any more efficient way
I'm trying to see if I can get elastic search (ES) 1.3.8 working with
couchbase (CB) 3.0.2 on a t2.micro (Amazon WS)
t2.micro has 1 gig of RAM, which isn't a lot, but I'm only doing test
development on this with not a lot of documents (1000).
I just installed ES and followed the CB
Am I correct in saying that I can simply put the following to my
config.json for sync gateway 1.0.0 and it will support CORS?
,CORS: {
Origin: [*]
,Headers: [DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,
X-Requested-W\
ith,If-Modified-Since,Cache-Control,Content-Type]
I'm trying to create a new role by making a request to the ADMIN interface,
but failing.
I tried a POST request to localhost:4985/db/_role/ with body {name:
newrole} which got me a 405 method not allowed.
I tried a PUT request to localhost:4985/db/_role/ with body {name:
newrole} which got me
So if I have a structure like so:
doc1:
name: Foo
children: [doc2]
doc2:
name: Bar
parent: doc1
children: [doc3]
doc3:
name: Baz
parent: doc2
The simplest way to fetch the entire set is to fetch doc1, then read the
children attribute, fetch doc2, read the children attribute, and
Oh *DUH* Thank you! :)
slim
On Thursday, February 5, 2015 at 6:37:46 PM UTC-5, Jens Alfke wrote:
If you read the page, it describes how to access geo views through the
REST API.
--Jens [via iPhone]
On Feb 5, 2015, at 2:55 PM, Seung Chan Lim djs...@gmail.com javascript:
wrote:
Ah
Ah... But not through phonegap, am I correct?
On Thursday, February 5, 2015 at 3:50:33 PM UTC-5, Jens Alfke wrote:
On Feb 5, 2015, at 12:47 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
Are there any plans to bring spatial views to couchbase lite?
There's some basic support
How about removing a user from a role? I'm not seeing any mention of that
on that page or on google. I assume you can't just manually edit the
roles attribute of the user account doc?
On Sunday, February 1, 2015 at 12:11:18 PM UTC-5, Jens Alfke wrote:
On Feb 1, 2015, at 5:04 AM, Seung Chan
Ah... Membership documents! Indeed. That's a great idea! Thank you.
As per roles. Is the following all the documentation available for roles?
http://developer.couchbase.com/mobile/develop/guides/sync-gateway/administering-sync-gateway/authorizing-users/index.html#roles
Are there more on how to
I'm trying to implement document-level access control.
My initial instinct is to simply add an attribute to the document (i.e.
access) and make it a list that I can keep appending users to (i.e.
[user1, user2, user3]).
I can then use the sync gateway to make the document id a channel, then
Does the same hold true for (access) or can (access) be called just once?
On Thursday, November 27, 2014 12:19:17 AM UTC-5, Jens Alfke wrote:
On Nov 26, 2014, at 6:44 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
Ah... Then do I have to assign the doc to a channel every time I
So on my iOS phonegap app I make a HTTP request to my server.
On my server I make a change on a document using python (I actually make an
HTTP request to the SGW to do this, even though I'm on the server. That way
I take advantage of the async HTTP api instead of the synchronous api
provided
As a side note, when I look at the doc directly using the Web interface for
couchbase server, I don't see such attribute set. All looks fine. So it's
only on the phonegap iOS side that the doc somehow has become removed.
On Wednesday, November 26, 2014 7:48:58 PM UTC-5, Seung Chan Lim wrote
Ah... Then do I have to assign the doc to a channel every time I make
changes to it?
slim
On Wednesday, November 26, 2014 9:20:53 PM UTC-5, Jens Alfke wrote:
On Nov 26, 2014, at 4:48 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
After making the change on the server I get
At firstI first formed my URL like so:
http://lite.couchbase./status32/_changes?feed=continuousinclude_docs=truefilter=magic/by_attrdoc_ids=%7B%22role%22%3A%5B%22Person%22%5D%7D
and the XMLHTTPRequest would not advance after readyState of 1
Out of whim, I changed it to
Hi Chris,
So I'm trying out the filters again, but for some reason even if I return
false from my filter function, I get back every doc in the local db.
This is my filter function
filters: {by_attr: (function(doc, req) {
return false;
}).toString()
}
I JSON.stringify the above, of
I suppose that's possible.
On Sunday, November 23, 2014 6:53:42 PM UTC-5, Jens Alfke wrote:
Yikes! Since the problem went away after a meaningless change to the URL,
maybe it had something to do with caching? Maybe WebKit had cached a bad
response from the first URL, so when you changed to
the cookies from my first HTTP
request to the SGW? Is that what you mean by looking up from the
NSHTTPCookieStorage?
slim
On Wednesday, November 19, 2014 1:00:27 PM UTC-5, Jens Alfke wrote:
On Nov 18, 2014, at 7:42 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
Hmmm... Good catch
I have a custom auth server I'm using to authenticate the user. I also have
a sync gateway server which is on a different host/port than the custom
auth server.
I get the session id through the saw which I access from within the auth
server. I then send the session id back to the client, and
adda14927a}}
The above is a json string I'm sending as the body of a POST request to
http://lite.couchbase./_replicate
slim
On Tuesday, November 18, 2014 9:55:31 PM UTC-5, Jens Alfke wrote:
On Nov 18, 2014, at 6:38 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
{source:status32
Here's the top portion of my config file for the SGW.
{
interface : :4984
,adminInterface : :4985
,log:[CRUD, CRUD+, HTTP, HTTP+, Access, Cache, Changes,
Changes+]
,SSLCert: /home/ubuntu/rapidssl.crt
,SSLKey: /home/ubuntu/privkey.pem
,databases:{
maum2:{
shadow: {
bucket: default
Stop? You mean abort the HTTP call made to
http://lite.couchbase./_replicate ?
slim
On Thursday, October 23, 2014 4:22:52 PM UTC-4, Jens Alfke wrote:
On Oct 23, 2014, at 8:01 AM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
If the second request is ignored, what could I do
I'm trying to use longpoll with a call to
http://lite.couchbase./_active_tasks instead of continuous. Why? Because
with continuous it keeps appending to the http response buffer, which can
grow indefinitely.
The question I have is how can I make a call to _active_tasks with longpoll
such that
the
sgw).
I'm seeing a 404 returned despite having never canceled it manually...
slim
On Friday, October 24, 2014 11:53:36 AM UTC-4, Jens Alfke wrote:
On Oct 24, 2014, at 7:42 AM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
Stop? You mean abort the HTTP call made to
http
Is there any reason I would get a 404 if it's continous?
slim
On Friday, October 24, 2014 7:54:09 PM UTC-4, Jens Alfke wrote:
On Oct 24, 2014, at 4:28 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
Can a HTTP request to http://lite.coucbase./_replicate with the
cancel:true
What's your algorithm for setting these?
If you query the _active_tasks and check the stats could you get all of
these figured out?
Are there any exceptions?
slim
On Tuesday, October 21, 2014 2:00:10 AM UTC-4, Jens Alfke wrote:
Google just released
Ok, I have reduced my issue of PULL replication problem down to a version
change on sync gw from 1.0.0 to 1.0.2
I have the exact same steroids appgyver code that works against sgw 1.0.0
that breaks with 1.0.2
The break is that I don't get my content replicated over.
Can anyone think of what
will do
On Monday, October 20, 2014 2:43:46 PM UTC-4, Jens Alfke wrote:
On Oct 20, 2014, at 10:37 AM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
Can anyone think of what has changed from 1.0.0. to 1.0.2 that could
attribute to this?
No; there have definitely been some
Hi,
I have a question about adding channels to docs stored directly (i.e. not
via the sgw) through they python API.
Do I have to manually set the channels attribute from python to mimc the
behavior of the sgw or is there a way to have the sgw monitor changes made
to the couchbase directly and
I'm seeing a slightly different behavior from the past, so I'm double
checking. (I've updated to couchdb 3 and syncgw 1.02)
(I'm on iOS/phonegap)
So I use a script to create a user on the server side
Then the mobile device talks to the sync gw to authenticate
Then using the returned session
,
by the end of the user creation, channels are set for this user, and the
documents are waiting to be replicated out.
slim
On Sunday, October 19, 2014 10:18:13 AM UTC-4, Seung Chan Lim wrote:
I'm seeing a slightly different behavior from the past, so I'm double
checking. (I've updated
Just to confirm
1) doing db/_all_docs?channels=true
shows that the doc belongs to the expected channel
2) doing db/_user/user_id
shows that the user has access to the channel
slim
On Sunday, October 19, 2014 11:26:34 AM UTC-4, Seung Chan Lim wrote:
BTW, I create users _through_ the sgw
SyncVerbose ? What's that?
Do you mean -verbose for the sync_gateway cmdline app?
slim
On Sunday, October 19, 2014 4:48:39 PM UTC-4, Jens Alfke wrote:
I'm not sure what the problem might be. Have you turned on Sync or
SyncVerbose logging to see if anything relevant gets logged? This would
Is SyncVerbose an iOS obj-c thing? I'm on phonegap
On Sunday, October 19, 2014 4:48:39 PM UTC-4, Jens Alfke wrote:
I'm not sure what the problem might be. Have you turned on Sync or
SyncVerbose logging to see if anything relevant gets logged? This would
help to make sure that your user
?) with no active
requests for either.
Now, what could possibly be causing this??
The call to http://lite.couchase.com/_replicate for PULL returns http
status of 200...
slim
On Sunday, October 19, 2014 5:26:02 PM UTC-4, Seung Chan Lim wrote:
Is SyncVerbose an iOS obj-c thing? I'm on phonegap
oops, I meant http://lite.couchase./_replicate
without the .com
slim
On Sunday, October 19, 2014 6:38:04 PM UTC-4, Seung Chan Lim wrote:
On the server side, I see
22:27:47.518798 Cache: getCachedChanges(test4, {19 0}) -- 1 changes
valid from #16
22:27:47.518808 Cache: Querying
, October 19, 2014 6:39:01 PM UTC-4, Seung Chan Lim wrote:
oops, I meant http://lite.couchase./_replicate
without the .com
slim
On Sunday, October 19, 2014 6:38:04 PM UTC-4, Seung Chan Lim wrote:
On the server side, I see
22:27:47.518798 Cache: getCachedChanges(test4, {19 0}) -- 1 changes
I don't know if this is even possible, but I'm curious.
What I want to do is basically cross-document flattening(merging).
Say I have 5 documents
(DOC 1)
_jd : 1
name: people
members: [2,3]
(DOC 2)
_id: 2
name: John Doe
age: 25
comments: [4]
(DOC 3)
_id: 3
name: Jane Doe
age: 23
comments:
I think you're the only one who knows how to answer this. Would love your
help.
(This is off of the other thread titled J. Chris Anderson can you help?
Re: filtering changes feed)
Hi, I'm just getting around this. (went on a vacation)
So I see that now a dummy filter function that
, status, target, task, etc...
Am I understanding this correctly?
slim
On Saturday, September 27, 2014 3:56:06 PM UTC-4, Seung Chan Lim wrote:
Also, if the POST returns with a response body that contains a
session_id, are you saying I can _assume_ that the session is bogus? or
are you
Hi,
Is anyone else using cblite on phonegap (iOS) and debugging views or filter
functions in design docs?
I'm trying to figure out how to trace within such a function or at least do
print statement style debugging.
I'm debugging directly on the iPhone with console access through safari web
Hi,
I'm trying to implement some purging into my phonegap app on iOS. The local
db is getting big.
If I purge the docs, what's the best practice for later getting them back?
(i.e. get them re-replicated from the sync gateway?)
slim
--
You received this message because you are subscribed to
:36:03 AM UTC-4, Jens Alfke wrote:
On Sep 26, 2014, at 7:40 AM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
If I purge the docs, what's the best practice for later getting them back?
(i.e. get them re-replicated from the sync gateway?)
In 1.0.2 it's a bit awkward; you'll need
Hi,
I've searched the docs to not much avail...
What happens when I call _replicate on couchbase lite (phonegap iOS) and
the session info stored in the cookie header points to an expired session?
Do I get back a http status indicating as such (if so what?)?
slim
--
You received this
Sorry, I can't share the app. :( I'll be more than happy to help in others
possible ways as needed.
slim
On Monday, August 4, 2014 1:08:42 PM UTC-4, J. Chris Anderson wrote:
On Sunday, August 3, 2014 2:00:04 PM UTC-7, Seung Chan Lim wrote:
Yeah, I just tried a filter that returns true
, August 2, 2014 8:37:58 PM UTC-7, Seung Chan Lim wrote:
Thanks Chris.
I'm testing it out. I'm using the main GIT repository URL I've been using
since it seems to be up-to-date. If that assumption is incorrect, please
let me know.
What I'm seeing is that I no longer get a 404. But I'm not getting
, Jens Alfke wrote:
On Aug 2, 2014, at 10:48 AM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
What iOS API do you use to achieve this? I'm trying to find out how I can
do this within phonegap, but I need to know what needs to happens at a
lower level.
Set CBLReplication.credential
to achieve this? I'm trying to find out how I can
do this within phonegap, but I need to know what needs to happens at a
lower level.
slim
On Friday, July 25, 2014 9:05:31 PM UTC-4, Jens Alfke wrote:
On Jul 25, 2014, at 4:49 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
The plugin
This is something that is baffling me.
I'm trying to filter my changes feed from the local couch db on phone gap.
I've created a design doc ( _design/utils) with the filters attribute set
to a string representation of the following function
function(doc, req) {
if
By local couch db I mean couch base lite.
On Tuesday, July 29, 2014 4:35:10 PM UTC-4, Seung Chan Lim wrote:
This is something that is baffling me.
I'm trying to filter my changes feed from the local couch db on phone gap.
I've created a design doc ( _design/utils) with the filters attribute
I noticed here:
http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/database/get-changes/index.html
that there's a parameter view that is supported as part of _changes.
1. What's a right value for it? If the design doc is _design/utils and
the view function is
iOS
snip indicates removed content
{_id: _design/utils
views: {
personal_history: {
map: snip
},
interpersonal_history: {
map: snip
}
},
filters: {
by_id: function(doc, req) {
if (req.query.doc_ids.indexOf(doc._id) != -1) {
Ah, most excellent!
Yes, the invalid JSON is just my sloppiness.
Eagerly awaiting Chris to rebuild the phone gap plugin.
How do I know when this gets done?
slim
On Tuesday, July 29, 2014 7:30:06 PM UTC-4, Jens Alfke wrote:
On Jul 29, 2014, at 4:14 PM, Jens Alfke jens@gmail.com
for my purposes?
Also, what do these do:
sudo fallocate -l 1G /swapfile
sudo chmod 644 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
thanks again
slim
On Thursday, July 24, 2014 11:48:05 PM UTC-4, Seung Chan Lim wrote:
Nevermind, I found it. :)
http://docs.couchbase.com/couchbase
Hi,
I'm trying to get SSL (HTTPS) to work on the sync gateway.
I have seen:
https://github.com/couchbase/sync_gateway/wiki/SSL-support
So I've put both SSLCert and SSLKey in my config.json like so
{
interface : :4984
,adminInterface : :4985
,log:[REST+, CRUD, Access]
,SSLCert:
That was it!
Thanks Jens. I hope to meet you in person some day so I can personally
thank you for all the help. :)
slim
On Friday, July 25, 2014 5:03:53 PM UTC-4, Jens Alfke wrote:
On Jul 25, 2014, at 1:06 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
openssl genrsa -des3 -out
the various values to denote an internet
password.
Are you familiar with such a documentation?
I'm looking around, but can't find it. Will keep searching.
slim
On Wednesday, July 23, 2014 3:41:48 PM UTC-4, Jens Alfke wrote:
On Jul 23, 2014, at 10:35 AM, Seung Chan Lim djs...@gmail.com
javascript
Oh, yes, I guess that's right. I should probably ask this at the mobile
forum.
slim
On Thursday, July 24, 2014 12:40:07 AM UTC-4, Aliaksey Kandratsenka wrote:
On Wed, Jul 23, 2014 at 8:48 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
More specifically, is it stored plaintext
Apparently, it's bcrypt hash.
Sorry for posting it on the wrong group. :)
slim
On Friday, July 25, 2014 1:44:29 PM UTC-4, Seung Chan Lim wrote:
Oh, yes, I guess that's right. I should probably ask this at the mobile
forum.
slim
On Thursday, July 24, 2014 12:40:07 AM UTC-4, Aliaksey
23, 2014 at 11:06 AM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
Hi,
With the recent issue with sync gateway being down for a long time, I'm
wondering if what people are doing as alternatives.
I'm still in development phase (i.e. app not launched)
I have a handful of users
Nevermind, I found it. :)
http://docs.couchbase.com/couchbase-manual-2.5/cb-install/#ubuntu-linux-installation
thanks again!
slim
On Thursday, July 24, 2014 5:28:15 PM UTC-4, Seung Chan Lim wrote:
T2.Micro? I've not heard of this service.
Let me give this a shot.
Are there tips on how
PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
The question is, what's the best practice to doing this over a long
duration of time? What if they're offline for days?
They might need to re-authenticate, if you’re using cookies and the delay
is longer than the session lifetime
of the keychain?
(i've never used the keychain feature on iOS)
slim
On Wednesday, July 23, 2014 1:00:09 PM UTC-4, Jens Alfke wrote:
On Jul 23, 2014, at 9:49 AM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
You mean on each and every http request (i.e. push replication), embed
Hi, I was wondering how are passwords for users stored in couchbase?
slim
--
You received this message because you are subscribed to the Google Groups
Couchbase group.
To unsubscribe from this group and stop receiving emails from it, send an email
to couchbase+unsubscr...@googlegroups.com.
More specifically, is it stored plaintext or is it a salted hash?
I'm trying to figure out what's the best way to implement password
reset/recovery feature
slim
On Wednesday, July 23, 2014 12:57:02 PM UTC-4, Seung Chan Lim wrote:
Hi, I was wondering how are passwords for users stored
I want my users to be able to take advantage of offline use of the app. The
only way to authenticate them is through the sync gateway, which requires
that they're online. So I can have them authenticate once while they're
online, then keep the session cookie cached and use it to replicate
, on the next run loop.
If anyone on Phonegap has done something with the network on PAUSE, please
let me know
slim
On Monday, July 21, 2014 11:41:49 AM UTC-4, Jens Alfke wrote:
On Jul 20, 2014, at 9:51 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
I can't really execute any code
Hmm… I'm trying this out and getting the same error.
Notice that the error message reports the wrong address (it looks as if it
put itself right after the base directory of the image file.
Ok, so here's a hack, which works. (I think)
gcloud compute instances create docker-playground --image
../../../google-containers/global/images/container-vm-v20140624 --zone
us-central1-a --machine-type f1-micro
slim
On Sunday, July 20, 2014 7:12:16 PM UTC-4, Seung Chan Lim wrote
Hi,
I was wondering if there is a best practice way to put last updated
timestamp on a document other than doing it on the client side. I hope to
synchronize the clock on the server.
I'm currently writing the client app using cb-lite on iOS replicating
through sync gateway to couch base.
Ah… good point. Hmm...
On Sunday, July 20, 2014 11:19:35 PM UTC-4, Jens Alfke wrote:
On Jul 20, 2014, at 4:21 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
Ideally, I'd love to find out if there's a way to put a last updated
time stamp in the context of something like the sync
I'd like to implement a mechanism by which iOS users can detect the
presence of the other. By presence, I mean that the other person is
actively using the phone gap app I've made.
I can't really execute any code the moment an iOS phonegap app goes to the
background (pause in phone gap speak).
Hi,
I was wondering if there is a better way to put last updated timestamp on a
document other than doing it on the client side. I hope to synchronize the
clock based on the server.
I'm currently writing the client app using cblite on iOS replicating
through sync gateway to couch base.
http://sync.couchbasecloud.com/ seems to be down
What's the protocol for when you notice that the sync gateway is down?
slim
--
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,
Is it possible to add an attribute to a document in the sync funciton? For
example. add a last updated attribute on a document with time stamp
JSON.stringify(new Date())?
I'm hoping to synchronize the clock using server-side clock not client-side.
--
You received this message because you are
Jun 2014, at 08:37, Seung Chan Lim djs...@gmail.com javascript:
wrote:
What's the recommended strategy if I want a desktop app written in
Node.js running on Mac and Windows? Is there an embeddable couchbase lite
that I can interface from Node.js? (i.e. without having to run a separate
I'm using Atom Shell:
https://github.com/atom/atom-shell
On Monday, June 16, 2014 12:00:56 PM UTC-4, Jens Alfke wrote:
On Jun 16, 2014, at 12:37 AM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
What's the recommended strategy if I want a desktop app written in Node.js
running
If I want to a document to be replicated everywhere, am I correct in
assuming that all I need to do is simply call channel(*) in my sync
function? Is there anything else I need to do?
I ask, because I tried that, but still getting forbidden from the sync
gateway trying to access that document.
:{rev:1-fb79c49f6ae5bf09d52eee23b0833029,channels:[*]}}
...
But then I switch to normal port I don't have permission (forbidden) to see
those documents.
slim
On Tuesday, June 10, 2014 5:27:25 PM UTC-4, Jens Alfke wrote:
On Jun 10, 2014, at 12:20 PM, Seung Chan Lim djs...@gmail.com
UTC-4, Jens Alfke wrote:
On Jun 10, 2014, at 3:18 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
But then I switch to normal port I don't have permission (forbidden) to
see those documents.
Can you show that request too? What account are you authenticating as on
the normal
If I do /_all_docs?channels=true on the normal port, I get back results
that don't show the documents that belong to * channel.
On Tuesday, June 10, 2014 7:53:35 PM UTC-4, Jens Alfke wrote:
On Jun 10, 2014, at 3:18 PM, Seung Chan Lim djs...@gmail.com
javascript: wrote:
But then I
I'm on iOS.
On Friday, June 6, 2014 6:10:59 PM UTC-4, J. Chris Anderson wrote:
On Tuesday, June 3, 2014 8:26:50 PM UTC-7, Seung Chan Lim wrote:
Has anyone successfully used a filter with the _changes feed of local
couchbase lite in the following fashion?
I don't rely on this in any
1 - 100 of 133 matches
Mail list logo