Viacheslav Klimov
412fbefdbb
Add Cassandra result set byte-size limit to prevent OOM on large queries
Adds page-level byte-size tracking in TbResultSet.allRows() using
ExecutionInfo.getResponseSizeInBytes() to fail early when accumulated
result set size exceeds the configurable limit (default 50MB).
Also fixes pre-existing bugs where onFailure callbacks in
CassandraBaseTimeseriesDao only logged errors but never completed
the future, causing callers to hang indefinitely on failures.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4 months ago
Viacheslav Klimov
1a7597ecd8
Merge pull request #15047 from thingsboard/fix/flaky-rate-limits-interval-refill-test
Fix flaky TbRateLimitsTest.testRateLimits_intervalRefill test
4 months ago
Viacheslav Klimov
a887b655f8
Fix flaky TbRateLimitsTest timing tolerance
Increased timing tolerance gap from 500ms to 1000ms in both
testRateLimitWithGreedyRefill and testRateLimitWithIntervalRefill
to prevent ConditionTimeoutException caused by scheduling jitter.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4 months ago
Viacheslav Klimov
132b6a1e3f
Version changed to 4.2.2
4 months ago
Viacheslav Klimov
8369d9a07e
Merge pull request #14995 from MazurenkoNick/set-canonical-edge-version-42-value
Set next 4.2 EdgeVersion proto value to canonical one
4 months ago
Viacheslav Klimov
114ba069d6
Merge pull request #14760 from thingsboard/fiz-bug-sparkplugl-Metrics-with-empty-string-BIRTH-not-processed
Fixed Sparkplug BIRTH message validation for metrics with empty string values
4 months ago
Vladyslav_Prykhodko
6f92f5737d
UI: Fixed adaptive in mail server configuration
4 months ago
Vladyslav_Prykhodko
81f1a84e95
UI: Fixed extension panel style after migration to Angular 20
4 months ago
Vladyslav_Prykhodko
95d07fc626
UI: Fixed minor bug after migration to Angular 20
4 months ago
Vladyslav_Prykhodko
685bddbf8d
UI: Fixed ngx-hm-carousel after migration to Angular 20
4 months ago
Maksym Tsymbarov
6380a5d9c7
Fixed Popover placement for Marker, Polygon and Circle overlay config
4 months ago
Maksym Tsymbarov
4e01efd64c
Fixed Redirect Url encoding
4 months ago
Viacheslav Klimov
b7da31ca99
Merge pull request #14950 from thingsboard/lwm2m_fix_bug_testFirmwareUpdateByObject5_Ok
lwm2m - fix bug tests testFirmwareUpdateByObject5_Ok
4 months ago
Viacheslav Klimov
ad45cf9ce0
Merge pull request #14958 from dashevchenko/ymlFileFix
Fixed yml files
4 months ago
Viacheslav Klimov
31ed9b30cc
Merge pull request #14994 from dskarzh/chore/gitignore-claude-dir
chore: add .claude/ to .gitignore
4 months ago
Nikita Mazurenko
20afefc33c
Set next 4.2 EdgeVersion proto value to canonical one
4 months ago
Dmytro Skarzhynets
ceb407f6c1
chore: add .claude/ to .gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4 months ago
Viacheslav Klimov
726e53d1ac
Merge pull request #14979 from dskarzh/fix/flaky-rest-api-call-node-tests
fix: resolve race condition in TbRestApiCallNodeTest
4 months ago
Viacheslav Klimov
f1ea87fa6e
Merge pull request #14966 from smatvienko-tb/test-fast-update
Test fast instruction refactor
4 months ago
Dmytro Skarzhynets
2264a40285
fix: resolve race condition in TbRestApiCallNodeTest
The deleteRequestWithBody and deleteRequestWithoutBody tests used
time-based synchronization (Thread.sleep) to wait for the async
WebClient response callback. Under CI load, the callback could fire
after the verify() check, causing flaky failures.
Replace the sleep-based approach with Mockito's timeout() on verify,
which properly polls for the async interaction.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4 months ago
Viacheslav Klimov
244a4d093c
Merge pull request #14953 from dskarzh/fix/rest-authentication-client-ip
fix: respect forward_headers_strategy for client IP in audit logs
4 months ago
Igor Kulikov
55fb4cfd9f
Update echarts and ngx-flowchart versions
4 months ago
Viacheslav Klimov
3d05fe441c
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.2
4 months ago
Viacheslav Klimov
b244e14ef7
Version set to 4.2.1.3-SNAPSHOT
4 months ago
Igor Kulikov
21801705fc
Style fixes
4 months ago
Sergey Matvienko
aaf4f35208
mvn test with -Dtest ignores -Dsurefire.excludes so the exclusions should be inlined like -Dtest='!**/nosql/**,org.thingsboard.server.controller.**'
4 months ago
Igor Kulikov
1b899d2d86
Merge pull request #14935 from thingsboard/feature/lts-4.2-angular-20
Angular 20 migration (CE LTS 4.2)
4 months ago
Igor Kulikov
de1950e6e2
Fix angular core 20 to 18 patch
4 months ago
Viacheslav Klimov
5d29bc9a6c
Merge pull request #14952 from MazurenkoNick/test-edge-latest-version-42
Add test to check latest edge version & update edge latest version
4 months ago
dashevchenko
609703e48d
fixed yml parameter
4 months ago
Nikita Mazurenko
c7c20ae9fd
Handle EdgeVersion comparison of non-numeric values
4 months ago
Igor Kulikov
4187da12dc
Fix old extensions loading: Force standalone false for componenents declared inside module.
4 months ago
Nikita Mazurenko
f82f4017fd
Fix version comparison in EdgeVersionUtils
4 months ago
Nikita Mazurenko
22d6225ad6
Add EdgeVersionComparator and related test
4 months ago
nickAS21
73f5f4ccab
Merge branch 'lts-4.2' into lwm2m_fix_bug_testFirmwareUpdateByObject5_Ok
4 months ago
Nikita Mazurenko
5058379186
Fix EdgeVersion for CE version
4 months ago
Dmytro Skarzhynets
74ef364f33
fix: respect forward_headers_strategy for client IP in audit logs
Remove redundant manual X-Forwarded-For header parsing in
RestAuthenticationDetails. The getClientIP() method duplicated
functionality already provided by Spring's ForwardedHeaderFilter
when server.forward_headers_strategy is configured.
Now uses request.getRemoteAddr() directly, which respects the
configured forward_headers_strategy setting (default: framework).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
4 months ago
Nikita Mazurenko
25e6464837
Set EdgeVersion V_4_2_1_2 = 13 in edge.proto
4 months ago
Nikita Mazurenko
10aa63f78f
Add license format in EdgeLatestVersionTest
4 months ago
Nikita Mazurenko
3d7be72692
Add error message to EdgeLatestVersionTest
4 months ago
Nikita Mazurenko
d5fe1db7d4
Add test to verify that enum proto EdgeVersion is synchronized with maven project.version
4 months ago
Viacheslav Klimov
aca3d6d508
Skip latest Docker tag push for 4.2.1.2
4 months ago
nickAS21
168de4620a
lwm2m - fix bug tests testFirmwareUpdateByObject5_Ok
4 months ago
Paolo Cristiani
2fc7ebecd4
Allow hide dashboard toolbar option for public dashboards
(cherry picked from commit c93ce94b9e )
4 months ago
Viacheslav Klimov
86e7443999
Merge branch 'lts-4.2' into fiz-bug-sparkplugl-Metrics-with-empty-string-BIRTH-not-processed
4 months ago
Viacheslav Klimov
2747855e54
Merge pull request #14938 from dskarzh/refactor/remove-unreliable-performance-tests
[LTS 4.2] refactor: remove unreliable performance tests
4 months ago
Viacheslav Klimov
9084c1d3c5
Merge pull request #14937 from thingsboard/fix/upgrade-4.2
Upgrade improvements for 4.2
4 months ago
Igor Kulikov
0fba587285
Fix ace diff
4 months ago
Igor Kulikov
d9c02979d9
Extensions: Angular 20 -> 18 backward compatibility patches.
4 months ago
Dmytro Skarzhynets
5af56899d0
refactor: remove unreliable performance tests
Remove environment-dependent performance tests that use arbitrary
time thresholds. These tests are flaky in CI and don't provide
meaningful assertions.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
4 months ago