422 Commits

Author SHA1 Message Date
AndrewVolosytnykhThingsboard
228fddb8cd
[PROD-678] Authorization and password reset vulnerability fix (#4569)
* Fixed vulnerabilities for password reset and authorization

* Improvements to check user and credentials for null

* Correct messages and logs

* Improvements

* Reset Password Test: added delay after resetting password to synchronize test with server

* Executor removed from controller

* Correct method calling

* Formatting cleaned
2021-07-06 17:24:35 +03:00
Sergey Matvienko
89fe9514d1 DeviceActorMessageProcessor: fixed message on MaxSessionsLimit and test header fixed 2021-07-06 14:15:45 +03:00
Sergey Matvienko
a44230a253 DeviceActorMessageProcessor: introduced LinkedHashMapRemoveEldest with BiConsumer instead many ensureSessionsCapacity() that spreaded over the class. test added 2021-07-06 14:15:45 +03:00
YevhenBondarenko
aa569ceec1 added fw/sw update tests 2021-07-02 15:57:45 +03:00
Andrii Shvaika
690c97dd4d Renaming of the lwm2m configuration properties 2021-07-01 17:32:36 +03:00
Andrii Shvaika
ee55c0bf85 Improvements to key store read for lwm2m. 2021-07-01 17:08:41 +03:00
Andrii Shvaika
27b4c99609 Do not remove info from security store 2021-06-29 15:19:32 +03:00
AndrewVolosytnykhThingsboard
51f922ade5 Merge from master 2021-06-23 16:16:42 +03:00
Andrii Shvaika
d077ee6a07 Improved Security Store to support race conditions during registration 2021-06-22 18:59:19 +03:00
AndrewVolosytnykhThingsboard
cd9268a44e Conflicts solving 2021-06-22 16:27:19 +03:00
Andrii Shvaika
e83064ece7 Refactoring of the LwM2MTransport 2021-06-22 15:53:06 +03:00
AndrewVolosytnykhThingsboard
8fc60c6a98 Merge branch 'master' of https://github.com/AndrewVolosytnykhThingsboard/thingsboard into lwm2m-refactoring 2021-06-22 13:46:05 +03:00
Andrii Shvaika
be3e97d3e1 Improvements for CoAP 2021-06-18 12:24:31 +03:00
Andrii Shvaika
015443d35b Merge remote-tracking branch 'origin/master' into feature/lwm2m-refactoring-downlink 2021-06-17 18:32:23 +03:00
Andrii Shvaika
bed454ec0f LwM2M Refactoring of OTA 2021-06-17 18:29:33 +03:00
YevhenBondarenko
b4a90ceab9 improved lwm2m test for firmware 2021-06-17 13:10:03 +03:00
YevhenBondarenko
56a6e601bc added lwm2m test for firmware 2021-06-17 13:10:03 +03:00
YevhenBondarenko
c3ab678c1b OtaPackage improvements 2021-06-14 12:19:20 +03:00
AndrewVolosytnykhThingsboard
898c937e5d Removed redundant endpoint, RPK test is separated 2021-06-10 10:49:32 +03:00
AndrewVolosytnykhThingsboard
38d3b9c293 Constants improvement 2021-06-09 18:47:45 +03:00
AndrewVolosytnykhThingsboard
d109941cf9 Redis Security Store implementation, tests for RPK and PSK security and code cleaning 2021-06-09 18:33:20 +03:00
YevhenBondarenko
7dc6ee10d8 refactored 2021-06-08 11:57:41 +03:00
YevhenBondarenko
be4d3f608d fixed lwm2m tests 2021-06-07 19:26:10 +03:00
YevhenBondarenko
823f1dd39c update lwm2m version 2021-06-07 11:51:18 +03:00
YevhenBondarenko
10dda013cb improvements 2021-06-03 19:37:47 +03:00
YevhenBondarenko
43b4f4461d created data limits for resources and otaPackages, added url for the otaPackage 2021-06-03 18:34:39 +03:00
YevhenBondarenko
a7239c9d39 Renamed Firmware to OtaPackage 2021-05-31 16:43:33 +03:00
ShvaykaD
a764838e62
Coap transport improvements (#4644)
* added fix for PROD-518 in subscribe to attribute updates get request, added improvements

* updated coap observe requests implementation & updated tests

* updated coap attributes updates tests

* fix typos
2021-05-28 14:19:40 +03:00
nickAS21
6478903dab
RPC: fix bug UUID (#4636)
* RPC: six bug UUID

* RPC: optimized handleDeviceRPCRequest

* RPC: add json & fix bug test certificate
2021-05-27 18:07:06 +03:00
Andrii Shvaika
78ae90da7a Restore WARN log level 2021-05-27 12:53:36 +03:00
Andrii Shvaika
9d8a1f0dc5 Merge with master 2021-05-26 19:01:21 +03:00
Andrii Shvaika
15d725570d Merge with master 2021-05-26 18:41:56 +03:00
YevhenBondarenko
4cd59674ee refactored LwM2M client credentials for the new UI 2021-05-26 16:51:33 +03:00
nickAS21
a703dead7b
Lwm2m: add Update Fw && Sw (#4557)
* Lwm2m: add Update Fw && Fix bug toLwM2mObject (not add Lwm2mObject without resources)

* Lwm2m: fix bug test

* Lwm2m: fw_update_start

* Lwm2m: fw_update send state

* Lwm2m: add     registration_store_pool_size: "${LWM2M_REGISTRATION_STORE_POOL_SIZE:100}"
               clean_period_in_sec: "${LWM2M_CLEAN_PERIOD_IN_SEC:2}"

* Lwm2m: add Update Execute

* Lwm2m: add Update Execute Successful

* Lwm2m: send state to tningsboard if only Successful
2021-05-11 18:27:35 +03:00
YevhenBondarenko
5bee2b2aec refactored 2021-05-11 16:32:02 +03:00
YevhenBondarenko
92719c2ac2 added lwm2m x509 test 2021-05-11 16:32:02 +03:00
Igor Kulikov
5cc3a93cb9 Introduce default dashboard for device profile 2021-05-07 18:25:05 +03:00
Andrii Shvaika
4ec25beeb3 LwM2M Integration test 2021-05-06 17:11:24 +03:00
Igor Kulikov
d5b640d602 Add image fields for dashboard and device profile entities. Introduce getAllAlarms and getCustomerAlarms API 2021-05-06 17:01:46 +03:00
Andrii Shvaika
00bd26f1f5 Merge with master 2021-04-30 11:25:56 +03:00
YevhenBondarenko
ca2e08f849 refactoring 2021-04-30 10:58:32 +03:00
YevhenBondarenko
f264aa4330 fixed firmware tests and validation 2021-04-30 10:58:32 +03:00
Sergey Matvienko
42fb44ff31 concurrency test fix TbMsgPackProcessingContextTest (readyLatch). any logs commented to not affect concurrency with sync logger. refactored 2021-04-29 14:16:44 +03:00
Andrii Shvaika
53bf6af23b Merge branch 'master' of github.com:thingsboard/thingsboard into feature/firmware 2021-04-22 15:52:08 +03:00
Viacheslav Klimov
f89b30777e Initial implementation for per-customer api usage stats 2021-04-22 13:15:19 +03:00
Andrii Shvaika
279e221523 Merge with master 2021-04-22 10:55:57 +03:00
ShvaykaD
321fb731a6
Support of server-side RPC requests via protobuf for CoAP and MQTT
* rpc response schema added

* rpc request proto

* fixed device profile validation

* fix error messages
2021-04-20 11:14:27 +03:00
Andrii Shvaika
f1d89ace5d Removed invalid dependency 2021-04-16 14:29:57 +03:00
Volodymyr Babak
b034fe04e6 Fix test wait condition 2021-04-15 16:33:57 +03:00
Volodymyr Babak
f2eea6d82b Do not print disconnect error msg 2021-04-15 16:31:03 +03:00