Skip to content

History of commits

4473 commits

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 ২৮ অক্টো ২০২৬, রাত ৮:৫৫ সময় Branch: 10.x 5217ad4

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 ২৮ অক্টো ২০২৬, রাত ৮:৫৩ সময় Branch: 10.x 6d34d96

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.
simba77 ২৮ অক্টো ২০২৬, রাত ৮:৪৯ সময় Branch: 10.x fc65182

feat: decide in one place where the name of an author leads

ProfileLinksInterface answers whether the visitor may open a profile and gives its address, or null when the profile is closed to them or the profile module is off. Templates get it as profile_url(). It replaces PublicProfileLinks of the admin panel.
simba77 ২৮ অক্টো ২০২৬, রাত ৮:৪৭ সময় Branch: 10.x ebac565

fix(console): boot Eloquent before running a command

Configuring the capsule moves out of PdoFactory into CapsuleFactory, which does not connect. The console boots it for every command, so the ones that work through models alone, such as auth:sync-roles, no longer fail with connection() on null, while the commands that never query still run without a database.
simba77 ২৮ অক্টো ২০২৬, সকাল ৯:১৫ সময় Branch: 10.x e0c8a81

fix(auth): confirm the e-mail of an account created through an external provider

An address the provider does not vouch for is confirmed by mail, as on the registration form, and one it does vouch for is taken from the identity rather than from the form. Signing in through a provider refuses an unconfirmed or unapproved account the way the password sign-in does.
simba77 ২৮ অক্টো ২০২৬, রাত ১২:৮ সময় Branch: 10.x d531cfd