Compare commits

...

32 commits

Author SHA1 Message Date
mic
5d1d790e39 antispam in progress aligned to the left 2026-05-13 23:00:07 +02:00
Mic
998d626277
Merge pull request #795 from micz/v4.1.0
v4.1.0
2026-05-13 22:52:19 +02:00
Mic
59efb5f007
Merge branch 'main' into v4.1.0 2026-05-13 22:51:22 +02:00
mic
fb52da1436 Merge branch 'v4.1.0' of github.com:micz/ThunderAI into v4.1.0 2026-05-13 22:47:32 +02:00
mic
42d6b11e29 release notes updated 2026-05-13 22:47:26 +02:00
Mic
94019819ec
Merge pull request #794 from micz/tom-select-update-v4.1.0
Update Tom Select files from VENDORS.md
2026-05-13 22:41:38 +02:00
mic
d007ed37e9 version set to 4.0.7. release notes updated 2026-04-17 22:11:07 +02:00
Mic
82d38f7ebe
Merge pull request #759 from micz/improved_body_decoding
Improved multipart HTML body decoding
2026-04-17 22:09:11 +02:00
Mic
4d145db282
Fix formatting for Swedish translation entry 2026-04-17 00:09:25 +02:00
Mic
8522f0b7f6 improved multipart html body decoding 2026-04-12 22:10:00 +02:00
mic
b235005911 release notes fixed 2026-04-10 23:36:21 +02:00
Mic
fbedb7dfd9
Add ThunderAI Prompt Architect link to README
Added a section for ThunderAI Prompt Architect with attribution.
2026-04-09 21:28:29 +02:00
mic
a92d2f4c55 HTML title removed because Thunderbird is setting its title and then changing it after the windows creation and we are already doing that see https://github.com/micz/ThunderAI/issues/696#issuecomment-4190953876 2026-04-06 23:06:59 +02:00
mic
b17d094d0c the trigger "edited" removed from the workflow. 2026-04-06 00:15:32 +02:00
Mic
742034ce82
Add documentation section to README
Added documentation section with setup guides and custom prompt tutorial links.
2026-04-01 23:40:48 +02:00
mic
a87420c155 release notes updated 2026-04-01 23:05:37 +02:00
mic
da82fb0b6d normalizing also accented characters when creating new tags. see #732 2026-04-01 23:03:34 +02:00
mic
9df3667e75 version set to 4.0.6 2026-04-01 23:00:27 +02:00
mic
9f929ff003 release notes updated 2026-03-27 23:01:09 +01:00
mic
0b3c66b78d fix removing html elements added by thunderai when extracting text or html from the email. see #710 2026-03-27 23:00:33 +01:00
Mic
7d2b811926 stripping printing headers from the html body berfore using it in a placeholder 2026-03-27 00:24:00 +01:00
Mic
43ffdd32e1 release notes updated 2026-03-27 00:24:00 +01:00
mic
b1b02312e9 release notes updated 2026-03-27 00:24:20 +01:00
mic
696ef5aa3c removing html elements added by thunderai when extracting text or html from the email. see #710 2026-03-27 00:22:43 +01:00
mic
0e9790ccf4 release notes updated 2026-03-26 23:46:40 +01:00
mic
3623b92ea5 The API webchat window now has a dynamic title. see #696 2026-03-26 23:44:20 +01:00
mic
63f52703b7 escaping html code also in chatgpt web integration. see #711 2026-03-26 23:41:13 +01:00
mic
36d606bbc6 html mail parts are now displayed as code and are not rendered. see #711 2026-03-26 23:36:49 +01:00
mic
40235e5df4 version set to 4.0.5 2026-03-26 23:29:28 +01:00
mic
afdae833dc release notes updated 2026-03-26 00:14:35 +01:00
Mic
1522e2c04c version set to 4.0.4. release notes updated 2026-03-25 00:19:00 +01:00
Mic
021e317a37 correctly setting the current model in the special prompts pages 2026-03-25 00:13:00 +01:00
7 changed files with 60 additions and 14 deletions

View file

@ -2,7 +2,7 @@ name: pre-release comment issues
on:
release:
types: [published, edited]
types: [published]
concurrency:
group: ${{ github.workflow }}

View file

