360 Commits

Author SHA1 Message Date
Wolfsblvt
0ab74f0819 Update return values of send commands
- /sendas
- /sys
- /comment
2024-09-30 18:30:09 +02:00
Wolfsblvt
5952c35402 Refactor if checks on /sendas 2024-09-30 18:13:13 +02:00
Cohee
2f43c8e227 Fix /ask in neutral chats 2024-09-29 19:12:26 +03:00
Wolfsblvt
314771fd9a Fix /sendas wrong name being used 2024-09-29 17:32:18 +02:00
Cohee
57bbd349a0 Merge branch 'staging' into char-find-and-sendas-extended 2024-09-29 13:37:09 +03:00
Cohee
c3d5fba598 Support multiple in /setpromptentry 2024-09-29 12:48:40 +03:00
Wolfsblvt
ab83138b1e missing closing tag 2024-09-29 11:02:54 +02:00
Wolfsblvt
44c8d45957 missing import 2024-09-29 04:02:00 +02:00
Wolfsblvt
d7bad6335c Refactor findChar to utils
- Refactor and move finChar to utils, instead of slashcommands function
- Refactor scrapers to use actual init functionality
2024-09-29 03:20:01 +02:00
Wolfsblvt
edcf52e3a8 Update more commands for new char find
- Update /member-add to utilize new char find functionality
- Update /tag-add, /tag-remove, /tag-exists and /tag-list to utilize new char find functionality
. Update /lastsprite to utilize new char find functionality
2024-09-29 02:54:12 +02:00
Wolfsblvt
145023ba8d Update existing slash commands to findChar
- Update /gen to utilize new char find functionality
- Update /go to utilize new char find functionality
- Update /delname to utilize new char find functionality
- Change /send persona search to equalsIgnoreCaseAndAccents
2024-09-29 02:36:33 +02:00
Wolfsblvt
d6e52dbb97 Update /ask with new char find functionality 2024-09-29 02:14:06 +02:00
Wolfsblvt
ca009dee59 Respect tags for current char(s) selection
- Respect tags for prefer current char(s)
- Fix preferCurrentChar not being true by default
2024-09-29 01:17:13 +02:00
Wolfsblvt
5a0e70e8fa Add "quiet" to /char-find 2024-09-29 00:55:41 +02:00
Wolfsblvt
231ea98b25 Update /sendas to work with findChar 2024-09-29 00:53:43 +02:00
Wolfsblvt
0be48c567a /char-find command to get a specific unique char
- findChar utility function that does the heavy lifting of finding a specific char based on conditions
- Log/warn if multiple characters match
- Validation function for named args that should be arrays
2024-09-29 00:36:13 +02:00
Wolfsblvt
22d8a654d9 Allow searching on /sendas via tag= 2024-09-28 22:22:44 +02:00
Wolfsblvt
4594353c72 Add avatar= to /sendas to allow avatar override 2024-09-28 22:22:44 +02:00
Wolfsblvt
d8e57c507f Allow case-insensitive name search 2024-09-28 22:22:44 +02:00
Wolfsblvt
6714bb8c15 Prefer current char if multiple have the same name
- Match against current chat character first
- Also removed avatar-key matching, it was broken
2024-09-28 22:22:44 +02:00
Cohee
38660df93f /model: fix not working on Novel/Horde 2024-09-26 23:46:03 +03:00
Cohee
8dd7a97eb3 Prevent duplicate toasts 2024-09-13 11:22:12 +00:00
Cohee
620847c4d6 Fixed logs 2024-09-13 11:12:41 +00:00
Cohee
88fab65a8f Fix /gen log 2024-09-13 11:01:59 +00:00
Wolfsblvt
f5b68893d0 Improve error handling of /genraw and /gen
- /generate TC backend returns more status/error texts
- Fix /genraw and /gen returning null/undefined
- Logging errors on /genraw if backend throws an error
- Fixes #2836
2024-09-12 22:41:53 +02:00
Cohee
81cd38d4f7 #2832 /ask text non-required 2024-09-12 20:13:05 +03:00
Cohee
6a3b226da2 Still fighting /ask corruptions #2832 2024-09-12 10:02:37 +00:00
Cohee
4e67cc1bc4 One more /ask corruption fix
Closes #2832
2024-09-12 09:50:06 +00:00
Cohee
2379fd5970 Fix /ask corruption + add return value
Fixes #2832 and a skill issue
2024-09-12 10:19:03 +03:00
Cohee
86d9a80ff8 Fix restoration of current character after /ask
Fixes #2825
2024-09-11 19:34:26 +03:00
Cohee
aed4a8e36d It was very close. 2024-09-10 22:37:53 +03:00
Wolfsblvt
d21b24666a fix neutral avatar again 2024-09-10 20:02:26 +02:00
Wolfsblvt
a989ccf318 Don't force avatar on neutral assistant chat 2024-09-10 19:44:27 +02:00
Wolfsblvt
9e73e2598e Small fix group chats not using default avatars 2024-09-10 19:15:49 +02:00
Wolfsblvt
10a23012f3 Fix /sendas not needed to enforce avatar
- Fixes #2820
2024-09-10 18:46:38 +02:00
Cohee
4522d3cbae Filter null-values from /model selection 2024-09-10 10:25:23 +00:00
Cohee
42fa3c79d7 Add Tabby model selection 2024-09-08 22:23:25 +03:00
Cohee
f5873aec25 Add format selector to /listinjects 2024-09-08 18:24:12 +03:00
Cohee
24e8077997 Fix /echo escapeHtml being false by default 2024-09-07 14:03:00 +03:00
Cohee
4cd025cd7a Extend quiet effect in /model 2024-09-07 13:30:26 +03:00
Cohee
ed115d4e11 Add quiet argument to /api-url 2024-09-07 13:09:10 +03:00
Wolfsblvt
2385c5a59a Change popup cancel result in command to empty str 2024-09-07 01:21:04 +02:00
Wolfsblvt
43b08cdd64 Refactor /popup to actual booleans
- still supports on/off, no worries.
2024-09-06 23:56:26 +02:00
Wolfsblvt
a3468db94e Allow /popup to optionally return popup result 2024-09-06 23:29:18 +02:00
Wolfsblvt
e4e10c3d6b /popup allow header arg, with sanitization 2024-09-06 23:14:52 +02:00
Wolfsblvt
a9c0dd38c7 Refactor /popup args and docs, add 'cancelButton' 2024-09-06 22:38:02 +02:00
Wolfsblvt
a9e4bef01b Add wider and transparent styles to /popup 2024-09-06 22:22:35 +02:00
Cohee
c68b344b60 Add quiet args to /instruct and /model 2024-09-06 23:09:06 +03:00
Cohee
50217e37b8 Spell CSS consistently 2024-09-06 22:27:53 +03:00
Wolfsblvt
63c6fbaf58 /echo html allowed sanitize title too 2024-09-06 21:18:16 +02:00