Commit Graph

112 Commits

Author SHA1 Message Date
1c1ce6ccff refactor: renamed namespace from Da\User to pcrt\User
Some checks failed
Build / build (ubuntu-latest, 7.4) (push) Has been cancelled
Build / build (ubuntu-latest, 8.0) (push) Has been cancelled
Build / build (ubuntu-latest, 8.1) (push) Has been cancelled
Build / build (ubuntu-latest, 8.2) (push) Has been cancelled
Build / build (ubuntu-latest, 8.3) (push) Has been cancelled
Build / build (ubuntu-latest, 8.4) (push) Has been cancelled
All PHP namespaces and related references have been updated from Da\User to pcrt\User throughout the codebase, including composer.json autoload settings and all source files. This change standardizes the project under the new pcrt\User namespace for improved clarity and maintainability.
2025-10-15 10:22:32 +02:00
eba9671e1b Refactor: merge SettingsController into ProfileController
Removed SettingsController and moved its logic into ProfileController, consolidating user profile, account, GDPR, network, and two-factor authentication actions. Updated routes, behaviors, and view files to reflect the new structure. Also updated composer.json to use pcrt/yii2-usuario and pcrt/yii2-select2, added 'surname' to Profile model, and added new attributes to User model. Improved user feedback by redirecting after key actions instead of rendering message views.
2025-10-15 09:16:32 +02:00
771b94658e Merge branch 'master' into fix-profile-open 2024-09-18 21:53:32 +02:00
66aeeff584 Ehh: Added option to pre-fill recovery email via url parameter 2024-09-18 17:19:57 +03:00
f319bf70e2 typos, remove disableProfileViewsForRegularUsers 2024-03-08 14:16:01 +02:00
d5d211a9e9 typos 2024-03-08 14:12:33 +02:00
5c0d050d24 fixed profile page being globally open by anyone by default 2024-03-08 14:06:28 +02:00
804e74a3d7 added option to disable viewing any other user's profile for non-admin users 2024-03-08 09:29:23 +02:00
34236067aa #532 /user/registration/register now shows form validation errors if any 2024-02-21 10:55:50 +00:00
8a81ad7c42 Add optional to control wether a welcome mail should be send after a registration by social network 2024-01-05 15:49:25 +01:00
8f18c51cf2 Use new property to enable social network registration in registration controller 2024-01-05 15:26:40 +01:00
bbd206ac1c #524 Two Factor - Authenticator App - now offers the end-user a "Can't scan?" fallback 2023-10-06 15:49:31 +01: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
406fa591f3 php-cs-fixer fix 2022-12-29 22:58:51 +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
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
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
ca84ceca4b PHP-CS-Fixer run 2022-08-15 08:16:03 +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
c83692f277 Update PHP-CS-Fixer to v3.x (#460) 2022-08-11 09:47:33 +02:00
6da8e26509 Merge branch 'session-histroy' of https://github.com/maranqz/yii2-usuario 2022-08-11 09:08:25 +02:00
8b6c6282f9 #458 fix on sms 2fa management 2022-08-10 15:59:52 +02:00
d25012ad02 Merge remote-tracking branch 'upstream/master' into 1fa-channels-email-sms 2022-08-10 11:35:38 +02:00
a0ad86d53d force 2fa for group of users (#456)
Authored-by: Antonio Cordeddu <coranto@yetopen.com>
2022-08-10 09:22:35 +02:00
97a2de2f48 PR #458 - fix and improvement required by @mp1509 2022-08-09 12:21:34 +02:00
1ea46e9952 refinements and documentation on 2fa in yii2-usuario via other channels 2022-07-18 14:54:01 +02:00
91d110e1e7 2fa by email and by sms 2022-07-13 10:37:15 +02:00
b78656d229 Fixed issue: remove after/before login events from ajax LoginForm validation, only validation is done there 2022-04-04 11:46:42 +03:00
1179f71b25 fixed issue: user login events not triggered on ajax requests 2022-02-16 17:34:08 +02:00
6a912289f7 Moved event to correct place (#430) 2021-09-15 09:48:43 +02:00
4b4e370574 Remove not used filtered action. (#393)
Action 'blocked' looks not needed
2020-10-16 07:46:53 +02:00
369c59bbb1 Add disableIpLogging option. (#379) 2020-04-17 18:10:54 +02:00
a1c5c364e6 Author: Ivan <10677129+ivan-cc@users.noreply.github.com>
Added FAILED_LOGIN event
2020-02-05 21:34:39 +01:00
e99e0ca0b9 Merge branch 'master' of https://github.com/2amigos/yii2-usuario into session-histroy 2019-11-30 18:03:19 +03:00
b7d2cf42ac Fix:
1. Documentation;
2. Actions access in AdminController and SettingController by enableSessionHistory;
3. Add "visible" menu parameter by enableSessionHistory;
4. Add blank line in end of file.
2019-11-30 17:52:24 +03:00
06a5f669b2 Merge pull request #351 from BillHeaton/ReCaptcha-Updates
#347 Only pass fields that are known to be in the User Model
2019-11-25 22:30:47 +01:00
be2b495c9e Add session history 2019-11-14 20:55:18 +03:00
8dea2d8078 Add return to rule delete, fix #357 2019-10-23 14:29:17 +02:00
2d71ff95f9 #345, #346, #347 ReCaptcha fixes 2019-09-20 12:44:40 -07:00
1bfc576dcc #347 Only pass fields that are known to be in the User Model 2019-09-13 22:13:23 -07:00
5b071dae88 re #224 add option to require consent 2019-08-21 11:13:48 +02:00