Skip to content
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

Feature/add ssl tls support #43

Merged
merged 42 commits into from
Aug 21, 2017
Merged

Feature/add ssl tls support #43

merged 42 commits into from
Aug 21, 2017

Conversation

Trakkasure
Copy link
Owner

  • Breaking change: The connect and login phases have been separated to allow finer grained control.
  • Added SSL/TLS support.
  • Added ipv6 support.
  • Fixed missing event emitters for trap,done, and close of Channel and Connection objects.

xeleniumz and others added 30 commits April 19, 2015 09:06
The basic logic is the same but there are LOTS of structural
changes so this version is NOT ABI compatable with the previous
versions.

* Changed the entry point to require('mikronode').getConnection()
* Moved closeOn* methods to properties.
* Refactored methods to prototype.
* Hid most internal properties using the 'private-parts' package.
* Added Promises for connection and channel.
* Changed debugging output to use the 'debug' package.
* Added lots of JSDocs.
* Updated the examples to show Promise usage.
Added test
Added promise example file
Refactored login
Refactored Sentence
Added test
Added promise example file
Refactored login
Refactored Sentence
The basic logic is the same but there are LOTS of structural
changes so this version is NOT ABI compatable with the previous
versions.

* Fixed bugs
* Changed the entry point to require('mikronode').getConnection()
* Moved closeOn* methods to properties.
* Refactored methods to prototype.
* Hid most internal properties using the 'private-parts' package.
* Added Promises for connection and channel.
* Changed debugging output to use the 'debug' package.
* Added lots of JSDocs.
* Added tests
* Updated the examples to show Promise usage.
The channel timeout listener was running in the connection's
context instead of the channel's and was causing a stack
overflow when it called emit('timeout').
Update Gruntfile for gh-pages
Update Readme and docs
The Connection options parameter now takes a 'tls' property that
when set to true or a tls.TLSSocket options object, will connect
to the device using TLS.  The default port of 8729 will be used
unless overridden.
Fixed a bug where event listeners that channels added
to a connection weren't getting cleaned up.

Made the Connection.channels object accessible to
users.  It's an object containing all active channels
keyed by channel id.
gtjoseph and others added 12 commits January 1, 2016 19:36
Updated docs to warn that if 'error' events aren't caught,
an "Unhandled event" exception may be thrown.  Additional
info on TLS options was also added including a link to
the Node documentation.

To external users, Connection.channels is now a frozen
clone rather than the live object.  To facilitate this,
the circular reference from Channel to Connection was
removed.

Internally, all properties of Channel and Connection
are now stored in their respective private stores even
if they're exposed publically.  Now there's no ambiguity
about whether a property is accessed with 'this' or '_(this)'.
Intenally, they should be accessed with '_(this)'.
@Trakkasure Trakkasure merged commit 1090434 into master Aug 21, 2017
@Trakkasure Trakkasure deleted the feature/add-ssl-tls-support branch August 24, 2017 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants