5224 Commits

Author SHA1 Message Date
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
Andrii Shvaika
da6d3b6ca8 Configure content type for update service 2023-04-11 18:34:47 +03: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
Andrew Shvayka
bc5d6ea359
Merge pull request #8342 from volodymyr-babak/ssl-option-kafka
[3.5] Add SSL option for Kafka queue connection
2023-04-11 12:34:49 +03:00
Andrew Shvayka
ff71374d8e
Merge pull request #8344 from volodymyr-babak/edge-activity-to-rule-chain
[3.5] Push edge connect/disconnect events to rule chain
2023-04-11 12:30:49 +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
Andrew Shvayka
d37283a292
Merge pull request #8340 from volodymyr-babak/max-inbound-message-size
[3.5] Handle gRPC messages exceeding default max message size
2023-04-10 18:22:28 +03:00
Volodymyr Babak
fa8c3cc6e5 Push edge connect/disconnect events to rule chain 2023-04-10 17:35:42 +03:00
Volodymyr Babak
9bda3880eb Edge session - added tenant and edge id logging in case message exceeds size limits 2023-04-10 15:58:02 +03:00
ViacheslavKlimov
a58dff1ffc Refactoring for devices activity stats 2023-04-10 15:39:46 +03:00
FawenYo
47542eb8c1 Add SSL option for Kafka queue connection 2023-04-10 15:29:14 +03:00
Volodymyr Babak
c95cff74f7 Fixed edge client tests by setting correctly max inbound message size 2023-04-10 13:12:11 +03:00
Volodymyr Babak
e496ef7839 Fix process of messages that exceeds max inbound message size 2023-04-10 10:52:51 +03:00
ViacheslavKlimov
932cbc6e9f Increase timeout for testDevicesActivityStats 2023-04-10 10:51:02 +03:00
ViacheslavKlimov
25e1d73ca0 Merge branch 'develop/3.5' into improvements/notification-system 2023-04-10 10:22:41 +03:00
ViacheslavKlimov
6cb54c6690 Devices activity statistics 2023-04-07 17:06:21 +03:00
Andrew Shvayka
7c99cfd852
Merge pull request #8327 from adovh/refactor-remove-handleException-and-logs
removed redundant handle exception
2023-04-07 15:01:36 +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
Andrew Shvayka
14ed9df205
Merge pull request #6986 from adovh/feature/work-1385-custom-mqtt-subscribe-topic
[3.5] added ability to create&subscribe custom mqtt attributes topics
2023-04-07 13:48:20 +03:00
ViacheslavKlimov
aef033b6c5 Fix for RemoteNotificationRuleProcessor 2023-04-07 13:14:23 +03:00
Andrew Shvayka
a8d0d871e1
Merge pull request #8285 from rusikv/alarm-details-redesign
Alarm details redesign
2023-04-07 13:05:03 +03:00
Andrew Shvayka
6bcbfc1b28
Merge pull request #8325 from volodymyr-babak/edge-log-fix
[3.5] Fixed logging of EdgeGrpcSession
2023-04-07 13:01:52 +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
dashevchenko
c07eb9e920 fixes for flaky tests 2023-04-06 17:57:37 +03:00
dashevchenko
47cf1eac77 fixes for flaky tests 2023-04-06 17:28:30 +03:00
rusikv
bcee982497 Merge remote-tracking branch 'upstream/develop/3.5' into alarm-details-redesign 2023-04-06 16:08:38 +03:00
AndriiD
799eb52893 upd 2023-04-06 15:28:08 +03:00
ViacheslavKlimov
043bb253c7 New platform version notification 2023-04-06 14:18:12 +03:00
AndriiD
f2fa3551cf removed redundant try-catches 2023-04-06 13:37:18 +03:00
Volodymyr Babak
13c4351024 Fixed logging of EdgeGrpcSession 2023-04-06 13:22:40 +03:00
Andrew Shvayka
87e48d9803
Merge pull request #8317 from volodymyr-babak/edge-attr-fix
[3.5] Edge processor - delete attribute msg is not properly handled for non device type
2023-04-06 13:04:36 +03:00
Andrew Shvayka
d7b5d89990
Revert "[3.5] removed redundant handleException usages" 2023-04-06 12:38:52 +03:00
Andrii Shvaika
6fc3905fc1 Merge branch 'refactor-remove-handleException-and-logs' of github.com:adovh/thingsboard into develop/3.5 2023-04-06 12:18:17 +03:00
Andrew Shvayka
872a8f0c60
Merge branch 'develop/3.5' into feature/entity-usage 2023-04-06 12:12:49 +03:00
imbeacon
863b7a72ed Merge 2023-04-06 11:48:46 +03:00
Andrii Shvaika
d71307402e Merge with develop/3.5 2023-04-06 11:43:34 +03:00
Andrew Shvayka
de921b4fa1
Merge pull request #8265 from thingsboard/improvements/notification-system
Notification system improvements
2023-04-06 11:13:52 +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
059fad1421 merge with develop/3.5 2023-04-05 23:29:31 +02:00
YevhenBondarenko
22981e5e39 added count entity cache 2023-04-05 19:00:52 +02:00
Andrii Shvaika
9165faa341 Improved Platform Updates Service 2023-04-05 17:23:03 +03:00
Volodymyr Babak
9e189c30e6 Remove redundant JSON code 2023-04-05 16:09:41 +03:00
Volodymyr Babak
0f5261b8dd Merge branch 'fix-rpc-keep-alive-issue' into edge-attr-fix 2023-04-05 15:52:05 +03:00
Andrii Shvaika
b1884f675a Update service and TBEL version improvement 2023-04-05 15:43:09 +03:00
Volodymyr Babak
463ad698c4 Edge telemetry processor - fixed processing of delete attribute request for non device entities 2023-04-05 15:25:03 +03:00
ViacheslavKlimov
7aa215f49d Fix notification request update handling in cluster mode; Rule nodes fixes 2023-04-05 14:28:50 +03:00
Volodymyr Babak
1b29c97008 Edge Session - improved error logging in case general process is interrupred because of sync started 2023-04-05 13:41:09 +03:00
YevhenBondarenko
60a4878ba7 improvements due to comments 2023-04-05 11:17:20 +02:00