3501 Commits

Author SHA1 Message Date
Vladyslav_Prykhodko
d9a2495ea4 Add upgrade script for 2FA 2022-04-29 17:25:06 +03:00
Viacheslav Klimov
b58be41083 Tests for JwtTokenFactory 2022-03-30 10:44:21 +03:00
Viacheslav Klimov
190430ffc4 Store 2FA account config in UserAuthSettings table 2022-03-29 19:18:00 +03:00
Viacheslav Klimov
95f41810ac Store 2FA account config is UserCredentials' additionalInfo 2022-03-29 11:32:27 +03:00
Viacheslav Klimov
b7db4ed604 Minor 2FA refactoring 2022-03-24 14:00:17 +02:00
Viacheslav Klimov
0915113a24 Swagger docs for TwoFactorAuthController 2022-03-23 19:57:18 +02:00
Viacheslav Klimov
6eb8a41f9a Swagger docs for TwoFactorAuthConfigController and config classes 2022-03-23 19:38:44 +02:00
Viacheslav Klimov
472edc8409 Refactor controller exceptions handling 2022-03-23 12:07:52 +02:00
Viacheslav Klimov
d746a04186 Merge branch 'develop/3.4' into feature/2fa
# Conflicts:
#	application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java
2022-03-22 15:54:53 +02:00
Viacheslav Klimov
5ed306881f Tests for 2FA 2022-03-22 15:54:11 +02:00
Viacheslav Klimov
8bbe6bafd8 Refactor 2FA; add refilling setting to TbRateLimits 2022-03-22 15:49:57 +02:00
Viacheslav Klimov
bc6c38c36c Change isAuthenticated() check to hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN', 'CUSTOMER_USER') in controllers 2022-03-22 15:46:30 +02:00
Viacheslav Klimov
1250fa2ba0 Tests for 2FA config management; refactoring 2022-03-21 14:09:51 +02:00
Viacheslav Klimov
062af3af81 2FA: cleanup code 2022-03-21 09:21:30 +02:00
Viacheslav Klimov
ea7f559e23 2FA: log login action, fix user lockout 2022-03-20 14:59:25 +02:00
Viacheslav Klimov
20a4f3cc4c 2FA: lock account after X unsuccessful verification attempts; refactoring 2022-03-20 14:13:54 +02:00
Viacheslav Klimov
052068d7f4 Remove 2FA with email message 2022-03-20 09:21:41 +02:00
Viacheslav Klimov
0c36d4809c 2FA: rate limiting, validation, refactoring 2022-03-19 19:34:45 +02:00
Viacheslav Klimov
1a00628509 Email 2FA provider, refactoring 2022-03-18 18:08:45 +02:00
Viacheslav Klimov
b5afb32f56 2FA: validation and error handling refactoring 2022-03-18 11:05:17 +02:00
Viacheslav Klimov
9eb03950fa 2FA: refactoring, tests 2022-03-17 18:49:08 +02:00
Igor Kulikov
d7efbd6eba Merge with master 2022-03-15 12:42:18 +02:00
Viacheslav Klimov
1ad769048c 2FA support for platform authentication 2022-03-10 18:15:42 +02:00
Viacheslav Klimov
e2c9a5ffdf TOTP and SMS 2FA providers; 2FA set-up API 2022-03-10 17:59:59 +02:00
Igor Kulikov
c93309a496
Merge pull request #6213 from desoliture1/unresolverDynamicValuesOnExportDevicesFilterFix
[3.3.4] Fix unresolved dynamic values on API request
2022-03-08 18:19:06 +02:00
Igor Kulikov
8d51431cd5
Merge pull request #6204 from desoliture1/alarmCustomerPermissionsFix
[3.3.4] Customer alarm permission checker fix
2022-03-08 17:59:55 +02:00
Igor Kulikov
1189630702 Fix upgrade script 2022-03-08 17:25:37 +02:00
desoliture
89c838e560 add corresponding tests 2022-03-07 15:39:18 +02:00
desoliture
6b5966a579 fix unresolved dynamic values in queryService on api request 2022-03-07 15:29:20 +02:00
Igor Kulikov
a35bb0fb97
Merge pull request #6180 from ViacheslavKlimov/fix/lwm2m-import
[3.3.4] Fix LwM2M devices import
2022-03-07 14:50:25 +02:00
Igor Kulikov
53323077ae Update delete device profile warning text to mention associated OTA updates 2022-03-07 14:33:42 +02:00
Igor Kulikov
7621a39320 Merge branch 'fix/ota-device-profile' of https://github.com/ViacheslavKlimov/thingsboard into ViacheslavKlimov-fix/ota-device-profile 2022-03-07 12:00:22 +02:00
desoliture
37f6dd33de tests refactoring
fix not removing differentTenant at test teardown, add new corresponding tests and refactor existing ones
2022-03-06 14:48:14 +02:00
desoliture
30f21fa36c add corresponding tests 2022-03-05 23:21:34 +02:00
desoliture
fa9e43a377 refactor checkers to be more 'fancy' 2022-03-05 23:21:15 +02:00
desoliture
460a19d5f3 add customerAlarmPermissionChecker 2022-03-05 23:18:38 +02:00
Igor Kulikov
f3c61f48f8
Merge pull request #6123 from ArtemDzhereleiko/bug-fix/dev-table/edit-action
[3.3.4] UI: Fixed edit action on Device Admin Table
2022-03-03 18:40:30 +02:00
Viacheslav Klimov
5bf9107deb Merge branch 'master' into fix/ota-device-profile
# Conflicts:
#	application/src/main/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeService.java
2022-03-02 17:32:41 +02:00
Igor Kulikov
363fa9b5e9 Update ui help assets url to release-3.3.4 2022-03-02 14:32:35 +02:00
Andrii Shvaika
17b127b6b8 Performance improvements to launch sequence 2022-03-02 08:02:03 +02:00
Andrii Shvaika
a7196c4fa7 Automatic conversion of rule chain metadata on the back end 2022-02-28 17:17:31 +02:00
Andrii Shvaika
4775869786 Merge branch 'master' into develop/3.4 2022-02-28 11:48:31 +02:00
Andrew Shvayka
fd6bf9b0fd
Merge pull request #6139 from volodymyr-babak/validators-refactoring
[3.3.4][Edge] Refactoring validators - moved them to a separate classes. Added device profile validation in edge processor
2022-02-28 11:10:03 +02:00
Volodymyr Babak
b75f949004 Fixed error msg logging 2022-02-23 14:48:32 +02:00
Volodymyr Babak
890abe9f98 Added testDeviceReachedMaximumAllowedOnCloud 2022-02-23 14:45:42 +02:00
Volodymyr Babak
3c2f65386b Code reformat 2022-02-22 17:07:43 +02:00
Volodymyr Babak
8d89a4fe52 Import fixes 2022-02-22 17:01:16 +02:00
Volodymyr Babak
8863003f4c Added functionality to remove device profile from edge in case removal from cloud 2022-02-22 16:56:49 +02:00
Volodymyr Babak
1b9d70f2fe Refactoring validators - moved them to a separate classes 2022-02-21 19:18:27 +02:00
Igor Kulikov
05db6ffe49 Upgrade to 3.4.0 2022-02-21 12:32:27 +02:00