2425 Commits

Author SHA1 Message Date
ViacheslavKlimov
a9466032e1 Use findDeviceByIdAsync in TransportApiService 2023-04-19 13:42:34 +03:00
ViacheslavKlimov
079b2a5ab7 Remove findDeviceByIdAsync from DeviceService 2023-04-18 18:25:35 +03:00
Andrii Landiak
9c1e57a8c1 Add correct validation message for X.509 certificate in Device Profile 2023-04-17 18:26:11 +03:00
YevhenBondarenko
08efbd1c85 revert tskv value noxss validation 2023-04-14 18:06:59 +02:00
Andrew Shvayka
d7707c99c3
Merge pull request #8356 from thingsboard/improvements/notification-system
Notification system improvements
2023-04-14 14:43:14 +03:00
Andrew Shvayka
f93e2d747c
Merge pull request #8353 from thingsboard/fix/noxss-kv
Fixed xss vulnerabilities in attributes and telemetry
2023-04-14 14:35:33 +03:00
Andrew Shvayka
d2fc5c7b77
Merge pull request #8358 from thingsboard/feature/x509-device-provisioning
Feature/x509 device provisioning
2023-04-14 14:30:24 +03:00
Andrew Shvayka
652b7ea9c8
Merge pull request #8357 from volodymyr-babak/fix-edge-event-cleanup
Typo - fixed startup of edge event clean up service
2023-04-13 18:35:01 +03:00
ViacheslavKlimov
542d0dfe0c Don't send notifications to customers for default rules 2023-04-13 12:54:44 +03:00
ViacheslavKlimov
e926854911 NoXss and length validation for notification entities 2023-04-13 12:53:59 +03:00
Volodymyr Babak
8e97173df0 JpaBaseEdgeEventDao. edge_events_ttl -> edgeEventsTtl 2023-04-13 12:02:57 +03:00
Andrii Shvaika
3b5270a29f Merge branch 'develop/3.5' of github.com:thingsboard/thingsboard into feature/x509-device-provisioning 2023-04-13 11:59:36 +03:00
Volodymyr Babak
056fd43aab Typo - JpaBaseEdgeEventDao. Fixed partitionSizeInHours mapping 2023-04-13 11:56:46 +03:00
Andrew Shvayka
2f0eb0beb7
Merge pull request #8241 from dashevchenko/WS_Message_queue_per_session_size
Changed default for wsMsgQueueLimitPerSession
2023-04-12 18:06:48 +03:00
Andrii Landiak
fbeb56cf70 Refactor after review and add tests for extracting by regex 2023-04-12 17:50:26 +03:00
Andrew Shvayka
90a0edd2d4
Merge pull request #8350 from dashevchenko/redundantNotNull
Deleted redundant @NotNull annotations
2023-04-12 17:34:31 +03:00
Andrii Shvaika
5d84945ccd Review and improvements 2023-04-12 14:06:38 +03:00
Andrii Shvaika
4cea4362dc Merge branch 'feature/x509-device-cert-impr' of github.com:AndriiLandiak/thingsboard into feature/x509-device-provisioning 2023-04-12 12:47:41 +03:00
YevhenBondarenko
ef86dc49b9 added noxss enable param for ts and attributes 2023-04-12 11:30:04 +02:00
Andrii Landiak
03b0d0a90a Add yaml config variables into test properties 2023-04-12 11:34:37 +03:00
Andrii Landiak
71f936f687 Add yaml config for java cacerts path and password to be able to configure 2023-04-12 11:03:59 +03:00
Andrii Dovhopoliy
1a3ee8512d
Fixed xss vulnerabilities in attributes and telemetry (#8238)
* added noxss validation on kventries

* added noxss validation on kventries

* added ConstraintValidator usages for validation

* added test

* upd

* removed star imports

* fixed licence

* removed NoXss Annotation from values

* fixed test

* added test

* removed redundant imports

* fixed test

* upd

* fixed telemetry test controller structure

* tskv noxss validation improvements

* upd test attributes

---------

Co-authored-by: YevhenBondarenko <ybondarenko@thingsboard.io>
2023-04-11 23:31:37 +02:00
Andrew Shvayka
b952360055
Merge pull request #8026 from volodymyr-babak/filter-type-multiple-types
Filter type alias - add possibility to specify multiple types, instead of single one
2023-04-11 17:26:29 +03:00
dashevchenko
abfaeac087 deleted redundant @NonNull annotation 2023-04-11 16:09:54 +03:00
Andrew Shvayka
c683b57cba
Merge pull request #8335 from thingsboard/feature/devices-activity
Devices activity statistics
2023-04-11 12:23:13 +03:00
Andrii Landiak
aa3fca6daf Minor refactoring of caching 2023-04-11 09:26:08 +03:00
Andrii Landiak
3bc5aa88a3 Fix incorrect cache clearing on device delete 2023-04-11 09:09:54 +03:00
Andrii Landiak
1c909d570e Micro refactoring 2023-04-10 19:24:25 +03:00
Andrii Landiak
94b9e43aae Fix caching for deviceProfile provision key: no need to safe if null value cuz its crashes 2023-04-10 18:54:39 +03:00
Andrew Shvayka
e23a93d282
Merge pull request #8334 from thingsboard/improvements/notification-system
Notification system improvements
2023-04-10 15:07:22 +03:00
Andrew Shvayka
54e59612f6
Merge pull request #8254 from zzzeebra/optimization_dao_tests_with_cycles
Optimization dao tests with cycles
2023-04-10 14:02:30 +03:00
ViacheslavKlimov
25e1d73ca0 Merge branch 'develop/3.5' into improvements/notification-system 2023-04-10 10:22:41 +03:00
Andrii Landiak
e71f6bcc26 Refactoring x509 provisioning, fix tests 2023-04-10 09:35:32 +03:00
ViacheslavKlimov
6cb54c6690 Devices activity statistics 2023-04-07 17:06:21 +03:00
Andrew Shvayka
8769911694
Merge pull request #8256 from imbeacon/fix/alarm-assignment-user-issues
Added getting user list for alarm assignment and ability to assign alarms for customer users
2023-04-07 15:00:22 +03:00
Andrii Landiak
7d4c1476a4 Refactoring: remove extra comments, remove spaces etc 2023-04-07 13:54:48 +03:00
Andrii Landiak
e7fc00e53d Merge branch 'develop/3.5' of github.com:AndriiLandiak/thingsboard into feature/x509-device-cert-impr 2023-04-07 13:42:00 +03:00
ViacheslavKlimov
aef033b6c5 Fix for RemoteNotificationRuleProcessor 2023-04-07 13:14:23 +03:00
Andrii Landiak
55adb3d12a Refactor x509: add logic of rotating x509 credentials and creating new device to DeviceProvisionService 2023-04-07 13:07:08 +03:00
ViacheslavKlimov
20ec28b0c3 Merge branch 'develop/3.5' into improvements/notification-system 2023-04-06 18:46:06 +03:00
ViacheslavKlimov
24e2b525a4 Increase allowed notification template size 2023-04-06 18:45:54 +03:00
ViacheslavKlimov
788013c64a Local notification rules cache 2023-04-06 18:21:37 +03:00
ViacheslavKlimov
043bb253c7 New platform version notification 2023-04-06 14:18:12 +03:00
Andrii Shvaika
672c05d9b7 clear duplicated attribute keys before loading them from cache to avoid NPE 2023-04-06 12:59:29 +03:00
Andrew Shvayka
34e923422a
Merge pull request #8310 from adovh/bug/fix-1284-func-broken_in_case_E_numbers
[3.5] fix for incorrect long integers, sent on ws to FE
2023-04-06 12:45:51 +03:00
Andrew Shvayka
872a8f0c60
Merge branch 'develop/3.5' into feature/entity-usage 2023-04-06 12:12:49 +03:00
Andrii Shvaika
d71307402e Merge with develop/3.5 2023-04-06 11:43:34 +03:00
Illia Barkov
ae35b45799
Merge branch 'develop/3.5' into fix/alarm-assignment-user-issues 2023-04-06 10:52:57 +03:00
YevhenBondarenko
2e7c132919 improvements 2023-04-06 00:22:46 +02:00
YevhenBondarenko
5075152ce3 customer service improvements 2023-04-06 00:14:43 +02:00