Commit graph

463 commits

Author SHA1 Message Date
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
Mic
3b7d6c52e9
Merge pull request #303 from micz/diff_viewer_chatgpt_web
Diff viewer chatgpt web
2025-03-22 22:09:41 +01:00
mic
ce54595292 diff viwer vompleted for chatgpt web interface. see #109 2025-03-22 22:08:51 +01:00
mic
23adcbf48f Add diff viewer functionality and related UI elements. work in progress. see #109 2025-03-22 17:58:13 +01:00
Mic
e32773ba8f
Merge pull request #301 from micz/diff_viewer
Diff viewer
2025-03-22 16:57:17 +01:00
mic
96d6029b22 Improve error handling for calendar event dialog by refining error message processing 2025-03-21 21:27:54 +01:00
Mic
928946dfdf Add diff viewer functionality for APIs integrations. see #109 2025-03-21 00:22:00 +01:00
Mic
645d04a3e5 diff lib added. see #109 2025-03-21 00:17:00 +01:00
Mic
99c70df10c Set default value for use_diff_viewer in custom prompts if undefined. see #109 2025-03-21 00:12:00 +01:00
Mic
dc8fb0b792 Add use_diff_viewer attribute to prompt configurations. see #109 2025-03-21 00:07:00 +01:00
Mic
e95c28ab64 Add error message for no active calendar and improve error handling in calendar event dialog 2025-03-21 00:02:00 +01:00
Mic
bb53027950 Remove debug log for fallback identity in getCurrentIdentity function 2025-03-20 23:52:00 +01:00
mic
533a8301af Stop working status when no selection is made in mzta_Menus. see #295 2025-03-20 22:37:46 +01:00
mic
495451c79a Enhance calendar event handling with timezone management and JSON extraction. see #250 2025-03-20 22:36:38 +01:00
mic
299fc948ce Add compose action icon updates for working status management. see #295 2025-03-19 21:47:12 +01:00
mic
f339e2c748 Integrate working status management into mzta_Menus actions. see #295 2025-03-19 21:46:04 +01:00
mic
8b271722ee Add working status management to handle loading state. see #295 2025-03-19 21:36:55 +01:00
mic
08f9fef402 fix failSafePlaceholders function to return element if defined 2025-03-18 22:26:25 +01:00
mic
109cd66c42 Refactor context menu ID exports to use direct assignment 2025-03-18 21:38:57 +01:00
mic
5aeb95f880 Add context menu IDs for add tags and spam filter. see #262 2025-03-16 23:32:33 +01:00
mic
bf3b2a0898 Implement fail-safe placeholders for email components to handle null or undefined values. fixes #288 2025-03-09 21:56:03 +01:00
mic
6e5f8cafb6 Add account email address placeholder. fixes #272 2025-03-08 22:38:09 +01:00
mic
a11164a670 Enhance getCurrentIdentity function to optionally return full identity object 2025-03-08 22:37:39 +01:00
mic
644928bf76 Add default empty arrays for msgHeader properties and handle empty text in extractEmail 2025-03-08 22:28:49 +01:00
mic
8314477a63 mail_folder_name and mail_folder_path palcehodlers added. fixes #253 2025-03-08 21:50:37 +01:00
mic
1416e3a1f5 Refactor taSpamReport to remove locking mechanism and streamline data handling 2025-03-06 21:54:39 +01:00
mic
a35fc05e7f Remove locking mechanism from loadMenus method 2025-03-06 21:51:18 +01:00
mic
f82b137c10 Remove filtering of placeholders based on add_tags preference 2025-03-06 21:42:26 +01:00
mic
715df42cc2 messagesTagsList is now a mandatory permission 2025-03-06 21:34:05 +01:00
mic
673d4b1a9b Implement locking mechanism in loadMenus to prevent concurrent execution 2025-03-06 21:15:52 +01:00
Mic
7ca21b08bf Change messageTags from object to array in getTagsList function 2025-03-06 18:04:11 +01:00
mic
ee8a02cec2 Implement locking mechanism in saveReportData to prevent concurrent access 2025-03-05 22:31:41 +01:00
mic
3313e9cd45 not sking messagesTagsList permission for thunderbird 115. see #281 2025-03-05 21:29:56 +01:00
Mic
b0157f4c90 filtering placeholders base on add_tags option and not tb permissions 2025-03-05 18:08:16 +01:00
mic
a215ae6a52 await call fix 2025-03-03 21:16:07 +01:00
mic
76bb62274c transformTagsLabels correctly imported 2025-03-03 21:03:08 +01:00
mic
a1f1f84aee do not get tagslist if permission not given. see #275 2025-03-03 20:52:58 +01:00
Mic
f4551c3662
Merge branch 'main' into v3.2.0 2025-02-27 21:18:10 +01:00
mic
be6510f5fe spam report added. see #231 2025-02-14 23:22:47 +01:00
mic
cb10e4fa59 comments updated 2025-02-11 23:39:58 +01:00
mic
f4e8ce3227 added a missing await 2025-02-11 23:32:20 +01:00
mic
cc2a9a90f2 getPlaceholdersValues fixed, it's now returnig a value. see #231 2025-02-11 23:32:10 +01:00
mic
fda58db254 getSpamFilterPrompt method added. see #231 2025-02-11 23:31:46 +01:00
mic
0aa8675e48 extractJsonObject method added 2025-02-11 22:56:12 +01:00
mic
262cfd8c17 prompt_spamfilter added. see #231 2025-02-11 22:04:15 +01:00
mic
65ee230fb2 method call fixed 2025-02-09 23:23:49 +01:00
mic
a426577f3a add_tags trimming the response 2025-02-09 23:16:20 +01:00
mic
5fbead1fcc getMailBody method added. see #237 2025-02-09 22:45:09 +01:00
mic
c39d68d859 passing do_debug to mzta_specialCommand 2025-02-09 22:44:48 +01:00
mic
79e5b740f9 using getDefaultLang 2025-02-09 22:31:24 +01:00
mic
6bb3ad2044 getDefaultLang method added. see #237 2025-02-09 22:30:44 +01:00
mic
310f5ec6e1 mzta-utils-core renamed to mzta-utils-prompt. see #237 2025-02-09 22:24:57 +01:00
mic
452fd4abf4 using core utils. see #237 2025-02-08 16:04:33 +01:00
mic
630cee4d27 added mzta-utils-core.js and added some methods. see #237 2025-02-08 16:04:18 +01:00
mic
925f21b84b getPlaceholdersValues method added. see #237 2025-02-06 22:12:59 +01:00
mic
c4dd7a244a thunderai_def_sign and thunderai_def_lang palceholders added. fixes #248 2025-02-06 21:57:06 +01:00