<simonv3>
Hey kentonv are you available to answer some questions about accounts-sandstorm (the meteor package)?
<simonv3>
or anyone else
<kentonv>
hi
<kentonv>
simonv3: go ahead
<gwillen>
zarvox: submitted
<gwillen>
dwrensha: it seems the app is actually already using pushstate and updating its url.... on the iframe, of course, so nobody ever gets to see it
<gwillen>
dwrensha: I wonder if sandstorm could intercept that and do setPath automatically
<gwillen>
(but it definitely ought to be easy to add it manually)
<simonv3>
kentonv: I’m using the accounts-sandstorm package on local.sandstorm.io:6080 and created a new grain of my app - but the permissions array is empty. Using the accounts-sandstorm-dev package with meteor I’m seeing an “owner” instance in the permissions. Is that right?
<kentonv>
simonv3: You'll need to declare your permissions and roles in your sandstorm-pkgdef.capnp before they show up in-app. I think accounts-sandstorm-dev ignores your pkgdef and specifies whatever permissions you configure it to specify.
<kentonv>
simonv3: note that the owner always has all permissions, so some apps define an "admin" or "owner" permission that is not a member of any role, and that's how they identify the owner
<mnutt_>
copy/paste is currently the only powerbox method available, right? is it possible to set up persistent access between two grains using powerbox right now?
<mnutt_>
for example, I’d like to permanently offer read access to a directory tree of files I have in my grain, via a capnp API…I’m imagining list() and get() would be sufficient out of the gate
simonv3 has quit [Quit: Connection closed for inactivity]
mnutt_ has quit [Quit: mnutt_]
ArcTanSusan has quit [Quit: ArcTanSusan]
rhapsodhy has quit [Remote host closed the connection]
rhapsodhy has joined #sandstorm
ArcTanSusan has joined #sandstorm
docaedo has joined #sandstorm
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
erikmaarten has joined #sandstorm
rolig has quit [Ping timeout: 264 seconds]
rolig has joined #sandstorm
ArcTanSusan has quit [Quit: ArcTanSusan]
h2o3 has joined #sandstorm
erikmaarten has quit [Ping timeout: 240 seconds]
ArcTanSusan has joined #sandstorm
home has quit [Ping timeout: 264 seconds]
jacksingleton has quit [Ping timeout: 240 seconds]
jadewang has quit [Remote host closed the connection]
<ocdtrekkie>
Based on replying to ndarilek on the dev list.
<asheesh>
+1
<ocdtrekkie>
Re: Alliance, would be funny if they were like 'oh, Sandstorm works'.
<ocdtrekkie>
Groups is gonna be a big need for organizations in particular.
fonfon has joined #sandstorm
<asheesh>
I really want those groups
<jadewang>
hey @asheesh, do you know the hylo folks?
<asheesh>
I don't really.
<asheesh>
I know Ben of Known, is all.
<ocdtrekkie>
You should just offer Sandstorm on it. :)
<asheesh>
I kind of want to defer that to someone else since I have so much else to do |:
<asheesh>
jadewang: Can I get you excited about this?
<jadewang>
i already am, but I need to finish this blog post
<ocdtrekkie>
Okay, so, my home automation software is in Visual Basic, but I can use a web friendly database like SQLite.
<jadewang>
and I'm trying to find a mutual friend for an intro
<jadewang>
but if you know ben, that's better
<ocdtrekkie>
I wanna do like a Sandstorm hosted web interface for it. But I don't wanna put the database in Sandstorm because the app needs to work if the Internet is down.
<asheesh>
"obviously" you should do a thing where you push the contents of your DB to a Sandstorm grain, and then there's some code on the Sandstorm grain that knows how to read the DB file and do some visualization.
<asheesh>
But that's the cheating way and makes the "reporting" app separate from the "using it" app.
<ocdtrekkie>
I feel like some sort of database sync is in order.
<asheesh>
Presumably the Sandstorm copy never should be written-to, and your copy on your machine should be authoritative always?
<ocdtrekkie>
No, definitely want to be able to control the house.
jacksingleton has joined #sandstorm
<ocdtrekkie>
Though if there was a disagreement, the house's database would be probably assumed to be right. I'm trying to think if like sending the same command to each database would work.
bb010g has quit [Quit: Connection closed for inactivity]
fonfon has quit [Remote host closed the connection]
NOTevil has quit [Quit: ...]
asmyers has quit [Ping timeout: 246 seconds]
larjona has quit [Ping timeout: 260 seconds]
larjona has joined #sandstorm
larjona_ has joined #sandstorm
larjona has quit [Ping timeout: 276 seconds]
pjz has joined #sandstorm
<pjz>
anyone availble to help me debug my almost-install?
<pjz>
I've got it installed enough that I can use the webUI but apps don't work
<asheesh>
Those instructions say sandcats but you can use it on your domain too.
<pjz>
asheesh: can I ask how you figured that out?
<asheesh>
Basically, Sandstorm uses a bunch of subdomains and it looks to me like you have to click "Yes ignore the HTTPS warning" in each subdomain Sandstorm uses, but with IFRAMEs the browser doesn't show you the "Yes ignore the HTTPS warning"
<asheesh>
Ya. Steps:
<pjz>
ahh
<asheesh>
- Visit your site over HTTP
<asheesh>
- Visit over HTTPS
<asheesh>
- See a cert I don't trust
<asheesh>
- Remember having solved this for others
<asheesh>
I guess that merits being added to the FAQ, huh. (-:
<pjz>
I guess :)
<pjz>
eek, all that trouble you guys might as well enable a client-side-cert auth method
<asheesh>
I'd like to! Just a matter of getting the time.
<pjz>
oh, ugh
<pjz>
I can manually accept one cert, but one cert can't be for both *.foo and foo
<pjz>
or can it? hmm...
<asheesh>
A different approach is to follow the docs link I gave, to create a new *CA*, then add the CA, and then it'll trust the cert.
<asheesh>
One cert can be valid for foo & *.foo
<asheesh>
The config in the docs should give you that.
<pjz>
indeed. Thanks much!
<asheesh>
You got it.
<asheesh>
Feel free to look at the git history of that file in the docs and email the nice person who write it.
<asheesh>
Sure isn't me!
<pjz>
auuuugh... similar issues trying to clone a git repo from a gitlab grain
<asheesh>
Yeah -- you'll have issues with a self-signed cert all over the place.
<asheesh>
But you may be able to add this CA to your laptop's trust store too.
<simonv3>
Are you sure it’s a new grain, or whether the meteor permissions just aren’t publishing to unknown users?
<simonv3>
(but yes, it is blank)
<asheesh>
I think we are talking past each other a little bit because I'm being vague
<asheesh>
When I said:
<asheesh>
23:37 < asheesh> In which case they should just have their own grain!
<asheesh>
I mean, the best way for people to have a blank Idea Otter is for them to make their own grain of the app.
<asheesh>
I don't mean that I think your app _is_ creating a new grain for them.
<simonv3>
right, I gotcha
<asheesh>
But yeah -- FWIW "share access" causing my friend to not be able to see what I see is non-Sandstorm-idiomatic.
<asheesh>
Your app can do whatever you want, I suppose, but I thought it was worth mentioning!
bb010g has joined #sandstorm
<simonv3>
I intend it to be shareable within the sandstorm idiom
<asheesh>
BTW I love the pastel colors.
<simonv3>
but just hadn’t really dealt with that functionality properly. Meteor has an “autopublish” package which I removed because all the tutorials tell you to remove it, but I’m not sure whether that’s necessary for Idea Otter (because sandstorm handles the permissions)
<asheesh>
You can actually keep autopublish in, if you want!
<asheesh>
Same with insecure.
<asheesh>
Hilariuosly.
<asheesh>
+/- typos
<asheesh>
And/or you could subscribe to things independent of user ID.
<simonv3>
yeah, that’s what I was slowly adding together in my head
<asheesh>
Thanks for being open to feedback, btw!
<asheesh>
> Ideas.find({}).count()
<asheesh>
5
<asheesh>
: D
<simonv3>
yeah! thanks for being so freely giving of it
<simonv3>
Kenton also had some feedback, so I’ll be debugging that at some point this week :)
<asheesh>
: D
<asheesh>
BTW I noticed you have ideaotter.com!
<asheesh>
I'm curious how you see ideaotter.com the SaaS thing interacting with the fact that there's a Sandstorm package in the long run.
<asheesh>
Could also be a thing you haven't thought about a lot, but I thought I'd ask you all the tough questions, anyway.
kecolus has quit [Quit: Leaving]
<asheesh>
You can if (process.env.SANDSTORM === "1") {} to have Sandstorm-specific behavior.