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
f0bfea12c0
moved geoutils to script api
2025-03-20 16:06:56 +02:00
IrynaMatveieva
e2fdc5a4ba
added methods for check if point in polygon to tbel
2025-03-20 14:13:43 +02:00
Andrew Shvayka
9f4a0f615c
Merge pull request #12870 from irynamatveieva/calculated-fields
...
CF: improvements
2025-03-11 15:07:10 +02:00
IrynaMatveieva
9b870126f1
added util method
2025-03-10 15:27:59 +02:00
YevhenBondarenko
a22376dd55
merge with master
2025-03-09 17:57:42 +01:00
Andrii Shvaika
ee3d405ed8
Adding ctx as first argument in CF
2025-03-07 11:44:49 +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
Andrii Shvaika
0ba3352a04
Merge branch 'master' into feature/cf-merge-function
2025-03-03 15:49:57 +02:00
Andrii Shvaika
ac52098207
CF: merge function draft
2025-02-28 17:46:25 +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
Andrii Shvaika
62da129d6b
Review comments fixed
2025-02-27 16:46:55 +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
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
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
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
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