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

simba77
fix(forum): tell only a member that the forum is read-only for them
A guest never holds forum.post, so the banner showed on every page of the forum for them. It is drawn for a signed-in member who may not write: a forum closed for writing or a ban from it.
simba77
fix(mail): break the line of the question before deleting a contact
The question carries a <br> and reached the page escaped; it is passed as Twig\Markup now.
simba77
fix(forum): break the line of the refusal of a forbidden file type
The refusal carries a <br> and reached the page escaped; it is Twig\Markup now, with the list of the allowed types escaped inside it.
simba77
fix(auth): break the line of the message after a password recovery
The message carries a <br> and reached the page escaped; it is passed as Twig\Markup now, the way the alert component expects markup.
simba77
fix(news): show the avatar of a comment whose author has no profile link
The avatar was drawn only inside the link to the profile, so a guest saw none. It is drawn without the link now, and an author whose account is gone gets the placeholder.
simba77
refactor: link a member to their own profile as well
Whether a name leads to a profile is decided by ProfileLinksInterface alone; the forum, the downloads, UserProperties and the lists of the online and the community no longer leave out the link to the visitor's own profile.
simba77
fix(profile): translate the refusal of a guest into Russian
simba77
refactor: ask ProfileLinksInterface wherever a profile link is drawn
The forum, the downloads and UserProperties each repeated the check that hides a profile from a guest. They now take the answer from the one service; whether a member is linked to their own profile stays decided where it was.
simba77
fix: show a guest the name of an author without a link to the closed profile
The guestbook, the comments, the visitors online, the community lists, the author of a news article, the uploader of a library article, the forum search and the curators of a topic led a guest to a profile that refuses them. They now ask ProfileLinksInterface and draw the bare name when there is nothing to open.
simba77
fix(profile): refuse a guest with a 403 instead of a 404
A profile is open to members only. A guest following a link to one is told so and offered the login form; the refusal page shows the login button to every visitor who is not signed in.