Commit graph

289 commits

Author SHA1 Message Date
Guido Kraemer
cb6c93625b correct prompt naming 2026-01-16 13:39:22 +01:00
Guido Kraemer
f147a0453b remove summarize_context_menu option in favor of summarize option 2026-01-16 12:57:06 +01:00
Guido Kraemer
90dcf8437b remove stray console logging 2026-01-16 12:56:35 +01:00
Guido Kraemer
c6bf2edba5 allow placeholders in other summarize prompts 2026-01-10 21:22:11 +01:00
Guido Kraemer
24edcc09e6 make some variables const 2026-01-10 21:22:11 +01:00
Guido Kraemer
66cc35746f move email separators to extra prompt field 2026-01-10 21:22:11 +01:00
Guido Kraemer
7595c70a38 Implement summarization internals 2026-01-10 21:22:11 +01:00
Guido Kraemer
f29d8337ad WIP: Add Summarize context menu action and handler 2026-01-10 21:22:11 +01:00
Guido Kraemer
02787e2f25 Fix context menu ID typos 2026-01-10 21:22:11 +01:00
Guido Kraemer
4ab6da2faf change all "summary" -> "summarize" 2026-01-10 21:22:11 +01:00
Guido Kraemer
84a65acd8f resolve rebase conflicts 2026-01-10 21:22:11 +01:00
yonie
0ceaf79aa7
Merge branch 'v3.8.0' into main 2026-01-06 17:28:45 +01:00
mic
1a28f5efba log improved 2026-01-04 17:30:39 +01:00
yonie
64069958a2
Merge branch 'v3.8.0' into main 2026-01-04 16:02:44 +01:00
mic
57f1d637ff added two commented debug lines 2026-01-03 23:43:57 +01:00
mic
b32ce4f756 copyright date updated to 2026 2026-01-03 23:04:01 +01:00
mic
97b016ab63 refining how to handle specific api settings. see #102 2026-01-03 00:03:48 +01:00
Ronald Klarenbeek
3f63cc3580 feat(summary): implement new configuration model, fix multilingual support and fix error display
- Introduce localized UI strings for auto-summary feature across multiple languages
- Standardize error messages and implement consistent error propagation
- Refactor summary generation to align with v3.8.0 settings architecture
- Enhance user experience with localized loading and error states
- Improve code reliability through structured error handling and cleanup
2026-01-02 22:42:46 +01:00
Ronald Klarenbeek
ea402a688b Merge upstream v3.8.0 changes, preserving auto_summary_enabled setting 2026-01-02 21:05:52 +01:00
mic
e3d927ab29 specific integration settings are now saved at prompt level. see #102 2026-01-01 21:41:48 +01:00
mic
2357886693 processEmails updated to use the new dyamic settings 2026-01-01 15:17:55 +01:00
mic
3adb5faab2 working on a dynamic special prompts settings managing system 2025-12-28 23:27:27 +01:00
Ronald Klarenbeek
dcbf9d3dcd feat(summary): add AI-powered message summary feature
Add new ThunderAI summary functionality that generates concise summaries
for email messages using the existing ThunderAI infrastructure. Includes
a new content script that creates a summary pane in the message display,
associated CSS styling, and backend integration for AI summary generation.

