4216 Commits

Author SHA1 Message Date
YevhenBondarenko
dfd417b530 merge with master 2024-08-02 11:24:33 +02:00
Viacheslav Klimov
5443897172
Merge pull request #11334 from AndriiLandiak/optimize-imports
Optimize imports
2024-08-02 11:22:12 +03:00
Kulikov
297e3941a7
TBEL: added parseBinaryArrayToInt (#11329)
* tbel: added new parseBinaryArrayToInt
fix bug: parseLongToBinaryArray:
Writes the bit value to the appropriate location in the bins array, starting at the end of the array, to ensure proper alignment (highest bit to low end).

* tbel: refactoring parseBinaryArrayToInt_Test.

* tbel: refactoring arseByteToBinaryArray add Endian

* tbel: added new hexToBase64
2024-08-02 11:11:26 +03:00
Andrii Landiak
0c0c2fc5fc Merge remote-tracking branch 'upstream/master' into optimize-imports 2024-08-01 12:52:17 +03:00
Andrii Landiak
5ca6ad03e3 CE: optimize java imports 2024-08-01 11:12:10 +03:00
irynamatveieva
649a8b65fd fixed conflicts 2024-07-31 15:02:41 +03:00
Kulikov
ea235b7769
TBEL: added padStart, padEnd, parseByteToBinaryArray, parseBytesToBinaryArray, parseLongToBinaryArray (#11323)
* tbel: added String.prototype.padStart() and String.prototype.padEnd() ;

* tbel: added binary String format

* tbel: added parseByteToBinaryArray, parseBytesToBinaryArray, parseLongToBinaryArray
2024-07-31 13:40:53 +03:00
Viacheslav Klimov
9d700b381a
Merge pull request #11224 from thingsboard/hotfix/3.7
Hotfix/3.7
2024-07-30 14:09:10 +03:00
Daria Shevchenko
15cb12e48f
HTTP API: validate payload size (#11265)
* added check for large ToDeviceRpcResponseMsg, ToServerRpcRequestMsg messages on default transport level

* moved http request size check to controller

* minor refactoring

* test fixed

* updated error messages, updated url patterns to single one, added yml property to http transport

* updated swagger docs, added to rpc filter "/api/rpc/**" and "/api/plugins/rpc/**" endpoints

* remove redundant set

* fixed large request check for DeviceApiController in microservice architecture

* renamed yml parameter and filter
2024-07-30 14:04:53 +03:00
Kulikov
b48474861e
TBEL: added parseBytesIntToFloat, parseBytesLongToDouble, byteArrayToExecutionArrayList (#11296)
* tbel: added  parseBytesIntLongToFloat

* tbel: added  to doubleToHex_Test() String valueHex = "0x000000000000000A";

* tbel: added  byteArray to ExecutionArrayList;
2024-07-30 11:20:30 +03:00
nick
7fcb82cea9 tbel: added new version tbel and new test hexToBytes 2024-07-25 13:22:21 +03:00
YevhenBondarenko
977da8bc8a fixed tests 2024-07-25 12:01:42 +02:00
YevhenBondarenko
358925cffe added version for relations 2024-07-24 13:35:29 +02:00
nick
c347c067e7 tbel: added some parseBytesTo Int/Long/Float/Double methods with length 2024-07-23 16:28:17 +03:00
nick
2f838c4fbf tbel: added some double methods 2024-07-23 12:37:48 +03:00
nick
7e0a9bbebf tbel: added some float methods 2024-07-22 17:39:46 +03:00
ViacheslavKlimov
cf2c922f1a Merge remote-tracking branch 'origin/master' into feature/attr_tskv_version 2024-07-17 13:46:35 +03:00
Andrii Landiak
1720803eba Improvement after review: reuse getAndPutInTransaction, write test 2024-07-16 12:46:05 +03:00
ViacheslavKlimov
c15f34d91a Merge remote-tracking branch 'origin/master' into feature/attr_tskv_version 2024-07-16 10:31:01 +03:00
ViacheslavKlimov
31d2d14f60 Cache transaction support for versioned entities 2024-07-16 10:29:58 +03:00
Andrii Landiak
9fc6929a77 Use cacheEnabled to disable caching in case cache.specs field 'maxSize' is 0 2024-07-15 15:44:34 +03:00
Sergey Matvienko
097429b816
Merge pull request #11199 from thingsboard/hotfix/3.7
Hotfix/3.7
2024-07-11 18:47:36 +02:00
Sergey Matvienko
094f840f11 JpaAlarmDao debug log added 2024-07-11 14:26:59 +02:00
Kulikov
99d4eb0d9c
TBEL: new methods (#11129)
* tbel: number to string by radix

* Revert "tbel: number to string by radix"

This reverts commit 0fd285d76b5f25002f84768ab490e750539509d0.

* tbel: number to string by radix and new Error

* tbel: number to Hexadecimal must be even-length.

* tbel: add tests isBinary...isHexadecimal

* tbel: Comments 1

* tbel: Comments 2

* tbel: Comments 3
2024-07-10 14:31:11 +03:00
ViacheslavKlimov
68c8bf8db7 Merge remote-tracking branch 'origin/hotfix/3.7' 2024-07-10 10:48:49 +03:00
YevhenBondarenko
9515bdea1d updated LUA SHA 2024-07-09 17:33:00 +02:00
YevhenBondarenko
2336cba89a version in proto should be optional 2024-07-09 16:50:07 +02:00
YevhenBondarenko
272e3e8d6a merge with feature/attr_tskv_version 2024-07-09 16:02:52 +02:00
YevhenBondarenko
d6367c9680 added version to timeseries and attribute protos 2024-07-09 15:19:01 +02:00
ViacheslavKlimov
b894cbc5d2 Fix Caffeine's getAndPutInTransaction; add compute method to VersionedTbCache 2024-07-09 14:13:14 +03:00
ViacheslavKlimov
cf821515fb Refactoring for versioned caches 2024-07-09 13:17:25 +03:00
Viacheslav Klimov
94b670d72e
Merge pull request #9724 from thingsboard/feature/notifications-widget
Notifications widget
2024-07-09 11:40:25 +03:00
YevhenBondarenko
77a420b6d6 fixed versioned caffeine cache 2024-07-04 19:02:19 +02:00
Viacheslav Klimov
9b11b92ba5
Merge pull request #11151 from YevhenBondarenko/hotfix/resource-notifications
send resourse change/delete events only for lwm2m
2024-07-04 16:52:14 +03:00
ViacheslavKlimov
88af44870e Check for queueName emptiness on partition resolve 2024-07-04 14:22:32 +03:00
YevhenBondarenko
6c00802d81 removed redundant check 2024-07-04 12:53:21 +02:00
YevhenBondarenko
1d79f1e213 send resourse change/delete events only for lwm2m 2024-07-04 11:42:15 +02:00
Andrii Landiak
7a2500910b Fix env variable 2024-07-04 12:03:42 +03:00
YevhenBondarenko
0b51baf38d LUA script improvements and used versioned cache for latest ts 2024-07-03 16:03:19 +02:00
Andrii Landiak
6f5122386b Introduce approach to use proxy for grpc client 2024-07-03 16:34:25 +03:00
YevhenBondarenko
6c417f209f Merge remote-tracking branch 'smatvienko-tb/feature/latest-ts-redis-cache-aside-dao' into feature/attr_tskv_version 2024-07-02 12:56:33 +02:00
YevhenBondarenko
6162060e88 fixed insert result and used expiration 2024-07-01 12:24:27 +02:00
YevhenBondarenko
118407d982 implemented versioned cache 2024-06-26 15:51:32 +02:00
ViacheslavKlimov
c4155fb706 Fix timeout for repository settings api 2024-06-21 14:48:35 +03:00
ViacheslavKlimov
656e8458ad Tests for version control; local-only repositories; refactoring 2024-06-21 14:11:20 +03:00
Igor Kulikov
468c007882 Version set to 3.7.1-SNAPSHOT 2024-06-20 15:53:41 +03:00
ViacheslavKlimov
d9e90ea663 Refactoring for notification types filter 2024-06-20 11:33:28 +03:00
ViacheslavKlimov
186ab6d50c Merge remote-tracking branch 'origin/master' into feature/notifications-widget 2024-06-20 11:12:20 +03:00
dashevchenko
3ea1e5706e updated TenantProfile swagger example 2024-06-14 17:42:54 +03:00
YevhenBondarenko
e2be5c6492 return version instead of key for attributes 2024-06-12 12:23:19 +02:00