Skip to content

Commit

Permalink
Merge branch '15.next-cake5' into feature/14-to-15
Browse files Browse the repository at this point in the history
  • Loading branch information
ajibarra committed Jan 24, 2025
2 parents 9d391d1 + 8926349 commit 5f687d8
Show file tree
Hide file tree
Showing 16 changed files with 731 additions and 552 deletions.
6 changes: 3 additions & 3 deletions .semver
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
:major: 14
:minor: 3
:patch: 1
:major: 15
:minor: 0
:patch: 0
:special: ''
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ Changelog
=========
Releases for CakePHP 5
-------------
* 15.0.0
* ...
* 14.3.4
* Replace usage of 'admin' by UsersTable::ROLE_ADMIN constant across the plugin.
* Fix role in UsersAddSuperuserCommand to be 'admin' instead of 'superadmin'.
* 14.3.3
* Add compatibility with CakePHP 5.1
* 14.3.2
* Fix missing spanish translations
* 14.3.1
* Fix duplicated rule name in rules checker
* 14.3.0
Expand All @@ -11,7 +20,7 @@ Releases for CakePHP 5
* #1096: fixed findExistingForSocialLogin finder by @arusinowski in #1097
* 14.2.1
* Improve documentation about password meter.
* Fix minor bugs
* Fix minor bugs
* 14.2.0
* Add password meter to display password quality
* Add integration with google reCaptcha v3, keep default using v2
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Versions and branches

