These are chat archives for deployd/contributors

26th
May 2015
Rares Golea
@rgolea
May 26 2015 10:01
any idea on how to link files like that? https://github.com/deployd/docs (dpd-styles)
Andrei Alecu
@andreialecu
May 26 2015 10:01
google git submodules
Rares Golea
@rgolea
May 26 2015 10:02
Thanks!
Nicolas Ritouet
@NicolasRitouet
May 26 2015 10:02
new version of deployd released
Rares Golea
@rgolea
May 26 2015 10:02
right now?
Nicolas Ritouet
@NicolasRitouet
May 26 2015 10:02
yep
Rares Golea
@rgolea
May 26 2015 10:02
I just updated 10 minutes ago 😊))
ok… cool! I will update right now
GET /users/me Error: Can't set headers after they are sent.
    at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:335:11)
    at noSuchUser (/Users/rgolea/github/angular-deployd-admin/node_modules/deployd/lib/resources/user-collection.js:89:19)
    at /Users/rgolea/github/angular-deployd-admin/node_modules/deployd/lib/resources/user-collection.js:120:13
    at /Users/rgolea/github/angular-deployd-admin/node_modules/deployd/lib/db.js:371:11
    at handleCallback (/Users/rgolea/github/angular-deployd-admin/node_modules/deployd/node_modules/mongodb/lib/utils.js:93:12)
    at /Users/rgolea/github/angular-deployd-admin/node_modules/deployd/node_modules/mongodb/lib/collection.js:837:5
    at handleCallback (/Users/rgolea/github/angular-deployd-admin/node_modules/deployd/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:211:5)
    at Cursor.next (/Users/rgolea/github/angular-deployd-admin/node_modules/deployd/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:495:5)
    at /Users/rgolea/github/angular-deployd-admin/node_modules/deployd/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:438:12
    at queryCallback (/Users/rgolea/github/angular-deployd-admin/node_modules/deployd/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:192:5)
    at bound (domain.js:254:14)
    at runBound (domain.js:267:12)
    at Callbacks.emit (/Users/rgolea/github/angular-deployd-admin/node_modules/deployd/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:90:3)
    at null.messageHandler (/Users/rgolea/github/angular-deployd-admin/node_modules/deployd/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:219:23)
    at Socket.<anonymous> (/Users/rgolea/github/angular-deployd-admin/node_modules/deployd/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:256:22)
any ideas?
Andrei Alecu
@andreialecu
May 26 2015 10:05
hm
Rares Golea
@rgolea
May 26 2015 10:06
oh… it’s dpd-passport again...
nothing changed there
Rares Golea
@rgolea
May 26 2015 10:07
try downloading this and update it
see if you get the same error
sorry
it’s my cache
Nicolas Ritouet
@NicolasRitouet
May 26 2015 10:10
lol :)
Rares Golea
@rgolea
May 26 2015 10:10
everything is going fine
Nicolas Ritouet
@NicolasRitouet
May 26 2015 10:10
good to hear
Rares Golea
@rgolea
May 26 2015 10:11
I was scared for a moment there… I’ve been having lots of issues with dpd-passport
Nicolas Ritouet
@NicolasRitouet
May 26 2015 10:13
damn, travis is really unstable
sometimes, builds are failing :(
Andrei Alecu
@andreialecu
May 26 2015 10:14
hmm
I'm getting some build errors
related to mongo now
on windows
Nicolas Ritouet
@NicolasRitouet
May 26 2015 10:14
:/
Rares Golea
@rgolea
May 26 2015 10:14
Okay… I’m experiencing a problem here with getting /users/me after login with social media
Andrei Alecu
@andreialecu
May 26 2015 10:14
which weren't ocurring before, similar to the socket.io ones
probably need to update mongo
Rares Golea
@rgolea
May 26 2015 10:15
can’t get that page after login with social media
Nicolas Ritouet
@NicolasRitouet
May 26 2015 10:15
@rgolea you might find more people to help on the main deployd chatroom
Rares Golea
@rgolea
May 26 2015 10:16
it worked before… it was after updating
Andrei Alecu
@andreialecu
May 26 2015 10:18
looks like "mongodb": "2.0.33", gets rid of those errors
or so I think
weirdly I can't reproduce it in my main deployd repository
oh, I can now
I guess I didn't delete node_modules so I had some leftovers there so it wasn't rebuilding mongo
it still works even with the errors though
tests pass etc
everything works even in my app
Andrei Alecu
@andreialecu
May 26 2015 10:24
deployd/deployd#579
can you force push another release or do you have to bump the version? :)
Nicolas Ritouet
@NicolasRitouet
May 26 2015 10:24
bump
Nicolas Ritouet
@NicolasRitouet
May 26 2015 10:30
done
Andrei Alecu
@andreialecu
May 26 2015 10:34
alright, tested error free for installation now
there are some c++ warnings, but safe to ignore
looks like the erroring module was related to kerberos authentication on windows for mongo, aka domain controller stuff
which is why everything still worked
Rares Golea
@rgolea
May 26 2015 10:43
you guys must’ve changed the way that the login is made
in the newer versions
did you?
Andrei Alecu
@andreialecu
May 26 2015 10:44
if you use 0.8.2 it works?
and 0.8.4 doesn't?
Rares Golea
@rgolea
May 26 2015 10:44
yes
nope
it doesn’t start a new session
Andrei Alecu
@andreialecu
May 26 2015 10:45
clear cookies
Rares Golea
@rgolea
May 26 2015 10:45
i go /users/me and it’s not avalable after redirection
i did
i was in private
closed even the terminal
Nicolas Ritouet
@NicolasRitouet
May 26 2015 10:47
login to what?
Rares Golea
@rgolea
May 26 2015 10:47
dpd passport need to register/find the user from twitter/facebook and then log in that user
I think that changed
Nicolas Ritouet
@NicolasRitouet
May 26 2015 10:48
we’re not the ones developing dpd-passport :(
Andrei Alecu
@andreialecu
May 26 2015 10:48
yeah it's probably something broken in dpd-passport
Rares Golea
@rgolea
May 26 2015 10:48
I know… but it did work on 0.8.2
Andrei Alecu
@andreialecu
May 26 2015 10:48
it uses internal undocumented deployd stuff
Rares Golea
@rgolea
May 26 2015 10:48
otherwise it wouldn’t have worked
Andrei Alecu
@andreialecu
May 26 2015 10:48
which may have changed here: deployd/deployd@74f2363
feel free to try to figure it out and fix/pull request it to dpd-passport
:)
Rares Golea
@rgolea
May 26 2015 10:49
I will if I figure that out
thanks!
Rares Golea
@rgolea
May 26 2015 11:07
Okay… I think I know what’s happening… The headers aren’t set on the dpd-passport module because you added that functionality now
;)
Nicolas Ritouet
@NicolasRitouet
May 26 2015 11:07
ok
good catch
Andrei Alecu
@andreialecu
May 26 2015 11:07
what headers?
Rares Golea
@rgolea
May 26 2015 11:07
X-TOKEN
X-Session-Token
basic question: if I set up the cookie on .req, in order to verify if it’s been set up what do I need to do?
Andrei Alecu
@andreialecu
May 26 2015 11:11
I think we should talk in the main room
Rares Golea
@rgolea
May 26 2015 11:11
ok
Andrei Alecu
@andreialecu
May 26 2015 11:19
uh, @NicolasRitouet since you're on fire today, maybe merge this too: deployd/deployd#580 :P
doesn't really need a new release right away