asheesh changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Channel glossary: "i,i" means "I have no point, I just want to say". b == thumbs up. | Public logs at https://botbot.me/freenode/sandstorm/ & http://logbot.g0v.tw/channel/sandstorm/today
neynah has joined #sandstorm
nwf has quit [Ping timeout: 260 seconds]
neynah has quit [Client Quit]
todayman has joined #sandstorm
nwf has joined #sandstorm
<Mitar> no feedback on my proposal to provide x-sandstorm-session-id header as x-client-ip to simplify Meteor accounts and e-mail sending? (my e-mail "Sending e-mails from Sandstrom Meteor app")
neynah has joined #sandstorm
neynah has quit [Client Quit]
dwrensha has joined #sandstorm
neynah has joined #sandstorm
<zarvox> Mitar: I expect Kenton will reply to that when he finds the time, but to answer briefly: the future-proof way to handle email delivery is to powerbox request an EmailSendPort and save() the capability as a SturdyRef, which you can restore() at other times.
nwf has quit [Ping timeout: 244 seconds]
<Mitar> how far in the future is this?
<zarvox> No guarantee of stability, but I believe it works today. It's how the feature key vendor app emails you.
<Mitar> because I think my proposal could work now and here and allow simply better integration of Meteor with capnproto RPC, and open path for later more tight integration bypassing the http bridge
<Mitar> there is already a way to create a SturdyRef you can serialize to the database?
<asheesh> Yeah, I saw that, but I misremembered one detail. I do like the idea of bypassing the http bridge where possible for Meteor.
<Mitar> I thought that capability serialization is not yet done
<zarvox> Certain types which the frontend implements work. Apps cannot yet offer arbitrary capabilities to each other, but they can request things that the shell implements from the user.
<zarvox> Mitar: is there no way to patch this at the Meteor layer instead? it seems...questionable to send lies in a header for all apps because of this limitation in Meteor
nwf has joined #sandstorm
<Mitar> no way
<Mitar> I looked into this pretty extensively
<Mitar> I made this pull request: https://github.com/sockjs/sockjs-node/pull/202
<Mitar> feel free to upvote it
<Mitar> but then this pull request has to be merged in
<Mitar> then Meteor has to update sock.js
<Mitar> https://github.com/meteor/meteor/pull/6838 (feel free to upvote that one as well)
<Mitar> (but that one is without my pull request towards sockjs)
<Mitar> and then Meteor has also provide some API for apps to change the whitelist
<Mitar> by using one of existing headers we could do this today
<Mitar> could http bridge enable this additional header only when SANDSTORM=1 is set in environment for the app?
<Mitar> hm, or some other, which would signal that it is a meteor app?
<Mitar> does http bridge know that there is a meteor app behind it?
<Mitar> but with client-ip we could get the value directly here: http://docs.meteor.com/#/full/meteor_onconnection
<Mitar> which means that then the whole integration with sandstorm is just one Meteor.onConnection callback away to augment the connection object with an accessor to the hack session
<zarvox> http bridge is oblivious to what else is running
<zarvox> it just launches the script in argv and connects to the socket in argv
<Mitar> could it get some additional argument in argv saying to expose this additional header?
<Mitar> argv = ["/sandstorm-http-bridge", "—session-id-header=x-client-id", "4000", "--", "node", "start.js"],
<zarvox> that's kenton's call, but I'm not particularly sympathetic, given that the issue is introduced in a lower layer
<zarvox> like, patching out sockjs in meteor-spk, or something like that seems more appropriately targetted
<Mitar> that would probably also be possible, if you are open to that
<Mitar> to simply patch sockjs to let through all sandstorm headers as they are
<zarvox> isn't there something in https://github.com/sandstorm-io/meteor-accounts-sandstorm that figures out the permissions? could that piece learn about session id?
<Mitar> no, how it does currently it asks client to make a http ajax request to the server, which bypasses the websocket, and then those headers are put into the connection
<Mitar> so you have an extra round-trip client has to do to start sandstorm integration
<zarvox> requesting an email address to send mail to is client-initiated anyway
<Mitar> not necessary
<Mitar> it could also be api initiated, or cron initiated
<zarvox> you can't ask for a new email address if the user isn't there
<Mitar> but yes, capability comes from the user at some point
<zarvox> so you ask for it once, and save the capability
<zarvox> and you don't need the user to restore the capability
<Mitar> yes, that is true
<Mitar> I have not seen any examples how to do that in Meteor
<Mitar> if somebody can help, I would be glad to make a package for it
<zarvox> that's fair; there may not be any good ones yet, since there's a lot going on
<Mitar> so I have already reading of email from maildir spool into Meteor made into a package
<Mitar> but I got stopped at sending
<Mitar> from documentation, it says you have to have session ID to send
<Mitar> so this is why I was looking into how to get session ID
<zarvox> oh, for the transitional "hacksessioncontext" way of sending email
<Mitar> yes
<Mitar> this is what is documented
<Mitar> but it would also improve the whole login process for meteor
<Mitar> not just sending e-mails
<Mitar> so having access to hacksessioncontext would allow me, if I understand correctly, to get all other information which is otherwise exposed through http bridge headers, through hacksessioncontext instead
<Mitar> so there would be no need for that http ping pong for login
<zarvox> well, node is getting the HTTP headers, it's just that SockJS is then going and explicitly discarding them from anything you can touch
<Mitar> yes :-)
<zarvox> could some middleware save the headers somewhere appropriate, and add them back?
<Mitar> hmm
<Mitar> so one before sockets
<Mitar> I could just move them to x-client-id
<Mitar> the session
<Mitar> i mean, copy
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
neynah has joined #sandstorm
isd has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rgrinberg has quit [Ping timeout: 252 seconds]
nwf has quit [Ping timeout: 240 seconds]
Jan\ has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
isd has quit [Quit: Leaving.]
nwf has joined #sandstorm
rgrinberg has joined #sandstorm
rgrinberg has quit [Ping timeout: 246 seconds]
nwf has quit [Ping timeout: 276 seconds]
nwf has joined #sandstorm
<ocdtrekkie_> http://www.omnidb.com.br/en_index.html <- This would be AMAZING in a Sandstorm app.
<ocdtrekkie_> I've used like shareware/trial desktop apps to convert databases before.
jemc has quit [Ping timeout: 260 seconds]
xet7 has quit [Quit: Leaving]
<zarvox> oooh, I don't think anyone's tried to package a C# app for Sandstorm before!
raoulzecat has joined #sandstorm
<Lord> something i'd like is a weechat+glowingbear app.
nwf has quit [Ping timeout: 276 seconds]
nwf has joined #sandstorm
nwf has quit [Ping timeout: 260 seconds]
nwf has joined #sandstorm
raoulzecat has quit [Ping timeout: 276 seconds]
raoulzecat has joined #sandstorm
raoulzecat has quit [Ping timeout: 260 seconds]
nwf has quit [Ping timeout: 244 seconds]
nwf has joined #sandstorm
nwf has quit [Ping timeout: 265 seconds]
nwf has joined #sandstorm
xet7_ has quit [Ping timeout: 244 seconds]
nwf has quit [Ping timeout: 244 seconds]
nwf has joined #sandstorm
amyers has joined #sandstorm
rgrinberg has joined #sandstorm
nwf has quit [Ping timeout: 260 seconds]
nwf has joined #sandstorm
frigginglorious has joined #sandstorm
nwf has quit [Ping timeout: 276 seconds]
<frigginglorious> iangreenleaf: Huginn looks neat
nwf has joined #sandstorm
jemc has joined #sandstorm
Salt has quit [Ping timeout: 250 seconds]
nwf has quit [Ping timeout: 276 seconds]
nwf has joined #sandstorm
<iangreenleaf> Yeah, I'm going to try out Huginn on my VPS soon. I found it after getting fed up with IFTTT's ever-increasing path towards crappiness and deciding it was time to find an open-source replacement.
elih has quit [Quit: Leaving]
dwrensha has quit [Read error: Connection reset by peer]
dwrensha has joined #sandstorm
dcb has quit [Ping timeout: 244 seconds]
ragesoss has quit [Quit: No Ping reply in 180 seconds.]
ragesoss has joined #sandstorm
dcb has joined #sandstorm
pokgak has joined #sandstorm
isd has joined #sandstorm
nwf has quit [Quit: WeeChat 1.4]
gar8 has joined #sandstorm
xet7 has joined #sandstorm
amyers has quit [Ping timeout: 260 seconds]
isd has quit [Quit: Leaving.]
<gar8> can a sandstorm server be run on a lan without an internet connection?
<dwrensha> gar8: yes, but you'll need to handle DNS somehow
<asheesh> Yes, but you'll need wildcard DNS for it inside your LAN, and you'll need to run a LAN-internal app market, or pre-install all the apps you need for all your users while Internet connectivity is available.
jemc has quit [Ping timeout: 252 seconds]
neynah has joined #sandstorm
amyers has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rgrinberg has quit [Ping timeout: 276 seconds]
Salt has joined #sandstorm
neynah has joined #sandstorm
neynah has quit [Client Quit]
rgrinberg has joined #sandstorm
amyers has quit [Ping timeout: 250 seconds]
neynah has joined #sandstorm
neynah has quit [Client Quit]
amyers has joined #sandstorm
amyers has quit [Read error: Connection reset by peer]
amyers has joined #sandstorm
<frigginglorious> gar8: I have a project coming up, i will need to get Sandstorm running on a LAN, offline. I havent started yet, but you should let me know how it goes!
hecliunyx_ has quit [Remote host closed the connection]
jadewang has joined #sandstorm
neynah has joined #sandstorm
larjona has quit [Remote host closed the connection]
kecors has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
larjona has joined #sandstorm
rgrinberg has quit [Read error: Connection reset by peer]
neynah has joined #sandstorm
rgrinberg has joined #sandstorm
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #sandstorm
rgrinberg has quit [Read error: Connection reset by peer]
raoulzecat has joined #sandstorm
kentonv has joined #sandstorm
<kentonv> ...apparently I forgot to open IRC after whenever I last rebooted and I didn't notice.
<asheesh> Welcome back!
rgrinberg has joined #sandstorm
raoulzecat has quit [Ping timeout: 250 seconds]
jadewang has quit [Remote host closed the connection]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
neynah has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rgrinberg has quit [Ping timeout: 246 seconds]
neynah has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 246 seconds]
raoulzecat has joined #sandstorm
jadewang has joined #sandstorm
raoulzecat has quit [Ping timeout: 260 seconds]
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
rgrinberg has joined #sandstorm
sydney_untangle has quit [Ping timeout: 246 seconds]
raoulzecat has joined #sandstorm
amyers has quit [Ping timeout: 276 seconds]
raoulzecat has quit [Ping timeout: 240 seconds]
sydney_untangle has joined #sandstorm
jemc has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
xet7 has quit [Quit: Leaving]
gar8 has quit [Quit: gar8]
pokgak has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
amyers has joined #sandstorm
amyers has quit [Ping timeout: 250 seconds]
chowmeined has joined #sandstorm