Merge branch 'main' into v3.6.0

This commit is contained in:
Mic 2025-07-30 22:40:00 +02:00 committed by GitHub
commit a66ebee014
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 71 additions and 24 deletions

View file

@ -52,8 +52,11 @@ body:
attributes: attributes:
label: Which integration are you using? label: Which integration are you using?
options: options:
- -- Select an option --
- ChatGPT Web Interface - ChatGPT Web Interface
- OpenAI ChatGPT API - OpenAI ChatGPT API
- Google Gemini API
- Anthropic API
- Ollama API - Ollama API
- OpenAI Compatible API - OpenAI Compatible API
- type: markdown - type: markdown

View file

@ -1,21 +0,0 @@
---
name: Feature Request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe it clearly.**\
Provide a clear and concise explanation of the problem you're experiencing or the limitation you're facing.\
_Example: "I'm often frustrated when I can't filter results by date..."_
**Describe the feature you'd like to see implemented.**\
What should happen? Describe the ideal solution or behavior in detail. Be as specific as possible.
**Why is this feature valuable?**\
Explain how this feature would improve the project or user experience. Who benefits from it, and why?
**Additional context, mockups, or screenshots**\
Feel free to include anything else that can help understand the feature request better, like images, sketches, links, references, etc.

View file

@ -0,0 +1,40 @@
name: Feature Request
description: Suggest a new idea for ThunderAI
body:
- type: markdown
attributes:
value: |
This issue form is for suggesting new ideas only!
If you need to report a bug, please use the [bug][bg] form.
[bg]: https://github.com/micz/ThunderAI/issues/new?template=bug_report.yml
- type: textarea
validations:
required: true
id: idea
attributes:
label: Your idea
description: >-
Describe the idea you'd like to see implemented in ThunderAI.
Provide a clear and concise description.
- type: markdown
attributes:
value: |
# Details
- type: textarea
id: value
attributes:
label: Value
description: >-
What value does this idea bring to ThunderAI? How does it improve the
user experience or functionality?
- type: textarea
id: additional
attributes:
label: Additional information
description: >
If you have any additional information, use the field below.
Please note, you can attach screenshots or screen recordings here, by
dragging and dropping files in the field below.

View file

