5295 Commits

Author SHA1 Message Date
Andrew Shvayka
cbbbfe2388
Merge pull request #8371 from YevhenBondarenko/fix/noxss-tskv-revert-value
revert tskv value noxss validation
2023-04-17 13:28:23 +03:00
YevhenBondarenko
08efbd1c85 revert tskv value noxss validation 2023-04-14 18:06:59 +02:00
YevhenBondarenko
b09bbff15d fixed RestTemplate xml content type issue 2023-04-14 16:13:10 +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
d7fc1ff83e
Merge pull request #8346 from volodymyr-babak/keep-alive-updates
Improved Keep Alive Functionality between Edge and Cloud to Prevent Data Loss
2023-04-14 14:29:39 +03:00
ViacheslavKlimov
d2912af543 Fix getNotificationRequestPreview 2023-04-13 18:41:28 +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
7b6f3ed4df Notification requests per rule rate limits 2023-04-13 18:20:37 +03:00
Igor Kulikov
07504aad2b Merge branch 'develop/3.5' of github.com:thingsboard/thingsboard into feature/home-page 2023-04-13 12:59:19 +03:00
ViacheslavKlimov
e926854911 NoXss and length validation for notification entities 2023-04-13 12:53:59 +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
b2130af408 Typo - fixed startup of edge event clean up service 2023-04-13 09:25:46 +03:00
Andrii Landiak
579a793f40 Remove unnessessary yaml config 2023-04-12 18:54:39 +03:00
Andrii Landiak
bbde3b4b45 Add trace logging fpr parsing CN and refactor extractByRegex to throw ProvisionFailedException 2023-04-12 18:49:40 +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
4b0709567c
Merge pull request #8349 from thingsboard/fix/vulnerabilities
fix vulnerabilities
2023-04-12 17:33:30 +03:00
Igor Kulikov
47909088f0 Merge branch 'develop/3.5' of github.com:thingsboard/thingsboard into feature/home-page 2023-04-12 16:43:54 +03:00
ViacheslavKlimov
5a57657479 Notification preview for first recipient; Slack notification preview; increase timeouts for testDelayedNotificationRequest 2023-04-12 15:14:38 +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
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
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
YevhenBondarenko
72ea018efc updated spring versions 2023-04-11 14:05:28 +02: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
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
Volodymyr Babak
f6b1f15c8d Add keepAliveTimeoutSec config to edge imitator - fixed edge tests 2023-04-11 11:21:45 +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
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
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
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
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
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
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
Andrii Landiak
4a216070d5 Replace converting from string chain to list from method to streams 2023-04-10 10:45:50 +03:00