7627 Commits

Author SHA1 Message Date
nick
934287a380 fix bug: lwm2m tests dif Port Comments 1 2024-04-11 12:25:44 +03:00
rusikv
e0b881c08f Merge remote-tracking branch 'engix-ltd/add_cell_action' into feature/cell-click-action 2024-04-11 12:10:15 +03:00
ViacheslavKlimov
49a76cad5a Housekeeper: disabled task types; refactoring 2024-04-11 11:53:32 +03:00
Dmytro Skarzhynets
5c7ad51641 Replace usages of deprecated @Schema(required = ...) with @Schema(requiredMode = ...) 2024-04-10 17:17:24 +03:00
nick
d876fc8bfe fix bug: lwm2m tests dif Port 3 2024-04-10 17:14:45 +03:00
nick
d2d68faee7 fix bug: lwm2m tests dif Port 2024-04-10 16:51:51 +03:00
Igor Kulikov
77d2552d6d Merge branch 'master' into feature/state-chart 2024-04-10 16:24:08 +03:00
Igor Kulikov
dde2a55d3d UI: Implement new version of State chart widget based on Echarts. 2024-04-10 16:23:22 +03:00
Viacheslav Klimov
80ec3609de
Merge pull request #10355 from irynamatveieva/improve-script-node
Changed the logic to be able to find the last IN event despite its order in the debug records.
2024-04-10 13:19:55 +03:00
Shvaika Dmytro
cad3011938
Replacement of local cache in rule nodes with cached entity service APIs. (#9552)
* added customer cache && refactored assign/unassing to/from customer nodes

* refactoring of customer action nodes & added common tests

* added tests for upgrade

* updated controller & service tests for customer api

* replaced findCustomerByTenantIdAndTitle with cacheable method

* add new line to end of ../upgrade/3.6.2/schema_update.sql file

* added cache for find user by tenant id and email & relation action nodes refactoring

* fixed synchronization issue & refactored logic & refactored node upgrade tests

* fixed testSaveUserWithSameEmail test in the UserControllerTest. Removed empty space & added exclamation mark

* updated tests for create relation node && added two tests for delete relation node

* replaced Lists with EnumSets where it was possible & replaced MethodSource with EnumSource where it was possible & added test for upgrade for both create and delete relation nodes

* updated upgrade tests & added tests for delete relation node

* refactoring

* updated create & delete relation nodes descriptions

* updated default config for delete relation node

* minor improvements for custom action nodes after self review

* added upgrade for customers with the same titles

* replaced parameterized test annotation when deleteForSingleEntity is false

* fix typo in reSaveCustomerWithNewTitle upgrade logic

* fixes after review & additional improvements

* fixed testAssignAndUnassignEntityViewToCustomer test

* updated upgrade logic & changed logic of public customers lookup

* fixed dao method & added test

* renamed method to findPublicCustomerByTenantId

* fix typo in the find public customer query

* added @Serial annotation for serialVersionUID & rollback saveAndFlush to save in UserServiceImpl

* fixes to async find or create logic

* fixed after review

* fix typo

* set Transactional annotation to findOrCreatePublicCustomer
2024-04-10 12:31:24 +03:00
Andrii Landiak
d041faae89 Micro refactoring: using java 17 2024-04-09 15:42:54 +03:00
IrynaMatveieva
bb77d4edd7 Merge branch 'improve-script-node' of github.com:irynamatveieva/thingsboard into improve-script-node 2024-04-09 15:00:21 +03:00
IrynaMatveieva
c4ad105f73 used Optional.ofNullable instead of explicitly checking for null 2024-04-09 14:56:34 +03:00
ViacheslavKlimov
00f8fd2c35 Merge remote-tracking branch 'origin/master' into feature/housekeeper 2024-04-09 12:08:53 +03:00
Andrew Shvayka
7eb825dc3b
Merge pull request #10472 from thingsboard/fix/event-sourcing
Fix tenant creation
2024-04-09 11:01:35 +03:00
Andrew Shvayka
e7f68e3b08
Merge pull request #10420 from thingsboard/fix/mobile-notifications
Improvements for mobile notifications
2024-04-09 10:59:37 +03:00
Viacheslav Klimov
9fe5784fd2
Merge pull request #10515 from dashevchenko/attributeScopeInMetadataFix
Attribute scope was missed for rule engine message metadata
2024-04-09 10:37:32 +03:00
dashevchenko
140f8dc489 attribute scope is prepared correctly for rule engine message metadata 2024-04-08 16:21:35 +03:00
ViacheslavKlimov
641008c262 onClick action from mobile notification center 2024-04-08 14:00:00 +03:00
Viacheslav Klimov
ae2533162e
Merge branch 'master' into fix_bug_californium_3_11 2024-04-05 16:24:37 +03:00
Andrii Shvaika
a88b1ef349 Merge hotfix/3.6.3 to master 2024-04-04 12:56:17 +03:00
Andrii Shvaika
d5cdd2b13d Merge branch 'master' of github.com:thingsboard/thingsboard 2024-04-04 12:46:10 +03:00
Andrew Shvayka
05dcbeae15
Merge pull request #10452 from smatvienko-tb/feature/nashorn-memory-limit
Nashorn js executor sandbox memory limit
2024-04-04 12:42:29 +03:00
Andrew Shvayka
7480035556
Merge pull request #10332 from zzzeebra/feature/validator-optimization
[3.7] Validator performance optimization
2024-04-04 12:37:51 +03:00
Oleksandra Matviienko
e00b14bf84 validateId refactoring
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-03 21:11:05 +02:00
Andrew Shvayka
eab88dd500
Merge pull request #10416 from AndriiLandiak/fix/kv-proto-util
Fix KvProtoUtils order for matching KeyValueType and DataType
2024-04-03 17:39:51 +03:00
Andrii Shvaika
bd2cf904e4 Merge branch 'improve-entity-data-query' of github.com:AndriiLandiak/thingsboard 2024-04-03 17:01:32 +03:00
Sergey Matvienko
93adbd116c Validator: some old method usage replaced with a new ones with functions 2024-04-03 15:28:28 +02:00
Oleksandra Matviienko
a993f2133a Changes according to comments
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-03 14:03:41 +02:00
Oleksandra Matviienko
816f6e35c5 Changed the usage of validate methods in Validator from methods with an errorMessage to methods with functions.
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-03 14:03:41 +02:00
Sergey Matvienko
9466578c91 WIP CachedRedisSqlTimeseriesLatestDao.java 2024-04-03 11:46:03 +02:00
Andrew Shvayka
b276d5e3da
Merge pull request #10145 from dashevchenko/queueStatsEntity
Entity for queue statistics
2024-04-02 12:19:33 +03:00
Andrii Landiak
87e564f8c0 Use stringUtils to check if search text is not null and is not empty 2024-04-01 16:39:44 +03:00
Andrew Shvayka
20c4ec1917
Merge pull request #10377 from thingsboard/fix/vc-performance
VC restore: optional rollback on error to vastly increase performance
2024-04-01 16:35:56 +03:00
Andrii Landiak
2888ac5db9 Improve EntityDataQuery using 2 query: filter and sort to find entityIds and using entityIds as List to map with telemetry and entity fields 2024-04-01 12:32:32 +03:00
Andrii Landiak
be611d0aec Set limitation for max telemetry for edge to 0 2024-03-29 16:49:48 +02:00
Andrii Landiak
0107bc29ad Add yaml parameter to set max size for telemetry message 2024-03-29 16:37:49 +02:00
ViacheslavKlimov
9d1f751f3a Fix race condition on tenant creation; refactoring 2024-03-29 15:20:56 +02:00
ViacheslavKlimov
3e73b7b883 Merge branch 'master' into fix/vc-performance
# Conflicts:
#	application/src/main/java/org/thingsboard/server/service/sync/vc/DefaultEntitiesVersionControlService.java
2024-03-29 12:12:53 +02:00
nick
4ad4b7fc86 lwm2m/coap: add californium 3.11.0 2024-03-28 11:54:03 +02:00
dashevchenko
6c911637ae merged with master 2024-03-27 19:04:34 +02:00
Volodymyr Babak
cb9236ff78
Merge pull request #10239 from AndriiLandiak/feature/edge-oauth-support
Edge - OAuth2 support
2024-03-27 14:52:01 +02:00
Volodymyr Babak
8b60deece6
Fixed comment in OAuth2EdgeTest 2024-03-27 14:19:26 +02:00
ViacheslavKlimov
e5d4892164 Separate latest and ts history deletion tasks for each key 2024-03-27 13:25:42 +02:00
dashevchenko
1f1a9c5a25 updated asset/device delete methods to delete only alarms originated by entity 2024-03-27 13:06:03 +02:00
dashevchenko
c1496b9e0c swapped alarm deletion and asset deletion to delete only asset alarms 2024-03-27 13:06:00 +02:00
ViacheslavKlimov
6754d8eddb Add endpoint for getting unread notifications count 2024-03-27 13:04:15 +02:00
dashevchenko
3c0e0be9bc Merge remote-tracking branch 'upstream/master' into ownerName 2024-03-27 12:35:33 +02:00
ViacheslavKlimov
e1bac1bf79 Revert "Fix TbSubscriptionUtils order for matching KeyValueType and DataType"
This reverts commit d9669c9391146b402821f6fc872418ecbe0f3686.
2024-03-27 11:30:33 +02:00
Andrii Landiak
8235b144a5 Fix EdgeControllerTest 2024-03-27 10:14:24 +02:00