Commit Graph

66 Commits

Author SHA1 Message Date
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
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
6da8e26509 Merge branch 'session-histroy' of https://github.com/maranqz/yii2-usuario 2022-08-11 09:08:25 +02:00
c856eded75 phpstan: remove <php7.4 from build grid (v1.6) 2022-08-10 17:12:10 +03: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
52f81d431e PR #458 - code improvement required by @maxxer 2022-08-09 16:56:54 +02:00
97a2de2f48 PR #458 - fix and improvement required by @mp1509 2022-08-09 12:21:34 +02:00
91d110e1e7 2fa by email and by sms 2022-07-13 10:37:15 +02:00
ec61f5c9ed Merge remote-tracking branch 'upstream/master' 2022-03-09 10:40:56 +00:00
422a17d8dc Use GitHub actions (#447)
* init github actions

* init github actions: test run on feature branch

* github actions: remove alternative mysql port

* github actions: expose mysql port

* github actions: install & try migrations

* github actions: adjust test db configuration for github actions

* github actions: run tests

* github actions: fix codeception db connection add actions badge

* github actions: try only php8

* github actions: add php 7.4

* github actions: dont fail fast

* github actions: save test-outputs as artifacts

* github actions: save test-outputs only on fail

* github actions: save runtime folder in artifacts on failed build

* github actions: save runtime folder in artifacts on failed build

* github actions: save error  logs for tests

* github actions: log error if unable to send email on new user creation

* github actions: change log conf

* github actions: add tests yii2:transaction=false to pass tests on php < 8

* github actions: add tests yii2:transaction=false to pass tests on php < 8

* github actions: remove travis

* github actions: add changelog
2022-02-17 13:45:34 +01:00
43fd2fdc34 Added minimum password requirements 2022-01-10 12:34:57 +01:00
078ee0d956 FIX allow password_changed_at to be saved (#433) 2021-09-13 22:35:41 +02:00
8505327f21 Always create flash messages, allow enableFlashMessages only to dictate display
Fixed inconsistent handling of flash messages and the `enableFlashMessages` config setting (#391)
2021-02-02 17:14:14 +00: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
be2b495c9e Add session history 2019-11-14 20:55:18 +03:00
3424320684 optimize imports 2019-06-30 02:01:25 +02:00
35fda70e14 optimize imports 2019-06-29 13:31:10 +02:00
8c551d9030 Close #269 added help for console commands + php-cs-fixer 2019-06-29 08:32:35 +02:00
dd407f50b4 re #309 remove the creation of a user on social auth and force creation of account through RegistrationController 2019-06-17 17:35:22 +02:00
8a708839c0 Fix password expire service #293 2018-12-31 11:30:22 +01:00
adf9321db8 Always show a feedback when recovering password (#249)
Even if email doesn't exist
2018-10-23 12:10:33 +02:00
2cf884ac96 fix unpassable condition in EmailChangeService 2018-08-20 17:36:45 +02:00
7a571f4800 UserCreateService: check if we're from web before setting flash message #195
Also return an error message to console if mail send failed
2018-07-13 18:36:04 +02:00
71f9587374 Add last-login-ip capture capability (#184) 2018-05-16 15:29:08 +02:00
051e2fe8a8 Merge pull request #146 from ajmedway/patch-1
Bugfix for Model events UserEvent::EVENT_BEFORE_CREATE and UserEvent:…
2018-02-09 12:40:38 +01:00
fa3d7075cf Merge pull request #147 from ajmedway/patch-2
Bugfix for Model events UserEvent::EVENT_BEFORE_CONFIRMATION and Use…
2018-02-09 12:40:24 +01:00
b8233114f8 Added use MailAwareTrait; 2018-02-09 09:34:01 +00:00
53209d2d78 Honor enableFlashMessages config param in PasswordRecoveryService #110 2018-02-09 08:45:39 +01:00
4341d2173b Bugfix for Model events UserEvent::EVENT_BEFORE_CONFIRMATION and UserEvent::EVENT_AFTER_CONFIRMATION
Bugfix for Model events UserEvent::EVENT_BEFORE_CREATE and UserEvent:…  …
…:EVENT_AFTER_CREATE

Feed instance of Da\User\Event\UserEvent to resolve error in event handlers:

TypeError
Argument 1 passed to {closure}() must be an instance of Da\User\Event\UserEvent, instance of yii\base\Event given
2018-02-08 17:17:16 +00:00
5f77b24254 Bugfix for Model events UserEvent::EVENT_BEFORE_CREATE and UserEvent::EVENT_AFTER_CREATE
Feed instance of Da\User\Event\UserEvent to resolve error in event handlers:

TypeError
Argument 1 passed to {closure}() must be an instance of Da\User\Event\UserEvent, instance of yii\base\Event given
2018-02-08 17:11:32 +00:00
26791a2d8d Merge remote-tracking branch 'upstream/master' into password_expiration 2018-01-30 22:16:03 +01:00
2e3673ff07 Check is user found or not. 2017-12-11 13:15:26 +03:00
3281169b86 Password expiration feature #102
It's still missing an enforcement which redirects all actions to profile
update until the password is changed
2017-11-26 20:09:09 +01:00
c418ad967c Close #108 phpcs fixes 2017-11-12 22:01:28 +01:00
190fafa5f1 re #108 use app main logger + multiple fixes 2017-11-12 21:58:48 +01:00
3feae01a17 Enhancements to Mailer exception handling fixes #79 2017-10-18 18:15:15 +05:30
20400cf90d Close #55 add google captcha mechanism 2017-10-15 22:11:35 +02:00
e002109568 re #68 refactor event variable name 2017-10-15 15:47:13 +02:00
9607e8d775 Close #68 fix documentation + events raised on User model 2017-10-15 15:46:20 +02:00
803a8ff4f0 Close #69 update error level when user can't register 2017-10-15 14:26:28 +02:00
359940f4d1 update message translations + spanish file 2017-10-15 14:11:53 +02:00
308b6a0b2c Close #15 added two factor authentication 2017-09-21 17:48:01 +02:00
22050e733a Merge branch 'master' into issue_49 2017-08-09 15:38:08 +02:00