-
Notifications
You must be signed in to change notification settings - Fork 29
Feature/disposable email blocker on registeration #1620
Conversation
|
i am inspecting this pr now locally |
| user.multiple_mail.error.not_email: 'You must enter a valid email' | ||
| article.status_can_not_be_published_without_author: 'You must to add author before pull article status to published' | ||
| article.status_can_not_be_published_without_author: 'You must to add author before pull article status to published' | ||
| user.invalid.mail.domain: 'Mail have invalid domain address' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Invalid implies that user's email domain is not a proper domain. I think we should rather let the user know that their domain is banned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@utkuaydin you are right i am correcting now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed this translation
| user.multiple_mail.invalid: 'Girdiğiniz adres zaten sistemde kayıtlı' | ||
| user.multiple_mail.error.not_email: 'Geçerli e-mail adresi girmelisiniz' | ||
| article.status_can_not_be_published_without_author: 'Makale durumunu yayınlandıya almadan önce makale yazarı eklemelisiniz.' | ||
| user.invalid.mail.domain: 'E-posta adresinin alan adı geçersiz' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto. See my comment for validators.en.yml.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto. see last commits
| "ojs/export-bundle": "dev-master", | ||
| "willdurand/js-translation-bundle": "^2.5" | ||
| "willdurand/js-translation-bundle": "^2.5", | ||
| "contentfarm/disposable-email-list":"dev-master" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great if the project depended on a specific tag of contentfarm/disposable-email-list instead of dev-master.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i will make this changes after packagist update. otherwise travis will fail.
| } | ||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary blank lines... 😞
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
| /** | ||
| * DisposableEmailValidator constructor. | ||
| */ | ||
| public function __construct() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this is unnecessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i removed function fully
|
@utkuaydin i fixed all reviews. i am merging now. @utkuaydin if you have any other change requests we can continue from this branch |
#1611