14903 Commits

Author SHA1 Message Date
Sergey Matvienko
fe7846d152 ui: event table: default interval is 15 minutes 2023-08-08 14:09:30 +02:00
YevhenBondarenko
2427539f22 merge with develop/3.5.2 2023-08-08 01:46:52 +02:00
Andrew Shvayka
9ea4e77f96
Merge pull request #9050 from dashevchenko/valueNoxssValidation
Added optional noxss validation for attribute/telemetry value
2023-08-07 17:23:15 +03:00
ViacheslavKlimov
d3710b411f Check user's additionalInfo for nullity 2023-08-07 16:50:10 +03:00
rusikv
dd19109034 Add delete button to selection in alarm table 2023-08-07 16:11:14 +03:00
Andrii Landiak
8faa1410b6
Edge crud notification: implement event publisher strategy to process pubsub model for detecting changes in entities
* Improve edge notification for entities' CRUD operations. Use service layer to notify instead of TbService

* Improve queue service, delete unused class for edge event updates

* Improve alarm delete and add handle fox delete dao event notification

* Refactoring: provide notification for relations and alarms. Improve logic and bad edge event type using

* Add entity type to SaveEvent to process correct message type to edge

* Improve relation service publish event

* Introduce EdgeEventSourcing service instead of saving edge events on controller/service layers. Part #2

* Improved stability of device edge test

* Push credential updated event only in case update

* Add tenantId to saveUser signature to send correct notification for listener

* Fix tests to send correct notification msg to edge

* Fix tests with correct action type

* Add delete msg to edge for customer

* Refactor ActionEntityEvent to use lombok builder

* Remove unnecessary comments

* Added edgeSynchronizationManager into BaseAlarmProcessor and BaseRelationProcessor

* Fixed license header

* Remove notification to edge from Version Control Service

* Fixed alarm del processing - find related edges inside edge processor

* Fix controller test for publish event to listener if entity was deleted

* Added check for edge imitator messages during login as tenant admin

* Refactoring: Added filtering of relation on EdgeEventSourcingListener

* Refactored to be in sync with PE

* Refactored edge test to be in sync with PE edge test changes

* EdgeControllerTest - moved await block into separate method to reuse it

* Fixed EdgeControllerTest

* Fixed testAssignEdgeToCustomerFromDifferentTenant test

* testSyncEdge - make stable

* Refacroting - update utils method name to pop* in EdgeControllerTest

* testSyncEdge - fixed order and nubmer of edge events

* testGetEdgeEvents - check by pop items, and not by index to improve stability on slow machines

* testGetEdgeEvents - added check that list is empty

* Removed test debug output

* EntityServiceTest - Fixed compilation error after merge

* Improve service layer event publisher to process each notification and validate in listener

* Improve BaseAlarmService to send notification to listener

* Fix asset-device notification action to send delete to all edges

* Delete unnecessary usage of sendMsgToEdge

* Improve processEntityNotification to be in sync with changed needed for PE

* Pull request review - minor refactoring

* Fix tests after review-refactoring

* Refactor tests to be in sync with PE

* Fixed repeated update - added check for old_edge_event table existance before migration

* DeviceEdgeProcessor - do edgeSynchronizationManager as soon as possible to avoid unnecessary downlinks

* BaseEdgeProcessor - refactoring and remove duplicate methods. Introduce EdgeEventType.isAllEdgesRelated

* Organize imports

* Improve Edge test: add sync completed message to await

* Minor refactoring for EdgeProcessor notification: asset and device

* EdgeEventSourcingListener - updated logging to avoid null pointer exception

* BaseAlarmService - added check for alarm to avoid NPE. EdgeEventSourcingListener - added try/catch blocks

* EdgeEventSourcingListener - fixed error message log level

---------

