• exec/tests/webmail/api_se

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Fri Nov 20 22:41:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/39cf4961f5ae41563e7b15de
    Modified Files:
    exec/tests/webmail/api_settings.js webmail/lib/api.js webmail/root/js/settings.js
    Log Message:
    WebMail settings: show the name mail is really sent with by default

    The "Name on mail you send" field showed the user's real name as its
    default (the greyed-out text and the hint below it), whatever the
    system's "Send E-mail Using Alias" setting. Mail itself was sent with
    the right name: only the settings page was wrong.

    settings.get now returns default_name, worked out by the same rule the
    send code uses (the alias when the system sends Internet mail with
    aliases or the user may not use a real name, else the real name), and
    the page shows that.

    Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Fri Nov 20 23:34:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/153b826e650a137387b1d632
    Modified Files:
    exec/tests/webmail/api_settings.js webmail/lib/api.js webmail/lib/locale/en_us.ini webmail/root/js/mail.js
    Log Message:
    WebMail: block an address tag from the message that arrived at it

    When a message was delivered to one of the user's tagged addresses (name#tag@host), the reader's "More" menu now offers "Block mail sent
    to <that address>". It blocks the tag as the Settings page does, so
    the usual case, spam arriving at one address, takes one click from the
    message.

    message.get reports the tag (headers.to_tag) only when the mail server
    delivers that address to the signed-in user and the tag is one that
    can be blocked here; the menu item is left out once the tag is
    blocked.

    Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>