Commit graph

741 commits

Author SHA1 Message Date
mic
704fa10a04 chatgpt web models list fixed. see #464 2025-08-20 21:53:16 +02:00
mic
7fbe0c0338 forcing exixting tags also when using the ThuderAI menu. see #475 2025-08-20 21:41:35 +02:00
Kilian Singer
09d620c294 also removing <style> tags 2025-08-20 18:42:36 +02:00
Kilian Singer
c24097245b added export keyword 2025-08-20 18:21:04 +02:00
Kilian Singer
a96702b0a8 used DOMParser to convert HTML to plain text 2025-08-20 18:10:18 +02:00
mic
9483a57936 Enhance htmlBodyToPlainText function to handle additional block tags and improve HTML tag removal 2025-08-20 09:46:49 +02:00
mic
8223f4ef4f Add htmlBodyToPlainText function to sanitize HTML content. see #470 2025-08-19 16:24:17 +02:00
mic
58d449c7e6 chatgpt web interface models list updated. see #464 2025-08-11 22:27:41 +02:00
mic
f97acf0ece chatgpt web interface is now stripping any <br> tag in the response. see #462 2025-08-11 22:04:26 +02:00
mic
98352938af perplexity ai config fixed. see #461 2025-08-11 21:59:07 +02:00
Mic
a66ebee014
Merge branch 'main' into v3.6.0 2025-07-30 22:40:00 +02:00
mic
032bd37cb4 autoscroll to bottom fixed in chatgpt web interface integration 2025-07-25 23:27:04 +02:00
mic
51068dd95c Added a new default prompt to reply with a custom command asked when exectutin the prompt. See #444 2025-07-25 23:15:30 +02:00
Mic
66a64f924b fix: reply type button enable/disable only when present 2025-06-20 22:17:41 +02:00
Mic
b0135bcdf3 change reply type button improved in hatgpt web interface. see #372 2025-06-19 23:50:00 +02:00
Mic
647f23a50b Improved the AI web chat init message 2025-06-19 21:36:28 +02:00
Mic
d4d1653ac7 Enhance word diff rendering by splitting segments on <br> tags and appending appropriate span elements for added, removed, and unchanged text. 2025-06-19 00:33:00 +02:00
mic
4b9631db47 Refactor stripHtmlKeepLines to utilize convertBrToNewlines for improved HTML handling 2025-06-18 23:22:05 +02:00
mic
72428d8ee5 Integrate convertNewlinesToBr function to process text selections for improved HTML formatting 2025-06-18 23:11:27 +02:00
mic
5c0b011dad Add convertNewlinesToBr function to replace newlines with <br> tags 2025-06-18 22:25:37 +02:00
Mic
65e07723f5 added a debug line 2025-06-18 21:58:12 +02:00
Mic
1b0b0dcf59 fullPrompt logger added 2025-06-18 00:54:00 +02:00
Mic
6bafae81ca Add additional_message parameter to getAPIsInitMessageString for enhanced output. see #429 and #430 2025-06-18 00:00:00 +02:00
mic
f91e0e793f Add support for custom placeholders in prompt preparation. see #156 2025-06-16 21:13:48 +02:00
mic
f5a02e6fde Update placeholder properties documentation. see #156 2025-06-16 20:56:32 +02:00
Mic
7471f7691a Add support for custom placeholders in text replacement and validation. see #156 2025-06-15 23:42:00 +02:00
Mic
f4c1ab1018 import/export data placeholders added. see #156 2025-06-15 23:37:00 +02:00
Mic
bed5c65de0 refactored many functions to work with custom placeholders. see #156 2025-06-15 23:22:00 +02:00
Mic
2351034e3c Rename getCustomPromptsUsedSpace to getLocalStorageUsedSpace for clarity and update references 2025-06-15 23:17:00 +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
071ee6acf2 Refactor tag extraction in getTagsFromResponse to utilize extractJsonObject for improved JSON parsing. see #365 2025-06-15 00:37:57 +02:00
mic
859d8d9ef3 Add newline formatting to tag addition messages in finalizePrompt_add_tags 2025-06-15 00:33:40 +02:00
mic
d3813c00f6 Improve tag extraction in getTagsFromResponse by trimming whitespace and enhancing comma splitting for better parsing. see #365 2025-06-15 00:28:04 +02:00
mic
61480c0dc9 Enhance tag extraction functionality in getTagsFromResponse method with improved JSON parsing and backward compatibility. see #365 2025-06-15 00:22:10 +02:00
mic
07cf0774f9 Refactor prompt response messages and update HTML references for consistency across locales. see #365 2025-06-15 00:15:21 +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
015a6f68a4 swap reply type icons in addCustomDiv function. see #372 2025-06-13 21:17:20 +02:00
Mic
ec4bd3c366 scroll to bottom fixed in chatgpt web interface 2025-06-12 23:35:00 +02:00
Mic
54b3ba2dc9 icons updated. see #372 2025-06-12 23:25: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
85f4fc7d11 chatgpt web interface fix for the response completion ported from v3.5.4 2025-06-12 23:15:00 +02:00
Mic
42ed50151d Refactor icon selection logic for regenerate and read aloud buttons. again 2025-06-12 23:15:00 +02:00
mic
e090d37df9 chatgpt web interface fix for the response completion ported from v3.5.3 2025-06-11 21:56:37 +02:00
mic
cedbfaf26b showing the reply type in the chatgpt web interface. see #372 2025-06-11 21:55:04 +02:00
mic
ad5afee395 Enhance icon detection logic for regenerate and read aloud buttons 2025-06-10 23:42:11 +02:00
Mic
ff8fff50c9 add 'think' parameter to Ollama constructor and include in fetchResponse. see #398 2025-06-09 20:57:00 +02:00
Mic
e1fd5a4800 using chatgpt_api_store. see #406 2025-06-09 20:47:00 +02:00
Mic
d2512a5ef7 update OpenAI class constructor to include store parameter. see #406 2025-06-09 20:47:00 +02:00
Mic
ca29885aa4 update OpenAIComp to include additional headers for OpenRouter API requests. see #401 2025-06-09 20:42:00 +02:00
Mic
3fc641dea4 open api comp config reordered 2025-06-09 20:32:00 +02:00
Mic
fc865df48e OpenRouter API config added. see #401 2025-06-09 20:32:00 +02:00
Mic
f4529c0994 Grok and Mistral name updated 2025-06-09 20:27:00 +02:00
Mic
cce942d592 Perplexity API config added. see #405 2025-06-09 20:27:00 +02:00
mic
6ee7d7c96f [OpenAIComp] Add error handling for empty choices in parsed response 2025-06-10 08:09:37 +02:00
mic
1ef91e1bbe Enhance login check and alert handling in run function. see #411 2025-06-05 22:15:34 +02:00
mic
4485b7fe2c Add handling for free account detection in checkGPTModel function. see #408 2025-06-05 21:48:42 +02:00
Mic
2cf21599c0 hide model warning on button click in addCustomDiv function 2025-06-03 22:43:00 +02:00
mic
2ba1905c46 Fix formatting of comments in exclusion list file for consistency 2025-05-25 22:12:23 +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
1e8eb4a1d4 selected_html placeholder added. see #368 2025-05-22 00:51:00 +02:00
mic
d419373515 OpenAI Comp services shorcut added. see #378 2025-05-21 22:35:36 +02:00
mic
95f6c0e40f Add API connection messages and refactor initialization logging 2025-05-21 21:49:33 +02:00
mic
1a75a93507 added anthroic api to the automatic features. see #349 2025-05-21 17:58:53 +02:00
mic
eff4c3f0da using anthropic in the api webchat. see #349 2025-05-20 23:07:40 +02:00
mic
19565ec7c5 max_tokens added to anthropic. see #349 2025-05-20 22:05:00 +02:00
mic
7b70c16e50 Anthropic API Class added. see #349 2025-05-20 21:53:29 +02:00
mic
527b127ede fixed getCurrentIdentity methof. Fixes #369 2025-05-07 18:30:11 +02:00
mic
e7c1d0d701 fixed mail_ quoted_text placeholder also for forwarded messages 2025-05-03 22:54:58 +02:00
mic
d35f6dd08d Fix condition for handling replies from the compose window in message listener. See #353 2025-05-02 11:27:10 +02:00
mic
8f8c7e611d comment line improved 2025-05-02 11:19:17 +02:00
mic
1d798c4a8c Add ChatGPTWeb_models export to mzta-utils.js and update imports in mzta-options.js 2025-05-01 23:43:19 +02:00
mic
ca8e62aac4 Add getChatGPTWebModelsList_HTML function to mzta-utils.js and update imports in mzta-options.js 2025-05-01 23:41:17 +02: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
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
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
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
Mic
205bd788d1 more logs added 2024-12-12 00:36:00 +01:00
Mic
938c818b99 correctly handling the menus loading special prompts. see #183 2024-12-12 00:26:00 +01:00
mic
501fdf2fc1 calling the API to get the tags. see #183 2024-12-11 23:42:07 +01:00
mic
8a9099f37c first version of add tags special command added 2024-12-11 22:47:29 +01:00
mic
36c8e3054e workers moved in their folder 2024-12-11 22:28:09 +01:00
mic
0b3db54ba0 returning a value to the popup also for the classic prompts. 2024-12-10 23:35:30 +01:00
mic
0a8b89aeda getTags message handling added. see #183 2024-12-10 23:33:44 +01:00
mic
07d9395719 returning an object when asking for tags. see #183 2024-12-10 23:32:48 +01:00
mic
8adaccae38 added some comments 2024-12-10 22:51:32 +01:00
mic
50e54da6d0 working on special menus... see #183 2024-12-10 22:04:31 +01:00
mic
4d7cef81f6 includeSpecial parameter added to getPrompts. see #183 2024-12-10 22:04:03 +01:00
mic
27547da558 add tags special prompt added. see #183 2024-12-09 23:06:02 +01:00
Mic
0efe16450d
Merge pull request #192 from micz/i18n_default_prompts
I18n default prompts
2024-12-08 22:58:21 +01:00
mic
ee19d7d06b all default prompts adde to i18n translation. fixes #185 2024-12-08 22:49:24 +01:00
mic
01eacb6471 translared more strings. added some it strings. see #185 2024-11-29 23:09:19 +01:00
mic
7f233681ff setting the apdding in the new interface with slots 2024-11-29 21:38:19 +01:00
Mic
9d8e5e705a correctly handling the presence of the audio button. fixes #188 2024-11-29 21:03:41 +01:00
mic
817c57889b two prompts adde to i18n english only, see #185 2024-11-28 22:58:45 +01:00
Mic
503462b9ca more logs added to chatgpt web itnerface 2024-10-29 19:02:17 +01:00
Mic
1fb05b6fb3 getGPTWebModelString returns an empty string if the model is unknown 2024-10-29 18:36:46 +01:00
mic
f0f2ee7b5e added double quotes to prompt_reply_advanced. see #150 2024-10-23 22:45:26 +02:00
Mic
863ce095f8
Merge branch 'main' into v2.3.0 2024-10-23 22:33:34 +02:00
Mic
d429d739af prompt_reply_advanced added. fixes #150 2024-10-23 22:15:20 +02:00
Mic
8b75a7e17d checking the model before sending the prompt 2024-10-22 21:56:06 +02:00
Mic
5021e7e6b7 added getGPTWebModelString method 2024-10-22 21:55:32 +02:00
Mic
e40fc8163e [chatgpt web] Now it is possible to specify the model to use and the temporary chat. see #169 and #171 2024-10-21 21:44:47 +02:00
mic
1a80ab7991 formatting fixed 2024-10-17 20:55:07 +02:00
Mic
3370fbf5e9 Implemented a workaround for a Thunderbird bug, see #166 2024-10-17 17:10:32 +02:00
mic
01073a728e working on using a dialog as a workaround 2024-10-16 22:56:32 +02:00
mic
3cee7a2490 prompt_reply improved 2024-10-16 20:46:17 +02:00
Mic
0f8f45f8ed Renamed mail_body and html_body placeholders. fixes #164 2024-10-16 18:22:08 +02:00
mic
7544699422 additional_text implemented for chatgpt_web. see #153 2024-10-16 00:20:54 +02:00
mic
1d718b3797 additional_text implemented for api calls. see #153 2024-10-15 23:43:13 +02:00
mic
b29d9034c6 sanitizeHtml method added 2024-10-15 22:24:15 +02:00
mic
a5600cdf75 statement fixed 2024-10-15 22:06:05 +02:00
mic
58f92610d5 placeholders_use_default_value option added and implemented. see #146 2024-10-15 22:03:02 +02:00
mic
969360e89f added many default placeholders. see #153 2024-10-15 21:51:37 +02:00