Andreas Heine
46ec804c9f
proposal-for-Roles-and-Permissions
...
feedback or volunteers welcome ;)
2022-10-24 13:26:27 +02:00
smorokin
ca19970e5c
improved exporting and importing extension objects to/from xml ( #1083 )
...
* improved exporting and importing extension objects to/from xml
* fixed a type annotation
* compability to python 3.7
* fixed type annotation for python < 3.9
* remove optional parameter for <=3.8
* added tests
* comp with old pyhton versions
* fixed an error in tests
* somehow the name of the struct makes a difference
2022-10-21 19:15:44 +02:00
Karl Lindblom
edafb6b675
Add missing attribute to node data
2022-10-21 15:36:12 +02:00
Andreas Heine
ff073911aa
add feat: subscription.py optional param for sampling_interval ( #1087 )
...
* add feat: subscription.py optional param for sampling_interval
* fix: flake8 stuff
* fix: flake8 stuff
* add: missing typehints and small refactoring according to flake8
* Update subscription.py
* remove: unnecessary import
* update: comments
* update: fix wrong typehint
2022-10-18 12:44:02 +02:00
JPortela
f49068a203
added the parameter to the parser and xml importer
2022-10-17 09:18:01 +02:00
oroulet
f2ff44b8cb
increase even more that crypto test timeout
2022-10-06 07:30:26 +02:00
oroulet
1cd257580d
update README
2022-10-05 21:35:23 +02:00
bitkeeper
0252a699a7
Improve test for namespace availability
2022-10-05 21:34:56 +02:00
bitkeeper
842b5bbd6f
Fix typo in in XmlImporte._check_if_namespace_meta_information_is_added which results in an exception.
...
In case it was required after the import to still add an ns an exception occured. On normal flow the line `_check_if_namespace_meta_information_is_added`s with the typo isn't executed and no test was available to test the behaviour.
* Added test for `_check_if_namespace_meta_information_is_added`
* Fix the type
2022-10-05 21:34:56 +02:00
Alexander Schrode
52c583497e
remove print spam
2022-10-05 21:34:29 +02:00
Alexander Schrode
a8d51e33ab
use empty str instead of ua.String()
2022-10-05 21:34:29 +02:00
Alexander Schrode
602249d9a0
informa all clients about connection lose
2022-10-02 09:14:59 +02:00
Alexander Schrode
57eab7f74c
merge tests
2022-10-02 09:14:21 +02:00
Alexander Schrode
40b4f5abab
fix missing args
2022-10-02 09:14:21 +02:00
Alexander Schrode
ff2e6f739e
remove NoneType
2022-10-02 09:14:21 +02:00
Alexander Schrode
758d89c013
implement encode/decode
2022-10-02 09:14:21 +02:00
oroulet
d2b48b5a76
remove some abuse of error logging level
2022-09-28 15:32:21 +02:00
bitkeeper
1bb5b56b4d
make_structure_code fails when a recursive struct (use it self as datamember) is used.
...
The typing information tries to use an no existing dataclass, requires an forward reference (escaped with single ').
2022-09-28 15:12:34 +02:00
bitkeeper
b252d96e23
[xml import] Fix RecursionError exception when importing recursive structs
...
The depends_on function result is an unrestricted recursive call when the depency is it self.
2022-09-28 15:12:34 +02:00
bitkeeper
e3623e319e
Add test for testing of importing xml nodeset with recursive struct
2022-09-28 15:12:34 +02:00
mver-al
4b8d879d6a
Set _closing to False in create_session.
2022-09-28 15:11:53 +02:00
oroulet
1c6ba81f9d
new release v0.9.98
v0.9.98
2022-09-27 14:04:15 +02:00
Alexander Schrode
47b229c112
add integer and uinteger
...
For completness, these datatypes are abstract! If they are used in structs, abstract types are either Variant or ExtensionObjects.
If they only contain basic types (int16, float, double..) they are Variants.
2022-09-26 17:41:50 +02:00
Alexander Schrode
6e5b28fb92
exit on malformed packet
2022-09-26 17:40:21 +02:00
Alexander Schrode
c32498870a
add cmd lines for branch and tag
2022-09-26 17:39:34 +02:00
Alexander Schrode
366b9f36f9
correct IsAbstract
2022-09-26 17:38:39 +02:00
Alexander Schrode
f48963c0e2
abstract default is False
2022-09-26 17:38:39 +02:00
Alexander Schrode
0337087433
set correct BaseDataType
2022-09-26 17:38:39 +02:00
oroulet
54130d1a41
longer timeout in one test
2022-09-26 09:20:58 +02:00
oroulet
5c075beff8
since we cannot rely on cancel() (==python bug) to stop a task then use a variable
2022-09-26 09:20:58 +02:00
oroulet
ad5088f6f3
Revert "skip failing test"
...
This reverts commit 80b63f1790 .
2022-09-26 09:20:58 +02:00
oroulet
d92069e863
review all big exception handlings and try to better follow best practices
2022-09-26 09:20:58 +02:00
Alexander Schrode
defa1ffaa6
update schema to v1_05
2022-09-23 15:37:29 +02:00
Alexander Schrode
ae1ec34ee8
union allow multiple fields with the same type
2022-09-22 08:46:47 +02:00
oroulet
f870e708fa
new release v0.9.97
v0.9.97
2022-09-21 16:24:29 +02:00
oroulet
89ef1e6015
disable dos test
2022-09-21 16:24:05 +02:00
oroulet
e7163da97e
expose limits, add tests and fix all the bugs they exposed
2022-09-21 16:24:05 +02:00
oroulet
2de4455d34
add tests
2022-09-21 16:24:05 +02:00
oroulet
0151669a69
also fix selecting limits
2022-09-21 16:24:05 +02:00
oroulet
c810a2b83d
fix wrong limit tests
2022-09-21 16:24:05 +02:00
oroulet
1240d7b434
add logging in case of limits error
2022-09-21 16:24:05 +02:00
oroulet
d0bd032ec2
update README
2022-09-20 15:04:21 +02:00
oroulet
a244ac095e
update README
2022-09-20 15:02:35 +02:00
oroulet
c55447d865
new release v0.9.96
v0.9.96
2022-09-20 14:56:03 +02:00
Alexander Schrode
01c7acf047
Check limits of messages (CVE-2022-25304) ( #1040 )
...
* check message limits on recv
* add ErrorMessage handling
* add to large chunk test
* client disconnect on ErrorMessage
* change default transport limits
2022-09-20 14:53:58 +02:00
Jürg Rast
c66f34cf58
New Documentation ( #1007 )
...
* Initial new documentation
* Update server-minimal example which is used in the docs
* Better API Structure
* Added RTD Config
* Added documentation for 'a minimal opc-ua client'
* More about nodes and nodeids
* More usage guide
* Combined Node & NodeId Docu, updated links in index
* A little more documentation
2022-09-20 10:33:34 +02:00
Karl Lindblom
0499120ce5
adds security policy Aes128-Sha256-RsaOaep ( #1032 )
...
* adds security policy Aes128-Sha256-RsaOaep
* updates docstring for policy
* formats for loop in encrypt asymmetric
* updates policy type
* updates test case for new policy
* updates server with new policy
* adds secure_channel_nonce_length to policies
* updates security policy class
* updates client with new nonce length
* updates connection with new nonce variable
2022-09-16 19:31:55 +02:00
Alexander Schrode
f6603daa34
server handle malformed packets
...
fix test after rebase
server handle malformed packets
close connection on error
reorder imports
change test
2022-09-16 19:31:19 +02:00
Alexander Schrode
acdb6a6052
fix Node register
2022-09-11 10:30:54 +02:00
Christoph Ziebuhr
527ae46145
Always take NamespaceIndex into account when comparing NodeIds
2022-09-07 12:47:21 +02:00