The feature shows a loading indicator while generating the summary and
falls back to showing truncated message content if the AI generation fails.
2025-12-26 20:39:30 +01:00
mic
e51ff2a509 fixing a bug when checking prompt properties. see #534 2025-10-20 18:32:02 +02:00
mic
9daa1a76e3 ensuring an empty string when needed. see #520 2025-10-16 22:16:41 +02:00
mic
8f19cea3cd mztaDoCustomText is now always a string. see #522 2025-10-03 23:33:50 +02:00
mic
9d52edbb2c specific prompt integration improved with two new methods: checkAPIIntegration and hasSpecificIntegration. see #438 2025-09-14 23:10:16 +02:00
mic
bbecf14587 console.log debug line commented out 2025-09-14 23:00:52 +02:00
mic
c77696f3fe typo fixed 2025-09-14 21:18:31 +02:00
Mic
f77d1dabe5 autotag and spamfilter context menu icons added 2025-09-10 00:35:00 +02:00
Mic
a3bd902b4e rand_call_id numbering fixed 2025-09-09 23:47:00 +02:00
Mic
e3fcaaf248 log statement added 2025-09-09 23:39:00 +02:00
mic
48cab1da12 console.log debug statement improved 2025-09-09 22:40:45 +02:00
mic
356885667b context menu loading fixed 2025-09-09 22:27:19 +02:00
Mic
b7953fe366
Merge branch 'issue_438_autofeat_apimodel' into api_improvements 2025-09-09 21:54:10 +02:00
Mic
a34d3c41e0 code formatted. better prefs import. 2025-09-08 21:42:00 +02:00
Mic
1bc111f96f loading do_debug pref at runtime for auto add tags and spamfilter 2025-09-07 20:10:00 +02:00
Mic
cd07092ac8 spamfilter is now using the prompt api, if present. see #438. 2025-09-07 20:05:00 +02:00
Mic
ee7a033e74 use prompt api and model when assigning tags. see #438 2025-09-04 22:51:00 +02:00
Mic
9967e28861 mzta_specialCommand is now using an object in input 2025-09-04 22:41:00 +02:00
Mic
e28f9fed60 using checkSpecificIntegration. see #438 2025-09-04 22:36:00 +02:00
Mic
e2c67a1c5e reloading menus for addtags is now considering addtags_api: prefs_init.add_tags_use_specific_integration. see #438 2025-09-04 22:31:00 +02:00
Mic
f1377f7de8 using the prompt conntype in addtags. see #438 2025-09-03 23:18:00 +02:00
Mic
9b26793895 always trying to remove the add tags menu item before creating it 2025-09-03 22:43:00 +02:00
mic
d46645a2fa passing prefs when preparing the prompt. see #289 2025-09-02 21:00:59 +02:00
mic
9e987e4e30 var name fixed 2025-09-02 20:53:30 +02:00
Mic
b8cb3adfc6 filtering tags in autotagging. see #289 2025-09-01 23:40:00 +02:00
Mic
9c0583af51 Show the prompt id and name to the information in the AI API chat. See #436 2025-08-31 15:51:00 +02:00
mic
95591993b8 console.log debug statement removed 2025-08-29 21:01:36 +02:00
Mic
5af9a82951 Improved prompts method args handling. see #471 2025-08-28 21:09:00 +02:00
mic
57e9a05083 fix correctly showing the context menu when changing connection type 2025-08-22 23:33:53 +02:00
mic
74f5369a31 converting lines breaks to paragraphs in chatgpt web interface integration prompt. see #482 2025-08-22 23:22:21 +02:00
mic
3851c10bcc remove commented-out code for HTML to plain text conversion in processEmails function 2025-08-20 21:16:35 +02:00
mic
2fa356ee6d trying a new way to get the plain text email in auto fetaures. see #469 2025-08-20 15:49:06 +02:00
mic
cc711e55ba Add htmlBodyToPlainText fallback for empty message bodies. see #470 2025-08-19 16:25:14 +02:00
Mic
a66ebee014
Merge branch 'main' into v3.6.0 2025-07-30 22:40:00 +02:00
mic
3a2845a23c 3.5.5 fixes ported to 3.6.0. Fixes #450 2025-07-25 22:57:53 +02:00
Mic
16b47a066c antispam optional permissions fixed 2025-07-21 23:49:06 +02:00
Mic
4507847105 working on #449 2025-07-21 23:43:33 +02:00
mic
9d06f6c868 log statements added 2025-06-19 22:35:28 +02:00
mic
1f93f4d295 the add tags response is now expcted as a JSON. see #365 2025-06-15 00:38:27 +02:00
mic
6c86e02b6f added an option to exclude the tag only with an exact match. see #395 2025-06-13 23:10:23 +02:00
Mic
c447ff2ab7 console.log line commented out 2025-06-12 23:20:00 +02:00
Mic
abe11457e6 added the change the reply type button in the chatgpt web interface. see #372 2025-06-12 23:20:00 +02:00
Mic
db3e4e7cfa added the reply type selector in the api webchat. see #372 2025-06-12 23:10:00 +02:00
mic
cedbfaf26b showing the reply type in the chatgpt web interface. see #372 2025-06-11 21:55:04 +02:00
mic
c796adc05c Add exclusion list for tag assignment to prevent unwanted tags. See #392 2025-05-25 22:25:53 +02:00
mic
bbf8eb7c5e Enhance tag assignment logging and prevent new tag creation when not needed. see #390 2025-05-25 22:03:08 +02:00
mic
ea22caa23c Refactor tag existence check to use label comparison and enhance logging for tag assignment. See #390 2025-05-25 11:41:14 +02:00
mic
0bdc94d7e6 the default shortcut is not enforced at startup anymore. fixes #384 2025-05-22 22:13:48 +02:00
Mic
0de4dd27c8 Update prompt length validation message and logic. see #380 2025-05-22 00:41:00 +02:00
mic
51ffdaeec0 fixed incoming mail elaboration when add_tags is false and add_tags_auto is true 2025-05-21 17:54:32 +02:00
mic
eff4c3f0da using anthropic in the api webchat. see #349 2025-05-20 23:07:40 +02:00
mic
85dfb36291 better code indentation 2025-05-20 22:12:08 +02:00
jdkio
ac78aa8adf
Fix issue #374, prefs_att -> prefs_atts 2025-05-12 19:41:10 -04:00
mic
59ae3643a5 Ported all the mods from v3.3.* into v3.4.0 2025-05-01 23:32:52 +02:00
mic
c2065e09b6 Comment out debug console logs in tb115_loader.js and mzta-background.js for cleaner output 2025-05-01 23:20:45 +02:00
Mic
d02dc2c3e1 Adjust wait time in openChatGPT function for improved responsiveness when using a project. see #277 2025-05-01 23:00:02 +02:00
Mic
83d7cdc376 Add support for custom GPT and web project in openChatGPT function. See #277 #168 2025-04-30 00:19:00 +02:00
Mic
9a48c8fe14 using sanitizeChatGPTModelData on all data 2025-04-30 00:19:00 +02:00
mic
314089ea07 refactor openChatGPT to utilize custom model from prompt_info 2025-04-29 23:16:29 +02:00
Mic
059a0f8cac using sanitizeChatGPTModelData 2025-04-28 21:13:00 +02:00
Mic
617a1467d7 Add spam filter account selection and management features. see #326 2025-04-22 00:31:00 +02:00
Mic
08cab475e4 Add account validation for automatic tagging to ensure only enabled accounts are processed. see #327 2025-04-22 00:26:00 +02:00
Mic
ac98621d0c Refactor get_task and get_calendar_event handling to improve clarity and consistency; update _ok_sparks logic for better state management. see #333 2025-04-21 23:56:00 +02:00
mic
4f317556bc Improved plain text mode. See #350 2025-04-21 21:29:34 +02:00
mic
7d1760f1b8 Enhance plain text handling by integrating default preferences and adding HTML stripping functionality. see #350 2025-04-20 22:43:10 +02:00
mic
6494a4f48f Refactor getMailBody function to work also with annidated multiparts. see #335 2025-04-18 14:02:25 +02:00
Mic
e1ad9d9c5d Handle 'get_task' changes in setupStorageChangeListener to update special prompts IDs accordingly. see #333 2025-04-16 23:59:00 +02:00
Mic
12d54d8a31 Refactor getActiveSpecialPromptsIDs calls to use an argument object for improved clarity and consistency 2025-04-16 23:54:00 +02:00
Mic
cfa65c4934 Rename doGetCalendarEvent to doGetSparkFeature for clarity and update related function calls 2025-04-16 23:49:00 +02:00
Mic
6df9f86244 Refactor preference retrieval to use default values in storage queries 2025-04-16 23:39:00 +02:00
Mic
dc0d4339fb improved the additional text form when using an API connection. fixes #97 2025-04-16 00:11:00 +02:00
mic
d73e4e5eb6 Add support for checking ThunderAI Sparks version and update related UI messages. Fixes #315 2025-04-15 23:25:21 +02:00
mic
00a605e794 Imported the fix for #344 from v3.3.4 2025-04-14 22:27:03 +02:00
mic
b7565cc4d1 Fix JSON stringification of original text in openChatGPT function. see #344 2025-04-14 22:16:52 +02:00
mic
b707096ed8 Add process control for incoming emails based on preferences 2025-04-11 22:45:03 +02:00
mic
f86a408513 Update default preference for add_tags to false in reload_pref_init function. Fixes #329 2025-04-06 14:52:43 +02:00
mic
173497bc47 Fix prompt_info.use_diff_viewer condition in openChatGPT function. fixes #321 2025-04-06 14:40:39 +02:00
mic
d44478fdd7 Enhance context menu management for add_tags and spamfilter based on preferences. fixes #302 2025-03-22 22:47:59 +01:00