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 |
|
mic
|
829a68fb02
|
getMailData renamed to getMailBody
|
2024-10-15 21:35:21 +02:00 |
|
mic
|
e256684b98
|
getHighlight renamed to getMailData
|
2024-10-15 21:18:29 +02:00 |
|
mic
|
80eecda550
|
error handling improved in all APIs
|
2024-10-15 17:08:33 +02:00 |
|
mic
|
9fe528d6c8
|
openai_comp_use_v1 pref added
|
2024-10-15 17:06:30 +02:00 |
|
mic
|
04005b42bf
|
html_body placeholder implemented
|
2024-10-14 23:06:53 +02:00 |
|
mic
|
4fc698e3be
|
html_body placeholder added. see #153
|
2024-10-14 22:06:28 +02:00 |
|
mic
|
2216dd0f8c
|
placeholders now have a type prop. Added more default placeholders. see #153
|
2024-10-14 20:41:54 +02:00 |
|
mic
|
ed596041ed
|
not forcing doublequotes
|
2024-10-13 22:33:45 +02:00 |
|
mic
|
4b96ba99cf
|
removed a useless import
|
2024-10-13 22:31:39 +02:00 |
|
mic
|
4842b623d1
|
first working substitution. see #146
|
2024-10-13 22:30:13 +02:00 |
|
mic
|
1e20dc3ba5
|
various improvements
|
2024-10-13 22:29:33 +02:00 |
|
mic
|
0b09e2e3a5
|
getMailSubject method added
|
2024-10-13 22:16:12 +02:00 |
|
mic
|
5aef7a4e14
|
typo fixed
|
2024-10-13 22:15:32 +02:00 |
|
mic
|
b8c956cadd
|
hasPlaceholder method added. see #146
|
2024-10-13 21:09:09 +02:00 |
|
mic
|
97faed5ac9
|
placeholdersUtils added. see #146
|
2024-10-13 21:04:57 +02:00 |
|
mic
|
9bccfb1b2a
|
defaultPlaceholders manger added see #146
|
2024-10-13 20:53:55 +02:00 |
|
Mic
|
332123666d
|
Merge branch 'main' into 2.2.0
|
2024-10-07 21:26:31 +02:00 |
|
mic
|
a62350309d
|
log added
|
2024-10-05 16:28:03 +02:00 |
|
mic
|
e0cc0f52d0
|
listener no more async
|
2024-10-05 16:16:11 +02:00 |
|
mic
|
1730922c04
|
added an optional api key. see #144
|
2024-10-01 20:45:15 +02:00 |
|
mic
|
f17dec6e65
|
fixed import blank prompts if exprted without closing the custom prompts page
|
2024-09-25 23:13:37 +02:00 |
|
mic
|
e1dce3d289
|
need_custom_text is now editable also in default prompts. fixes #135
|
2024-09-25 21:40:23 +02:00 |
|
mic
|
0f9bbee113
|
logger added
|
2024-09-25 21:34:53 +02:00 |
|
mic
|
f9c90eabf8
|
sendButton selector improved
|
2024-09-25 21:12:11 +02:00 |
|
mic
|
8aa77dece6
|
chatgptweb: better handling of scrolldown when the button is not present
|
2024-09-25 21:09:36 +02:00 |
|
mic
|
110cbcd1d2
|
Implemented a workaround for Intl.Segmenter. Porter from version 2.1.5. See #139
|
2024-09-23 21:38:17 +02:00 |
|
mic
|
debe655e50
|
console.log debug statement commented out
|
2024-09-23 20:48:24 +02:00 |
|
Mic
|
a246ba7825
|
Implemented a workaround for Intl.Segmenter. see #139
|
2024-09-23 20:38:03 +02:00 |
|
mic
|
401ae6b8ea
|
working on a shortcut that opens a popup. see #130
|
2024-09-20 23:55:27 +02:00 |
|
mic
|
9bbf795709
|
storage space occupied added. see #129
|
2024-09-13 21:26:30 +02:00 |
|
mic
|
2aa692c872
|
prompts are now working from local storage. see #129
|
2024-09-13 21:05:35 +02:00 |
|
mic
|
4ee62a04db
|
store sync -> local migration methods added. see #129
|
2024-09-13 21:04:40 +02:00 |
|
Mic
|
a1ecbc84e8
|
models filtering removed
|
2024-09-13 19:48:40 +02:00 |
|
mic
|
f67125a696
|
removed the chatgpt web interface check for model 4 or 3.5
|
2024-09-12 22:09:06 +02:00 |
|
mic
|
b5adc964a8
|
OpenAIComp class added. See #126
|
2024-09-12 20:57:27 +02:00 |
|
mic
|
b0406f2ae4
|
fixed a change in cahtgpt web interface. see #133
|
2024-09-11 20:19:55 +02:00 |
|
Mic
|
6e3377a301
|
removed the link to status page as requested by the TB Addon Reviewer. Reverts #123
|
2024-09-05 18:00:45 +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
|
24e9400350
|
default length added to generateCallID
|
2024-09-04 20:35:58 +02:00 |
|
mic
|
319f289b84
|
if the chatgpt web interface loads slowly, show abutton to retry sending the prompt. see #122
|
2024-09-03 22:09:00 +02:00 |
|
mic
|
6b0c2ee360
|
fixed the url in chatgpt web interface messages. fixes #123
|
2024-09-03 21:43:58 +02:00 |
|
mic
|
612c0e72d1
|
fixed arguments for windows.remove in chatgpt web interface
|
2024-08-28 22:08:23 +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
|
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
|
9fa8bc50c4
|
changeDebug method added. see #115
|
2024-08-22 22:29:58 +02:00 |
|
mic
|
a07d1cdd73
|
chatgpt web - fixed aouto sending the prompt
|
2024-08-21 14:56:38 +02:00 |
|
mic
|
4db9f0c8a5
|
ollama api is working. see #79
|
2024-08-20 22:51:48 +02:00 |
|
mic
|
e2aa598f01
|
ollama_api: first version with a working ollama call! see #79
|
2024-08-20 18:35:37 +02:00 |
|
mic
|
969dbb1127
|
ollama_api: getting models list. see #79
|
2024-08-20 17:42:04 +02:00 |
|
mic
|
470d326826
|
openai_api - improved error messages in case of connection errors.
|
2024-08-20 14:43:22 +02:00 |
|
mic
|
b0fdaf7037
|
improved async in closing chat windows. fixes #110
|
2024-08-20 14:41:11 +02:00 |
|
mic
|
dd2e084bb4
|
some fixes ported from 2.0.6
|
2024-08-19 23:58:33 +02:00 |
|
mic
|
5fe74083ea
|
Improved the internal messaging in closing che chatgpt web and api windows
|
2024-08-19 23:47:55 +02:00 |
|
mic
|
41d3c167b6
|
removed useless param from methods
|
2024-08-19 17:45:27 +02:00 |
|
mic
|
48ceea085d
|
always logging errors and warnings
|
2024-08-19 17:44:57 +02:00 |
|
mic
|
a25df4281e
|
added a logger class
|
2024-08-19 17:29:48 +02:00 |
|
mic
|
fa6127bcae
|
console.log statement temporary commented out, wating for #106
|
2024-08-16 00:15:09 +02:00 |
|
mic
|
4c7d9aced9
|
the selection helper is not selecting in our bottom div, but only in the chatgpt part of the window. see #104
|
2024-08-15 00:28:47 +02:00 |
|
mic
|
e58628c30e
|
fixed the completed message. see #104
|
2024-08-15 00:11:47 +02:00 |
|
mic
|
d5344af04f
|
the selection helper is active only when needed. see #104
|
2024-08-15 00:08:18 +02:00 |
|
mic
|
11d42b7e3f
|
added an helper to select an asnwer with a single click. see #104
|
2024-08-15 00:00:45 +02:00 |
|
mic
|
ea8c2975d6
|
disablign the button only when needed. see #104
|
2024-08-14 23:06:19 +02:00 |
|
mic
|
31d3804ad1
|
disabling button when replying if nothing is selected. added a message. see #104
|
2024-08-14 23:02:49 +02:00 |
|
mic
|
717bade1a5
|
better error message when fetching models
|
2024-08-14 21:49:39 +02:00 |
|
mic
|
ecf4a7a167
|
getting the model from the options. added a tolltip to the send button to show the used model
|
2024-07-29 23:12:47 +02:00 |
|
mic
|
acb1dd8629
|
reverting a test mod wrongly commited
|
2024-07-26 22:28:49 +02:00 |
|
mic
|
96983ecba6
|
fetchModels logging on console as an error on error
|
2024-07-26 22:25:39 +02:00 |
|
mic
|
36158e3e3a
|
fetchModels returns false on error
|
2024-07-26 22:25:15 +02:00 |
|
mic
|
59ec47b2e8
|
fetchModels ouput are only the gpt- models ordered by id desc
|
2024-07-22 23:35:54 +02:00 |
|
mic
|
c538388279
|
added countTokensUsingAPI method
|
2024-07-21 21:01:54 +02:00 |
|
mic
|
37ec6ca76a
|
handling error messages from the ChatGPT API
|
2024-07-21 16:49:36 +02:00 |
|
mic
|
ee2540a8c8
|
correctly using openai api class in the webworker
|
2024-07-21 15:25:07 +02:00 |
|
mic
|
e81dbf3d72
|
added a first version of the OpenAI API class
|
2024-07-20 23:06:38 +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
|
eaa1668eae
|
improved the "same language" statement.
|
2024-07-19 22:18:30 +02:00 |
|
mic
|
7aeb92e6e3
|
using the define_response_lang property. fixes #86
|
2024-07-19 22:17:59 +02:00 |
|
mic
|
efb4c61b6b
|
define_response_lang properties added to default prompts. see #86
|
2024-07-19 21:54:19 +02:00 |
|
mic
|
7323a9fe6f
|
fixed the plain text import. fixes #87
|
2024-07-19 21:50:11 +02:00 |
|
mic
|
011076d96b
|
fixed getting response in plaintext. see #87
|
2024-07-19 21:30:12 +02:00 |
|
mic
|
dc2f581c7e
|
showing the current prompt name in the chatgpt window. fixes #20
|
2024-07-16 22:50:00 +02:00 |
|
mic
|
e899d76f69
|
i18nConditionalGet method added. see #20
|
2024-07-16 22:42:39 +02:00 |
|
mic
|
29f6c07229
|
sorting prompts on import. see #65
|
2024-07-16 18:21:22 +02:00 |
|
mic
|
b15616b5d7
|
deleting idnum property on export. see #65
|
2024-07-16 18:18:47 +02:00 |
|
mic
|
47dbf0c808
|
method preparePromptsForImport added. see #65
|
2024-07-16 00:11:21 +02:00 |
|
mic
|
bca4640cf5
|
using the current lang when translating if no lang is set. see #53. to be improved in #6
|
2024-07-15 00:00:38 +02:00 |
|
mic
|
81ae49ba23
|
the default lang is set to empty string to use the used in the email. fixes #53
|
2024-07-14 23:54:46 +02:00 |
|
mic
|
4d9329ae22
|
we need also the id in the preparePromptsForExport method
|
2024-07-14 23:23:08 +02:00 |
|
mic
|
7c35a33a1c
|
added preparePromptsForExport method
|
2024-07-14 23:21:08 +02:00 |
|
mic
|
49d52abac8
|
correctly working with plain text response. really fixing #77
|
2024-06-27 21:18:00 +02:00 |
|
Mic
|
141e236923
|
using chatgpt_keep_formatting. fixes #77
|
2024-06-27 18:27:41 +02:00 |
|
mic
|
7f0a50be42
|
correctly preservig formatting. see #70
|
2024-06-26 22:22:57 +02:00 |
|
mic
|
d71301f9e1
|
working on fixing #70
|
2024-06-25 22:59:28 +02:00 |
|
mic
|
caa2f0603c
|
keeping the format from the chatgpt response. see #70
|
2024-06-19 21:51:44 +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
|
8b01b2fa7f
|
removed debug console.log
|
2024-06-18 22:08:16 +02:00 |
|
mic
|
2e076d7b7b
|
removed makeParagraphs, using an html string directly
|
2024-06-18 21:57:01 +02:00 |
|
mic
|
0daeded711
|
chatgpt_getFromDOM returns an HTML string for the last answer
|
2024-06-18 21:56:34 +02:00 |
|
mic
|
639fe495a7
|
replying to the right message. fixes #71
|
2024-06-18 21:08:03 +02:00 |
|
mic
|
2e6fa9f86a
|
comment translated in english
|
2024-06-18 20:03:10 +02:00 |
|
mic
|
6cdfd1489f
|
micz.it url link typo fixed
|
2024-05-28 18:44:32 +02:00 |
|
mic
|
feaba4d4e4
|
using more textContent instead of innerHTML
|
2024-05-23 20:32:58 +02:00 |
|
mic
|
2a21e18d61
|
using textContent instead of innerHTML for CSS as for ATN reviewer suggestion
|
2024-05-22 21:17:30 +02:00 |
|
Mic
|
1cae90b843
|
Merge branch 'main' into new_1.1
|
2024-05-21 21:24:40 +02:00 |
|
mic
|
e09a25b4ef
|
imported all fixes from main. fixes #55
|
2024-05-17 23:05:19 +02:00 |
|
mic
|
83f570feaa
|
log desc improved. fixes #63
|
2024-05-17 22:46:11 +02:00 |
|
mic
|
2af0816f66
|
send button query improved. ported from 1.0.10
|
2024-05-17 19:10:58 +02:00 |
|
mic
|
016779faf8
|
polished send button query
|
2024-05-17 19:02:47 +02:00 |
|
mic
|
f66055b0c5
|
using the new endpoint chatgpt.com
|
2024-05-17 19:00:38 +02:00 |
|
mic
|
d527c8d187
|
commented out some debug console.log statement
|
2024-05-16 22:33:18 +02:00 |
|
mic
|
b685010ca7
|
Improved handling of different versions of the ChatGPT web interface
|
2024-05-16 22:18:42 +02:00 |
|
Mic
|
e9cb2fedeb
|
ordering prompts in the menu: first the default prompts, then the custom in alphabetical order by "name"
|
2024-05-15 23:18:47 +02:00 |
|
Mic
|
1a10382053
|
better var naming
|
2024-05-15 23:12:32 +02:00 |
|
Mic
|
e256131d82
|
fixed a typo in a comment
|
2024-05-15 23:02:00 +02:00 |
|
Mic
|
fc14199a48
|
chatgpt url updated
|
2024-05-15 22:55:21 +02:00 |
|
Mic
|
e27b1675e7
|
added messges for sendbutton or textarea not found. fixes #58 #59 #61
|
2024-05-15 22:40:41 +02:00 |
|
Mic
|
5229eab6fe
|
ported v108 fixes
|
2024-05-15 22:13:19 +02:00 |
|
Mic
|
dfe3fd98f6
|
using the right action button. fixes #56
|
2024-05-15 22:10:34 +02:00 |
|
Mic
|
86d8c5044a
|
stripping ChatGPT in front of the response. Fixes #60
|
2024-05-15 19:22:45 +02:00 |
|
Mic
|
9b7f46c8b0
|
send button query fixed
|
2024-05-15 19:21:41 +02:00 |
|
Mic
|
a19bc59a2c
|
handling model 4o. fixes #62
|
2024-05-15 19:20:46 +02:00 |
|
mic
|
7ae17e29a5
|
Imported .diff from v105 to v106
|
2024-05-14 18:39:12 +02:00 |
|
mic
|
6818414184
|
fixed correct reloading of the listener. see #12
|
2024-05-14 17:48:40 +02:00 |
|
mic
|
e2c99e5b3e
|
better handling of default prompt in case of future new prompts added. see #12
|
2024-05-14 17:48:01 +02:00 |
|
mic
|
cd4c08739b
|
resolver error in reloading menus. fixes #51
|
2024-05-14 08:26:42 +02:00 |
|
mic
|
5ee8280e3e
|
trying to fix the error in reloading menu
|
2024-05-13 23:18:50 +02:00 |
|
mic
|
102e613fc8
|
removed some console.log dumps
|
2024-05-13 21:59:01 +02:00 |
|
mic
|
58ddddb241
|
forcing to string before checking 0/1 properties
|
2024-05-13 21:57:29 +02:00 |
|
mic
|
5122edadac
|
excluding disabled prompts. related to #12
|
2024-05-13 21:53:32 +02:00 |
|
mic
|
a3b34b7dbf
|
"Unknown localization message" error fixed. correctly using "name" in the prompts menu. related to #12
|
2024-05-13 21:47:04 +02:00 |
|
mic
|
86801cacf5
|
force String in switch properties triage
|
2024-05-13 20:28:12 +02:00 |
|
mic
|
9fd14b1276
|
correctly loading menus
|
2024-05-13 20:26:58 +02:00 |
|
mic
|
b19349a0de
|
all values are strings
|
2024-05-12 23:35:28 +02:00 |
|
mic
|
6136e0a056
|
saving and loasding defaultPrompts user properties
|
2024-05-12 22:01:31 +02:00 |
|
mic
|
2cab415dc9
|
added position_compose and position_display to handle the position in the two menus
|
2024-05-12 16:38:31 +02:00 |
|
mic
|
f459cf72e8
|
added btns and new form. still work in progress. #12
|
2024-05-10 23:21:40 +02:00 |
|
mic
|
5c2e7a63f6
|
moved onctext definitions in mzta-utils.js
|
2024-05-10 22:15:00 +02:00 |
|
mic
|
0b62350138
|
added temporary export to test in browser
|
2024-05-10 22:09:37 +02:00 |
|
mic
|
f538bbe38d
|
added prompts sorting
|
2024-05-10 22:00:05 +02:00 |
|
mic
|
27988f14b0
|
Keeping the signature even if it's above the quote. Fixes #45
|
2024-05-09 21:38:35 +02:00 |
|
mic
|
25b406d4b7
|
reply prompt improved
|
2024-05-09 21:31:51 +02:00 |
|
mic
|
f1033fc517
|
improved reply prompt
|
2024-05-09 21:27:56 +02:00 |
|
mic
|
3de12ca92f
|
comment updated
|
2024-05-09 21:08:44 +02:00 |
|
mic
|
4ae0a9b371
|
added a button to force the completion
|
2024-05-08 23:46:36 +02:00 |
|
mic
|
5bd85500bf
|
updated chatgpt_getRegenerateButton to correctly handling a change in the ChatGPT web interface. related to #43
|
2024-05-08 23:31:50 +02:00 |
|
mic
|
90338dbe4c
|
added is_default: 1 prop to defaultPrompts
|
2024-05-08 21:37:24 +02:00 |
|
mic
|
5ecc13ad20
|
custom prompts: added base methods. see #12
|
2024-05-07 22:36:44 +02:00 |
|
mic
|
935288ff70
|
code formatted to be more readable
|
2024-05-07 21:44:06 +02:00 |
|
mic
|
57b68e4d3d
|
fixed testing parameter
|
2024-05-06 22:39:54 +02:00 |
|
mic
|
3b2ad28398
|
translated some hardcoded strings
|
2024-05-06 22:28:57 +02:00 |
|
mic
|
f8777d8fc7
|
asking for a custom text if needed. fixes #32
|
2024-05-06 22:16:03 +02:00 |
|
mic
|
ee9704429d
|
work in progress #32
|
2024-05-05 23:45:34 +02:00 |
|
mic
|
c61268f1f2
|
prepending * to menutitle if custom prompt needed
|
2024-05-04 00:00:31 +02:00 |
|
mic
|
4b630bee78
|
added the need_custom_text attribute. related to #32
|
2024-05-03 23:54:49 +02:00 |
|
mic
|
0456874185
|
exiting for loop when the model is found. related to #38
|
2024-05-03 23:05:38 +02:00 |
|
mic
|
23717c0985
|
ChatGPT-4 working even in a larger window. Related to #38
|
2024-05-02 23:59:42 +02:00 |
|