Repository navigation
Pro: hide the Mailstack footer; footer link in the mail's language - #72
Merged
Merged
Conversation
…mail's language mailTemplates.poweredBy (global, brand over global) false hides the footer only when the Pro key provider confirms its license from its cache; without Pro the footer stays and config check, setup and Node start warn. English mails link the English site. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Worker extension host received keys without licensed(), so a resend kept the footer even with a confirmed license (review finding). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mailstack Pro option
mailTemplates.poweredBy: false(root or per brand, brand wins) removes the "Sent by Mailstack" footer from HTML and text. It applies only while the Pro license is confirmed. Without Pro, or with a refused or expired license, the footer stays. The footer link now follows the email's language.KeyProvider.licensed(), which reads the Pro license gate cache. It is asked only for brands inplans.hideFooter(compiled once), so sends without the option cost nothing.config check,npm run setupand Node start warn, not fail, when the option is set without amailstack-proextension. The license is checked at send time and the safe outcome is the footer staying.layout.poweredBy:enabled,disabled: licenseornot_configured. The Pro panel status page lists it generically./pl(unchanged); every other language goes tohttps://mailstack.techskills.academy/, the site's x-default English page.Tests: footer hidden with Pro + option; kept with a refused license, without Pro, and with a brand override; en/pl link; config warning. Full suite 2824 passed.
Production config renders v1.2.7 vs this branch (129 renders): 63 identical (pl and no language), 66 English differ only in the footer link, 0 other differences.
Needs mailstack-pro feat/poweredby (
licensed()). Do not merge before coordinator/owner acceptance.🤖 Generated with Claude Code