2998 Commits

Author SHA1 Message Date
Sergey Matvienko
608d3a6621 DataValidator: extracted validateName method from Asset and Device to use in all other validators. Tests added 2023-09-05 13:38:18 +02:00
Sergey Matvienko
f46ba5aa93 Asset validator: validate that trimmed name has length (same as device validator) 2023-09-05 13:38:18 +02:00
Sergey Matvienko
9e7a6500d2 Asset validator: validation that name does not contain 0x00 symbols 2023-09-05 13:38:18 +02:00
Sergey Matvienko
c14719a4f8 Asset tests: name validation added. validate name contains 0x00 as well to crush tests before fix 2023-09-05 13:38:18 +02:00
Sergey Matvienko
f621c10260 Tests added for JpaDeviceDao and DeviceService 2023-09-05 13:38:18 +02:00
Sergey Matvienko
22c9aa3776 DeviceDataValidator: invalidate name containing 0x00 symbols 2023-09-05 13:38:18 +02:00
Sergey Matvienko
7177f8143c DeviceDataValidatorTest implemented to expose 0x00 problem in the device name 2023-09-05 13:38:18 +02:00
YevhenBondarenko
a05bb3cd8f fixed tests 2023-09-05 11:44:40 +02:00
Andrii Landiak
e2520ae0f5 Provide edgeId for EdgeEventSourcingListener to handle cloud entities updated on Edge and process to other Edges 2023-09-05 09:38:48 +03:00
YevhenBondarenko
c4377f514f merge with develop/3.5.2 2023-09-04 20:00:39 +02:00
YevhenBondarenko
15d53a95cc added ON DELETE CASCADE and improvements 2023-09-04 19:45:57 +02:00
Andrew Shvayka
09b74dada9
Merge pull request #9157 from thingsboard/fix/tenant-profile-serialization
Fix tenant profile update msg construction for Edge
2023-09-04 18:49:51 +03:00
Igor Kulikov
7f47472092 Merge branch 'develop/3.5.2' into feature/widget-bundles 2023-09-04 18:05:47 +03:00
Igor Kulikov
c783e44ac6 UI: Add widget panel: implement all widgets mode. 2023-09-04 18:04:20 +03:00
YevhenBondarenko
58859208ec refactoring 2023-09-04 15:55:40 +02:00
Andrew Shvayka
6f2334b35b
Merge pull request #9104 from thingsboard/feature/system-notifications
Notification to sysadmin when default JWT signing key is used
2023-09-04 14:18:05 +03:00
Igor Kulikov
875c8d526b Widget Bundles to Wudget Types Many to Many support for UI 2023-09-01 18:55:29 +03:00
Igor Kulikov
1fb9ba622e Widget -> Widget Bundle Many to Many support. 2023-08-31 12:09:42 +03:00
ViacheslavKlimov
724300c076 Fix tenant profile Java serialization; add test 2023-08-29 15:41:35 +03:00
YevhenBondarenko
1c87dabac2 improvements 2023-08-29 10:56:37 +02:00
YevhenBondarenko
e1496f3284 download mqtts cert improvements 2023-08-28 19:20:31 +02:00
Igor Kulikov
acdf5ad48c Implement ability to move widget types between widget bundles. Ability to deprecate widget type. 2023-08-28 18:54:12 +03:00
YevhenBondarenko
ffa00bd94a refactoring due to comments 2023-08-22 16:59:01 +02:00
ViacheslavKlimov
c55ac0efc6 Improvements for system notifications; add test 2023-08-22 12:56:21 +03:00
YevhenBondarenko
ada9ff7b4e merge with develop/3.5.2 2023-08-18 16:48:48 +02:00
Igor Kulikov
c57cb2b754 Switch to unique widget type FQN. 2023-08-18 16:14:21 +03:00
imbeacon
b83a3b3eed Fix for gateway docker run command 2023-08-18 15:20:40 +03:00
ViacheslavKlimov
ba2ded02b1 Notification to sysadmin when default JWT signing key is used 2023-08-18 13:24:57 +03:00
Vladyslav_Prykhodko
35284eacd6 Merge branch 'feature/alarm-types' of github.com:YevhenBondarenko/thingsboard into YevhenBondarenko-feature/alarm-types 2023-08-18 12:52:21 +03:00
Maksym Dudnik
6fd269063b Merge branch 'develop/3.5.2' of https://github.com/thingsboard/thingsboard into gateway_list
 Conflicts:
	ui-ngx/src/app/modules/home/components/widget/widget-components.module.ts
2023-08-18 12:43:29 +03:00
imbeacon
c4d12c6ba9 Refactored DefaultTbAlarmService, added improvements for alarm unassignment on user removing, updated namings and tests. 2023-08-18 12:03:27 +03:00
Andrew Shvayka
3186789f3e
Merge pull request #9062 from AndriiLandiak/feature/edge-tenant-sync
Feature/Edge: tenant and tenant profile sync up
2023-08-17 17:35:42 +03:00
Andrii Shvaika
ca6095402f Merge with master 2023-08-17 12:19:02 +03:00
imbeacon
6ae894702a Merge remote-tracking branch 'upstream/develop/3.5.2' into customer-removing-alarm-unassign 2023-08-16 14:28:04 +03:00
imbeacon
1ce4214b79 Added test for DeleteEntityEvent 2023-08-16 14:21:22 +03:00
Andrii Landiak
e53ea0f20b Merge remote-tracking branch 'upstream/develop/3.5.2' into feature/edge-tenant-sync 2023-08-16 13:44:45 +03:00
imbeacon
35b86999b1 Added timestamp to entity deleted event, to have correct assign ts in alarms after unassignment 2023-08-16 11:18:31 +03:00
imbeacon
4b8db9f37d Refactored repository method for getting assigned alarms, added limitations, logs and adopted tests for event based model alarms unassigning on user removing 2023-08-16 09:09:40 +03:00
Andrii Landiak
308674ddc7
Create entity on edge and send to cloud 2023-08-16 08:08:56 +03:00
imbeacon
19c5e50884 Updated due to comments 2023-08-15 18:24:38 +03:00
Andrew Shvayka
18a617472a
Merge pull request #8793 from thingsboard/feature/account-notification-settings
User-level notification settings
2023-08-15 17:45:49 +03:00
ViacheslavKlimov
d8896fe9dd Minor refactoring for user notification settings 2023-08-15 17:34:10 +03:00
YevhenBondarenko
1c17b00513 added alarm_types table 2023-08-15 16:00:14 +02:00
Sergey Matvienko
3f2578b6d0 JpaNotificationDao: JavaDoc added for countUnreadByRecipientId for the reference to the idx_notification_recipient_id_unread 2023-08-15 00:39:08 +02:00
Sergey Matvienko
a8f5602036 SQL partial index added idx_notification_recipient_id_unread for cheap and fast notification count on UI 2023-08-15 00:25:50 +02:00
ViacheslavKlimov
ce06ea10ca Use user settings api instead of additionalInfo 2023-08-14 17:43:39 +03:00
Andrii Landiak
b646b7b93e Remove unnecessary sout logs in edge service test 2023-08-14 08:33:41 +03:00
ViacheslavKlimov
ae76f4ebbb Merge branch 'master' into feature/update-tenant-profile-isolation 2023-08-11 13:39:03 +03:00
imbeacon
e7543d78d4 Changed method for user removing, added user as an entity to deleted entity event 2023-08-11 07:56:08 +03:00
imbeacon
328d53dffc Changed alarms unassign method to returen ids instead of Alarm objects and changed to use entity from deleted entity event 2023-08-11 07:52:03 +03:00