-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.3.7-rc2 #83
1.3.7-rc2 #83
Conversation
5e24f54
to
b197a3a
Compare
…oxy to no proxy if network down.
… help speed up testing.
…xact proxy used in each request.
Use proxy for every request, not only for posting data.
@tomas are we missing something for merging this into master and release v1.3.7? |
Apparently not. Is the request/interval change working correctly in |
No, but I'm working on it. |
Tests ready for review! |
@@ -83,7 +92,10 @@ var unload = function(err) { | |||
|
|||
hooks.remove('woken', request); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking that this should go out too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is not being used anywhere?
EDIT: I checked the code. It seems the listener is being added to emitter
when loading the adapter in https://github.com/prey/prey-node-client/blob/1.3.7-rc2/lib/agent/plugins/control-panel/index.js#L151. Later, when unloading the interval
module, it has to remove the listener since the module won't be available anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a different thing. The plugin's main controller waits for a 'woken' event from the push adapter (not the hooks module). When that occurs, it calls interval.check()
. The 'woken' event from hooks is an old thing -- I think I just forgot to remove it. Actually, I think hooks.trigger('woken')
doesn't happen anywhere anymore.
Looks slick. I added two small comments but IMO it's perfectly mergeable. 👍 |
Here we go! |
This is
mostly a securitynot just a security update anymore 👊.Exploratory QA has been successful in Windows 8.1, Mac OS X Yosemite and the latest GNU/Linux Ubuntu release.
Results of mocha specs:
control-panel/api
control-panel/interval
agent