Skip to content

History of commits

4473 commits

test(admin): cover the rules of editing an account and of moderating registrations

Editing: a taken e-mail, the notes without the permission to read them, an editor banned from the site, a short password, the password of somebody else without the permission, the settings of a peer. Registrations: approving all, removing by address and all, and access to the panel being enough to moderate them.
simba77 24 okt 2026 23:31 Branch: 10.x 8db384c

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.
simba77 24 okt 2026 23:17 Branch: 10.x aa1979e

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.
simba77 24 okt 2026 23:17 Branch: 10.x c7de9a5