@ -3,12 +3,14 @@
<h2>Version 4.1.0 - ??/??/2026</h2>
<h2>Version 4.1.0 - 13/05/2026</h2>
<ul>
<li>Antispam information are now permanently saved for each message [<a href="https://github.com/micz/ThunderAI/issues/675">#675</a>].</li>
<li><i>[All APIs]</i> A summary has been added above the mail content [<a href="https://github.com/micz/ThunderAI/issues/580">#580</a>].</li>
<li><i>[All APIs]</i> Added inline auto translation for emails [<a href="https://github.com/micz/ThunderAI/issues/247">#247</a>].</li>
<li>Custom menus configuration added. Now it's possibile to define which prompts show in the ThunderAI menu, which ones in the context menu and in which order [<a href="https://github.com/micz/ThunderAI/issues/49">#49</a>, <a href="https://github.com/micz/ThunderAI/issues/184">#184</a>, <a href="https://github.com/micz/ThunderAI/issues/680">#680</a>].</li>
<li>Now the popup menu closes immediatly and the working indicator is in the button icon [<a href="https://github.com/micz/ThunderAI/issues/247">#677</a>].</li>
<li><i>[All APIs]</i> Error messages added also for background operations when the API has not been configured correctly [<a href="https://github.com/micz/ThunderAI/issues/766">#766</a>].</li>
<li><i>[Ollama API]</i> Added <i>format: json</i> option [<a href="https://github.com/micz/ThunderAI/issues/703">#703</a>].</li>
<li>Fix: The "Important Information" section in the options page now updates correctly when choosing an integration [<a href="https://github.com/micz/ThunderAI/issues/730">#730</a>].</li>
<li>In the options page now is visible if a special prompt is using a specific API integration [<a href="https://github.com/micz/ThunderAI/issues/676">#676</a>].</li>
@ -18,10 +20,24 @@
<li>Added the <i>{%mail_full_headers%}</i> placeholder to retrieve all the email headers at once [<a href="https://github.com/micz/ThunderAI/issues/713">#713</a>].</li>
<li><i>[All APIs]</i> In the API webchat the status messages have different colors [<a href="https://github.com/micz/ThunderAI/issues/3">#3</a>].</li>
<li>Account exclusion lists for add tags and antispam are enforced only for automatic analysis of incoming emails and not for the context menu action that is always executed [<a href="https://github.com/micz/ThunderAI/issues/749">#749</a>].</li>
<li><i>[All APIs]</i> Inline auto translation for emails added [<a href="https://github.com/micz/ThunderAI/issues/247">#247</a>].</li>
<li>Custom menus configuration added. Now it's possibile to define which prompts show in the ThunderAI menu, which ones in the context menu and in which order [<a href="https://github.com/micz/ThunderAI/issues/49">#49</a>, <a href="https://github.com/micz/ThunderAI/issues/184">#184</a>, <a href="https://github.com/micz/ThunderAI/issues/680">#680</a>].</li>
<li><i>[All APIs]</i> Error messages added also for background operations when the API has not been configured correctly [<a href="https://github.com/micz/ThunderAI/issues/766">#766</a>].</li>
<li>...</li>
</ul>
<h2>Version 4.0.7 - 17/04/2026</h2>
<ul>
<li>Fix: Correctly parsing the body of HTML base64 encoded mails [<a href="https://github.com/micz/ThunderAI/issues/757">#757</a>].</li>
</ul>
<h2>Version 4.0.6 - 01/04/2026</h2>
<ul>
<li>Fix: Now it's possibile to create a tag also with accented characters in the label [<a href="https://github.com/micz/ThunderAI/issues/738">#738</a>].</li>
</ul>
<h2>Version 4.0.5 - 27/03/2026</h2>
<ul>
<li>Fix: HTML part of the mail body used in prompt is displayed as HTML code and it is not rendered. This a display fix, there is no change on how the prompt is sent to the AI [<a href="https://github.com/micz/ThunderAI/issues/711">#711</a>].</li>
<li>Fix: HTML elements added by ThunderAI (like the antispam banner) are now not present in HTML or text data placeholders [<a href="https://github.com/micz/ThunderAI/issues/710">#710</a>].</li>
<li><i>[All APIs]</i> The API webchat window now has a dynamic title [<a href="https://github.com/micz/ThunderAI/issues/696">#696</a>]</li>
</ul>
<h2>Version 4.0.4 - 26/03/2026</h2>
<ul>
<li>Fix: Correctly showing the selected model in the special prompt pages.</li>
</ul>
<h2>Version 4.0.3 - 20/03/2026</h2>
<ul>

View file

@ -60,6 +60,16 @@ Using an API integration, you can activate some automatic features:
<br>
## Documentation
[Setup Guides](https://micz.it/thunderbird-addon-thunderai/guides/) - Step-by-step guides to connect ThunderAI to the AI backend of your choice, from ChatGPT to local models with Ollama.
[Custom Prompt Tutorial](https://micz.it/thunderbird-addon-thunderai/tutorial/) - Learn how to build your first custom prompt from scratch, combining placeholders and user input to automate your email replies.
[ThunderAI Prompt Architect](https://chatgpt.com/g/g-69b6b11c89b88191a6798be6e97025f1-thunder-ai-prompt-architect) - Let ChatGPT help you crafting your custom prompts. Thanks to [Paweł](https://github.com/PawelKinczyk) for this tool!
<br>
## Translations
@ -67,6 +77,8 @@ Do you want to help translate this addon?
[Find out how!](https://micz.it/thunderbird-addon-thunderai/translate/)
<br>
## Changelog
@ -101,7 +113,7 @@ Are you using this addon in your Thunderbird?
- Polish - Polski (pl): [neexpl](https://github.com/neexpl), [makkacprzak](https://github.com/makkacprzak) <img src="https://micz.it/weblate/thunderai/pl.svg">
- Russian - Russkiy (русский) (ru): [Maksim](https://hosted.weblate.org/user/law820314/) <img src="https://micz.it/weblate/thunderai/ru.svg">
- Spanish - Español (es): [Gerardo Sobarzo](https://hosted.weblate.org/user/gerardo.sobarzo/), [Andrés Rendón Hernández](https://hosted.weblate.org/user/arendon/), [Erick Limon](https://hosted.weblate.org/user/ErickLimonG/) <img src="https://micz.it/weblate/thunderai/es.svg">
- Swedish - Svenska (sv): [Andreas Pettersson](https://hosted.weblate.org/user/Andy_tb/) , [Luna Jernberg](https://hosted.weblate.org/user/bittin1ddc447d824349b2/) <img src="https://micz.it/weblate/thunderai/sv.svg">
- Swedish - Svenska (sv): [Andreas Pettersson](https://hosted.weblate.org/user/Andy_tb/), [Luna Jernberg](https://hosted.weblate.org/user/bittin1ddc447d824349b2/) <img src="https://micz.it/weblate/thunderai/sv.svg">
<br>
Do you want to help translate this addon? [Find out how!](https://micz.it/thunderbird-addon-thunderai/translate/) <br>

View file

@ -119,6 +119,8 @@ if (worker) {
document.title += " [" + llmName + " | " + decodeURIComponent(prompt_name) + "]";
document.title += " [" + llmName + " | " + decodeURIComponent(prompt_name) + "]";
let workerInitMessage = {
type: 'init',
do_debug: prefs_api.do_debug,

View file

@ -923,7 +923,7 @@ switch (message.command) {
// Loading badge in toolbar
const badge = document.createElement('div');
badge.style.cssText = `background-color: ${colors.spamLoading.bg}; color: ${colors.spamLoading.text}; border: 1px solid ${colors.spamLoading.border}; border-radius: 4px; padding: 2px 8px; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;`;
badge.style.cssText = `background-color: ${colors.spamLoading.bg}; color: ${colors.spamLoading.text}; border: 1px solid ${colors.spamLoading.border}; border-radius: 4px; padding: 2px 8px; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; margin-right: auto;`;
const badgeLoading = document.createElement('img');
badgeLoading.src = browser.runtime.getURL("/images/loading.gif");
badgeLoading.style.cssText = "height: 14px; width: 14px;";

View file

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "ThunderAI",
"description": "__MSG_extensionDescription__",
"version": "4.1.0pre4",
"version": "4.1.0",
"author": "Mic (m@micz.it)",
"homepage_url": "https://micz.it/thunderbird-addon-thunderai/",
"browser_specific_settings": {

View file

@ -7,12 +7,14 @@
<body>
<div id="miczBackPrefs"><a href="mzta-options.html">__MSG_backToOptionsText__</a></div>
<div id="miczRelNotes"><h1>ThunderAI Release Notes</h1>
<h2>Version 4.1.0 - ??/??/2026</h2>
<h2>Version 4.1.0 - 13/05/2026</h2>
<ul>
<li>Antispam information are now permanently saved for each message [<a href="https://github.com/micz/ThunderAI/issues/675">#675</a>].</li>
<li><i>[All APIs]</i> A summary has been added above the mail content [<a href="https://github.com/micz/ThunderAI/issues/580">#580</a>].</li>
<li><i>[All APIs]</i> Added inline auto translation for emails [<a href="https://github.com/micz/ThunderAI/issues/247">#247</a>].</li>
<li>Custom menus configuration added. Now it's possibile to define which prompts show in the ThunderAI menu, which ones in the context menu and in which order [<a href="https://github.com/micz/ThunderAI/issues/49">#49</a>, <a href="https://github.com/micz/ThunderAI/issues/184">#184</a>, <a href="https://github.com/micz/ThunderAI/issues/680">#680</a>].</li>
<li>Now the popup menu closes immediatly and the working indicator is in the button icon [<a href="https://github.com/micz/ThunderAI/issues/247">#677</a>].</li>
<li><i>[All APIs]</i> Error messages added also for background operations when the API has not been configured correctly [<a href="https://github.com/micz/ThunderAI/issues/766">#766</a>].</li>
<li><i>[Ollama API]</i> Added <i>format: json</i> option [<a href="https://github.com/micz/ThunderAI/issues/703">#703</a>].</li>
<li>Fix: The "Important Information" section in the options page now updates correctly when choosing an integration [<a href="https://github.com/micz/ThunderAI/issues/730">#730</a>].</li>
<li>In the options page now is visible if a special prompt is using a specific API integration [<a href="https://github.com/micz/ThunderAI/issues/676">#676</a>].</li>
@ -22,10 +24,24 @@
<li>Added the <i>{%mail_full_headers%}</i> placeholder to retrieve all the email headers at once [<a href="https://github.com/micz/ThunderAI/issues/713">#713</a>].</li>
<li><i>[All APIs]</i> In the API webchat the status messages have different colors [<a href="https://github.com/micz/ThunderAI/issues/3">#3</a>].</li>
<li>Account exclusion lists for add tags and antispam are enforced only for automatic analysis of incoming emails and not for the context menu action that is always executed [<a href="https://github.com/micz/ThunderAI/issues/749">#749</a>].</li>
<li><i>[All APIs]</i> Inline auto translation for emails added [<a href="https://github.com/micz/ThunderAI/issues/247">#247</a>].</li>
<li>Custom menus configuration added. Now it's possibile to define which prompts show in the ThunderAI menu, which ones in the context menu and in which order [<a href="https://github.com/micz/ThunderAI/issues/49">#49</a>, <a href="https://github.com/micz/ThunderAI/issues/184">#184</a>, <a href="https://github.com/micz/ThunderAI/issues/680">#680</a>].</li>
<li><i>[All APIs]</i> Error messages added also for background operations when the API has not been configured correctly [<a href="https://github.com/micz/ThunderAI/issues/766">#766</a>].</li>
<li>...</li>
</ul>
<h2>Version 4.0.7 - 17/04/2026</h2>
<ul>
<li>Fix: Correctly parsing the body of HTML base64 encoded mails [<a href="https://github.com/micz/ThunderAI/issues/757">#757</a>].</li>
</ul>
<h2>Version 4.0.6 - 01/04/2026</h2>
<ul>
<li>Fix: Now it's possibile to create a tag also with accented characters in the label [<a href="https://github.com/micz/ThunderAI/issues/738">#738</a>].</li>
</ul>
<h2>Version 4.0.5 - 27/03/2026</h2>
<ul>
<li>Fix: HTML part of the mail body used in prompt is displayed as HTML code and it is not rendered. This a display fix, there is no change on how the prompt is sent to the AI [<a href="https://github.com/micz/ThunderAI/issues/711">#711</a>].</li>
<li>Fix: HTML elements added by ThunderAI (like the antispam banner) are now not present in HTML or text data placeholders [<a href="https://github.com/micz/ThunderAI/issues/710">#710</a>].</li>
<li><i>[All APIs]</i> The API webchat window now has a dynamic title [<a href="https://github.com/micz/ThunderAI/issues/696">#696</a>]</li>
</ul>
<h2>Version 4.0.4 - 26/03/2026</h2>
<ul>
<li>Fix: Correctly showing the selected model in the special prompt pages.</li>
</ul>
<h2>Version 4.0.3 - 20/03/2026</h2>
<ul>