Browse Source

Yii 2.0.23 + fixed #9096

pull/9770/head
brandonkelly 4 years ago
parent
commit
6f4f46a91e
No known key found for this signature in database GPG Key ID: 5E86D0CED64C7093
  1. 2
      CHANGELOG.md
  2. 2
      composer.json
  3. 431
      composer.lock
  4. 2
      src/elements/User.php

2
CHANGELOG.md

@ -7,9 +7,11 @@
### Changed ### Changed
- Custom fields’ search keywords are now indexed for entry drafts. - Custom fields’ search keywords are now indexed for entry drafts.
- Updated Yii to 2.0.43.
### Fixed ### Fixed
- Fixed a bug where custom fields’ search keywords weren’t getting indexed for newly-created entries. ([#9699](https://github.com/craftcms/cms/issues/9699)) - Fixed a bug where custom fields’ search keywords weren’t getting indexed for newly-created entries. ([#9699](https://github.com/craftcms/cms/issues/9699))
- Fixed a bug where user email addresses would validate if they had IDNA ASCII characters in the local part, even though Swiftmailer doesn’t allow it. ([#9096](https://github.com/craftcms/cms/issues/9096))
## 3.7.8 - 2021-08-06 ## 3.7.8 - 2021-08-06

2
composer.json

@ -54,7 +54,7 @@
"voku/stringy": "^6.4.0", "voku/stringy": "^6.4.0",
"webonyx/graphql-php": "~14.4.1", "webonyx/graphql-php": "~14.4.1",
"yii2tech/ar-softdelete": "^1.0.4", "yii2tech/ar-softdelete": "^1.0.4",
"yiisoft/yii2": "~2.0.42.1",
"yiisoft/yii2": "~2.0.43",
"yiisoft/yii2-debug": "^2.1.16", "yiisoft/yii2-debug": "^2.1.16",
"yiisoft/yii2-queue": "~2.3.2", "yiisoft/yii2-queue": "~2.3.2",
"yiisoft/yii2-swiftmailer": "^2.1.2" "yiisoft/yii2-swiftmailer": "^2.1.2"

431
composer.lock
File diff suppressed because it is too large
View File

2
src/elements/User.php

@ -744,7 +744,7 @@ class User extends Element implements IdentityInterface
$rules[] = [['lastLoginDate', 'lastInvalidLoginDate', 'lockoutDate', 'lastPasswordChangeDate', 'verificationCodeIssuedDate'], DateTimeValidator::class]; $rules[] = [['lastLoginDate', 'lastInvalidLoginDate', 'lockoutDate', 'lastPasswordChangeDate', 'verificationCodeIssuedDate'], DateTimeValidator::class];
$rules[] = [['invalidLoginCount', 'photoId'], 'number', 'integerOnly' => true]; $rules[] = [['invalidLoginCount', 'photoId'], 'number', 'integerOnly' => true];
$rules[] = [['username', 'email', 'unverifiedEmail', 'firstName', 'lastName'], 'trim', 'skipOnEmpty' => true]; $rules[] = [['username', 'email', 'unverifiedEmail', 'firstName', 'lastName'], 'trim', 'skipOnEmpty' => true];
$rules[] = [['email', 'unverifiedEmail'], 'email', 'enableIDN' => App::supportsIdn()];
$rules[] = [['email', 'unverifiedEmail'], 'email', 'enableIDN' => App::supportsIdn(), 'enableLocalIDN' => false];
$rules[] = [['email', 'password', 'unverifiedEmail'], 'string', 'max' => 255]; $rules[] = [['email', 'password', 'unverifiedEmail'], 'string', 'max' => 255];
$rules[] = [['username', 'firstName', 'lastName', 'verificationCode'], 'string', 'max' => 100]; $rules[] = [['username', 'firstName', 'lastName', 'verificationCode'], 'string', 'max' => 100];
$rules[] = [['email'], 'required']; $rules[] = [['email'], 'required'];

Loading…
Cancel
Save