Merge branch 'main' into v4.0.0

This commit is contained in:
Mic 2026-02-24 21:33:36 +01:00 committed by GitHub
commit 6b583651a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 70 additions and 1 deletions

View file

@ -0,0 +1,61 @@
name: Check Tom-Select Latest Release
on:
schedule:
- cron: '0 19 * * *' # Check every day at 19:00
workflow_dispatch: # Allows manual triggering for testing purposes
permissions:
contents: read
issues: write
jobs:
check-and-notify:
runs-on: ubuntu-latest
steps:
- name: Get latest release from external repo
id: get_release
run: |
REPO_TARGET="orchidjs/tom-select"
LATEST_TAG=$(curl -s https://api.github.com/repos/$REPO_TARGET/releases/latest | jq -r .tag_name)
if [ "$LATEST_TAG" == "null" ] || [ -z "$LATEST_TAG" ]; then
echo "Error: unable to fetch tag or no release found."
exit 1
fi
echo "tag=$LATEST_TAG" >> $GITHUB_OUTPUT
echo "target=$REPO_TARGET" >> $GITHUB_OUTPUT
- name: Check if Issue already exists and create it
uses: actions/github-script@v7
with:
script: |
const latestTag = "${{ steps.get_release.outputs.tag }}";
const targetRepo = "${{ steps.get_release.outputs.target }}";
const { owner, repo } = context.repo;
const issueTitle = `Update Tom Select to version ${latestTag}`;
// Search through issues (both open and closed for safety)
const response = await github.rest.search.issuesAndPullRequests({
q: `repo:${owner}/${repo} is:issue "${issueTitle}"`,
});
if (response.data.total_count > 0) {
core.info(`The issue for version ${latestTag} already exists. No action taken.`);
} else {
await github.rest.issues.create({
owner,
repo,
title: issueTitle,
labels: ['enhancement'],
body: `Update Tom Select to version **${latestTag}**.
https://cdn.jsdelivr.net/npm/tom-select@${latestTag}/dist/js/tom-select.base.js
https://cdn.jsdelivr.net/npm/tom-select@${latestTag}/dist/css/tom-select.default.min.css
Remember also to update the VENDORS.md file.`
});
core.info(`New issue created for version ${latestTag}.`);
}

View file

@ -26,6 +26,10 @@
<li><i>[ChatGPT Web]</i> Added an option to define a custom time to wait for the page load. Sometimes, on slow PCs, the ChatGPT page loads slowly and ThunderAI inject its content too early. With this option you can adjust the waiting time [<a href="https://github.com/micz/ThunderAI/issues/634">#634</a>].</li> <li><i>[ChatGPT Web]</i> Added an option to define a custom time to wait for the page load. Sometimes, on slow PCs, the ChatGPT page loads slowly and ThunderAI inject its content too early. With this option you can adjust the waiting time [<a href="https://github.com/micz/ThunderAI/issues/634">#634</a>].</li>
<li>...</li> <li>...</li>
</ul> </ul>
<h2>Version 3.8.5 - 22/02/2026</h2>
<ul>
<li>Fix: Correctly showing email addresses when using mail headers in data placeholders [<a href="https://github.com/micz/ThunderAI/issues/672">#672</a>].</li>
</ul>
<h2>Version 3.8.4 - 10/02/2026</h2> <h2>Version 3.8.4 - 10/02/2026</h2>
<ul> <ul>
<li><i>[ChatGPT Web]</i> Fix: Correctly importing the selected text into the compose windows also when ChatGPT shows the advanced mail editor in the response [<a href="https://github.com/micz/ThunderAI/issues/646">#646</a>].</li> <li><i>[ChatGPT Web]</i> Fix: Correctly importing the selected text into the compose windows also when ChatGPT shows the advanced mail editor in the response [<a href="https://github.com/micz/ThunderAI/issues/646">#646</a>].</li>

View file

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

View file

@ -29,6 +29,10 @@
<li><i>[ChatGPT Web]</i> Added an option to define a custom time to wait for the page load. Sometimes, on slow PCs, the ChatGPT page loads slowly and ThunderAI inject its content too early. With this option you can adjust the waiting time [<a href="https://github.com/micz/ThunderAI/issues/634">#634</a>].</li> <li><i>[ChatGPT Web]</i> Added an option to define a custom time to wait for the page load. Sometimes, on slow PCs, the ChatGPT page loads slowly and ThunderAI inject its content too early. With this option you can adjust the waiting time [<a href="https://github.com/micz/ThunderAI/issues/634">#634</a>].</li>
<li>...</li> <li>...</li>
</ul> </ul>
<h2>Version 3.8.5 - 22/02/2026</h2>
<ul>
<li>Fix: Correctly showing email addresses when using mail headers in data placeholders [<a href="https://github.com/micz/ThunderAI/issues/672">#672</a>].</li>
</ul>
<h2>Version 3.8.4 - 10/02/2026</h2> <h2>Version 3.8.4 - 10/02/2026</h2>
<ul> <ul>
<li><i>[ChatGPT Web]</i> Fix: Correctly importing the selected text into the compose windows also when ChatGPT shows the advanced mail editor in the response [<a href="https://github.com/micz/ThunderAI/issues/646">#646</a>].</li> <li><i>[ChatGPT Web]</i> Fix: Correctly importing the selected text into the compose windows also when ChatGPT shows the advanced mail editor in the response [<a href="https://github.com/micz/ThunderAI/issues/646">#646</a>].</li>