| CakePHP | CakeDC Users Plugin | Tag | Notes |
|:--------------:|:----------------------------------------------------------:|:------:|:---------|
| ^5.0 | [14.2](https://github.com/cakedc/users/tree/14.next-cake5) | 14.3.1 | stable |
| ^5.0 | [15.0](https://github.com/cakedc/users/tree/15.next-cake5) | 15.0.0 | unstable |
| ^5.0 | [14.4](https://github.com/cakedc/users/tree/14.next-cake5) | 14.3.4 | stable |
| ^4.5 | [13.0](https://github.com/cakedc/users/tree/13.next-cake4) | 13.0.1 | stable |
| ^5.0 | [12.0](https://github.com/cakedc/users/tree/12.next-cake5) | 12.0 | beta |
| ^4.3 | [11.0](https://github.com/cakedc/users/tree/11.next-cake4) | 11.1.0 | stable |
Expand Down
2 changes: 1 addition & 1 deletion config/permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
],
//admin role allowed to all the things
[
'role' => 'admin',
'role' => \CakeDC\Users\Model\Table\UsersTable::ROLE_ADMIN,
'prefix' => '*',
'extension' => '*',
'plugin' => '*',
Expand Down
90 changes: 33 additions & 57 deletions resources/locales/cake_d_c_users.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: 2024-05-10 08:44+0000\n"
"POT-Creation-Date: 2025-01-24 08:05+0000\n"
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
Expand Down Expand Up @@ -255,20 +255,20 @@ msgid "Password has been changed successfully"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/PasswordManagementTrait.php:169
#: ./vendor/cakedc/users/src/Controller/Traits/PasswordManagementTrait.php:178
#: ./vendor/cakedc/users/src/Controller/Traits/PasswordManagementTrait.php:181
msgid "If the account is valid, the system will send an instructional email to the address on record."
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/PasswordManagementTrait.php:172
#: ./vendor/cakedc/users/src/Controller/Traits/PasswordManagementTrait.php:181
#: ./vendor/cakedc/users/src/Controller/Traits/PasswordManagementTrait.php:175
#: ./vendor/cakedc/users/src/Controller/Traits/PasswordManagementTrait.php:187
msgid "There was an error please contact Administrator"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/PasswordManagementTrait.php:206
#: ./vendor/cakedc/users/src/Controller/Traits/PasswordManagementTrait.php:212
msgid "Google Authenticator token was successfully reset"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/PasswordManagementTrait.php:209
#: ./vendor/cakedc/users/src/Controller/Traits/PasswordManagementTrait.php:215
msgid "Could not reset Google Authenticator"
msgstr ""

Expand Down Expand Up @@ -316,52 +316,52 @@ msgstr ""
msgid "The {0} could not be deleted"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:51
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:54
msgid "User account validated successfully"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:53
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:56
msgid "User account could not be validated"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:56
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:59
msgid "User already active"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:62
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:65
msgid "Reset password token was validated successfully"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:70
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:73
msgid "Reset password token could not be validated"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:74
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:77
msgid "Invalid validation type"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:77
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:80
msgid "Invalid token or user account already validated"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:84
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:87
msgid "Token already expired"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:117
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:120
msgid "Token has been reset successfully. Please check your email."
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:122
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:131
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:125
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:134
msgid "Token could not be reset"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:127
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:130
msgid "User {0} was not found"
msgstr ""

#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:129
#: ./vendor/cakedc/users/src/Controller/Traits/UserValidationTrait.php:132
msgid "User {0} is already active"
msgstr ""

Expand All @@ -375,23 +375,23 @@ msgstr ""
msgid "Register error with webauthn for user id: {0}"
msgstr ""

#: ./vendor/cakedc/users/src/Identifier/PasswordLockout/LockoutHandler.php:155
#: ./vendor/cakedc/users/src/Identifier/PasswordLockout/LockoutHandler.php:156
msgid "Config \"timeWindowInSeconds\" must be integer greater than 60"
msgstr ""

#: ./vendor/cakedc/users/src/Identifier/PasswordLockout/LockoutHandler.php:167
#: ./vendor/cakedc/users/src/Identifier/PasswordLockout/LockoutHandler.php:173
msgid "Config \"numberOfAttemptsFail\" must be integer greater or equal 0"
msgstr ""

#: ./vendor/cakedc/users/src/Identifier/PasswordLockout/LockoutHandler.php:180
#: ./vendor/cakedc/users/src/Identifier/PasswordLockout/LockoutHandler.php:191
msgid "Config \"lockoutTimeInSeconds\" must be integer greater than 60"
msgstr ""

#: ./vendor/cakedc/users/src/Identifier/PasswordLockoutIdentifier.php:73
msgid "Lockout handler has not been set."
msgstr ""

#: ./vendor/cakedc/users/src/Identifier/PasswordLockoutIdentifier.php:88
#: ./vendor/cakedc/users/src/Identifier/PasswordLockoutIdentifier.php:89
msgid "Option `className` for lockout handler is not present."
msgstr ""

Expand Down Expand Up @@ -494,17 +494,17 @@ msgstr ""
msgid "This field is required"
msgstr ""

#: ./vendor/cakedc/users/src/Model/Behavior/SocialAccountBehavior.php:100
#: ./vendor/cakedc/users/src/Model/Behavior/SocialAccountBehavior.php:130
#: ./vendor/cakedc/users/src/Model/Behavior/SocialAccountBehavior.php:106
#: ./vendor/cakedc/users/src/Model/Behavior/SocialAccountBehavior.php:136
msgid "Account already validated"
msgstr ""

#: ./vendor/cakedc/users/src/Model/Behavior/SocialAccountBehavior.php:104
#: ./vendor/cakedc/users/src/Model/Behavior/SocialAccountBehavior.php:135
#: ./vendor/cakedc/users/src/Model/Behavior/SocialAccountBehavior.php:110
#: ./vendor/cakedc/users/src/Model/Behavior/SocialAccountBehavior.php:141
msgid "Account not found for the given token and email."
msgstr ""

#: ./vendor/cakedc/users/src/Model/Behavior/SocialBehavior.php:93
#: ./vendor/cakedc/users/src/Model/Behavior/SocialBehavior.php:94
msgid "Unable to login user with reference {0}"
msgstr ""

Expand Down Expand Up @@ -532,54 +532,30 @@ msgstr ""
msgid "Logout"
msgstr ""

#: ./vendor/cakedc/users/src/View/Helper/UserHelper.php:195
#: ./vendor/cakedc/users/src/View/Helper/UserHelper.php:200
msgid "reCaptcha is not configured! Please configure Users.reCaptcha.key"
msgstr ""

#: ./vendor/cakedc/users/src/View/Helper/UserHelper.php:213
#: ./vendor/cakedc/users/src/View/Helper/UserHelper.php:218
msgid "reCaptcha version is wrong. Please configure Users.reCaptcha.version as 2 or 3"
msgstr ""

#: ./vendor/cakedc/users/src/View/Helper/UserHelper.php:299
#: ./vendor/cakedc/users/src/View/Helper/UserHelper.php:304
msgid "Connected with {0}"
msgstr ""

#: ./vendor/cakedc/users/src/View/Helper/UserHelper.php:304
#: ./vendor/cakedc/users/src/View/Helper/UserHelper.php:309
msgid "Connect with {0}"
msgstr ""

#: ./vendor/cakedc/users/src/Webauthn/AuthenticateAdapter.php:78
#: ./vendor/cakedc/users/src/Webauthn/AuthenticateAdapter.php:79
msgid "Could not validate credential response for authentication"
msgstr ""

#: ./vendor/cakedc/users/src/Webauthn/RegisterAdapter.php:84
msgid "Could not credential response for registration"
msgstr ""

#: ./vendor/cakedc/users/config/bootstrap.php:39
msgid "Users plugin configuration key \"{0}\" was removed, please check migration guide https://github.com/CakeDC/users/blob/master/Docs/Documentation/Migration/8.x-9.0.md"
msgstr ""

#: ./vendor/cakedc/users/config/users.php:88
msgid "Empty password"
msgstr ""

#: ./vendor/cakedc/users/config/users.php:89
msgid "Too simple"
msgstr ""

#: ./vendor/cakedc/users/config/users.php:90
msgid "Simple"
msgstr ""

#: ./vendor/cakedc/users/config/users.php:91
msgid "That's OK"
msgstr ""

#: ./vendor/cakedc/users/config/users.php:92
msgid "Great password!"
msgstr ""

#: ./vendor/cakedc/users/templates/Users/add.php:13
#: ./vendor/cakedc/users/templates/Users/edit.php:17
#: ./vendor/cakedc/users/templates/Users/index.php:13
Expand Down
Binary file modified resources/locales/es/cake_d_c_users.mo
Binary file not shown.
Loading

0 comments on commit 5f687d8

Please sign in to comment.