Commit graph

436 commits

Author SHA1 Message Date
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
mic
5eb660b950 getGPTWebModelString updated for new models and improved for unknowk strings. see #244 2025-02-02 21:53:27 +01:00
mic
80dc0aa2c8 sparks_not_installed added to i18n translation. fixes #241 2025-01-31 21:00:33 +01:00
mic
8d964d4b1e Fixed a bug in modifing also the base arrays of prompts when translating 2025-01-29 22:49:46 +01:00
mic
1e74829d26 added an error message if sparks is not installed 2025-01-29 22:24:47 +01:00
mic
ce787321b8 commented out some console.log debug statements 2025-01-28 22:57:26 +01:00
mic
d7ff910ba1 Merge branch 'main' into v3.1.0 2025-01-27 21:49:35 +01:00
mic
ab7d08f6a0 receiving the error message from Sparks 2025-01-22 21:33:22 +01:00
mic
38c3e97464 correctly showing the alert when there is an error opening the new calendar event dialog 2025-01-22 21:29:02 +01:00
mic
190de11018 showing an error if it's not possibile to open the calendar event dialog. see #232 2025-01-18 22:03:48 +01:00
mic
9d684a5699 autoselect now ignores empty line after the typed text. see #229 2025-01-15 22:08:39 +01:00
mic
3fb0bd6572 sending autoselect when using the mail_typed_text placeholder. see #229 2025-01-15 22:01:19 +01:00
mic
3a08a04d03 if do_autoselect is true, select all the typed text and remove any previous selection. 2025-01-15 21:47:42 +01:00
mic
3928fe399d now getOnlyTypedText can autoselect the typed text. see #229 2025-01-15 21:39:49 +01:00
mic
59f0dcdc13 old comment removed 2025-01-15 21:02:39 +01:00
mic
9b5f938953 current datetime placeholder added. fixes #224 2025-01-13 21:38:53 +01:00
Mic
fa20360b88 datetime placeholder added. fixes #223 2025-01-13 00:03:00 +01:00
Mic
02b4028539 desc fixed 2025-01-12 23:58:00 +01:00
mic
cf72ab1f0d sending the received data to thunderai-sparks. see #182 2025-01-12 23:40:22 +01:00
mic
6f4386381b workers path fixed 2025-01-12 22:28:24 +01:00
mic
dcc0b4aa60 logger path fixed 2025-01-12 22:24:30 +01:00
mic
b31330a4e8 console.log debug statemenents commented out 2025-01-12 21:08:44 +01:00
mic
104d85729c mzta_specialCommand_AddTags is now a generic mzta_specialCommand 2025-01-12 21:05:05 +01:00
mic
9569cc9dac console.log debug statemenents commented out 2025-01-12 21:02:38 +01:00
mic
dd00856ef6 correctly handling the calendar menu. see #182 2025-01-11 22:35:54 +01:00
mic
bbe6a227ba prompt ids fixed 2025-01-11 22:32:02 +01:00
mic
44fa2298fc console.log debug statement commented out 2025-01-11 22:17:34 +01:00
mic
2fe24298af checkSparksPresence is returnig fals on error 2025-01-11 22:17:00 +01:00