Co-authored-by: Volodymyr Babak <volodymyr.babak@gmail.com>
2023-08-07 13:21:02 +03:00
ViacheslavKlimov
b25fd961d4 Fix getAvailableDeliveryMethods for customers 2023-08-07 13:08:06 +03:00
rusikv
eb6acda968 Merge remote-tracking branch 'upstream/develop/3.5.2' into feature/alarm-bulk-clear-ack 2023-08-07 13:00:38 +03:00
ViacheslavKlimov
fb149b720c Minor improvements for Teams notifications 2023-08-07 11:51:47 +03:00
dashevchenko
6bc9148f77 added optional nosxss validation for attribute/telemetry value 2023-08-07 11:20:53 +03:00
Igor Kulikov
fdceb86b31 UI: Implement widget title font and color settings. 2023-08-04 19:07:55 +03:00
Vladyslav_Prykhodko
a85f9fbabc UI: Refactoring delete telemetry 2023-08-04 17:49:52 +03:00
ViacheslavKlimov
1a93db75e0 Improvements for Microsoft Teams notifications 2023-08-04 17:33:11 +03:00
Igor Kulikov
f87f310438
Merge pull request #9034 from vvlladd28/improvement/alarm-filter-config
Fixed resize alarm filter config component
2023-08-04 14:39:43 +03:00
Andrew Shvayka
b444e92295
Merge pull request #9044 from thingsboard/feature/filter-nodes-improvements
Filter nodes improvements
2023-08-04 14:06:58 +03:00
Igor Kulikov
ed736984ce
Merge pull request #8965 from ArtemDzhereleiko/AD/bug-fix/entity-select
Fixed entity select component for alias dialog component
2023-08-04 14:03:36 +03:00
Andrew Shvayka
173e229da1
Merge pull request #8786 from ShvaykaD/feature/filter-nodes-improvements
Filter nodes improvements && fixes for enrichment rule nodes && added TbMsgType enum and enforced use of it in corresponding places.
2023-08-04 13:57:10 +03:00
Igor Kulikov
b0cdbc4634 Merge branch 'develop/3.5.2' into feature/basic-widget-config 2023-08-04 13:29:07 +03:00
Artem Dzhereleiko
0d17fce923 UI: Aligned phone input flags container by input field 2023-08-04 13:03:02 +03:00
ShvaykaD
ad847ff40c changed checkType and checkTypeOneOf to isTypeOf and isTypeOneOf 2023-08-03 20:22:58 +03:00
ShvaykaD
30bc082e0a reverted refactoring with "return" use in the if statement & added @Override where required in DefaultTbContext & reverted changes to TbAbstractExternalNode 2023-08-03 20:20:17 +03:00
Igor Kulikov
544f29f0e1 UI: Responsive layout improvements. 2023-08-03 19:26:35 +03:00
rusikv
47543ad5e2 Added selection to alarms table for bulk acknowledge and clear 2023-08-03 18:33:23 +03:00
ViacheslavKlimov
12f8e14c04 Increase default poll interval for isolated queues 2023-08-03 16:34:45 +03:00
ShvaykaD
fabd26dc2c fix mistakenly added override of init method in TbGpsGeofencingFilterNode ShvaykaD Moments ago 2023-08-03 16:13:41 +03:00
Andrew Shvayka
fdab832982
Merge pull request #9033 from thingsboard/fix_bug_default_VARCHAR_length_for_notification_request_info
fix_bug_default_VARCHAR_length_notification_request.info_1M
2023-08-03 16:10:40 +03:00
ShvaykaD
fedeab23e8 renamed FetchTo enum to TbMsgSource and move it to util package to reuse as fetchFrom property in other nodes 2023-08-03 15:52:45 +03:00
ViacheslavKlimov
0f13d46144 Add more tests 2023-08-03 13:54:59 +03:00
Vladyslav_Prykhodko
850a7d3338 UI: Fixed resize alarm filter config component 2023-08-03 13:16:42 +03:00
nick
eaf8ef0f14 fix_bug: default VARCHAR length for notification_request.info = 1M (old value = 1K) 2023-08-03 12:36:15 +03:00
rusikv
41b0949046 Change attribute dialog UntypedFormGroup to FormGroup, simplified if statement on add 2023-08-02 18:17:59 +03:00
rusikv
ff018246cf Merge remote-tracking branch 'upstream/develop/3.5.2' into feature/create-latest-telemetry-key-value 2023-08-02 18:15:43 +03:00
Vladyslav
009c4b4c70
Merge pull request #9020 from rusikv/feature/timeseries-api-improvements-ui
Refactoring of delete timeseries ui
2023-08-02 17:04:49 +03:00
rusikv
67938d9b2b Add validation for time fields in delete timeseries panel form 2023-08-02 16:54:18 +03:00
rusikv
12c8903ff5 Delete timeseries panel form is builded by FormBuilder and is now FormGroup, result of panel is now in result field 2023-08-02 12:48:19 +03:00
YevhenBondarenko
2056434bb7 tests improvements 2023-08-02 11:35:15 +02:00
Igor Kulikov
452ef09289 Merge with develop/3.5.2 2023-08-01 20:03:53 +03:00
Igor Kulikov
bd24bb7335 Widgets UI config: Responsive layout improvements. 2023-08-01 19:58:59 +03:00
rusikv
165b1068bc Refactoring 2023-08-01 17:54:39 +03:00
Andrew Shvayka
1e0eb71a86
Merge pull request #9019 from thingsboard/tbel_switch_node
[3.5.2]Tbel_rollback_validation_switch
2023-08-01 17:38:53 +03:00
nick
698dfba952 tbel: rollback validation switch 2023-08-01 14:56:50 +03:00
ViacheslavKlimov
c087359077 Move messages to other queue on deletion; improvements 2023-08-01 13:57:32 +03:00
Vladyslav
857f69d7d5
Merge pull request #9018 from ArtemDzhereleiko/AD/imp/notification-tabs
Refactoring User notification settings
2023-08-01 12:04:07 +03:00
Artem Dzhereleiko
8fa41c3d5e UI: Remove class 2023-08-01 12:02:37 +03:00
Artem Dzhereleiko
84c82dbc12 UI: Refactoring 2023-08-01 11:56:46 +03:00
Artem Dzhereleiko
82cfcaff82 UI: resolve conflict 2023-08-01 10:48:51 +03:00
Vladyslav_Prykhodko
5c0fb5e9b4 Merge remote-tracking branch 'upstream/develop/3.5.2' into feature/account-notification-settings 2023-08-01 10:45:16 +03:00
Artem Dzhereleiko
d39ab98cfa UI: Refactoring for tabs 2023-08-01 10:35:59 +03:00
Artem Dzhereleiko
00fb745c31 UI: Merge and resolve conflict 2023-08-01 09:55:57 +03:00
Andrew Shvayka
581c02bf6b
Merge pull request #8938 from thingsboard/feature/check-connectivity-device
Added check connectivity in device
2023-07-31 18:50:02 +03:00