Viacheslav Klimov
1acbc7bdaf
Merge remote-tracking branch 'origin/lts-4.3' into internal-hotfix-4.3
3 weeks ago
Vladyslav_Prykhodko
14b4a23668
Merge remote-tracking branch 'upstream/lts-4.2' into lts-4.3
3 weeks ago
Vladyslav Prykhodko
262b1391a9
build: remove ngrx-store-freeze, whose check NgRx runtime checks already make ( #16674 )
core.state.ts imported ngrx-store-freeze statically, so the production bundle contained it and deep-freeze-strict, although only development builds used it and package.json lists it as a development dependency. The runtime checks strictStateImmutability and strictActionImmutability of the store, set in core.module.ts, freeze the state and the actions in development mode already.
3 weeks ago
Viacheslav Klimov
95d3615ea1
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
3 weeks ago
Viacheslav Klimov
df77bbee34
Merge pull request #16680 from dskarzh/feat/license-compliance-lts-4.2
Dependency cleanup: upstream LangChain4j, Apache Cassandra driver 4.19.3, jakarta.annotation (lts-4.2)
3 weeks ago
Dmytro Skarzhynets
f737d98f1f
build: move to the Apache Cassandra driver 4.19.3, which no longer ships the LGPL spotbugs-annotations
java-driver-core 4.17.0 of com.datastax.oss declares spotbugs-annotations (LGPL-2.1) at compile scope, so the packages shipped it. DataStax donated the driver to Apache, which publishes it as org.apache.cassandra:java-driver-* since 4.18.0, where spotbugs-annotations and jcip-annotations are provided instead of compile; the Java packages are the same.
4.19.3 is the version that spring-boot-dependencies manages and that Spring Data Cassandra is built with, so the root pom sets no version of its own: every module, the migrator of PE and 4.4 included, gets the driver from the BOM that spring-boot-dependencies imports. Since 4.18.0 the driver has bug fixes and opt-in features; its shaded Guava is now org.apache.cassandra:java-driver-guava-shaded, and it uses the lz4-java of at.yawk.lz4, which the root pom already manages.
Four classes of dao-api used the spotbugs @NonNull through the driver; they use the jspecify @NonNull instead, so dao-api declares jspecify and the root pom manages its version, 1.0.1, the one Guava declares. The driver's classes carry the jcip annotations, so dao-api declares jcip-annotations provided to compile against them.
3 weeks ago
Dmytro Skarzhynets
71c2671550
refactor: use the jakarta.annotation lifecycle annotations in DefaultTbEdgeConsumerService
It was the last class of the CE code to use @PostConstruct and @PreDestroy of javax.annotation-api, which is licensed CDDL-1.0 or GPL-2.0 with the Classpath exception. Spring handles the jakarta.annotation ones the same way, as in the rest of the code.
3 weeks ago
Dmytro Skarzhynets
12ae6d7efd
build: use upstream LangChain4j 1.16.1 instead of the 1.16.1-TB1 fork
The fork was adopted for the frequency and presence penalties of the Google GenAI models, which upstream 1.16.1 has. Of the fork's remaining changes, the modules ThingsBoard uses carry only three: AiServices features and an HTTP PATCH method that ThingsBoard does not reach, and a second setter for the content of Mistral AI messages. That setter conflicts with the one upstream added for the same purpose, so Jackson rejects every Mistral AI chat response with "Conflicting setter definitions for property content". Upstream parses both plain and reasoning responses.
3 weeks ago
Dmytro Skarzhynets
5be804ec86
build: remove ngrx-store-freeze, whose check NgRx runtime checks already make
core.state.ts imported ngrx-store-freeze statically, so the production bundle contained it and deep-freeze-strict, although only development builds used it and package.json lists it as a development dependency. The runtime checks strictStateImmutability and strictActionImmutability of the store, set in core.module.ts, freeze the state and the actions in development mode already.
3 weeks ago
Viacheslav Klimov
ebb0d572a3
Merge remote-tracking branch 'internal/hotfix-4.2' into internal-hotfix-4.3
3 weeks ago
Viacheslav Klimov
b97b0349d8
Merge remote-tracking branch 'origin/lts-4.3' into internal-hotfix-4.3
3 weeks ago
Viacheslav Klimov
831a535fc1
Merge pull request #16304 from zzzeebra/fix/sysadmin-audit-read-npe
Fixed attributes read without scope hanging for sysadmin
3 weeks ago
Viacheslav Klimov
5b7efdaab3
Merge pull request #51 from thingsboard/fix/entity-view-owner-validation-lts-4.3
Made entity views accept only a source entity of the same tenant that the saving user can read
3 weeks ago
Viacheslav Klimov
737343d4d5
Merge pull request #23 from thingsboard/fix/entity-view-owner-validation-lts-4.2
Made entity views accept only a source entity of the same tenant that the saving user can read
3 weeks ago
Viacheslav Klimov
278b45a1b7
Merge branch 'internal-hotfix-4.2' into internal-hotfix-4.3
3 weeks ago
Viacheslav Klimov
796e4c2720
Merge remote-tracking branch 'origin/lts-4.3' into internal-hotfix-4.3
3 weeks ago
Viacheslav Klimov
b9036ae660
Merge remote-tracking branch 'origin/lts-4.2' into internal-hotfix-4.2
3 weeks ago
Viacheslav Klimov
94b1d7b472
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
3 weeks ago
Viacheslav Klimov
303f0c983a
Merge pull request #52 from thingsboard/fix/calculated-field-reference-check-lts-4.3
Fixed checking of entities referenced by calculated field arguments when saving a calculated field
3 weeks ago
Viacheslav Klimov
bd024e1b56
Merge pull request #37 from thingsboard/fix/calculated-field-reference-check-lts-4.2
Fixed checking of entities referenced by calculated field arguments when saving a calculated field
3 weeks ago
Oleksandra Matviienko
8e778d2ce9
Merge remote-tracking branch 'upstream/lts-4.3' into fix/sysadmin-audit-read-npe
# Conflicts:
# application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java
3 weeks ago
Viacheslav Klimov
bd4a2ca5d4
Merge pull request #16656 from AndriiLandiak/fix/flaky-resources-shortage-dedup-test-lts-4.3
Fix flaky resource-shortage tests in NotificationRuleApiTest
3 weeks ago
Viacheslav Klimov
2650219e39
Merge pull request #16655 from AndriiLandiak/fix/flaky-resources-shortage-dedup-test-lts-4.2
Fix flaky resource-shortage tests in NotificationRuleApiTest
3 weeks ago
Viacheslav Klimov
bba368443d
Merge branch 'fix/entity-view-owner-validation-lts-4.2' into fix/entity-view-owner-validation-lts-4.3
3 weeks ago
Viacheslav Klimov
a847de9f25
Fetch the stored entity view by id only on a rename
3 weeks ago
Andrii Landiak
8c7510106e
Merge branch 'fix/flaky-resources-shortage-dedup-test-lts-4.2' into fix/flaky-resources-shortage-dedup-test-lts-4.3
3 weeks ago
Andrii Landiak
fe38f31df1
Autowire the concrete rules cache in the notification base test
3 weeks ago
Viacheslav Klimov
8eeda1646e
Merge branch 'fix/calculated-field-reference-check-lts-4.2' into fix/calculated-field-reference-check-lts-4.3
3 weeks ago
Viacheslav Klimov
a3bec144c5
Look up referenced entities of calculated fields through the DAO registry
3 weeks ago
Andrii Landiak
9da08a198c
Merge branch 'fix/flaky-resources-shortage-dedup-test-lts-4.2' into fix/flaky-resources-shortage-dedup-test-lts-4.3
# Conflicts:
# application/src/test/java/org/thingsboard/server/service/notification/NotificationRuleApiTest.java
3 weeks ago
Andrii Landiak
8d64a3b7cd
Move new notification test lines next to lines shared by all branches
3 weeks ago
Viacheslav Klimov
d36e4d2d9f
Merge pull request #16182 from irynamatveieva/lts-4-3-fix/cf-ts-rolling-restore
Fixed NPE in propagation CF with rolling argument after restart
3 weeks ago
Andrii Landiak
a792a5b7c3
Merge branch 'fix/flaky-resources-shortage-dedup-test-lts-4.2' into fix/flaky-resources-shortage-dedup-test-lts-4.3
# Conflicts:
# application/src/test/java/org/thingsboard/server/service/notification/NotificationRuleApiTest.java
3 weeks ago
Viacheslav Klimov
31c604068b
Merge branch 'internal-hotfix-4.2' into internal-hotfix-4.3
3 weeks ago
Viacheslav Klimov
55ab9e49ae
Merge remote-tracking branch 'origin/lts-4.3' into internal-hotfix-4.3
3 weeks ago
Viacheslav Klimov
1185824710
Merge remote-tracking branch 'origin/lts-4.2' into internal-hotfix-4.2
3 weeks ago
Viacheslav Klimov
570a9f2f85
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
3 weeks ago
Andrii Landiak
71b9165698
Fix flaky resource-shortage tests in NotificationRuleApiTest
3 weeks ago
Viacheslav Klimov
15f45d05ac
Merge pull request #16646 from thingsboard/fix/alarm-subscription-leak-lts-4.2
Stopped alarm and entity subscriptions from outliving their websocket session
3 weeks ago
Viacheslav Klimov
415af1a419
Merge branch 'fix/calculated-field-reference-check-lts-4.2' into fix/calculated-field-reference-check-lts-4.3
3 weeks ago
Viacheslav Klimov
a9443053fb
Merge branch 'fix/entity-view-owner-validation-lts-4.2' into fix/entity-view-owner-validation-lts-4.3
3 weeks ago
Sergey Matvienko
5b487284f0
Fix license header in TbAbstractSubCtxTest
3 weeks ago
Viacheslav Klimov
91621fb0fb
Merge branch 'internal-hotfix-4.2' into internal-hotfix-4.3
3 weeks ago
Viacheslav Klimov
75d788ebea
Merge remote-tracking branch 'origin/lts-4.3' into internal-hotfix-4.3
3 weeks ago
Viacheslav Klimov
0690fec5f5
Merge remote-tracking branch 'origin/lts-4.2' into internal-hotfix-4.2
3 weeks ago
Viacheslav Klimov
5a2118ff51
Version set to 4.3.1.9-SNAPSHOT
3 weeks ago
Viacheslav Klimov
036ee88eff
Merge remote-tracking branch 'origin/lts-4.2' into bump/lts-4.3
# Conflicts:
# application/pom.xml
# common/actor/pom.xml
# common/cache/pom.xml
# common/cluster-api/pom.xml
# common/coap-server/pom.xml
# common/dao-api/pom.xml
# common/data/pom.xml
# common/discovery-api/pom.xml
# common/edge-api/pom.xml
# common/edge-api/src/main/proto/edge.proto
# common/edqs/pom.xml
# common/message/pom.xml
# common/pom.xml
# common/proto/pom.xml
# common/queue/pom.xml
# common/script/pom.xml
# common/script/remote-js-client/pom.xml
# common/script/script-api/pom.xml
# common/stats/pom.xml
# common/transport/coap/pom.xml
# common/transport/http/pom.xml
# common/transport/lwm2m/pom.xml
# common/transport/mqtt/pom.xml
# common/transport/pom.xml
# common/transport/snmp/pom.xml
# common/transport/transport-api/pom.xml
# common/util/pom.xml
# common/version-control/pom.xml
# dao/pom.xml
# edqs/pom.xml
# monitoring/pom.xml
# msa/black-box-tests/pom.xml
# msa/edqs/pom.xml
# msa/js-executor/package.json
# msa/js-executor/pom.xml
# msa/monitoring/pom.xml
# msa/pom.xml
# msa/tb-node/pom.xml
# msa/tb/pom.xml
# msa/transport/coap/pom.xml
# msa/transport/http/pom.xml
# msa/transport/lwm2m/pom.xml
# msa/transport/mqtt/pom.xml
# msa/transport/pom.xml
# msa/transport/snmp/pom.xml
# msa/vc-executor-docker/pom.xml
# msa/vc-executor/pom.xml
# msa/web-ui/package.json
# msa/web-ui/pom.xml
# netty-mqtt/pom.xml
# pom.xml
# rest-client/pom.xml
# rule-engine/pom.xml
# rule-engine/rule-engine-api/pom.xml
# rule-engine/rule-engine-components/pom.xml
# tools/pom.xml
# transport/coap/pom.xml
# transport/http/pom.xml
# transport/lwm2m/pom.xml
# transport/mqtt/pom.xml
# transport/pom.xml
# transport/snmp/pom.xml
# ui-ngx/package.json
# ui-ngx/pom.xml
3 weeks ago
Viacheslav Klimov
ae46a3631c
Version set to 4.2.2.9-SNAPSHOT
3 weeks ago
Viacheslav Klimov
d1aabc13dd
Merge pull request #50 from thingsboard/fix/test-compilation-hotfix-4.3
Fixed test compilation on hotfix-4.3
3 weeks ago
Viacheslav Klimov
7492145709
Import DataValidationException from its 4.3 package in AdminSettingsDataValidatorTest
3 weeks ago