1622 Commits

Author SHA1 Message Date
ViacheslavKlimov
ddfdcef858 Improvements for user notification settings structure 2023-07-12 12:50:29 +03:00
dashevchenko
03b2399c44 fixed list of required fields for entities 2023-07-11 15:01:37 +03:00
ShvaykaD
d9ede8bf50 merge with develop/3.5.2 2023-07-06 15:44:01 +03:00
ShvaykaD
4528348143 replaced new TbMsgMetaData() with TbMsgMetaData.EMPTY and added additional refactoring after review of changes 2023-07-06 13:18:02 +03:00
ShvaykaD
47929ef784 replaced newMsg and trasformMsg with new methods that uses TbMsgType && mark old methods as deprecated && refactoring 2023-07-06 12:20:23 +03:00
YevhenBondarenko
3be53a3605 fixed saveDeviceWithCredentials api 2023-07-05 14:40:44 +02:00
ViacheslavKlimov
ea2d5485f4 Remove Slack from user-level settings 2023-07-05 12:46:35 +03:00
YevhenBondarenko
015429d750 merge with develop/3.5.2 2023-07-04 16:56:20 +02:00
YevhenBondarenko
df2ef64e67 added alarm types cache 2023-07-04 16:40:42 +02:00
ShvaykaD
6c74aa3dff updated EntityFieldsData getFieldValue method to filter out empty strings if ignoreNullStrings is set to true 2023-07-03 13:26:20 +03:00
Andrew Shvayka
ab56f651c7
Merge pull request #8839 from dashevchenko/resourceInfoCache
Added cache for resource info
2023-06-30 16:00:08 +03:00
ViacheslavKlimov
6eb4510e2a User notification settings - by notification type 2023-06-30 13:46:19 +03:00
ShvaykaD
8beb81cf8d added tests for check relation presence node & test for TbMsgType and ActionType & refactoring 2023-06-30 13:35:03 +03:00
Andrew Shvayka
707244a7ea
Merge pull request #8830 from volodymyr-babak/edge-event-seq-id
Edge event table - added sequential ID column to handle properly heavy load and cluster cases
2023-06-29 18:24:23 +03:00
ViacheslavKlimov
996f11da9e Improvements for notification template processing 2023-06-28 15:43:26 +03:00
ViacheslavKlimov
7528fceeb2 MicrosoftTeamsNotificationChannel 2023-06-28 14:42:09 +03:00
ShvaykaD
0c4c8353de refactoring & added tests for alarm status filter node & entity and msg type switch nodes & check field presence 2023-06-28 12:43:49 +03:00
dashevchenko
eab633632a added cache for TBResourceInfo 2023-06-28 11:35:54 +03:00
ViacheslavKlimov
d0cbf4efd1 Add acknowledged and cleared properties to AlarmNotificationInfo 2023-06-27 17:14:33 +03:00
Volodymyr Babak
4a0ff8b968
Edge event seq (#82)
* edge event - added seq id auto generated column to fix issue with concurrent write of multiple edge events with the same created time

* kotlin Pair replaced by springframework class

* Handle cases when seq_id column started new cycle

* Added check for null in case entity was deleted

* GeneralEdgeEventFetched - sort order by seqId and not created time

* Edge event table - added migration script to add seq_id column

* Code review updates to be in sync with PE

* Improved handling cases when edge_event.seqId started new cycle

* Edge event table - seq_id column make to be cycled

* Improved handling of cases when seq_id column of edge_event table started new cycle

* Improved stability by properly handling exceptions
2023-06-27 15:42:23 +03:00
ViacheslavKlimov
83641e285f Add TODO for SNMP traps processing 2023-06-27 11:50:29 +03:00
ViacheslavKlimov
0f078b0da2 SNMP traps support 2023-06-26 15:04:31 +03:00
ShvaykaD
a3c0850277 added tests for TbCheckAlarmStatusNode && TbMsgTypeFilterNodeTest && TbOriginatorTypeFilterNodeTest && replaced SessionMsgType && refactoring 2023-06-23 19:00:25 +03:00
ViacheslavKlimov
d49a6c3e92 Notification settings for rules 2023-06-23 16:11:21 +03:00
ViacheslavKlimov
926f484230 Device events 2023-06-22 18:19:37 +03:00
ViacheslavKlimov
854e059435 Option to ignore SNMP response type cast errors 2023-06-22 18:19:16 +03:00
ViacheslavKlimov
09b866c41f Remove unnecessary validation for OID mappings uniqueness 2023-06-22 18:10:03 +03:00
ViacheslavKlimov
014497cd89 User-level notification settings 2023-06-20 12:04:48 +03:00
ShvaykaD
22874e8a65 filter nodes && added TbMsgType enum 2023-06-19 17:55:39 +03:00
ViacheslavKlimov
e3058756e9 Merge branch 'develop/3.5.2' into fix/snmp 2023-06-14 12:58:05 +03:00
ViacheslavKlimov
0bd7f74c47 Fix issues 2023-06-13 14:12:54 +03:00
ViacheslavKlimov
f98eee5407 Merge branch 'develop/3.5.2' into feature/exceeded-rate-limits-notifications
# Conflicts:
#	application/src/main/java/org/thingsboard/server/install/ThingsboardInstallService.java
#	application/src/main/resources/thingsboard.yml
#	application/src/test/java/org/thingsboard/server/service/notification/NotificationRuleApiTest.java
#	dao/src/main/java/org/thingsboard/server/dao/notification/DefaultNotifications.java
#	ui-ngx/src/app/modules/common/modules-map.ts
2023-06-13 13:49:51 +03:00
Andrew Shvayka
7d31d25aa0
Merge pull request #8729 from thingsboard/fixes/notification-system
Notifications deduplication improvements
2023-06-13 12:25:07 +03:00
Andrii Shvaika
997b915905 Merge with develop/3.5.2 2023-06-13 11:30:29 +03:00
ViacheslavKlimov
39d7498c59 Merge branch 'develop/3.5.2' into fixes/notification-system 2023-06-12 21:37:21 +03:00
ViacheslavKlimov
7675a57316 Bulk import for SNMP devices 2023-06-12 15:16:07 +03:00
Andrew Shvayka
e30cf55988
Merge pull request #8723 from dashevchenko/mailConfigTemplates
Mail config templates, oauth2 protocol for mail server
2023-06-09 16:05:43 +03:00
ViacheslavKlimov
b77078c24e Notifications deduplication improvements 2023-06-08 18:15:56 +03:00
Andrii Shvaika
d34a65eada Resources access for Customer Users 2023-06-08 17:44:20 +03:00
Andrii Shvaika
1b15e78985 Merge branch 'resourcesByType' of github.com:dashevchenko/thingsboard into develop/3.5.2 2023-06-08 16:37:10 +03:00
dashevchenko
a85f5b4330 added initial implementation 2023-06-08 12:30:35 +03:00
Andrii Shvaika
aa6a136ef8 Merge remote-tracking branch 'origin/fixes/notification-system' into develop/3.5.2 2023-06-07 16:02:30 +03:00
Vladyslav_Prykhodko
2be9a1e1c3 Merge remote-tracking branch 'upstream/develop/3.5.2' into dashevchenko-resourcesByType 2023-06-07 15:40:44 +03:00
dashevchenko
87786ef72d refactoring 2023-06-07 15:27:44 +03:00
dashevchenko
29384170d7 added tests 2023-06-07 13:16:55 +03:00
dashevchenko
f356a94b81 added new hash_code column to resource table 2023-06-07 00:06:55 +03:00
Andrew Shvayka
835f8b48f9
Merge pull request #8706 from imbeacon/fix/swagger-models
Fixes for models in Swagger
2023-06-06 16:44:25 +03:00
dashevchenko
31cf975495 Merge remote-tracking branch 'upstream/develop/3.5.2' into resourcesByType 2023-06-06 12:42:47 +03:00
ViacheslavKlimov
2f560315d1 Exceeded rate limits notifications; their deduplication; refactoring 2023-06-02 15:09:09 +03:00
ViacheslavKlimov
f5cd8a9a52 Notification system - less async operations 2023-06-02 14:57:00 +03:00