Commit graph

150 commits

Author SHA1 Message Date
Mic
005e697e9c getActiveSpecialPromptsIDs is considering addtags specific integration configuration. see #438 2025-09-04 22:26:00 +02:00
Mic
acba02ed44 added info comment 2025-09-04 22:26:00 +02:00
Mic
c34e5f5fed getConnectionType method added 2025-09-03 23:18:00 +02:00
Mic
c15fe8e85f isAPIKeyValue method added 2025-09-02 22:50:00 +02:00
Mic
0ec19550c0 moved populateConnectionTypeOptions 2025-09-02 22:50:00 +02:00
Mic
e551974a56 work in progress, saving a point before working on generalizing the connetiontype html code. see #438 2025-09-02 22:45:00 +02:00
Mic
d404897911 connection_type dynamic loading 2025-09-02 22:45:00 +02:00
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
Mic
7ca21b08bf Change messageTags from object to array in getTagsList function 2025-03-06 18:04:11 +01:00
mic
3313e9cd45 not sking messagesTagsList permission for thunderbird 115. see #281 2025-03-05 21:29:56 +01:00
Mic
f4551c3662
Merge branch 'main' into v3.2.0 2025-02-27 21:18:10 +01:00
mic
cb10e4fa59 comments updated 2025-02-11 23:39:58 +01:00
mic
0aa8675e48 extractJsonObject method added 2025-02-11 22:56:12 +01:00
mic
5fbead1fcc getMailBody method added. see #237 2025-02-09 22:45:09 +01:00
mic
630cee4d27 added mzta-utils-core.js and added some methods. see #237 2025-02-08 16:04:18 +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
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
3b538050b6 copyright year updated 2025-01-10 21:21:37 +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
c33378d3be using add_tags_first_uppercase option. see #183 2024-12-18 01:13:00 +01:00
mic
f5f696e78b creating and updating tags methods added. see #183 2024-12-18 00:07:50 +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
1fb05b6fb3 getGPTWebModelString returns an empty string if the model is unknown 2024-10-29 18:36:46 +01:00
Mic
5021e7e6b7 added getGPTWebModelString method 2024-10-22 21:55:32 +02:00
mic
b29d9034c6 sanitizeHtml method added 2024-10-15 22:24:15 +02:00
mic
0b09e2e3a5 getMailSubject method added 2024-10-13 22:16:12 +02:00
mic
9bbf795709 storage space occupied added. see #129 2024-09-13 21:26:30 +02:00
mic
4ee62a04db store sync -> local migration methods added. see #129 2024-09-13 21:04:40 +02:00
Mic
24e9400350 default length added to generateCallID 2024-09-04 20:35:58 +02:00
mic
b9ad4a4937 export fixed 2024-08-23 14:13:09 +02:00
Mic
25b84ba8b2 generateCallID method added 2024-08-23 13:52:22 +02:00
mic
c02558be9e Added a warning message closing the Custom Prompts page with unsaved changes.fixes #88 2024-07-20 00:02:39 +02:00
mic
e899d76f69 i18nConditionalGet method added. see #20 2024-07-16 22:42:39 +02:00
mic
f43200370e iteration only on first level childNodes 2024-06-18 23:41:53 +02:00
mic
129b2998fc insertText renamed to insertHtml is now inserting Html elements instead of plain text 2024-06-18 23:07:57 +02:00
mic
6cdfd1489f micz.it url link typo fixed 2024-05-28 18:44:32 +02:00
mic
e09a25b4ef imported all fixes from main. fixes #55 2024-05-17 23:05:19 +02:00
mic
5c2e7a63f6 moved onctext definitions in mzta-utils.js 2024-05-10 22:15:00 +02:00
mic
f85b53e78f removed debug console logs 2024-05-01 21:47:01 +02:00
mic
1ec6a610e6 added body manipulation functions. see #30 #34 2024-05-01 00:33:11 +02:00
mic
75dff8b292 two empty lines added at the end of the inserted text 2024-04-30 23:53:29 +02:00
mic
87d5b332bb added methods to manipolate the compose message dom. see #30 #34 2024-04-30 22:27:32 +02:00
mic
2044c5cd15 correctly selecting the right identity if found in the original message. fixes #31 2024-04-27 21:41:48 +02:00
mic
42d212c715 License header added to js files 2024-04-16 22:19:52 +02:00
mic
1e8fc2a1e9 Default lang for chatgpt responses. related to #14 2024-04-05 00:34:00 +02:00