Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
92693b5
QualifiedNode and QualifiedParameter support
Dec 12, 2017
10e1615
Adding support for matrix and qualifiedmatrix
Dec 19, 2017
79084fa
fixing qualifiedMatrix
Dec 19, 2017
3316acf
Fixing s101 multi packet message. Adding support for qualified functions
Dec 19, 2017
eeeb65e
version 1.4.0
Dec 19, 2017
c6768e3
Make connect() return a Promise
Dec 20, 2017
9d1f4b7
Adding isParameter, isMatrix, isFunction to TreeNode
Dec 21, 2017
7546c8b
Fixing isParameter
Dec 22, 2017
4ccde97
Fixing QualifiedParameter - initial parameter is a path not a number
Dec 27, 2017
8ddfc38
Adding connection timeout
Dec 28, 2017
854c96c
Fixed several matrix content encoding errors. Added server part
Dec 29, 2017
0faeb9d
Fixed getElementByPath
Dec 29, 2017
9c57d6c
Fixed relativeOID - require ASN 0.5.1 -, Fixed Matrix connect/disconn…
Jan 2, 2018
19daadd
Added missing server.js file
Jan 3, 2018
bf717ce
Changed version to 1.6.3
Jan 3, 2018
cde43fa
Fixed expand function
Jan 3, 2018
a83ef89
fixed error handling during connection
Jan 3, 2018
3aeea76
Fixed expand timeout issue
Jan 5, 2018
3304aff
Removed bluebird. Let's use Node 6 and above Promise
Jan 5, 2018
e1d426e
Added function to convert json to ember tree
Jan 9, 2018
092b238
Changed MatrixType and MatrixMode to enum. Completed JSONtoTree function
Jan 9, 2018
40fb970
Fixed matrix connect/disconnect operation on server and client
Jan 11, 2018
9f39bf4
Added function replaceElement on server to update tree and update sus…
Jan 15, 2018
f9deda3
version 1.7.2
Jan 15, 2018
112b802
Added a _debug option. Fixed setValue to always send the command even…
Jan 17, 2018
32d3058
Added an emit value-change on DeviceTree when a new object is received
Jan 18, 2018
dfc9c93
Version 1.7.4
Jan 18, 2018
6cb3830
Fixed server parsing of node element setValue
Jan 25, 2018
a91d467
Added some debugs to ember decoder/encoder. Added FieldFlag to Command
Jan 26, 2018
af44c8d
Fixed QualifiedParameter not exported with all ember objects
Jan 29, 2018
8d9e89e
Fixed getResponse for qualified element.
Jan 29, 2018
4a88da0
Added toJSON function to convert the ember tree to json object
Apr 20, 2018
153eed8
feat(ber encoding): Adds type to Ember.ParameterContents objects. All…
jesperstarkar May 3, 2018
58aa230
Merge pull request #5 from nrkno/feat/typed-reals
dufourgilles May 3, 2018
1661251
fix(ber encoding): Fixed unecessary nesting of ParameterContents if u…
jesperstarkar May 3, 2018
8a99bb6
fix(KeepAliveRequest): Fixes broken KeepAlieveRequest.
jesperstarkar May 7, 2018
9013dfe
feat(Functions): Adds Invoke method for QualifiedFunctions with Invoc…
jesperstarkar May 3, 2018
8dc99c4
Merge pull request #10 from nrkno/fix/keepalive
dufourgilles May 8, 2018
33b8fe9
expose a close function
Jul 6, 2018
499bf7f
Fixed S101 flags parsing to handle properly last empty packet
dufourgilles Jul 30, 2018
d41ac58
Fixed the server response format. Fixed the Matrix encoding/decoding.
dufourgilles Aug 2, 2018
561bb85
Merge pull request #13 from evs-broadcast/feature/close
dufourgilles Aug 8, 2018
778e3fd
Merge pull request #6 from nrkno/feat/typed-reals
dufourgilles Aug 8, 2018
0415f00
Merge branch 'master' into feat/function-type
dufourgilles Aug 8, 2018
0fc0cba
Merge pull request #11 from nrkno/feat/function-type
dufourgilles Aug 8, 2018
033e0c0
Do not expand Parameter
dufourgilles Aug 8, 2018
8b82c47
Merge branch 'master' of https://github.com/evs-broadcast/node-emberplus
dufourgilles Aug 8, 2018
0e55a7a
Fix server getDirectory failure
dufourgilles Aug 10, 2018
01b150a
wait until closed
Aug 23, 2018
cef7da0
avoid memory leak on event listener
Aug 23, 2018
c1fa9b2
Merge pull request #15 from evs-broadcast/feature/close
dufourgilles Aug 27, 2018
131bc6c
fix client socket server
Aug 28, 2018
6d9e18e
sample test server & client
Aug 28, 2018
0603d0b
move logging elsewhere
Aug 28, 2018
1b6e853
Merge pull request #16 from evs-broadcast/feature/close
cbialobos Aug 28, 2018
75c80ec
add missing dependency
Aug 31, 2018
95ccd30
do not resolve when the incomming data does not match the queried path
Sep 4, 2018
3ac4881
fix a bit more
Sep 5, 2018
bc582d9
improve code
Sep 5, 2018
b1737cd
ignore .idea directory
Sep 5, 2018
94ea25a
target a tag for node-asn1
Sep 5, 2018
168d578
add skeleton for eslint and jest !
Sep 5, 2018
7bf7ab5
add missing semi-colon in the modified file
Sep 5, 2018
a0819ed
removing useless logging
Sep 5, 2018
c557895
inline useless cb variable
Sep 5, 2018
e10a64d
add eslint config
Sep 5, 2018
0551795
add test for previously developed functionality
Sep 5, 2018
462983d
Merge pull request #18 from evs-broadcast/bugfix/fix-getDirectory
dufourgilles Sep 5, 2018
4204ec8
Fixing connect timeout doulbe error
dufourgilles Sep 11, 2018
41d0ed6
Version 1.7.14
dufourgilles Sep 11, 2018
da670a3
Fixed Matrix parametersLocation decoding/encoding
dufourgilles Sep 13, 2018
054baa9
Merge pull request #17 from evs-broadcast/bugfix/add-missing-dep
dufourgilles Sep 16, 2018
3d98628
fix crash if getDirectory respond with an error
Sep 21, 2018
16f9ff5
send clientError event when receiving an error from a client connection
manuc66 Oct 26, 2018
aeba337
Merge pull request #24 from evs-broadcast/bugfix/crash-on-client-conn…
manuc66 Oct 29, 2018
25bbea5
Fix crash when parsing getDirectory response.
dufourgilles Nov 30, 2018
a7e72ab
Fixing matrix connections encoding
dufourgilles Dec 4, 2018
ef021da
Fix matrix connect/disconnect sources handling
Dec 10, 2018
936e3cb
Default matrix type should be oneToN. Allow override when building t…
Dec 17, 2018
275ed87
Fix unhandled errors on disconnect
Jan 8, 2019
637f2f0
call clearInterval on close
Jan 9, 2019
ae881e9
Remove "new Buffer" because it's deprecated
Jan 9, 2019
a52f414
Merge pull request #26 from evs-broadcast/bugfix/fix_unhandled_errors
dufourgilles Jan 9, 2019
74b15ed
Merge pull request #27 from evs-broadcast/bugfix/unsupported_tag_in_m…
dufourgilles Jan 9, 2019
1f3cf0f
Fixing server getDirectory replies
dufourgilles Jan 9, 2019
fecc148
Timeout is not taken into account when a endpoint does not respond.
Jan 16, 2019
67592ad
Merge pull request #28 from evs-broadcast/bugfix/handle_timeout_on_co…
dufourgilles Jan 16, 2019
963026c
The socket reported erroneously timeouts once the connection has been…
Jan 17, 2019
5f6a8e7
The socket reported erroneously timeouts once the connection has been…
Jan 17, 2019
d3f84fc
Merge pull request #29 from evs-broadcast/bugfix/remove_falsepositive…
dufourgilles Jan 18, 2019
2b2fa7b
version 1.7.22
Jan 18, 2019
396875d
Fix parameter toQualified function
clichttt Feb 28, 2019
6149636
Merge pull request #31 from clichttt/bugfix/fix-update-qualified-para…
dufourgilles Feb 28, 2019
1f8269d
Handle ember node with two roots
Mar 13, 2019
0e34ada
Merge pull request #32 from evs-broadcast/feature/handle_devices_with…
dufourgilles Mar 13, 2019
cc6a04e
Fixed version
dufourgilles May 25, 2019
66578f0
Fix: getDirectory on node should auto subscribe to child modification
dufourgilles May 27, 2019
53f6d55
Fix unhandled exception when socket is disconnected while sending dat…
Aug 6, 2019
72841a5
Fix sinon version
Aug 6, 2019
7f99389
remove unused required
Aug 6, 2019
5f6c99e
bump version
Aug 13, 2019
4fd6326
Merge pull request #34 from evs-broadcast/bugfix/fix_race_after_disco…
thosil Aug 13, 2019
22c34b8
bump version
Aug 13, 2019
1906b03
Merge pull request #35 from evs-broadcast/bump_version
thosil Aug 13, 2019
78eaf2f
Fixing the getNodeByPath function
dufourgilles Oct 1, 2019
ac3b95b
Fixing the getNodeByPath function
dufourgilles Oct 1, 2019
4ee1b9c
Fixing package.json
dufourgilles Oct 1, 2019
0b5d3e3
Fixing Server test case to exit properly
dufourgilles Oct 1, 2019
1c3d45a
More tests for getNodeByPath
dufourgilles Oct 2, 2019
e79589a
Fix for gerNodeByPath
dufourgilles Oct 2, 2019
f7c8c8d
adding a new test to show the setValue function
dufourgilles Dec 5, 2019
685c782
Fixed client timeout on matrix expand. Fixed matrix error on connect.…
dufourgilles Dec 6, 2019
8656805
Fixing function invocation
Dec 8, 2019
9f8e9c8
Added supported for Function on server side. Fixed invokationresult …
Dec 9, 2019
ed2ff32
new documentation
Dec 9, 2019
2638055
new documentation
Dec 9, 2019
46297db
Added all matrixConnect and Disconnect functions. Fixed all tests. M…
Dec 9, 2019
3b08081
Add description to label when converting json to tree
dufourgilles Dec 13, 2019
dfbd5d1
Adding validation of connection request on server
dufourgilles Dec 13, 2019
22fa47c
fix contributors
dufourgilles Dec 13, 2019
5a830de
fix contributors
dufourgilles Dec 13, 2019
876ed09
Fixing getDirectory when root has more than 1 elements
Dec 14, 2019
42d351c
Added support for subscribe and unsubscribe of streams
dufourgilles Dec 14, 2019
58bc2d8
fixing matrix absolute connect
dufourgilles Dec 14, 2019
fd31d8d
Better error when doing getNodeByPath
dufourgilles Dec 16, 2019
8859478
handle connection for 1-to-1 matrix
dufourgilles Dec 18, 2019
4df675c
add maximumTotalConnects
dufourgilles Dec 18, 2019
2011b64
fix 1 to N matrix connect
dufourgilles Dec 18, 2019
6d03d10
Fix 1toN. Disconnect old source and connect to new one
dufourgilles Dec 19, 2019
0283ce3
Server should emit disconnect when connecting target with new source
dufourgilles Dec 19, 2019
a402f26
Update doc
dufourgilles Dec 19, 2019
b46b917
Do a disconnect if attempting to connect same src and target
dufourgilles Dec 19, 2019
61d9e01
fix disconnect
dufourgilles Dec 19, 2019
c712676
handle connect with empty sources
dufourgilles Dec 20, 2019
84d325c
added lock/unlock of connection
dufourgilles Dec 21, 2019
b00b1b3
added lock/unlock of connection
dufourgilles Dec 21, 2019
8b2109f
Fix disconnect for 1toN
dufourgilles Dec 21, 2019
734c0ea
Fix function result missing
dufourgilles Dec 22, 2019
341e887
Added -1 for defaultSources to disable disconnect
dufourgilles Dec 22, 2019
b11242e
fix disconnect when mismatch client server
dufourgilles Dec 22, 2019
3fdf5fe
Fix bug in command handling
dufourgilles Dec 22, 2019
9efb3e3
fix continuation message
dufourgilles Dec 23, 2019
60eab03
Ignore empty request on server
dufourgilles Dec 26, 2019
cf182c4
catch write error and disconnect
dufourgilles Dec 26, 2019
2bb46c2
Removed all ref to callabcks...using different approach...Added suppo…
dufourgilles Dec 29, 2019
f68f834
Fix toJSON for root
dufourgilles Dec 29, 2019
46a3525
version 2
dufourgilles Jan 5, 2020
40c3e5d
Finalized version 2.0.0
dufourgilles Jan 6, 2020
a6fb9ca
version 2 final fixes and good to go
dufourgilles Jan 7, 2020
080c708
Fixing missing EmberLib file. Added server events
dufourgilles Jan 7, 2020
8be7a62
Change server event format to include source ip:port
dufourgilles Jan 7, 2020
1106a8b
Fix setValue event to be inline with the other events
dufourgilles Jan 7, 2020
1939824
Fixed eslint errors
dufourgilles Jan 8, 2020
b9f7d2c
Adding Streams. Fixing bugs. Event/Errors using static value
dufourgilles Jan 11, 2020
d05a8bd
Added code coverage for Parameter
dufourgilles Jan 11, 2020
b129794
Matrix code coverage. Bug fixing
dufourgilles Jan 12, 2020
3ee9086
Adding test code coverage. EmberLib 100% upto Matrix
dufourgilles Jan 13, 2020
4ed624c
Adding test code coverage. EmberLib 100% upto Matrix
dufourgilles Jan 13, 2020
9af68b5
Added support for Template and QualifiedTemplate. Improved code cove…
dufourgilles Jan 15, 2020
5364625
92% code coverage
dufourgilles Jan 20, 2020
a06f5cd
Add missing files. Reformat S101Socket and S101Client
dufourgilles Jan 20, 2020
662bf20
v2.4.2
dufourgilles Jan 20, 2020
aac8f99
use latest asn1 lib
dufourgilles Jan 21, 2020
8145c3b
Fixed some client missing promise return. Add server preMatrixConnec…
dufourgilles Jan 23, 2020
e68ecaa
Fix matrix handling on server side
dufourgilles Jan 23, 2020
ec83eb6
Fixed tests. Changed server listen function to return promise
dufourgilles Jan 23, 2020
5b1377d
Added example for setValue
dufourgilles Jan 29, 2020
767779f
Fix duplicate dataIn
dufourgilles Feb 1, 2020
a339f14
Fix FunctionContent result encoding
dufourgilles Feb 1, 2020
ed89db5
fix expand and function content encoding/decoding
dufourgilles Feb 14, 2020
3b382b7
feat: hack setValue to immediately resolve - added setValueWithHacksa…
Feb 26, 2020
82618c3
feat: setValueNoAck - rename of function and cleanup
Feb 26, 2020
9110000
fix: promise didn´t resolve
Feb 26, 2020
fe9153e
Fix client parameter subscribe
dufourgilles Mar 1, 2020
a8c5495
Merge pull request #1 from olzzon/feat/timeout-hack
olzzon Mar 1, 2020
6bdcf11
Merge pull request #2 from dufourgilles/master
olzzon Mar 1, 2020
48037ab
Add support for streamDescriptor parsing from json
dufourgilles Mar 5, 2020
d09cee7
Merge pull request #11 from olzzon/feat/timeout-hack
dufourgilles Mar 5, 2020
26670d0
Merge pull request #3 from dufourgilles/master
olzzon Mar 5, 2020
f4624ae
Fixed tests
dufourgilles Mar 11, 2020
0891219
feat: export BER in index.js for manual ASN.1 encoding
Mar 28, 2020
91cedbe
Merge pull request #15 from olzzon/feat/export-ber
dufourgilles Apr 22, 2020
5baab56
merge back Gilles Dufour version (#39) (#40)
thosil Sep 10, 2020
3248a95
Fixed TreeNode and tests
Sep 10, 2020
df384d7
Merge branch 'master' into bugfix/fix_tests_and_treenode_to_json
dufourgilles Sep 11, 2020
cd19723
Merge pull request #17 from evs-broadcast/bugfix/fix_tests_and_treeno…
dufourgilles Sep 11, 2020
b759b69
Fixed TreeNode and tests (#41)
thosil Sep 11, 2020
1ec38e2
fixed README.md
Sep 11, 2020
e1bfca2
Fix: Do not crash if label does not have a description
dufourgilles Jan 9, 2021
5b01219
fix matrix update connection validation
dufourgilles Aug 12, 2022
40eb951
version 2.5.11
dufourgilles Aug 12, 2022
50e7930
Merge branch 'master' into bugfix/matrix_target_validation
dufourgilles Aug 12, 2022
91376af
Merge pull request #43 from dufourgilles/bugfix/matrix_target_validation
dufourgilles Aug 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module.exports = {
"env": {
"es6": true,
"node": true,
"jest": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2015
},
"rules": {
"no-unused-vars": "warn",
"no-undef": "warn",
"no-redeclare": "warn",
"no-extra-semi": "warn",
"no-console": "warn",
"semi-style":
[
"error",
"last"
]
}
}
;
4 changes: 4 additions & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# intellij, pycharm, webstorm...
/.idea/*
.vscode
node_modules
.*.swp
coverage
Loading