История коммитов

.
fix(auth): refuse to browse as an account that cannot sign in
An account not approved yet, or one that has to confirm its e-mail first, would be treated by the site as a guest, so browsing as it showed a site nobody sees. The refusal names the reason. RegistrationSettings tells whether the e-mail has to be confirmed and whether an account still has to confirm it.
.
feat(admin): confirm the e-mail of an account from the panel
When the site requires the confirmation, the list of users gets an "E-mail not confirmed" tab and a state of its own, and such an account is offered "Confirm the e-mail" in the list and on its page (POST /admin/registrations/confirm-email). The account signs in at once and is no longer removed by the cleanup. Browsing as an account that cannot sign in is not offered.
.
chore(i18n): translate the users section of the panel into Russian
The strings already translated in the profile are reused for every language that has them. The tests read the expected messages through the translations, so they do not depend on the language of the run.
.
refactor(users): store the female gender as f and keep the genders in one list
Johncms\Users\Gender lists the genders: the forms of registration, the profile and the panel are built from it and checked by it, and User::$gender reads the gender of an account. A migration turns 'zh' into 'f'; the demo user Maria, stored with 'f' by the installer, now reads as female.
.
fix(install): give the demo user Maria the female gender
The demo data stored the gender 'f', which the site does not know. A migration turns 'f' into 'zh' on the sites installed already.
.
fix(auth): mail a recovered password of 6 characters
The same length registration asks for.
.
fix(profile): require a password of at least 6 characters
The same length registration and the panel ask for.
.
fix(admin): do not ask the owner for the current password in the panel
A session of the staff already reaches the account in other ways, so the check protected nothing. Signing out on the other devices still keeps the current session.
.
feat(admin): change one's own password in the panel
The owner of the account is asked for the current password, and signing out on the other devices keeps the current session.
.
fix(admin): make icon buttons as tall as the buttons beside them
An icon alone sets no line of text, so the height of .btn-icon is set as its width. The actions menu of the page of an account takes the regular size.