Commit Graph

420 Commits

Author SHA1 Message Date
7216c67854 Possibility to get user ids from roles recursively 2023-04-03 16:34:48 +02:00
f22148660b Use correct User model if overwritten in config
Two factor authentication doesn't work if the User model has been changed in the config from the modules own model class. This fix gets the correct User model from the class map.
2023-02-23 12:49:07 +02:00
7bdaeb2202 Possibility to call all the api endpoints with id or username or email 2023-02-22 14:31:12 +01:00
22c994db6e Fix mispelling
The translation said: Paste the following text, while the original message is Paste the text. 
It can lead to confussion since there is nothing after that text in the emails.
2023-02-06 20:46:57 +01:00
1fd1febaa4 Update LoginWidget.php
Fix LoginWidget viewPath
2023-01-30 14:20:09 +01:00
20c2b6b3e5 Fixed password recovery link in welcome mail
And add this new feature to the plain text variant too
2023-01-09 15:43:52 +01:00
5f6b591bac PL translations
Updated PL lang
2023-01-02 13:38:09 +01:00
406fa591f3 php-cs-fixer fix 2022-12-29 22:58:51 +01:00
fdb53cfe7a Updated IT translation 2022-12-29 11:19:32 +01:00
1022d98e26 Update strings 2022-12-29 11:04:35 +01:00
d19374afec Timezone fixes for php 8.1 (#490)
* Added simple test for TimeZoneHelper #461
* TimeZone offset: don't use float values for columns that could be array keys #461
2022-12-29 10:55:01 +01:00
562d7eff43 User model emailTrim validator only if not empty 2022-12-20 15:36:17 +01:00
4c9ef3df9b Update LoginForm model added method setUser (#484) 2022-12-16 11:59:46 +01:00
45a0e0e9de Fixed prefix for REST APIs 2022-11-24 10:16:30 +01:00
582ecc9455 modified check access REST api for admin: now is based on identity (#482)
Co-authored-by: Antonio Cordeddu <coranto@yetopen.com>
2022-11-18 14:25:44 +01:00
1c16ece741 fixed userBlockService controller type check to use "instanceof" to allow overridden controllers 2022-10-05 13:35:35 +03:00
08e1355753 Added the possibility to enable/disable REST APIs 2022-09-22 17:19:24 +02:00
312861c854 Fixs for automatic checks 2022-09-22 16:17:06 +02:00
ced062856f Added REST admin controller 2022-09-22 16:06:44 +02:00
b680784f66 php-cs-fixer run 2022-09-22 11:17:46 +02:00
b4ba918a45 Re-updated strings 2022-09-22 11:14:42 +02:00
3ada36cbba Merge branch 'master' of github.com:2amigos/yii2-usuario 2022-09-22 11:14:28 +02:00
0e7324b762 Updated strings 2022-09-22 11:14:18 +02:00
5ea3404358 2FA: clear auth key from db when disabled
Co-authored-by: Lorenzo Milesi <lorenzo.milesi@yetopen.com>
2022-09-22 11:12:38 +02:00
24d5d5744f Check user session before displaying two factor seed
Two factor seed page was not properly checking for user session, allowing an authenticated user to see everyone's 2fa seed
2022-09-16 17:14:53 +02:00
ec665e1cc2 missed one ... 2022-09-08 14:07:34 +03:00
569b049011 implement module viewPath in all views instead of static file reference 2022-09-08 09:41:08 +03:00
db232f150a fixed translations not initialized 2022-09-06 09:53:46 +03:00
475f9c2c8f fix typo to allow filtering on Last login IP field 2022-08-19 01:52:53 +03:00
99271a55c3 Removed useless double string 2022-08-15 08:16:50 +02:00
ca84ceca4b PHP-CS-Fixer run 2022-08-15 08:16:03 +02:00
7fb900dfe1 #458 - fix on variables not initialized 2022-08-12 16:39:59 +02:00
34981c8d4f Files left out of merge 2022-08-12 09:47:02 +02:00
2face44d98 Merge branch '2fa-channels-email-sms' of https://github.com/acordeddu/yii2-usuario into acordeddu-2fa-channels-email-sms 2022-08-12 09:46:32 +02:00
902970c718 #458 fix on email subject message and on send sms 2022-08-11 12:15:53 +02:00
368563dcc0 Phpstan fix (#465)
phpstan level 2: services and i18n
2022-08-11 10:27:04 +02:00
7147236e68 Merge branch 'master' into master 2022-08-11 09:53:06 +02:00
ad3b629ee7 Merge branch 'master' into static-code-analyzer 2022-08-11 09:50:37 +02:00
c83692f277 Update PHP-CS-Fixer to v3.x (#460) 2022-08-11 09:47:33 +02:00
c73776698e Merge branch 'master' of github.com:2amigos/yii2-usuario 2022-08-11 09:39:24 +02:00
3d24f20e03 Merge branch 'change-email-footer' 2022-08-11 09:35:48 +02:00
035b4045e6 Merge branch 'master' into 381-events-afterregister-and-beforeregis 2022-08-11 09:10:53 +02:00
6da8e26509 Merge branch 'session-histroy' of https://github.com/maranqz/yii2-usuario 2022-08-11 09:08:25 +02:00
340487a10f Merge pull request #412 from 4khobta/master
Role name UTF-8 support
2022-08-11 08:15:57 +02:00
a622159072 Merge pull request #428 from anapaulaxenon/master
Translations of the placeholders in the login widget
2022-08-11 08:14:19 +02:00
fdac4698bd phpstan: ok at level 1 2022-08-10 17:25:35 +03:00
c856eded75 phpstan: remove <php7.4 from build grid (v1.6) 2022-08-10 17:12:10 +03:00
8b6c6282f9 #458 fix on sms 2fa management 2022-08-10 15:59:52 +02:00
fa17922914 phpstan: missing declared return 2022-08-10 16:58:13 +03:00
3e33813fd5 phpstan: missing service returns 2022-08-10 16:48:03 +03:00