<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
<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>
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?
<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.
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]