Commit graph

378 commits

Author SHA1 Message Date
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
mic
4ba7aafaf6 method getActiveSpecialPromptsIDs added 2025-01-11 21:58:16 +01:00
mic
9ad876f5b3 method checkSparksPresence added 2025-01-11 18:08:32 +01:00
mic
6d4c5fad52 getSpecialPrompts pupolates additional special prompts in the saved object 2025-01-11 16:32:44 +01:00
mic
1af7a18a84 get calendar event special prompt renamed 2025-01-10 23:12:57 +01:00
mic
8692a40217 prompt_get_calitem special prompt added 2025-01-10 22:53:49 +01:00
mic
3b538050b6 copyright year updated 2025-01-10 21:21:37 +01:00
mic
241c8d67f6 Added new mail_typed_text data placeholder. fixes #196 2025-01-09 23:13:34 +01:00
mic
a049fb59db using chatgpt_developer_messages option. fixes #218 2025-01-07 21:31:15 +01:00
mic
1d063235fd google gemini, using system instruction 2025-01-06 22:19:07 +01:00
mic
dd48751adb data parsing improved 2025-01-06 21:49:05 +01:00
mic
dc67af1fe6 removed some console.log debug statements 2025-01-06 00:52:26 +01:00
mic
b235f803b7 google_gemini_api added also to the "add tags" special command. see #204 2025-01-06 00:46:54 +01:00
mic
e2da812dfc correctly streaming the response. see #204 2025-01-06 00:40:04 +01:00
mic
3073cf69a3 first working version of the google gemini api. see #204 2025-01-06 00:21:58 +01:00
mic
d34569d86e starting to work on the gemini api. getting the models list in the options page. see #204 2025-01-05 23:24:17 +01:00
mic
e731df6629 The {%full_tags_list%} data placeholder has been renamed to {%tags_full_list%} 2025-01-02 23:58:45 +01:00
mic
e7c0fa5f6f The {%mail_tags%} data placeholder has been renamed to {%tags_current_email%} 2025-01-02 23:57:59 +01:00
mic
7b433c91df add_tags_force_lang option added. fixes #210 2025-01-02 23:35:30 +01:00
mic
e2786edd79 correctly translating special prompts. fixes #206 2024-12-25 23:24:45 +01:00
mic
b6c19e11b3 curr_message null error when there are no placeholders fixed. see #206 2024-12-25 23:17:01 +01:00
mic
b9a802e676 tags assignment improved. see #183 2024-12-18 22:05:48 +01:00
mic
16fa2d0e93 test code commented out 2024-12-18 20:38:13 +01:00
Mic
4bab16adbc correctly assigning multiple tags. see #183 2024-12-18 01:23:00 +01:00
Mic
1b741283d8 tags exclusion list matched forcing lowercase 2024-12-18 01:18:00 +01:00
Mic
c33378d3be using add_tags_first_uppercase option. see #183 2024-12-18 01:13:00 +01:00
mic
4d834a410d sendmessage with command assign_tags. see #183 2024-12-18 00:23:40 +01:00
mic
e1d0bdbd9f sending the messageId in the sendmessage data. see #183 2024-12-18 00:23:17 +01:00
mic
f5f696e78b creating and updating tags methods added. see #183 2024-12-18 00:07:50 +01:00
Mic
0315b9e816 alert dialog improved 2024-12-16 23:14:00 +01:00
mic
7921bc24ba added a console.log debug statement 2024-12-16 22:55:25 +01:00
Mic
15f258dc46 testing setup 2024-12-16 21:29:22 +01:00
Mic
a40ea6eb90 alert dialog improved 2024-12-15 23:58:00 +01:00
Mic
3242195f9f useless comments removed 2024-12-15 23:53:00 +01:00
Mic
a2d36c08e6 correctly handling errors. see #183 2024-12-15 23:48:00 +01:00
Mic
612512110a correctly throwing an error 2024-12-15 23:38:00 +01:00
Mic
0bfc40c5e5 fixed worker call 2024-12-15 23:33:00 +01:00
Mic
0cd33185ef adding and removing tags from the exclusion list. see #183 2024-12-15 23:08:00 +01:00
Mic
a3d92e5663 file header added 2024-12-15 23:03:00 +01:00
Mic
a938167f20 added a title to the add tags confirm dialog and fixed the scrolling and button positions. see #183 2024-12-15 22:58:00 +01:00
mic
3ba741259b loading and saving the tags exclusion list. see #183 2024-12-15 22:31:47 +01:00
mic
3c00e8e3d8 specialPrompts at the beginning of the concat array 2024-12-15 22:03:02 +01:00
mic
71aa30f456 moved test line 2024-12-15 21:59:47 +01:00
mic
81a9e86314 saving the add tags prompt. see #183 2024-12-15 21:58:08 +01:00
mic
e67b3a1526 type_value parameter added to method textareaAutocomplete 2024-12-15 20:49:58 +01:00
mic
6582d85b09 textareaAutocomplete is now in a separate file 2024-12-15 20:37:25 +01:00
mic
a4bdebabbd added methods to get and set specialprompts. see #183 2024-12-14 23:31:23 +01:00
mic
09a32bfe47 added testing code without actual API call 2024-12-14 22:42:00 +01:00
Mic
b02dae5748 using the exclusion list when getting tags from the AI. see #183 2024-12-13 00:53:00 +01:00
Mic
136795a45e correctly returning a response with the internal messaging system even when asking for additional text 2024-12-13 00:48:00 +01:00
Mic
a16639f881 message selection fixed in all tab types 2024-12-13 00:43:00 +01:00
Mic
0d0d157d35 add_tags dialog position and size fixed. see #183 2024-12-13 00:33:00 +01:00
Mic
5170e80140 add_tags_maxnum used in the prompt. see #183 2024-12-13 00:28:00 +01:00
Mic
45b26747fa useless css removed. var names improved 2024-12-13 00:18:00 +01:00
Mic
ddb8ef223f the tags form is now a dialog. see #183 2024-12-13 00:13:00 +01:00
Mic
9907d35233 correctly calling isThunderbird128OrGreater 2024-12-13 00:08:00 +01:00
mic
5fdd47dd62 mail_tags and full_tags_list placeholders added. see #197 and #198 2024-12-13 00:10:14 +01:00
mic
96cf382deb choose tag dialog buttons fixed. see #183 2024-12-12 22:54:07 +01:00
Mic
4592a38a89 first version of the tags selector dialog. see #183 2024-12-12 00:51:00 +01:00