Commit graph

93 commits

Author SHA1 Message Date
Mic
c25639b245 normalizeStringList method improved again 2025-09-01 23:40:00 +02:00
Mic
e563492e3f normalizeStringList method improved 2025-09-01 23:30:00 +02:00
Mic
34fcb3c157 normalizeStringList method added 2025-09-01 23:30:00 +02:00
Mic
4be5db1373 Improved getAPIsInitMessageString args handling. see #491 2025-08-31 15:41:00 +02:00
mic
ad6ac50dc9 method convertNewlinesToParagraphs added. see #482 2025-08-22 23:16:57 +02:00
Mic
c17b3187b2
Merge branch 'main' into 3.6.1_issue_469 2025-08-22 22:49:47 +02:00
Kilian Singer
51614ea95d new lines are now preserved in mzta-menus.js
also newlines are normalized to \n in chase
\r\n (like on windows platforms) are present.
some LLMs work better with proper paragraph breaks.
2025-08-21 09:37:43 +02:00
mic
704fa10a04 chatgpt web models list fixed. see #464 2025-08-20 21:53:16 +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
647f23a50b Improved the AI web chat init message 2025-06-19 21:36:28 +02:00
mic
4b9631db47 Refactor stripHtmlKeepLines to utilize convertBrToNewlines for improved HTML handling 2025-06-18 23:22:05 +02:00
mic
5c0b011dad Add convertNewlinesToBr function to replace newlines with <br> tags 2025-06-18 22:25:37 +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
2351034e3c Rename getCustomPromptsUsedSpace to getLocalStorageUsedSpace for clarity and update references 2025-06-15 23:17:00 +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
95f6c0e40f Add API connection messages and refactor initialization logging 2025-05-21 21:49:33 +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
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
f043f2e93b fix: update regex in validateChatGPTWebCustomData to allow additional characters. see #277 #168 2025-04-30 00:19:00 +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
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
ce3d392628 adding options to manage accounts for autotagging. see #327 2025-04-22 00:16:00 +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
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
d73e4e5eb6 Add support for checking ThunderAI Sparks version and update related UI messages. Fixes #315 2025-04-15 23:25:21 +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
d5cb50194a Improve error handling for calendar event data retrieval and JSON extraction 2025-03-28 01:15:00 +01:00
Mic
bb53027950 Remove debug log for fallback identity in getCurrentIdentity function 2025-03-20 23:52:00 +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
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
715df42cc2 messagesTagsList is now a mandatory permission 2025-03-06 21:34:05 +01:00