Viacheslav Klimov
d494a8883a
Merge pull request #13735 from thingsboard/rc
...
rc
2025-07-18 11:57:46 +03:00
nickAS21
5f6cc76d11
tbel: reName createSetTb to newSet and to toSet
2025-07-16 17:31:59 +03:00
nick
baf68bbbfc
tbel: refactoring
2025-07-11 16:39:03 +03:00
nick
edba3517da
tbel: add ExecutionArrayList with methods: add, addAll, remove, clear, sort, toSorted, toList
2025-07-11 14:37:02 +03:00
Dmytro Skarzhynets
a0e8b01429
Add tests for compilation errors when evaluating scripts
2025-07-08 15:32:24 +03:00
Andrew Shvayka
f7572a0289
Merge pull request #13382 from thingsboard/tbel_isMap_isList
...
tbel_Add utility methods to check for Map, List, and Array types
2025-05-14 15:19:55 +03:00
nickAS21
758ed0f189
tbel: Add utility methods to check for Map, List, and Array types in TbUtils
2025-05-14 13:07:07 +03:00
Sergey Matvienko
2a50e2eaa5
AbstractScriptInvokeService: validate script refactored
2025-04-22 16:38:52 +02:00
Sergey Matvienko
26d949d22f
invalidate async js scripts
2025-04-16 16:18:21 +02:00
IrynaMatveieva
56598a5247
added tests and moved to common util
2025-03-21 13:17:03 +02:00
IrynaMatveieva
9b870126f1
added util method
2025-03-10 15:27:59 +02:00
IrynaMatveieva
3365d7f34e
added option to round result for simple type
2025-03-05 10:03:46 +02:00
Andrii Shvaika
933d77427c
Merge function
2025-03-04 13:13:09 +02:00
Andrii Shvaika
6265ff45a8
merge function draft
2025-03-04 11:54:28 +02:00
Andrew Shvayka
441940c497
Merge pull request #12374 from thingsboard/feature/calculated-fields
...
Calculated Fields
2025-02-28 16:12:10 +02:00
nick
b10d0818c5
Merge remote-tracking branch 'origin/master' into fix_bug/tbel/isDEcimalWithE
2025-02-28 07:56:23 +02:00
Andrew Shvayka
06b5706d87
Merge pull request #12739 from volodymyr-babak/tbel-add-function
...
TbDate - added functions to add years, months, days, etc.
2025-02-27 18:14:47 +02:00
mpetrov
0b44abe121
JS func update
2025-02-26 18:33:26 +02:00
Andrew Shvayka
845affb428
Merge pull request #12715 from irynamatveieva/calculated-fields
...
Calculated fields improvements
2025-02-26 16:00:10 +02:00
IrynaMatveieva
8c86f7fc12
added tests for rolling methods
2025-02-26 15:48:12 +02:00
Igor Kulikov
5cf26d4851
Update license header
2025-02-25 09:39:16 +02:00
Volodymyr Babak
3c137dec77
TbDate - added functions to add years, months, days, etc.
2025-02-24 16:19:58 +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
nick
6581e48055
tbel: fix bug validate decimal with <+>
2024-10-29 12:26:12 +02: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
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
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
5f7f57cb63
tbel: encodeURI() decodeURI() == mdn
2024-04-16 17:33:12 +03:00
YevhenBondarenko
60be820915
merge with master
2024-01-15 18:51:00 +01:00
Igor Kulikov
c5a72ed8df
Update license header to 2024 year.
2024-01-09 10:46:16 +02:00
nick
c636ea2c0e
fix_bug: TbDateTests -> JDK ver
2023-12-28 14:51:45 +02:00
YevhenBondarenko
1fc704bae1
test fixes and minor refactoring
2023-12-26 11:08:06 +01:00
YevhenBondarenko
feb44656f1
merge with master
2023-12-26 00:58:31 +01:00
nick
3bf585ec80
tbel fix_bug tbDate delete String... options
2023-12-09 09:30:31 +02:00
nick
fbfecf3410
tbel fix_bug tbDate tests Constructor class
2023-12-07 19:40:02 +02:00
nick
a12c9e11f8
tbel fix_bug tbDate test
2023-12-07 15:05:45 +02:00
nick
272cc27257
tbel fix_bug tbDate parameters date as String with patter + locale
2023-12-06 15:10:26 +02:00
nick
a246b3c4a7
tbel fix_bug tbDate parameters Locale and TZ as String
2023-12-06 11:27:05 +02:00
nick
39b0959c77
tbel fix_bug tbDate from String without TZ RFC_1123
2023-12-06 08:10:58 +02:00
nick
91552b18b8
tbel fix_bug tbDate from String without TZ add test
2023-12-05 22:27:59 +02:00