236 Commits

Author SHA1 Message Date
IrynaMatveieva
8c86f7fc12 added tests for rolling methods 2025-02-26 15:48:12 +02:00
IrynaMatveieva
72f26d9fe2 fixed functions 2025-02-26 15:22:42 +02:00
ViacheslavKlimov
44439584f4 Merge branch 'master' of github.com:thingsboard/thingsboard into feature/calculated-fields 2025-02-25 11:49:56 +02:00
IrynaMatveieva
6f1dd5a2d6 added new methods for working with rolling 2025-02-25 10:58:26 +02:00
Igor Kulikov
5cf26d4851 Update license header 2025-02-25 09:39:16 +02:00
Igor Kulikov
b7750bc342 Version set to 4.0.0-SNAPSHOT 2025-02-25 09:28:44 +02:00
Igor Kulikov
6a0fff0737 Version set to 3.9.1-RC 2025-02-25 09:27:01 +02:00
Volodymyr Babak
3c137dec77 TbDate - added functions to add years, months, days, etc. 2025-02-24 16:19:58 +02:00
IrynaMatveieva
e018282d04 minor fixes 2025-02-19 17:51:48 +02:00
IrynaMatveieva
6cf314eaa0 added NaN value when is not number in rolling 2025-02-19 08:35:24 +02:00
IrynaMatveieva
a0331655d1 fixed test script 2025-02-18 11:08:09 +02:00
IrynaMatveieva
1e46100cd2 added endTs and startTs to rolling argument 2025-02-17 11:52:40 +02:00
Andrii Shvaika
d7412edceb Refactoring of the arguments 2025-02-12 16:40:58 +02:00
Andrii Shvaika
4048afecc3 WIP: arguments 2025-02-11 19:10:55 +02:00
Andrii Shvaika
f0a71aa3bd Merge branch 'master' of github.com:thingsboard/thingsboard into feature/calculated-fields 2025-01-21 15:24:49 +02:00
nick
3908105ac5 fix_bug: tbel, in the isDecimal method. The mantissa format includes numbers written in exponential form 2025-01-13 13:23:41 +02:00
nick
d961b89f31 tbel: add hexToBytesArray, base64ToBytesList 2025-01-08 16:17:14 +02:00
IrynaMatveieva
f93ea868bf merge with master 2024-12-31 10:48:17 +02:00
YevhenBondarenko
0cc55ab989 added tbel metrics, refactored JS stats 2024-12-10 12:26:44 +01:00
Igor Kulikov
77d2826f96 Version set to 4.0.0-SNAPSHOT 2024-12-04 16:53:19 +02:00
Igor Kulikov
190bba72f9 Temp Version set to 3.9.0-RC 2024-12-04 16:52:14 +02:00
Igor Kulikov
8ac0468edd Version set to 4.0.0-SNAPSHOT 2024-12-04 16:51:03 +02:00
Dmytro Skarzhynets
68aaf3c918 Merge branch 'master' into safe-scheduler
# Conflicts:
#	common/util/src/main/java/org/thingsboard/common/util/ThingsBoardExecutors.java
2024-12-02 17:43:07 +02:00
thingsboard017
82638895bb Increased timeout execution for TBEL script compiler 2024-11-29 13:59:52 +02:00
IrynaMatveieva
c75603f57c added implementation for script type 2024-11-21 15:45:39 +02:00
nick
6581e48055 tbel: fix bug validate decimal with <+> 2024-10-29 12:26:12 +02:00
Igor Kulikov
fdbe59c610 Version set to 3.9.0-SNAPSHOT 2024-10-14 18:32:35 +03:00
Igor Kulikov
d11f866856 Version set to 3.8.1-RC 2024-10-14 18:27:21 +03:00
Igor Kulikov
b4124f7c4c Merge with RC 2024-09-26 11:10:56 +03:00
Igor Kulikov
4d705f26fd Version set to 3.8.0-RC 2024-09-26 11:09:26 +03:00
Igor Kulikov
3dadc34b5b Version set to 3.9.0-SNAPSHOT 2024-09-26 10:38:27 +03:00
Igor Kulikov
025fb1ca8c Version set to 3.8.0 2024-09-26 09:46:57 +03:00
Dmytro Skarzhynets
bbe328d158 Implemented safe scheduled thread pool 2024-09-18 19:46:17 +03:00
nick
5699c49c53 tbel: refactoring raiseError 2024-09-05 18:49:53 +03:00
nick
03af2564eb tbel: refactoring tbUtils with docs #2 2024-09-03 14:22:29 +03:00
nick
b86a9d3802 tbel: refactoring tbUtils with docs 2024-09-02 21:44:23 +03:00
Andrii Landiak
c6ee0bff19
Add edgeIdsCache to decrease number of calls to db for findRelatedEdgeByEntityId 2024-08-27 12:41:39 +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
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
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
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
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
Igor Kulikov
468c007882 Version set to 3.7.1-SNAPSHOT 2024-06-20 15:53:41 +03:00
Oleksandra Matviienko
63df92e995 JUnit5 migration in common. Junit-platform.properties and logback-test.xml where added to java resource directories if needed.
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-26 23:55:17 +02:00
nick
4e9d03fce4 tbel: encodeURI() decodeURI() comments 2 2024-04-17 13:09:54 +03:00
nick
332c676317 tbel: encodeURI() decodeURI() comments 1 2024-04-17 11:50:51 +03:00
nick
10aa7ae795 tbel: encodeURI() decodeURI() == mdn 3 2024-04-17 11:12:43 +03:00