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

Add binding firestore #5

Open
wants to merge 1,709 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1709 commits
Select commit Hold shift + click to select a range
e26a6c3
fixup! feat(binding-coap): implement DNS-SD via mDNS
JKRhb May 9, 2023
363a920
feat(binding-coap): use async/await for server closing
JKRhb May 9, 2023
e3191e3
fixup! feat(binding-coap): implement DNS-SD via mDNS
JKRhb May 9, 2023
82bb28e
fixup! feat(binding-coap): use async/await for server closing
JKRhb May 9, 2023
7c2a867
fixup! feat(binding-coap): implement DNS-SD via mDNS
JKRhb May 11, 2023
c32b712
fix: get contentType from forms
hasanheroglu May 11, 2023
b810918
Merge branch 'master' into mqtt-interactions-content
hasanheroglu May 11, 2023
5145fc7
Merge pull request #987 from hasanheroglu/mqtt-interactions-content
relu91 May 11, 2023
a9011b7
Merge pull request #963 from JKRhb/coap-dns-sd
relu91 May 11, 2023
137f2e5
chore: add Node.js 20 and remove Node.js 14 workflow (#974)
danielpeintner May 12, 2023
0f17f39
chore(ci): fix syntax error in workflow file
JKRhb May 12, 2023
0b2a2f9
Merge pull request #977 from danielpeintner/issue-949
relu91 May 16, 2023
f972561
chore(deps): bump vm2 from 3.9.17 to 3.9.18 (#999)
dependabot[bot] May 16, 2023
a1ff156
fix(binding-http): prefer application/td+json when is possibile inste…
relu91 May 17, 2023
a2c29a7
test(binding-http): adding relevant test for favoring td+json
relu91 May 17, 2023
241018e
fix(binding-http): avoid using ?? when scoring accept headers
relu91 May 18, 2023
ff362ac
style(binding-http): fix a trailing comma
relu91 May 18, 2023
8e00bfd
Merge pull request #1001 from relu91/fix_1000
relu91 May 18, 2023
bca6e9e
docs: reflect github repo renaming
danielpeintner May 18, 2023
e943953
fix(examples/counter): correctly display images
relu91 May 18, 2023
71586d5
Merge pull request #1002 from danielpeintner/2023-05-repo-rename
relu91 May 18, 2023
5bd84f5
Merge pull request #1003 from relu91/fix_counter_example
relu91 May 19, 2023
db8afcf
docs: align with https://www.eclipse.org/projects/handbook/#vulnerabi…
danielpeintner May 19, 2023
436bc05
Merge pull request #1007 from danielpeintner/issue-998
relu91 May 19, 2023
b3ad9fa
chore(ci): remove Node 20.x from CI workflows
JKRhb May 19, 2023
0477818
Merge pull request #995 from JKRhb/patch-1
relu91 May 19, 2023
0e2b82e
refactor(binding-coap): refactor expose method
JKRhb May 19, 2023
94ed473
fixup! refactor(binding-coap): refactor expose method
JKRhb May 19, 2023
bc79cb0
fixup! refactor(binding-coap): refactor expose method
JKRhb May 24, 2023
e85a033
fixup! refactor(binding-coap): refactor expose method
JKRhb May 24, 2023
9d546e8
refactor: move getPropertyOpValues to core package
JKRhb May 24, 2023
d3fb9d4
fixup! refactor: move getPropertyOpValues to core package
JKRhb May 24, 2023
badc223
Merge pull request #993 from JKRhb/refactor-coap-server
relu91 May 25, 2023
72faad3
chore: update TS definitions (24 May 2023)
danielpeintner May 26, 2023
c4312fe
Merge pull request #1009 from danielpeintner/2023-05-ts-updates
relu91 May 26, 2023
4522345
refactor: use @node-oauth/express-oauth-server instead of express-oau…
relu91 May 30, 2023
3657ef4
Merge branch 'master' into upgrade_oauth_server
relu91 May 30, 2023
859f1ce
Tests for mqtt interactions (#992)
hasanheroglu May 30, 2023
fa9b6f7
Merge pull request #1010 from relu91/upgrade_oauth_server
relu91 May 30, 2023
b0b689f
Upgrade eslint workspaces plugin (#1011)
relu91 Jun 1, 2023
ba3f932
Fix event subscription and improve Counter example (#1008)
relu91 Jun 9, 2023
44f68f8
chore: remove binding-firestore (#1021)
danielpeintner Jun 13, 2023
9447196
fix issue #1012 by adding missing package
erossignon Jun 12, 2023
c080060
Merge pull request #1019 from node-opcua/FixIssue1012
relu91 Jun 13, 2023
18ec68c
chore: update dev version to 0.8.8
danielpeintner Jun 13, 2023
96a7fa4
Merge pull request #1023 from danielpeintner/dev--version-0-8-8
relu91 Jun 13, 2023
0b0c566
fix(coap-server): correctly expose additional mediatypes
JKRhb Jun 17, 2023
19cc462
Merge pull request #1026 from JKRhb/fix-testthing
relu91 Jun 26, 2023
2ed25ab
docs: listing maintainers (#989)
danielpeintner Jul 4, 2023
d998040
feat(binding-http): add http server middleware (#1027)
ilbertt Jul 7, 2023
719d47e
chore(deps): bump semver from 5.7.1 to 5.7.2
dependabot[bot] Jul 13, 2023
a005e1f
Merge pull request #1034 from eclipse-thingweb/dependabot/npm_and_yar…
JKRhb Jul 13, 2023
a7057e6
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 19, 2023
8552953
refactor(binding-http/server): introduce routes for each TD endpoint
relu91 Jun 27, 2023
83f1d5b
refactor(binding-http/server): remove depecrated url.parse and favor URL
relu91 Jun 28, 2023
b333da3
fix(binding-http/http-server): ignore traling slashes for backward co…
relu91 Jul 19, 2023
fbd2167
Merge pull request #1036 from eclipse-thingweb/dependabot/npm_and_yar…
relu91 Jul 20, 2023
0952a87
Merge pull request #1030 from relu91/http_server_refactoring
relu91 Jul 20, 2023
054ece6
chore: create CODEOWNERS file
JKRhb Jul 21, 2023
567e979
Merge pull request #1038 from JKRhb/codeowners
relu91 Jul 24, 2023
6764035
small bug fix. take over href modbus addressing
sebastiankb Jul 26, 2023
068550b
test(binding-modbus): fix validateAndFillForm assertions for URI para…
relu91 Jul 28, 2023
73bc53c
Merge pull request #1040 from eclipse-thingweb/resource-addessing-modbus
relu91 Jul 29, 2023
1cd4da7
chore: update CODEOWNERS file with @egekorkan
danielpeintner Jul 31, 2023
7340a59
refactor(coap-server): refactor request handling (#994)
JKRhb Jul 31, 2023
ca0e15c
Merge pull request #1044 from eclipse-thingweb/danielpeintner-patch-8
relu91 Jul 31, 2023
0f6c5f8
Fix action handling for no contents (#1042)
relu91 Aug 1, 2023
b25d863
Readme improvements (#1043)
egekorkan Aug 1, 2023
f92868b
strict tsconfig checks in place for binding-file
danielpeintner Aug 1, 2023
7cdcd96
chore(binding-http): use ts strict checking
relu91 Aug 1, 2023
d0ff86f
strict checking for package examples
danielpeintner Aug 2, 2023
8784743
add missing files...
danielpeintner Aug 2, 2023
3d38bb4
Merge pull request #1047 from danielpeintner/strict-tsconfig-binding-…
relu91 Aug 2, 2023
56875c4
docs(README): add a warning about node version (#1025)
relu91 Aug 2, 2023
5469a3a
fix(binding-http/credential): use `?` instead of `| undefined`
relu91 Aug 2, 2023
845f757
Update packages/examples/src/scripts/countdown.ts
danielpeintner Aug 2, 2023
0296b22
Update packages/examples/src/scripts/countdown.ts
danielpeintner Aug 2, 2023
b236422
refactor: simplify error printing
danielpeintner Aug 2, 2023
3f6aa92
refactor: simplify WoTHelpers usage
danielpeintner Aug 2, 2023
6a3b818
refactor: simplify WoTHelpers usage (add missing updates for testthing)
danielpeintner Aug 2, 2023
db4b2c1
Merge pull request #1048 from relu91/fix-tsconfig-http
relu91 Aug 3, 2023
fea3cf7
chore(binding-modbus): use ts strict checking
relu91 Aug 3, 2023
e11e188
chore(binding-websockets):use ts strict checking
relu91 Aug 3, 2023
ef86533
Merge pull request #1051 from relu91/fix-tsconfig-websockets
relu91 Aug 4, 2023
8c588b2
mqtt: add strict type check to config
egekorkan Aug 8, 2023
d7664ab
mqtt: fix typo
egekorkan Aug 8, 2023
b55df37
mqtt: start handling undefined types
egekorkan Aug 8, 2023
e5a8d0a
chore: run format
egekorkan Aug 8, 2023
7ff47a6
style(binding-mqtt/mqtt-client): use ? instead of | undefined
relu91 Aug 9, 2023
792c429
chore(binding-modbus/modbus-client-factory): remove leftovers when te…
relu91 Aug 9, 2023
597f34d
chore(binding-coap): use ts strict checking (#1054)
JKRhb Aug 11, 2023
911f672
chore: remove unnecessary compiler option "strictFunctionTypes"
danielpeintner Aug 11, 2023
b2be029
refactor: revert change that fetch returns ThingDescription
danielpeintner Aug 11, 2023
ca2de58
refactor: forgot to remove ThingDescription import
danielpeintner Aug 11, 2023
dbf9979
refactor(binding-modbus/modbus-connection): improve error messages in…
relu91 Aug 11, 2023
ea5da9b
Merge branch 'strict-mqtt' of https://github.com/egekorkan/node-wot i…
relu91 Aug 11, 2023
8a80992
Merge pull request #1050 from relu91/fix-tsconfig-modbus
relu91 Aug 11, 2023
daa8453
Merge pull request #1049 from danielpeintner/strict-tsconfig-examples
relu91 Aug 11, 2023
28c0815
chore(binding-mqtt): use ts strict checking.
relu91 Aug 11, 2023
e0e3fc4
chore(ci): re-enable Node 20 (#1056)
JKRhb Aug 11, 2023
0e6e117
Merge pull request #1053 from egekorkan/strict-mqtt
relu91 Aug 11, 2023
c41e050
chore: avoid blocking codecov status checks
danielpeintner Aug 11, 2023
3a74512
Merge pull request #1060 from danielpeintner/issue-1058
relu91 Aug 11, 2023
4aff7d1
mqtt: fix readme
egekorkan Sep 1, 2023
7c00309
Merge pull request #1066 from eclipse-thingweb/egekorkan-mqtt-readme
egekorkan Sep 2, 2023
61c6ecb
fix(binding-http/routes/property-observe): send headers at connection
relu91 Sep 4, 2023
604144e
Merge pull request #1067 from relu91/fix-1065
relu91 Sep 5, 2023
67f3a44
feat(examples): add a new set of Things to try out node-wot
egekorkan Sep 5, 2023
949a7e1
chore(binding-opcua): enable strict type checking (#1057)
danielpeintner Sep 5, 2023
ecddb7f
chore(binding-netconf): use ts strict checking
relu91 Sep 6, 2023
d1d2abd
chore(binding-mbus): enable strict type checking
danielpeintner Sep 6, 2023
8bdbba0
chore: use only base tsconfig strict (#1073)
relu91 Sep 7, 2023
4fafd4a
examples: add static address
egekorkan Sep 7, 2023
b61c90f
examples: copy to root
egekorkan Sep 7, 2023
559978e
Merge pull request #1074 from egekorkan/ege-static-address
relu91 Sep 8, 2023
c3c468f
Add supports for multiple security schemes in http server (#1070)
relu91 Sep 8, 2023
bf874d6
fix(examples/quickstart/smart-clock): change default port
relu91 Sep 8, 2023
c8177c2
Merge pull request #1075 from relu91/master
egekorkan Sep 8, 2023
7047b9b
fix(binding-netconf): use optional chaining for non-null-assertion
JKRhb Sep 11, 2023
03751a9
AAS next (#1052)
danielpeintner Sep 12, 2023
fcdf5c9
feat(examples/quickstart): add a refill action for coffe-machine
relu91 Sep 12, 2023
692af10
feat(coap-server): add support for URI variables (#1078)
JKRhb Sep 12, 2023
e491764
Merge pull request #1081 from relu91/quickstart_refill
egekorkan Sep 12, 2023
e4c17c5
chore: disable Node.js 16 CI builds/tests (#1076)
danielpeintner Sep 12, 2023
2b5be1f
chore: increase version numbers to 0.8.9 for next release (#1080)
danielpeintner Sep 13, 2023
c10fba2
Merge pull request #1079 from JKRhb/netconf-null-check
JKRhb Sep 13, 2023
dd9fb16
feat!(coap-server): adjust constructor to HTTP server
JKRhb Sep 13, 2023
3e84166
fix: use new CoAP constructor API in tests and examples
JKRhb Sep 13, 2023
0cbecdc
fix(cli): adjust config usage for default servient
JKRhb Sep 13, 2023
46f2d5a
Merge pull request #1082 from JKRhb/coap-port
relu91 Sep 14, 2023
6d6bcb4
examples: fix data schema
egekorkan Sep 14, 2023
0130531
examples: copy readme as well
egekorkan Sep 14, 2023
9d22472
refactor(coap-server): simplify form generation
JKRhb Sep 14, 2023
52ef103
Merge pull request #1083 from egekorkan/ege-example-payload-fix
egekorkan Sep 14, 2023
227be53
Merge pull request #1084 from JKRhb/coap-form-generation
JKRhb Sep 15, 2023
fd72a5d
chore(binding-coap): enable strict-boolean-expressions and null checks
JKRhb Sep 18, 2023
95ea950
Merge pull request #1088 from JKRhb/strict-boolean-coap
relu91 Sep 21, 2023
6e375c9
docs(contributing): add a guide for checking of `undefined` or `null`
relu91 Sep 21, 2023
31668a0
style(contributing): format edited text
relu91 Sep 21, 2023
e3c7fd0
test(binding-coap): `await` all calls of `coapServer.stop()`
JKRhb Sep 21, 2023
f995042
docs: Update HTTP readme with UrlRewrite option (#1091)
danielpeintner Sep 21, 2023
3d5fbad
fixup! test(binding-coap): `await` all calls of `coapServer.stop()`
JKRhb Sep 21, 2023
7b46440
fixup! test(binding-coap): `await` all calls of `coapServer.stop()`
JKRhb Sep 21, 2023
7a3538a
fixup! test(binding-coap): `await` all calls of `coapServer.stop()`
JKRhb Sep 21, 2023
d56b778
docs(contributing): improve code format in checking for `undefined` o…
relu91 Sep 21, 2023
27970b0
Merge pull request #1094 from JKRhb/coap-server-await
relu91 Sep 21, 2023
a38b05b
chore(td-tools): enable eslint/strict-boolean-expressions and strictN…
danielpeintner Sep 22, 2023
20387d5
docs(contributing): better explanation for checking for undefined and…
relu91 Sep 22, 2023
71bb9dd
chore(examples): enable eslint/strict-boolean-expressions and strictN…
danielpeintner Sep 22, 2023
aae70f4
feat(coap-server): add initial meta operation support (#1086)
JKRhb Sep 22, 2023
bd247a0
Merge pull request #1093 from eclipse-thingweb/relu91-docs-1
relu91 Sep 22, 2023
ab1e20a
chore: move common devDependencies to top-level package.json (#1098)
JKRhb Sep 26, 2023
4ccd0b6
fix: issue with absolute URL
danielpeintner Sep 26, 2023
5265b46
chore(core): enable eslint/strict-boolean-expressions & strictNullChe…
danielpeintner Sep 27, 2023
4e64d63
Merge branch 'master' into aid-next2
danielpeintner Sep 28, 2023
c3cf725
refactor: add additional null check
danielpeintner Sep 28, 2023
a41996d
chore: update TS definitions
danielpeintner Sep 28, 2023
b51241b
Merge pull request #1102 from danielpeintner/issue-1101
relu91 Sep 28, 2023
dd7da09
Merge pull request #1095 from danielpeintner/issue-1046-strict-boolea…
relu91 Sep 30, 2023
49ad831
Merge pull request #1100 from danielpeintner/aid-next2
relu91 Sep 30, 2023
33e3064
refactor: use `structuredClone` for deep copying
JKRhb Oct 2, 2023
b51ef19
chore(devDeps): upgrade eslint packages (#1103)
JKRhb Oct 3, 2023
7b0b1f7
fixup! refactor: use `structuredClone` for deep copying
JKRhb Oct 3, 2023
ff5ffe5
refactor(core): use private variables instead of function wrappers
JKRhb Oct 3, 2023
7cbe593
refactor(core): use # instead __ as internal handler prefix (#1104)
JKRhb Oct 4, 2023
33af731
fixup! refactor: use `structuredClone` for deep copying
JKRhb Oct 4, 2023
fcc3b70
fixup! refactor(core): use private variables instead of function wrap…
JKRhb Oct 9, 2023
324dbc2
docs(binding-opcua): fix demo-opcua1.ts in README
JKRhb Oct 9, 2023
3489ea5
refactor: remove unnecessary `new Promise` wrappers
JKRhb Oct 9, 2023
e6a2be7
refactor(binding-http): re-introduce proper error message check
danielpeintner Oct 10, 2023
b705ce3
Merge pull request #1111 from danielpeintner/issue-837
relu91 Oct 10, 2023
4c3c203
Merge pull request #1110 from JKRhb/async-promise
relu91 Oct 10, 2023
4ebe5e8
Merge pull request #1109 from JKRhb/opcua-fixes
relu91 Oct 10, 2023
9557fe1
Merge pull request #1106 from JKRhb/internal-getters
relu91 Oct 10, 2023
1f71e3f
refactor(td-tools): Aid updates (#1107)
danielpeintner Oct 11, 2023
7a99bf9
Merge pull request #1105 from JKRhb/clone
relu91 Oct 12, 2023
8d58601
chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 22, 2023
e522eb4
Update packages/binding-http/src/oauth-token-validation.ts
relu91 Sep 27, 2023
c77a9fe
fiuxp! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 30, 2023
da707d7
fiuxp! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 30, 2023
58e936a
fiuxp! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 30, 2023
cef1203
fiuxp! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 30, 2023
fd0a8d0
fiuxp! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 30, 2023
291f3ab
fiuxp! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 30, 2023
9790543
fiuxp! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 30, 2023
85a84f6
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 30, 2023
c7356d3
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 30, 2023
414eb1f
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 30, 2023
e2d09b8
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Sep 30, 2023
1235031
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Oct 3, 2023
3a76e86
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Oct 3, 2023
ea16ef4
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Oct 3, 2023
43c8d26
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Oct 3, 2023
99c1082
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Oct 3, 2023
4624a03
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
JKRhb Oct 12, 2023
63b31c6
refactor(td-tools): AID idShort does not allow ":" and used "_" inste…
danielpeintner Oct 13, 2023
b8aeef6
Merge pull request #1097 from JKRhb/http-strict-boolean
relu91 Oct 13, 2023
b44448b
Improve readme (#1114)
relu91 Oct 13, 2023
c3fae49
ci: don't run CI on push to non-master branch
JKRhb Oct 13, 2023
bef0435
docs(README): use white logo on dark backgrounds
relu91 Oct 13, 2023
0db1738
ci: run default CI pipeline on master using also macOS and Windows
JKRhb Oct 13, 2023
03143b7
ci: delete obsolete ci-full workflow file
JKRhb Oct 13, 2023
59eff24
ci: add manual dispatch to default CI workflow
JKRhb Oct 13, 2023
996ea23
chore: increase version numbers to 0.8.10 for next release (#1117)
danielpeintner Oct 13, 2023
57737a2
chore(binding-opcua): update opcua modules
danielpeintner Oct 13, 2023
824bc22
chore: add @types/lodash to cli since it is missing now...
danielpeintner Oct 13, 2023
d6fdbdf
refactor(binding-opcua): remove unnecessary data transformation (#1119)
danielpeintner Oct 13, 2023
2e6fc09
chore(binding-opcua): improve/stabilize tests (#1120)
danielpeintner Oct 13, 2023
6d29ee0
docs(README): add fallback value for logo and fix width attribute
relu91 Oct 13, 2023
1325a9d
Merge pull request #1118 from eclipse-thingweb/relu91-patch-1
relu91 Oct 13, 2023
a5857b6
Merge pull request #1121 from JKRhb/ci-full
relu91 Oct 15, 2023
b1d11a0
Merge pull request #1122 from danielpeintner/pr-1072-c
relu91 Oct 15, 2023
e7e8fc7
docs: Add quick start online Things to README.md
egekorkan Oct 16, 2023
595d818
fix: enable prefer-nullish-coalescing eslint rule (#1123)
JKRhb Oct 16, 2023
6dde8d1
refactor: enable strictNullChecks globally
JKRhb Oct 17, 2023
de60e48
feat: support special AID treatment for ranges
danielpeintner Oct 18, 2023
8f5b158
Merge pull request #1126 from JKRhb/strict
relu91 Oct 19, 2023
c14d4dd
Merge pull request #1129 from danielpeintner/issue-1128
relu91 Oct 19, 2023
2fd5ec0
fix: minor follow-up for PR#1129 AID ranges
danielpeintner Oct 19, 2023
6191c24
docs: update copyrights year based on git log
danielpeintner Oct 19, 2023
38bfefd
Merge pull request #1130 from danielpeintner/issue-1128-b
sebastiankb Oct 20, 2023
d439fc9
refactor: AID should contain observable only if it is true
danielpeintner Oct 20, 2023
f3eac19
refactor: add back removed title check
danielpeintner Oct 20, 2023
726a63d
Merge pull request #1134 from danielpeintner/aid-observable-non-defau…
sebastiankb Oct 20, 2023
20c97e7
Merge pull request #1132 from danielpeintner/copyright-2023-10-19
relu91 Oct 21, 2023
28a084a
refactor: enable strict-boolean-expressions globally (#1127)
JKRhb Oct 21, 2023
0274659
ci: set a timeout for testing step of ten minutes
JKRhb Oct 19, 2023
247b0d4
Merge pull request #1133 from JKRhb/timeout-test
relu91 Oct 24, 2023
b4ed73f
modified binding-firestore for v0.8.10
hidetak Oct 24, 2023
112dce2
refactor: use base in hrefs for AID (#1135)
danielpeintner Oct 24, 2023
ccea971
refactor(td-tools): AID add TD term support for description, contentM…
danielpeintner Oct 24, 2023
4cacd2f
chore(deps-dev): bump browserify-sign from 4.2.1 to 4.2.2
dependabot[bot] Oct 27, 2023
5759048
binding-opcua: fix missing hostname in /etc/host #1138
erossignon Oct 25, 2023
04e59aa
feat: add semanticId/supplementalSemanticIds for AID terms (#1143)
danielpeintner Oct 31, 2023
f737df4
fix: shortId for AID does not allow any character (#1147)
danielpeintner Nov 2, 2023
6d127f0
Merge pull request #1141 from node-opcua/FixBindingOPCUATestOnMacOS
relu91 Nov 2, 2023
1441a01
Merge pull request #1144 from eclipse-thingweb/dependabot/npm_and_yar…
relu91 Nov 2, 2023
26d10d9
refactor: revert back to *old* way of cloning
danielpeintner Nov 3, 2023
2976374
refactor: properly start server
danielpeintner Nov 3, 2023
77d57d4
Merge pull request #1152 from danielpeintner/issue-1151
relu91 Nov 6, 2023
282dff1
refactor(AID): report proper valueType for value (#1149)
danielpeintner Nov 6, 2023
db8d0f1
fixing linter error
hidetak Nov 6, 2023
5480ea1
fixing format error
hidetak Nov 6, 2023
1bffaf3
fixing linter and build error
hidetak Nov 6, 2023
e25cbd9
fix: resolve GitHub runner issues on MacOs (#1155)
danielpeintner Nov 7, 2023
cc46531
refactor(AID): reflect latest security representation (#1150)
danielpeintner Nov 7, 2023
57cc0c3
Merge branch 'master' of https://github.com/eclipse-thingweb/node-wot…
hidetak Nov 9, 2023
ef0904f
add java install settings in ci.yaml for running firebase emulator
hidetak Nov 9, 2023
5eb0ca4
refactor(td-tools/AID): add AID JSON schema (#1157)
danielpeintner Nov 10, 2023
431dc77
Merge tag 'v0.8.10' of https://github.com/eclipse-thingweb/node-wot i…
hidetak Nov 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 6 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
.git
.vscode
.idea/
.nyc_output/
examples
**/node_modules
**/node_modules/
node_modules/
coverage/
.*/
tmp/
43 changes: 43 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
tsconfigRootDir: __dirname,
project: ["./tsconfig.eslint.json"],
},
extends: [
"eslint:recommended",
"standard",
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:workspaces/recommended",
],
plugins: ["@typescript-eslint", "unused-imports", "workspaces", "notice"],
env: {
es6: true,
node: true,
},
ignorePatterns: [".eslintrc.js", "dist", "node_modules", "/examples", "bin", "*.js"],
rules: {
"notice/notice": [
"error",
{
mustMatch: "Copyright \\(c\\) [0-9]{0,4} Contributors to the Eclipse Foundation",
templateFile: __dirname + "/license.template.txt",
onNonMatchingHeader: "replace",
},
],
"@typescript-eslint/no-unused-vars": "off", // or "@typescript-eslint/no-unused-vars": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"@typescript-eslint/prefer-nullish-coalescing": "error",
"unused-imports/no-unused-imports": "error",
"@typescript-eslint/strict-boolean-expressions": "error",
"unused-imports/no-unused-vars": [
"warn",
{
args: "none",
varsIgnorePattern: "Test", // Ignore test suites from unused-imports
},
],
},
};
38 changes: 38 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Default owners (used as a fallback, last matching pattern takes the most precedence)
* @danielpeintner @relu91

# CoAP-Binding
/packages/binding-coap/ @JKRhb

# HTTP-Binding
/packages/binding-http/ @danielpeintner @relu91

# Mbus-Binding
# /packages/binding-modbus/

# Modbus-Binding
/packages/binding-modbus/ @relu91

# MQTT-Binding
/packages/binding-mqtt/ @sebastiankb @egekorkan

# NETCONF Binding
# /packages/binding-netconf/

# OPCUA Binding
# /packages/binding-opcua/

# WebSockets Binding
# /packages/binding-websockets/

# Browser Bundle
/packages/browser-bundle/ @danielpeintner @relu91

# CLI
/packages/browser-bundle/ @danielpeintner @relu91 @mkovatsc

# Core
/packages/core/ @danielpeintner @relu91 @JKRhb

# TD Tools
/packages/td-tools/ @danielpeintner @relu91
98 changes: 98 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: Default CI Pipeline

on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

jobs:
setup-and-test:
name: Tests (${{ matrix.os }}, Node ${{ matrix.node-version }})
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: [18.x, 20.x]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.os }} ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: "11"

# workaround for issue #1154
- name: Install setuptools on MacOs
if: matrix.os == 'macos-latest'
run: |
sudo -H pip install setuptools

- name: Install
run: npm ci

- name: Build
run: npm run build

# workaround for issue #1138
- name: Add missing hostname to /etc/hosts
if: matrix.os == 'macos-latest'
run: |
sudo echo "127.0.0.1" `hostname` | sudo tee -a /etc/hosts

- name: Test with coverage report
run: npm run coverage:only
timeout-minutes: 10

- name: Upload to codecov.io
uses: codecov/codecov-action@v2

eslint:
name: eslint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 18

- name: Install
run: npm ci

- name: Lint
run: npm run lint

version_consistency:
name: Check version consistency of packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install node v18
uses: actions/setup-node@v1
with:
node-version: 18
- name: verify packages version consistency accross sub-modules
run: npm run check:versions

prettier:
name: Check coding style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actionsx/prettier@v2
with:
args: --check .
19 changes: 4 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jspm_packages
# ignore dist
dist/

# ignore package-lock.json as not part of published module and might cause break
package-lock.json

# ignore compiled tests and scratch compiles
test/**/*.js
src/**/*.js
Expand All @@ -56,25 +53,17 @@ packages/*
!packages/binding-websockets
!packages/binding-mqtt
!packages/binding-modbus
!packages/binding-oracle
!packages/binding-fujitsu
!packages/binding-opcua
!packages/binding-netconf
!packages/binding-modbus
!packages/binding-wotfirestore
!packages/binding-wotfirestore-browser-bundle
!packages/binding-mbus
!packages/binding-firestore
!packages/cli
!packages/browser-bundle
!packages/examples
!packages/wot-agent
!packages/wot-console

# JetBrains IDEs
.idea/

# hidetak
packages/wot-agent/clientScript.js
examples/.DS_Store
.DS_Store
packages/wot-console/public/binding-wotfirestore-bundle.min.js
packages/wot-console/public/wot-bundle.min.js
# tsc build info
tsconfig.tsbuildinfo
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run format:quick -- --staged
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package-lock.json
**/dist
coverage
.nyc_output
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"trailingComma": "es5",
"printWidth": 120,
"singleQuote": false,
"tabWidth": 4,
"endOfLine": "lf"
}
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

Loading
Loading