13724 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
6fe6dc2561 Fix build due to filtering maven plugin bug 2023-04-11 19:17:39 +03:00
Andrii Shvaika
da6d3b6ca8 Configure content type for update service 2023-04-11 18:34:47 +03:00
YevhenBondarenko
46935d4517 updated jedis version 2023-04-11 16:34:56 +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
Vladyslav_Prykhodko
32d23844d6 UI: Updated tinycolor for version 1.6.0 2023-04-11 16:00:33 +03:00
YevhenBondarenko
72ea018efc updated spring versions 2023-04-11 14:05:28 +02:00
Volodymyr Babak
567bfd67ef Set Edge as last in the list to avoid issues with compatibility 2023-04-11 14:35:38 +03:00
Volodymyr Babak
b1502ee11f Added Edge relation type for originator type switch 2023-04-11 14:33:40 +03:00
Volodymyr Babak
c4d50181ff Always use multiple types if present. If not present - use singular type 2023-04-11 13:32:20 +03:00
dashevchenko
6b92ed8005 refactoring 2023-04-11 13:07:48 +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
7ed9971a7b
Merge pull request #8343 from vvlladd28/bug/notificaion/email-preview
Fixed show email notification preview in big content
2023-04-11 12:33:16 +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
5b6db5d796
Merge pull request #7725 from ViacheslavKlimov/feature/monitoring-service
Monitoring microservice
2023-04-11 12:27:25 +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
Vladyslav_Prykhodko
74a58817db UI: Change default notification style for alarm notification 2023-04-11 12:20:51 +03:00
Volodymyr Babak
f6b1f15c8d Add keepAliveTimeoutSec config to edge imitator - fixed edge tests 2023-04-11 11:21:45 +03:00
Igor Kulikov
06c133c4c9 UI: update help link 2023-04-11 10:59:32 +03:00
Vladyslav_Prykhodko
0b3f170b4c UI: Disable sort column assignToEdge in rule chain 2023-04-11 10:40:43 +03:00
Igor Kulikov
ecd5c38d13 UI: Minor style fixes 2023-04-11 10:01:28 +03:00
Volodymyr Babak
d625af2cd5 Merge remote-tracking branch 'upstream/develop/3.5' into keep-alive-updates 2023-04-11 09:59:43 +03:00
Igor Kulikov
e109231678 UI: Style improvements 2023-04-11 09:52:23 +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
YevhenBondarenko
3a9cce9bd6 Merge branch 'develop/3.5' of github.com:thingsboard/thingsboard into fix/vulnerabilities 2023-04-11 01:03:10 +02: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
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
80f1ec2fcd Handle properly cases when state persistent to timeseries 2023-04-10 17:52:05 +03:00
Igor Kulikov
12e169fae1 Fix isEmailEnabled 2023-04-10 17:38:10 +03:00
Volodymyr Babak
fa8c3cc6e5 Push edge connect/disconnect events to rule chain 2023-04-10 17:35:42 +03:00
dashevchenko
939c00c299 added validation for max value of wsQueueMessagesPerSession 2023-04-10 16:55:20 +03:00
Vladyslav_Prykhodko
9ea27302db UI: Fixed show emil notification preview in big content 2023-04-10 16:51:23 +03:00
Igor Kulikov
1b952f2a71 Merge branch 'develop/3.5' of github.com:thingsboard/thingsboard into feature/home-page 2023-04-10 16:11:04 +03:00
Igor Kulikov
855c69e0d6 UI: Update sys admin home page. Add translations. 2023-04-10 16:10:44 +03:00
Vladyslav_Prykhodko
5541cdb007 UI: Fixed show edge details panel 2023-04-10 16:09:46 +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
Volodymyr Babak
79393b2582 Refactoring - move common code into separate method 2023-04-10 15:49:46 +03:00
ViacheslavKlimov
a58dff1ffc Refactoring for devices activity stats 2023-04-10 15:39:46 +03:00
Vladyslav_Prykhodko
b81ae6cc1e UI: Fixed show edge details panel 2023-04-10 15:38:54 +03:00
FawenYo
47542eb8c1 Add SSL option for Kafka queue connection 2023-04-10 15:29:14 +03:00
Andrew Shvayka
27ae2fb119
Merge pull request #7991 from AndreMaz/feature/kafka_connection_timeout
Allow to configure kafkajs `connectionTimeout` property
2023-04-10 15:22:01 +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
Vladyslav_Prykhodko
b86fc8ced9 UI: Fixed alarm datasource layout 2023-04-10 15:05:11 +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
Andrii Landiak
38ee1e01e0 Micro refactoring 2023-04-10 13:58:11 +03:00
Volodymyr Babak
63b13e4353 Improved keep alive communication - handling properly nextwork failures 2023-04-10 13:57:31 +03:00
Andrew Shvayka
08952b2ef0
Merge pull request #8173 from dmytro-landiak/mqtt-test-fix
[3.5] mqtt integration test improved
2023-04-10 13:33:23 +03:00