@ -3,7 +3,6 @@
<h2>Version 3.6.0 - 30/07/2025</h2> <h2>Version 3.6.0 - 30/07/2025</h2>
<ul> <ul>
<li>Now it's possibile to define custom data placeholders to be used in custom prompts [<a href="https://github.com/micz/ThunderAI/issues/156">#156</a>].</li> <li>Now it's possibile to define custom data placeholders to be used in custom prompts [<a href="https://github.com/micz/ThunderAI/issues/156">#156</a>].</li>
@ -21,9 +20,22 @@
<li>Traditional Chinese (zh_Hant) translation added, thanks to <a href="https://github.com/evez">evez</a>.</li> <li>Traditional Chinese (zh_Hant) translation added, thanks to <a href="https://github.com/evez">evez</a>.</li>
<li>Some English typing errors have been fixed [<a href="https://github.com/micz/ThunderAI/issues/422">#422</a>].</li> <li>Some English typing errors have been fixed [<a href="https://github.com/micz/ThunderAI/issues/422">#422</a>].</li>
</ul> </ul>
<h2>Version 3.5.5 - ??/??/2025</h2>
<ul>
<li><i>[All APIs]</i> Fix: Autotag and Antispam filter working again [<a href="https://github.com/micz/ThunderAI/issues/449">#449</a>].</li>
</ul>
<h2>Version 3.5.4 - 13/06/2025</h2>
<ul>
<li><i>[ChatGPT Web]</i> Fix: Changed again how to detect when the response is completed.</li>
<li><i>[ChatGPT Web]</i> Fix: Auto scroll to bottom works again.</li>
</ul>
<h2>Version 3.5.3 - 10/06/2025</h2>
<ul>
<li><i>[ChatGPT Web]</i> Fix: Correctly detecting when the response is completed.</li>
</ul>
<h2>Version 3.5.2 - 05/06/2025</h2> <h2>Version 3.5.2 - 05/06/2025</h2>
<ul> <ul>
<li><i>[ChatGPT Web]</i> Fix: correctly hiding the model warning message when forcing to send the prompt [<a href="https://github.com/micz/ThunderAI/issues/410">#410</a>].</li> <li><i>[ChatGPT Web]</i> Fix: Correctly hiding the model warning message when forcing to send the prompt [<a href="https://github.com/micz/ThunderAI/issues/410">#410</a>].</li>
<li><i>[ChatGPT Web]</i> Fix: ThunderAI is now working also with a free account [<a href="https://github.com/micz/ThunderAI/issues/408">#408</a>].</li> <li><i>[ChatGPT Web]</i> Fix: ThunderAI is now working also with a free account [<a href="https://github.com/micz/ThunderAI/issues/408">#408</a>].</li>
<li><i>[ChatGPT Web]</i> Fix: Correctly showing a warning message to a not logged in user [<a href="https://github.com/micz/ThunderAI/issues/411">#411</a>].</li> <li><i>[ChatGPT Web]</i> Fix: Correctly showing a warning message to a not logged in user [<a href="https://github.com/micz/ThunderAI/issues/411">#411</a>].</li>
<li><i>[ChatGPT Web]</i> Improved the model not found message [<a href="https://github.com/micz/ThunderAI/issues/413">#413</a>].</li> <li><i>[ChatGPT Web]</i> Improved the model not found message [<a href="https://github.com/micz/ThunderAI/issues/413">#413</a>].</li>

View file

@ -468,7 +468,6 @@ function checkGPTModel(model) {
}); });
} }
function operation_done(){ function operation_done(){
let curr_msg = document.getElementById('mzta-curr_msg'); let curr_msg = document.getElementById('mzta-curr_msg');
curr_msg.textContent = browser.i18n.getMessage("chatgpt_win_job_completed"); curr_msg.textContent = browser.i18n.getMessage("chatgpt_win_job_completed");

View file

@ -1021,6 +1021,7 @@ async function processEmails(messages, addTagsAuto, spamFilter) {
let chatgpt_lang = await taPromptUtils.getDefaultLang(curr_prompt_spamfilter); let chatgpt_lang = await taPromptUtils.getDefaultLang(curr_prompt_spamfilter);
let specialFullPrompt_spamfilter = await taPromptUtils.preparePrompt(curr_prompt_spamfilter, message, chatgpt_lang, '', '', body_text, curr_fullMessage.headers.subject, msg_text, '', '', []); let specialFullPrompt_spamfilter = await taPromptUtils.preparePrompt(curr_prompt_spamfilter, message, chatgpt_lang, '', '', body_text, curr_fullMessage.headers.subject, msg_text, '', '', []);
taLog.log("Special prompt: " + specialFullPrompt_spamfilter); taLog.log("Special prompt: " + specialFullPrompt_spamfilter);
console.log(">>>>>>>> Special prompt for spamfilter: " + specialFullPrompt_spamfilter);
let cmd_spamfilter = new mzta_specialCommand(specialFullPrompt_spamfilter, prefs_init.connection_type, prefs_init.do_debug); let cmd_spamfilter = new mzta_specialCommand(specialFullPrompt_spamfilter, prefs_init.connection_type, prefs_init.do_debug);
await cmd_spamfilter.initWorker(); await cmd_spamfilter.initWorker();
let spamfilter_result = ''; let spamfilter_result = '';

View file

@ -25,6 +25,19 @@
<li>Russian (ru) translation added, thanks to <a href="https://hosted.weblate.org/user/law820314/">Maksim</a>.</li> <li>Russian (ru) translation added, thanks to <a href="https://hosted.weblate.org/user/law820314/">Maksim</a>.</li>
<li>Some English typing errors have been fixed [<a href="https://github.com/micz/ThunderAI/issues/422">#422</a>].</li> <li>Some English typing errors have been fixed [<a href="https://github.com/micz/ThunderAI/issues/422">#422</a>].</li>
</ul> </ul>
<h2>Version 3.5.5 - ??/??/2025</h2>
<ul>
<li><i>[All APIs]</i> Fix: Autotag and Antispam filter working again [<a href="https://github.com/micz/ThunderAI/issues/449">#449</a>].</li>
</ul>
<h2>Version 3.5.4 - 13/06/2025</h2>
<ul>
<li><i>[ChatGPT Web]</i> Fix: Changed again how to detect when the response is completed.</li>
<li><i>[ChatGPT Web]</i> Fix: Auto scroll to bottom works again.</li>
</ul>
<h2>Version 3.5.3 - 10/06/2025</h2>
<ul>
<li><i>[ChatGPT Web]</i> Fix: Correctly detecting when the response is completed.</li>
</ul>
<h2>Version 3.5.2 - 05/06/2025</h2> <h2>Version 3.5.2 - 05/06/2025</h2>
<ul> <ul>
<li><i>[ChatGPT Web]</i> Fix: Correctly hiding the model warning message when forcing to send the prompt [<a href="https://github.com/micz/ThunderAI/issues/410">#410</a>].</li> <li><i>[ChatGPT Web]</i> Fix: Correctly hiding the model warning message when forcing to send the prompt [<a href="https://github.com/micz/ThunderAI/issues/410">#410</a>].</li>