Commit graph

418 commits

Author SHA1 Message Date
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
2ff757b529 Hide warning message and update loading state in doRetry function 2025-05-01 22:55:01 +02:00
Mic
eafb278eda Refactor error handling to simplify textarea not found warning message display 2025-05-01 22:50:50 +02:00
Mic
f75f252068 typo fixed 2025-05-01 22:46:09 +02:00
Mic
0bc864938c Update checkGPTModel to return a promise and improve DOM element handling 2025-05-01 22:44:40 +02:00
Mic
e99b030033 Update chatgpt_getRegenerateButton to detect read aloud icon instead of thumb up icon 2025-04-30 22:23:50 +02:00
Mic
80bd81cb5a Enhance chatgpt_getRegenerateButton to detect thumb up icon in addition to regen icon. see #277 #168 2025-04-30 00:19:00 +02:00
Mic
f043f2e93b fix: update regex in validateChatGPTWebCustomData to allow additional characters. see #277 #168 2025-04-30 00:19:00 +02:00
Mic
483d8a14d2 add default values for chatgpt web model, project, and custom GPT in defaultPrompts. see #277 #168 2025-04-30 00:19:00 +02:00
mic
52049df162 add default values for chatgpt web model and project in getCustomPrompts function. see #277 #168 2025-04-29 23:01:29 +02:00
Mic
0492fa34be improved validateChatGPTWebCustomData method. see #277 #168 2025-04-28 21:03:00 +02:00
Mic
504ff391bb Move validation function for ChatGPT web custom data to the utils js file and update imports 2025-04-27 22:20:00 +02:00
Mic
2e22cea996 Add sanitizeChatGPTModelData function and update usage in options 2025-04-27 22:20:00 +02:00
mic
0214885a9f commented out debug console logs for Intl.Segmenter in tb115_loader.js and messagesArea.js 2025-04-27 21:33:30 +02:00
Mic
79f88e3c9a Update prompts properties info based on latest modifications. see #277 and #168 2025-04-24 01:57:00 +02:00
Mic
7c510bee57 Add sanitizeChatGPTWebCustomData function and update usage in options. see #277 and #168 2025-04-24 01:47:00 +02:00
Mic
bdd4d7ffc7 Add validation function for ChatGPT Web custom data and update related logic. see #277 and #168 2025-04-24 01:37:00 +02:00
mic
a17d855ee5 fix: ensure HTML body is generated from plain text if no parts are available 2025-04-23 18:24:09 +02:00
mic
594c5a7c8a refactor: update fetchResponse to nest num_ctx within options. see #351 2025-04-22 21:24:03 +02:00
Mic
1907739f8b
Merge branch 'main' into issue_350 2025-04-22 21:08:23 +02:00
Mic
ce3d392628 adding options to manage accounts for autotagging. see #327 2025-04-22 00:16:00 +02:00
Mic
377fc67a18 Add ollama_num_ctx support in API and worker initialization. see #351 2025-04-22 00:11:00 +02:00
Mic
fc7854bb69 Enhance Ollama class constructor to accept num_ctx parameter and include it in API request if greater than zero. see #351 2025-04-22 00:06:00 +02:00
Mic
775882de23 Update error messages to reflect valid data checks and improve user feedback in task and calendar dialogs. see #333 2025-04-22 00:01:00 +02:00
mic
81a1bfb9c8 Add confirmation prompt for inserting AI response when no text is selected. See #353 2025-04-21 21:20:01 +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
d49e6d65e7 a "do_reply" from the compose window is changed in a "substitute text". see #353 2025-04-20 22:15: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
904550f6e6 Enhance placeholder replacement logic to ensure valid placeholders are used 2025-04-17 21:25:14 +02:00
Mic
173cbf8ad0 added a few logs lines 2025-04-16 23:59:00 +02:00
Mic
c449f68cc1 Refactor getActiveSpecialPromptsIDs function to accept a single argument object for improved readability and maintainability 2025-04-16 23:54:00 +02:00
Mic
5ccc312695 Refactor getGPTWebModelString function to update model conversion logic 2025-04-16 23:49:00 +02:00
Mic
9e22a9db46 Add openTab function to streamline tab management in mzta-options.js 2025-04-16 23:49:00 +02:00
Mic
eea691f0b5 Add 'get_task' parameter to getActiveSpecialPromptsIDs function. see #333 2025-04-16 23:44:00 +02:00
Mic
b49875992a Remove unused preferences retrieval in getPlaceholders function 2025-04-16 23:39:00 +02:00
Mic
13cfed9c56 get_task feature added in mzta-menu.js. see #333 2025-04-16 23:34:00 +02:00
mic
a833766250 Add new task prompts for task extraction functionality. See #333 2025-04-16 22:39:27 +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
5070494ed0 Add 'empty' placeholder to prevent automatic text appending in prompts. See #345 and #339 2025-04-14 22:40:24 +02:00
mic
00261ee875 Add space between concatenated text nodes in getOnlyTypedText command 2025-04-13 21:27:47 +02:00
mic
6b7609939a mail_typed_text placeholder added. fixes #324 2025-04-13 21:26:50 +02:00
mic
9ddfbeaeda Fix selection text handling in menu actions to ensure proper text assignment when using mail_typed_text placeholder 2025-04-13 08:16:02 +02:00
mic
c056fb074c proofread prompt added. fixes #21 2025-04-13 07:59:34 +02:00
mic
e21b68c240 removed old menu creation code 2025-04-11 23:11:25 +02:00
mic
73b801af2c Enhance getMailBody function to handle nested message parts and improve content extraction 2025-04-10 22:29:25 +02:00
mic
df50d28a50 Focus custom text area when displayed in the chat interface. Fixes #323 2025-04-06 14:32:49 +02:00
Mic
d5cb50194a Improve error handling for calendar event data retrieval and JSON extraction 2025-03-28 01:15:00 +01:00
Mic
ecfde64577 Fixed the prompt substitution if there are no attendees 2025-03-28 01:10:00 +01:00
Mic
05bc76c5da Add attendees field to event documentation in mzta-menus.js 2025-03-28 01:05:00 +01:00