Commit Graph

370 Commits

Author SHA1 Message Date
Julius Pfrommer 77ae531e82 Merge remote-tracking branch 'origin/1.4' into merge_14_master_25 2025-02-02 19:14:15 +01:00
Julius Pfrommer 2119e7cd20 fix(server): Unlock the server before executing an async method 2025-02-02 17:40:38 +01:00
Julius Pfrommer 99d4d46804 Merge remote-tracking branch 'origin/1.4' into merge_14_master_25 2025-01-28 06:55:14 +01:00
Julius Pfrommer 1321281968 refactor(tests): Lock the EventLoop before client/server in the tests 2025-01-26 23:29:22 +01:00
Julius Pfrommer 3bec159cb9 Merge remote-tracking branch 'origin/1.4' into merge_14_master_25 2025-01-25 19:06:56 +01:00
Noel Graf 34d957c561 fix(server): Consistency in the use of the Windows architecture flag 2025-01-09 15:00:38 +01:00
Julius Pfrommer 12a3e5c915 refactor(pubsub): Adjust PubSub JSON unit test to the v1.05 format 2025-01-02 23:41:14 +01:00
Christian Granzin dd2275cec0 test(server): Add test case for setting a session attribute 2024-12-18 10:22:54 +01:00
Julius Pfrommer 28554978c1 feat(core): Extend the binary encoding to take encoding options 2024-12-07 23:03:22 +01:00
Julius Pfrommer c5b39c925d Merge remote-tracking branch 'origin/1.4' into merge_14_master_23 2024-11-06 12:05:21 +01:00
Julius Pfrommer 16264590a6 fix(server): Consider allowNonePolicyPassword in GetEndpoints
Remove all UserTokenPolicies that would allow an unencrypted password
transmitted.
2024-11-06 11:32:02 +01:00
Julius Pfrommer ff24a547d4 Merge remote-tracking branch 'origin/1.4' into merge_14_master_22 2024-10-07 22:23:25 +02:00
Julius Pfrommer e4f728648f refactor(client): Refactor the endpoint and UserIdentityToken selection
This no writes into the client config. Instead the selected endpoint is
stored internally in the client. The UserIdentityToken is selected from
this endpoint at runtime.
2024-10-05 22:11:22 +02:00
Julius Pfrommer 43e2b04a26 Merge remote-tracking branch 'origin/1.4' into merge_14_master_22 2024-10-03 10:33:56 +02:00
Julius Pfrommer add4525df8 fix(tests): Fix check_server_reverseconnect.c on MSVC
First start listening for reverse connections and then connect.
2024-09-30 00:29:52 +02:00
Julius Pfrommer fec7e11f14 fix(tests): Extend tests for writing the DisplayName for different locales 2024-09-23 19:26:15 +02:00
estr Eckerstorfer Andreas 166d03c351 refactor(core): Substitute tabs by spaces in source code 2024-09-14 02:33:22 +02:00
Julius Pfrommer 2368ec2cbe Merge remote-tracking branch 'origin/1.4' into merge_14_master_21 2024-09-11 15:33:39 +02:00
Julius Pfrommer a2fe7ab42c fix(server): Fix a double-free after adjusting a value type
The issue was reported by @tomitkl in #6685.
2024-09-11 12:35:21 +02:00
Joe b6c8441351 fix(server): Allow changing the namespace1 URI before calling UA_Server_startup (#6670) 2024-08-29 14:29:21 +02:00
Julius Pfrommer 93d8c322f4 refactor(pubsub): Use UA_BinaryDecodingOptions structure also for the PubSub message decoding 2024-07-20 11:42:05 +02:00
Julius Pfrommer f362fab7f9 refactor(util): Adjust the operator precedence in the EventFilter parser 2024-06-29 23:50:53 +02:00
Julius Pfrommer d463871863 Merge branch 'publish_pubsub_rt' into merge_14_master_16 2024-06-25 15:53:04 +02:00
Noel Graf 9c0ea6df95 refactor(server): Removed the old CertificateVerification implementation 2024-06-10 15:27:40 +02:00
Julius Pfrommer 68ed72e672 feat(tests): Extend tests for writing int32 into an enum type 2024-06-05 07:24:40 +02:00
Julius Pfrommer 3bf2471736 feat(test): Add a test for MonitoredItems on a DataSource with a fixed memory location
Test a hypothesis for #6512.
2024-05-31 07:49:02 +02:00
Julius Pfrommer 4d3aedd74b refactor(server): Unify duplicate UA_MonitoredItem_sample definitions 2024-05-28 22:52:07 +02:00
Julius Pfrommer 04fd16af13 Merge remote-tracking branch 'origin/1.4' into merge_14_master_15 2024-05-25 00:35:46 +02:00
estr Eckerstorfer Andreas 51b4427f35 refactor(tests): Include stdlib.h where open62541 no longer does it
Include is needed for definition of EXIT_SUCCESS.
2024-05-14 15:10:11 +02:00
Julius Pfrommer 9ecb5dc3bd refactor(util): Make EventFilter query evaluation left-binding
Only the unary operators (ISNULL, OFTYPE, NOT) bind more strongly (bind
first) and are right-binding. This simplifies understanding of the evaluation
order.

Compare with the following example:

SELECT /Severity WHERE true AND false AND NOT true OR 123 BETWEEN [1,2]

is the same as

SELECT /Severity WHERE (((true AND false) AND (NOT true)) OR 123) BETWEEN [1,2]
2024-05-03 16:04:33 +02:00
Julius Pfrommer 1adcbd9db3 refactor(util): Refactor out whitespace and comment skip for EventFilter parsing
This allows us to handle whitespace after the end of the parsing
expression.
2024-05-03 16:04:33 +02:00
Julius Pfrommer 850c468be2 refactor(util): Make the logger configurable for the EventFilter query parser 2024-05-03 16:04:33 +02:00
Julius Pfrommer 5a6d2df3e3 refactor(util): Switch to lemon + re2c for EventFilter parsing 2024-04-22 01:43:15 +02:00
Julius Pfrommer efc8672d1b fix(util): Fix "direct" parsing of NodeId/ExpandedNodeId/Guid in EventFilter expressions 2024-04-12 15:37:58 +02:00
Julius Pfrommer ddddcf2cf1 refactor(util): Use Operand * type as YYSTYPE for the EventFilter parsing 2024-04-03 14:04:51 +02:00
Julius Pfrommer 7f81b5e547 refactor(arch): Remove UA_REUSEADDR option -- handle in the global test server constructor 2024-03-22 11:20:20 +01:00
Julius Pfrommer f288a70bfb fix(test): Remove a duplicate assert in check_server_historical_data_circular.c 2024-03-15 09:28:23 +01:00
Julius Pfrommer 5fd73b909a Merge remote-tracking branch 'origin/1.4' into merge_14_master_15 2024-03-15 09:28:23 +01:00
Florian Düwel 718c59c28e feat(tests): add unit tests for the eventfilter query language 2024-03-04 14:45:25 +01:00
Julius Pfrommer 8c6b00fe52 fix(test): Fix logging memleak in check_server_speed_addnodes.c 2024-03-03 23:47:06 +01:00
Julius Pfrommer 960c4bed44 feat(server): Implement local Event-MonitoredItems 2024-03-03 18:21:57 +01:00
Noel Graf 579d51f75b feat(server): Define the CertificateGroup interface and enable gds push management capabilities in the server information model. 2024-02-23 11:37:52 +01:00
Julius Pfrommer 1810026ae7 fix(tests): Remove redundant declaration of history read method 2024-02-13 17:17:22 +01:00
Julius Pfrommer 4fed465615 refactor(core): Move protocol-independent service execution into /src/server/ua_services.c 2024-02-13 17:17:22 +01:00
Julius Pfrommer cc806cb471 Merge pull request #6247 from open62541/1.4
Merge 1.4 to master
2024-01-26 16:20:42 +01:00
Johannes Kauffmann 1bda4f6083 fix(examples,tests): correct Windows define
Checking for WIN32 only works by virtue of CMake defining WIN32, by
itself. The _WIN32 define actually comes from the compiler, so use
that instead.

Since these are examples and tests, don't use UA_ARCHITECTURE_WIN32.
2024-01-20 09:52:19 +01:00
Julius Pfrommer e86e0a3066 refactor(server): Remove the SessionHeader indirection 2024-01-11 10:20:39 +01:00
Julius Pfrommer 49890877fb fix(test): Use the testing time source throughout in check_server_historical_data_circular.c 2023-12-26 13:37:18 +01:00
Julius Pfrommer 054420cf33 refactor(test): Use the fake clock also for non-monotonic time-source
The subscription tests depend on a deterministic clock.
2023-12-26 00:30:17 +01:00
Julius Pfrommer d6701cb9fb Merge branch '1.4' into merge_14_master_9
# Conflicts:
#	plugins/eventloop/posix/eventloop_posix_udp.c
2023-12-25 22:52:05 +01:00