Commit graph

298 commits

Author SHA1 Message Date
Mic
e2c67a1c5e reloading menus for addtags is now considering addtags_api: prefs_init.add_tags_use_specific_integration. see #438 2025-09-04 22:31:00 +02:00
Mic
f1377f7de8 using the prompt conntype in addtags. see #438 2025-09-03 23:18:00 +02:00
Mic
9b26793895 always trying to remove the add tags menu item before creating it 2025-09-03 22:43:00 +02:00
mic
d46645a2fa passing prefs when preparing the prompt. see #289 2025-09-02 21:00:59 +02:00
mic
9e987e4e30 var name fixed 2025-09-02 20:53:30 +02:00
Mic
b8cb3adfc6 filtering tags in autotagging. see #289 2025-09-01 23:40:00 +02:00
Mic
9c0583af51 Show the prompt id and name to the information in the AI API chat. See #436 2025-08-31 15:51:00 +02:00
mic
95591993b8 console.log debug statement removed 2025-08-29 21:01:36 +02:00
Mic
5af9a82951 Improved prompts method args handling. see #471 2025-08-28 21:09:00 +02:00
mic
57e9a05083 fix correctly showing the context menu when changing connection type 2025-08-22 23:33:53 +02:00
mic
74f5369a31 converting lines breaks to paragraphs in chatgpt web interface integration prompt. see #482 2025-08-22 23:22:21 +02:00
mic
3851c10bcc remove commented-out code for HTML to plain text conversion in processEmails function 2025-08-20 21:16:35 +02:00
mic
2fa356ee6d trying a new way to get the plain text email in auto fetaures. see #469 2025-08-20 15:49:06 +02:00
mic
cc711e55ba Add htmlBodyToPlainText fallback for empty message bodies. see #470 2025-08-19 16:25:14 +02:00
Mic
a66ebee014
Merge branch 'main' into v3.6.0 2025-07-30 22:40:00 +02:00
mic
3a2845a23c 3.5.5 fixes ported to 3.6.0. Fixes #450 2025-07-25 22:57:53 +02:00
Mic
16b47a066c antispam optional permissions fixed 2025-07-21 23:49:06 +02:00
Mic
4507847105 working on #449 2025-07-21 23:43:33 +02:00
mic
9d06f6c868 log statements added 2025-06-19 22:35:28 +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
6c86e02b6f added an option to exclude the tag only with an exact match. see #395 2025-06-13 23:10:23 +02:00
Mic
c447ff2ab7 console.log line commented out 2025-06-12 23:20: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
db3e4e7cfa added the reply type selector in the api webchat. see #372 2025-06-12 23:10:00 +02:00
mic
cedbfaf26b showing the reply type in the chatgpt web interface. see #372 2025-06-11 21:55:04 +02:00
mic
c796adc05c Add exclusion list for tag assignment to prevent unwanted tags. See #392 2025-05-25 22:25:53 +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
0bdc94d7e6 the default shortcut is not enforced at startup anymore. fixes #384 2025-05-22 22:13:48 +02:00
Mic
0de4dd27c8 Update prompt length validation message and logic. see #380 2025-05-22 00:41:00 +02:00
mic
51ffdaeec0 fixed incoming mail elaboration when add_tags is false and add_tags_auto is true 2025-05-21 17:54:32 +02:00
mic
eff4c3f0da using anthropic in the api webchat. see #349 2025-05-20 23:07:40 +02:00
mic
85dfb36291 better code indentation 2025-05-20 22:12:08 +02:00
jdkio
ac78aa8adf
Fix issue #374, prefs_att -> prefs_atts 2025-05-12 19:41:10 -04: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
d02dc2c3e1 Adjust wait time in openChatGPT function for improved responsiveness when using a project. see #277 2025-05-01 23:00:02 +02:00
Mic
83d7cdc376 Add support for custom GPT and web project in openChatGPT function. See #277 #168 2025-04-30 00:19:00 +02:00
Mic
9a48c8fe14 using sanitizeChatGPTModelData on all data 2025-04-30 00:19:00 +02:00
mic
314089ea07 refactor openChatGPT to utilize custom model from prompt_info 2025-04-29 23:16:29 +02:00
Mic
059a0f8cac using sanitizeChatGPTModelData 2025-04-28 21:13:00 +02:00
Mic
617a1467d7 Add spam filter account selection and management features. see #326 2025-04-22 00:31:00 +02:00
Mic
08cab475e4 Add account validation for automatic tagging to ensure only enabled accounts are processed. see #327 2025-04-22 00:26:00 +02:00
Mic
ac98621d0c Refactor get_task and get_calendar_event handling to improve clarity and consistency; update _ok_sparks logic for better state management. see #333 2025-04-21 23:56:00 +02:00
mic
4f317556bc Improved plain text mode. See #350 2025-04-21 21:29:34 +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
6494a4f48f Refactor getMailBody function to work also with annidated multiparts. see #335 2025-04-18 14:02:25 +02:00
Mic
e1ad9d9c5d Handle 'get_task' changes in setupStorageChangeListener to update special prompts IDs accordingly. see #333 2025-04-16 23:59:00 +02:00
Mic
12d54d8a31 Refactor getActiveSpecialPromptsIDs calls to use an argument object for improved clarity and consistency 2025-04-16 23:54:00 +02:00
Mic
cfa65c4934 Rename doGetCalendarEvent to doGetSparkFeature for clarity and update related function calls 2025-04-16 23:49:00 +02:00
Mic
6df9f86244 Refactor preference retrieval to use default values in storage queries 2025-04-16 23:39:00 +02:00
Mic
dc0d4339fb improved the additional text form when using an API connection. fixes #97 2025-04-16 00:11:00 +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
00a605e794 Imported the fix for #344 from v3.3.4 2025-04-14 22:27:03 +02:00
mic
b7565cc4d1 Fix JSON stringification of original text in openChatGPT function. see #344 2025-04-14 22:16:52 +02:00
mic
b707096ed8 Add process control for incoming emails based on preferences 2025-04-11 22:45:03 +02:00
mic
f86a408513 Update default preference for add_tags to false in reload_pref_init function. Fixes #329 2025-04-06 14:52:43 +02:00
mic
173497bc47 Fix prompt_info.use_diff_viewer condition in openChatGPT function. fixes #321 2025-04-06 14:40:39 +02:00
mic
d44478fdd7 Enhance context menu management for add_tags and spamfilter based on preferences. fixes #302 2025-03-22 22:47:59 +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
928946dfdf Add diff viewer functionality for APIs integrations. see #109 2025-03-21 00:22:00 +01:00
mic
1fd58b4788 Integrate working status management into email automatic and context menu processing flow. see #295 2025-03-19 21:37:19 +01:00
mic
edf7eabdff Add context menu click listener to process emails with tags and spam filter. see #262 2025-03-18 22:36:33 +01:00
mic
717f035803 added processEmails method 2025-03-18 22:29:17 +01:00
mic
72ccc7de90 Add context menu creation and removal functions. see #262 2025-03-16 23:32:48 +01:00
mic
87d22ff9b1 Add onboarding page. fixes #256 2025-03-10 22:39:04 +01:00
mic
715df42cc2 messagesTagsList is now a mandatory permission 2025-03-06 21:34:05 +01:00
mic
ad29a9dc71 Add listener for removed permissions to update menu items. see #286 2025-03-06 21:07:26 +01:00
mic
c8fdf3b884 typo fixed 2025-03-05 22:20:40 +01:00
mic
cd46c03cca Handle Thunderbird 115 compatibility for new mail listener. see #281 2025-03-05 22:20:19 +01:00
mic
e1d97cfc5c Merge branch 'main' of github.com:micz/ThunderAI 2025-03-05 21:26:24 +01:00
mic
9d5fc3800d removed a test line 2025-03-05 21:20:14 +01:00
Mic
5a795a1e1f remove permission checks for add_tags and spamfilter options 2025-03-05 18:15:19 +01:00
mic
5f15fd85a1 unchecking spamfilter if permissions revoked 2025-03-03 21:50:31 +01:00
mic
127f3ab18b unchecking add_tags if permissions revoked. see #276 2025-03-03 21:23:37 +01:00
mic
fc3ca39ee5 tags related permissions are now optional and asked only if the add_tags options is checked. add_tags is now default to false. fixes #259 2025-02-14 23:31:45 +01:00
mic
be6510f5fe spam report added. see #231 2025-02-14 23:22:47 +01:00
mic
720f810533 console.log debug statement commented out 2025-02-14 22:05:35 +01:00
mic
5cdeae70dc marking messages as spam and moving to the account spam folder. see #231 2025-02-14 22:05:15 +01:00
mic
abeb16b0d9 typo fixed 2025-02-11 23:44:56 +01:00
mic
29e7b5591c sending the prompt and receiving a json. see #231 2025-02-11 23:44:31 +01:00
mic
dde5c9fef6 start working on the spam filter 2025-02-10 00:02:07 +01:00
mic
f63dab1e18 specialFullPrompt var renamed and moved in the if block 2025-02-09 23:31:08 +01:00
mic
9fd035764e autotagging implemented. see #237 2025-02-09 23:24:08 +01:00
mic
f022bce638 double await fixed 2025-01-29 22:41:01 +01:00
mic
79c74cde2c forcing thunderai menu reload when installing sparks. see #240 2025-01-29 22:08:04 +01:00
Mic
a9e55c71b5 google_gemini_api: fixed a bug in checking empty apikey and model prefs 2025-01-16 23:01:00 +01:00
Mic
80fcf0e99a comment fixed 2025-01-16 22:56:00 +01:00
Mic
979f14966f console.log debug statements commented out 2025-01-16 22:56:00 +01:00
mic
fc250b9529 condition fixed 2025-01-12 22:46:08 +01:00
mic
a4a0dbdb21 reloading menu fixed 2025-01-12 22:37:44 +01:00
mic
dd00856ef6 correctly handling the calendar menu. see #182 2025-01-11 22:35:54 +01:00
mic
3b538050b6 copyright year updated 2025-01-10 21:21:37 +01:00
mic
3073cf69a3 first working version of the google gemini api. see #204 2025-01-06 00:21:58 +01:00
mic
20eb305987 added an error message if using an unknown API connection type 2025-01-05 23:59:28 +01:00
mic
1803020a6c reloading the needed prefs when reloading menus 2025-01-02 23:13:33 +01:00
mic
f6e73f5481 add_tags correctly defaults to true for the first install 2024-12-25 23:11:24 +01:00
mic
b9a802e676 tags assignment improved. see #183 2024-12-18 22:05:48 +01:00
Mic
4bab16adbc correctly assigning multiple tags. see #183 2024-12-18 01:23:00 +01:00
mic
72e6207d6d assign_tags command implemented. see #183 2024-12-18 00:23:57 +01:00
mic
6f9985cdbd fixed special item menu reload when changing prefs. see #183 2024-12-12 22:39:19 +01:00
Mic
e8ef5c968b correctly setting loading params for the menu at startup. see #183 2024-12-12 00:31:00 +01:00
Mic
938c818b99 correctly handling the menus loading special prompts. see #183 2024-12-12 00:26:00 +01:00
mic
6e9668c45f returning executeMenuAction. see #183 2024-12-10 23:32:23 +01:00
mic
7ddfc41130 listeners are no more async 2024-12-10 21:20:31 +01:00
Mic
503462b9ca more logs added to chatgpt web itnerface 2024-10-29 19:02:17 +01:00
Mic
8b75a7e17d checking the model before sending the prompt 2024-10-22 21:56:06 +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
cac620e26f
Merge pull request #167 from micz/tabmail_alert_bug_workaround
Tabmail alert bug workaround
2024-10-17 18:53:06 +02:00
Mic
6808e3a81f max_prompt_length options added. fixes #165 2024-10-17 17:35:36 +02:00
Mic
3370fbf5e9 Implemented a workaround for a Thunderbird bug, see #166 2024-10-17 17:10:32 +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
0c40dc4a12 taStore useless import removed 2024-10-13 20:54:29 +02:00
mic
58cdd01c19 improved the dynamic menu prompts loading 2024-10-05 16:51:54 +02:00
mic
8277645c87 returning type fixed 2024-10-05 16:39:56 +02:00
mic
cff8a60e1c listener no more async 2024-10-05 16:35:20 +02:00
mic
f172196939 fixed chat window opening also in openai comp api. see #143 2024-10-05 16:05:47 +02:00
mic
e833911867 log messages fixed 2024-10-04 21:18:04 +02:00
mic
66ba79833a ported new chat window messaging code from branch issue_143. see #143 2024-10-04 21:16:53 +02:00
mic
55e2fb65c7 commented out a console.log debug statement 2024-09-27 22:57:56 +02:00
mic
fcb9eede32 adde logger to mzta_Menus 2024-09-25 21:35:06 +02:00
mic
f629485555 fixed comp openai api host and model checks. see #126 2024-09-24 23:08:39 +02:00
mic
8caf66eb46 if no dimensions are set, do not use it the open window call. see #137 2024-09-24 22:54:50 +02:00
mic
7f43d0dd20 popup menu correctly working via shortcut and via mouse click. see #130 2024-09-22 22:16:09 +02:00
mic
44fa9b552f typo fixed. 2024-09-22 22:00:14 +02:00
mic
401ae6b8ea working on a shortcut that opens a popup. see #130 2024-09-20 23:55:27 +02:00
mic
5004b2ee82 added prompts migration from sync to local. see #129 2024-09-13 21:05:18 +02:00
Mic
57f7cd3876 case 'openai_comp_api' added to open chat window method. see #126 2024-09-13 19:47:47 +02:00
Mic
fcc66f943d new way of opening the chatgpt web interface window. some other improvments in the chatgpt interface. see #122 2024-09-04 20:37:34 +02:00
mic
142907feff fixed the error reporting string. added a max tries to the chatgpt web interface connect script 2024-09-03 21:38:50 +02:00
mic
8d051b19f6 correctly handling and removing the listener when using the openai api 2024-08-28 22:34:00 +02:00
Mic
e4bfbcf0ea
Merge branch 'main' into 2.1.0 2024-08-28 21:48:44 +02:00
Mic
eabb4b1370
Merge pull request #120 from micz/new_internal_msg_system
New internal msg system between the background script and the chat windows
2024-08-23 14:39:22 +02:00
mic
47a4a8c5bc correctly closing the window 2024-08-23 14:36:48 +02:00
mic
687ac698a7 ollama new internal messaging system fixed 2024-08-23 14:29:23 +02:00
Mic
c104edbf93 new internal communication system for openai api 2024-08-23 14:03:25 +02:00
Mic
9698eb1d01 new internal messaging method in the ollama api call 2024-08-23 13:52:48 +02:00
mic
d7cef5dceb usgin the new logger changeDebug method. fixes #115 2024-08-22 22:32:00 +02:00
mic
afa7815ebe log messages improved. see #117 2024-08-22 22:26:12 +02:00
mic
8071fe4f16 error messages improved. see #117 2024-08-22 22:20:32 +02:00
mic
1ab1da1b68 fixed chatgpt web loop. see #117 2024-08-22 22:17:02 +02:00
mic
43c6c68238 implemented a loop on exception to send a message to the tab 2024-08-22 22:09:44 +02:00
mic
e2aa598f01 ollama_api: first version with a working ollama call! see #79 2024-08-20 18:35:37 +02:00
mic
3acac0d8f0 showNotification method removed 2024-08-20 18:01:01 +02:00
mic
00250bcfeb added the call to ollama and renamed the action from chatgpt_send to api_send when using an API. see #79 2024-08-20 17:50:41 +02:00
mic
19342cbced removed chatgpt web fallback, added error messages. fixes #111 2024-08-20 15:00:55 +02:00
mic
e014bc29ce Ignoring certain tabs when adding content scripts. 2024-08-19 23:40:51 +02:00
mic
135113ada9 using a logger, see #106 2024-08-19 18:00:35 +02:00
Mic
0495b50ccb fixed API web chat windows opnening in Thunderbird 115 2024-08-19 11:48:48 +02:00