@bobfrankston/rmfmail 1.2.281 → 1.2.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.commitmsg +62 -63
- package/client/android-bootstrap.bundle.js +72 -3
- package/client/android-bootstrap.bundle.js.map +2 -2
- package/client/app.bundle.js +9 -0
- package/client/app.bundle.js.map +2 -2
- package/client/components/message-viewer.js +23 -0
- package/client/components/message-viewer.js.map +1 -1
- package/client/components/message-viewer.ts +25 -0
- package/client/styles/components.css +17 -0
- package/npmchanges.md +66 -0
- package/package.json +5 -5
- package/packages/mailx-imap/package-lock.json +2 -2
- package/packages/mailx-imap/package.json +1 -1
- package/packages/mailx-settings/package.json +1 -1
- package/packages/mailx-store/package.json +1 -1
- package/packages/mailx-store/store.d.ts +4 -1
- package/packages/mailx-store/store.d.ts.map +1 -1
- package/packages/mailx-store/store.js +11 -3
- package/packages/mailx-store/store.js.map +1 -1
- package/packages/mailx-store/store.ts +14 -3
- package/packages/mailx-store-web/package.json +1 -1
- package/packages/mailx-types/index.d.ts +2 -2
- package/packages/mailx-types/index.d.ts.map +1 -1
- package/packages/mailx-types/index.js +1 -1
- package/packages/mailx-types/index.js.map +1 -1
- package/packages/mailx-types/index.ts +2 -2
- package/packages/mailx-types/package.json +1 -1
- package/packages/mailx-types/trust.d.ts +26 -1
- package/packages/mailx-types/trust.d.ts.map +1 -1
- package/packages/mailx-types/trust.js +131 -5
- package/packages/mailx-types/trust.js.map +1 -1
- package/packages/mailx-types/trust.ts +155 -5
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-65528 → node_modules.npmglobalize-stash-56556}/.package-lock.json +0 -0
package/client/app.bundle.js
CHANGED
|
@@ -3107,6 +3107,15 @@ async function showMessage(accountId, uid, folderId, specialUse, isRetry = false
|
|
|
3107
3107
|
});
|
|
3108
3108
|
}
|
|
3109
3109
|
bodyEl.innerHTML = "";
|
|
3110
|
+
const spam = msg.spamScore;
|
|
3111
|
+
if (spam && Number.isFinite(spam.score)) {
|
|
3112
|
+
const level = spam.flagged ? "high" : spam.score >= spam.threshold / 2 ? "mid" : "low";
|
|
3113
|
+
const chip = document.createElement("div");
|
|
3114
|
+
chip.className = `mv-spamscore mv-spamscore-${level}`;
|
|
3115
|
+
chip.title = level === "high" ? "Your mail server scored this at or above its spam threshold and flagged it." : level === "mid" ? "Below your server's spam threshold, but more than halfway to it." : "Well below your mail server's spam threshold.";
|
|
3116
|
+
chip.textContent = `spam score ${spam.score} of ${spam.threshold}`;
|
|
3117
|
+
bodyEl.appendChild(chip);
|
|
3118
|
+
}
|
|
3110
3119
|
const trust = msg.trust || [];
|
|
3111
3120
|
if (trust.length) {
|
|
3112
3121
|
const worst = trust.some((f) => f.severity === "danger") ? "danger" : "caution";
|