Commit Graph

4649 Commits

Author SHA1 Message Date
Cohee
d9536ae3a8 Add tri-state argument for /lock command 2024-06-26 20:18:05 +03:00
Cohee
112e26a0ff Model icon for slash command messages 2024-06-26 19:48:45 +03:00
Cohee
584d0e6222 Only add missing modules string if there are any modules to report 2024-06-26 12:49:23 +00:00
Wolfsblvt
4e7232f13e Move group chat popups to new popup 2024-06-26 05:56:15 +02:00
Wolfsblvt
ec58d9272a Move ctrl+enter regenerate to new popup 2024-06-26 05:46:34 +02:00
Wolfsblvt
ff5f89bd5e Move overwrite data confirm to new popup 2024-06-26 05:35:41 +02:00
Wolfsblvt
cd9013cf73 Update some WI confirm/input popups to new popup 2024-06-26 05:29:08 +02:00
Wolfsblvt
717c524b01 Update copy message to new popup 2024-06-26 05:01:58 +02:00
Wolfsblvt
c55452d0ea Update prompt itemization to new popup 2024-06-26 04:49:07 +02:00
Wolfsblvt
c8411b6dfb Update delete message to new popup 2024-06-26 03:36:06 +02:00
Wolfsblvt
0c402e2a5f Setup swipe data on /sendas 2024-06-26 03:13:05 +02:00
Wolfsblvt
9113fae4fe Fix /addswipe error if swipe_info not initialized 2024-06-26 02:46:53 +02:00
Wolfsblvt
071a77fe1a Fix deleting swipe not clean swipe_info 2024-06-26 02:14:26 +02:00
Cohee
8034564c3e Update TTS voice preview to new popup 2024-06-26 00:41:37 +03:00
Cohee
2ef6004bd5 Update translation extension to new popup 2024-06-26 00:40:13 +03:00
Cohee
d188795591 Allow vertical scrolling in new popups 2024-06-26 00:35:21 +03:00
Cohee
3e1b54c6f0 Update token counter to new popup 2024-06-26 00:26:31 +03:00
Cohee
c3461307a0 Update debug menu, theme and MUI naming popups 2024-06-26 00:24:21 +03:00
Cohee
1188cb46b8 Update theme import warning to new popup 2024-06-26 00:18:44 +03:00
Cohee
0298849953 Update theme delete confirm to new popup 2024-06-26 00:15:16 +03:00
Cohee
a030237641 Evaluate macro functions for every instance 2024-06-25 22:44:00 +03:00
Cohee
24ae2b6fa6 Add sanitation of macro values 2024-06-25 22:15:40 +03:00
Cohee
01d38f9218 Additional validation of custom macro keys 2024-06-25 22:02:05 +03:00
Cohee
8dab4ecb06 Add simple custom macros registration 2024-06-25 21:53:10 +03:00
Cohee
083ea43971 Update dupe character to use new popup 2024-06-25 21:34:08 +03:00
Cohee
d0f59edf09 Update forbid media and field extend to new popup 2024-06-25 21:24:03 +03:00
steve green
2687618840
Update zh-cn.json (#2411)
* update zh-cn.json

* fix

* another fix
2024-06-25 17:51:47 +03:00
Risenafis
0276a2ef71 fix sanitizeId 2024-06-25 22:23:55 +09:00
Cohee
0f00adca0c
Merge pull request #2418 from Risenafis/fix-sbvits-style
Fix Style-Bert-VITS2 style
2024-06-25 15:07:47 +03:00
Risenafis
bbd4d7e2fd rejoin style 2024-06-25 20:05:41 +09:00
Cohee
6b716980be Update extension manager to use new popup 2024-06-25 11:54:59 +03:00
Cohee
0e0bd0d3d9 Update char avatar crop. Remove old cropper 2024-06-25 02:25:38 +03:00
Cohee
650755198d Update persona image upload to new cropper 2024-06-25 02:18:10 +03:00
Cohee
45ae8d1060 Update group custom avatar to new cropper 2024-06-25 02:10:11 +03:00
Cohee
e0000bade6 Port image cropper to new popup 2024-06-25 02:05:35 +03:00
Cohee
974b98ed8e Remove green border from selected tags 2024-06-25 01:03:09 +03:00
Cohee
3b1bd97845 Somewhat restore old wand order 2024-06-24 23:51:18 +03:00
Cohee
990130d7c2 Clean-up wand menu styles 2024-06-24 23:32:24 +03:00
Cohee
62a1cb1dce Move built-in extensions to fixed wand containers 2024-06-24 23:17:58 +03:00
Cohee
444705a5f8 RVC exists too.. 2024-06-24 22:41:19 +03:00
Wolfsblvt
675e7b1de3 Fix stscript autocomplete theme setting 2024-06-24 21:35:09 +02:00
Cohee
1efc26759f Forgot chromadb still exists... 2024-06-24 22:30:14 +03:00
Cohee
d2b2856630 Move TTS settings to HTML template 2024-06-24 22:19:21 +03:00
Cohee
c8b9b62d8a Update built-in extensions to use fixed order in extensions menu 2024-06-24 22:15:08 +03:00
Cohee
508b685fdc Add css, less, html to editorconfig 2024-06-24 21:49:15 +03:00
Cohee
cf9a5383a9 Fix QR .less format 2024-06-24 21:43:13 +03:00
Cohee
7a27c29695 #2416 Recompile popup styles 2024-06-24 21:37:21 +03:00
Cohee
41ab90bb8e Support more parameters for Infermatic 2024-06-24 19:16:20 +03:00
Wolfsblvt
b188c176fd Don't show tag import if no tags to import 2024-06-24 17:17:42 +02:00
Cohee
4b58a822db Fix off-by-one in timed effects. Add protected status 2024-06-24 11:51:04 +00:00
Wolfsblvt
e7ab43527a Fix /echo command falsely stripping HTML-like text 2024-06-24 03:09:46 +02:00
Cohee
a3dbcf3c2a Fix context and response size not being passed to Ollama 2024-06-24 03:48:34 +03:00
Cohee
b89afe6d13 Ignore advancement requirement for immediately set cooldown 2024-06-24 03:13:27 +03:00
Cohee
55483e76e0
Merge pull request #2408 from SillyTavern/timed-wi
Timed Effects for World Info
2024-06-24 02:37:57 +03:00
Cohee
8b9afff30d Generalize onEnded callbacks 2024-06-24 02:33:51 +03:00
Cohee
893f4f3ed6 Use raw metadata for set effect command 2024-06-24 01:28:37 +03:00
Wolfsblvt
9059621dab Fix wider popup overflowing on small screens
-Fixes #2414
2024-06-24 00:28:02 +02:00
Cohee
14879af678 Add format variable to get timed effect command 2024-06-24 01:20:39 +03:00
Cohee
80496db482 Remove resolveVariable calls 2024-06-24 01:08:24 +03:00
Cohee
3b03561d27 Merge branch 'staging' into timed-wi 2024-06-24 01:07:44 +03:00
Cohee
7e3e75875d Remove undocumented calls to resolveVariable in WI slash commands 2024-06-24 01:07:24 +03:00
Cohee
e0a404e099 Fix popup input going off on click 2024-06-23 23:09:22 +03:00
Cohee
66210e9c0f Add command for checking WI state 2024-06-23 21:35:31 +03:00
Cohee
8b5224e274 Add slash command for setting sticky/cooldown. Normalize naming: timed event => timed effect 2024-06-23 21:18:18 +03:00
Cohee
5db2254548 Generalize effect methods 2024-06-23 20:34:07 +03:00
Cohee
d1dd3a5433 Merge branch 'staging' into timed-wi 2024-06-23 20:24:53 +03:00
Cohee
59e1f9cca1 Accept JSON-serialized string arrays for /setentryfield. Return JSON lists in /getentryfield 2024-06-23 19:43:56 +03:00
Cohee
7c57132710 Don't auto-add boolean provider if there are more than one type in the list 2024-06-23 19:35:14 +03:00
Cohee
de7a5085b1 Partial revert of class/id distinction 2024-06-23 19:18:40 +03:00
Cohee
f2d64a7d08 Merge branch 'staging' into modelsearch 2024-06-23 19:05:00 +03:00
Cohee
3dcb4dee59 Pre-cache related WI entries on chat load 2024-06-23 18:50:40 +03:00
Cohee
39362fd566 Fix some type errors 2024-06-23 18:41:49 +03:00
Cohee
5de80f4c6d Merge branch 'staging' into timed-wi 2024-06-23 18:31:40 +03:00
Cohee
fa9ae4c979 Specify that flushvar supports closures 2024-06-23 18:28:22 +03:00
Cohee
946994af22 /input should return empty string if canceled 2024-06-23 18:16:15 +03:00
Cohee
bd9c10c2eb /messages text consistency 2024-06-23 18:14:10 +03:00
Cohee
b105a2ef24 Add missing /trigger unnamed type, fix names for ask and delname 2024-06-23 18:10:56 +03:00
Cohee
a85ac96f82 Fix /peek typings. Clarify hints for member indices 2024-06-23 18:01:16 +03:00
Harrison
9b17f4e0c0 add search functionality for models 2024-06-24 00:47:06 +10:00
Cohee
eb8f4bebe0 Argument for API is not required 2024-06-23 17:42:00 +03:00
Cohee
f3327c06ab Update trim direction emoji 2024-06-23 17:39:57 +03:00
Cohee
6594b3c7fa Inject supports variables for ID 2024-06-23 17:21:55 +03:00
Cohee
2012bb49d2 Make /member command indices 0-based to match autocomplete 2024-06-23 16:47:07 +03:00
Cohee
e736283785 Return cache to WI 2024-06-23 16:24:33 +03:00
Cohee
38cc4f789b Fix string quotes 2024-06-23 15:57:07 +03:00
Cohee
e2593215bf Fix speak command broken 2024-06-23 15:44:53 +03:00
Cohee
278b526898 Add icon for voice command 2024-06-23 15:43:57 +03:00
Cohee
5a50ed97be Clean-up /sd command help 2024-06-23 15:27:19 +03:00
Cohee
d0b6243f77 Add character filter to lastsprite 2024-06-23 15:23:03 +03:00
Cohee
eba0f54477 Merge branch 'staging' into slash-command-enums 2024-06-23 15:01:55 +03:00
Cohee
03cfbca7cf Distraction-free image zooming 2024-06-23 14:58:08 +03:00
Cohee
a161ebfcaf Up visibility of close button 2024-06-23 14:53:01 +03:00
Cohee
58a85fa0c8 Remove focus outline from transparent popups 2024-06-23 14:11:00 +03:00
Wolfsblvt
7642b66a0e Improve enlarge inline image
- Make enlarge inline image popup zoomable
- Add optional popup class for transparent popups
2024-06-23 12:26:52 +02:00
Wolfsblvt
48621f1d50 Fix scaling of enlarged popup image 2024-06-23 02:43:37 +02:00
Wolfsblvt
42766a715d Popup type "DISPLAY" & image enlarge changes
- New popup type "DISPLAY", for showing content with an X in the corner, without buttons
- Rework popup result controls to automatically support click (or other) events to close complete the popup
- Fix inline image icons/actions being keyboard interactable
- Switch inline image enlarge popup to new DISPLAY type
2024-06-23 02:32:06 +02:00
Cohee
3e27f0213a Fix cooldown debug log 2024-06-23 01:58:18 +03:00
Cohee
9ec8aa3bf9 Fix JSDocs 2024-06-23 01:53:45 +03:00
Cohee
7875a65b44 Kinda misleading comment 2024-06-23 01:52:10 +03:00
Cohee
461b73facf Adjust min values.
For easier disabling
2024-06-23 01:50:17 +03:00
Cohee
4b4ee7409b Merge branch 'staging' into timed-wi 2024-06-23 01:49:49 +03:00
Cohee
323f34f5d4 Fix QR breaking when no sets 2024-06-23 01:34:10 +03:00
Cohee
de1910268a Add missing macro reference 2024-06-23 01:26:25 +03:00
Cohee
a39a1a7cec Fix odd-named preset selection via command 2024-06-22 17:44:08 +03:00
Cohee
8564d6faa8 Debug function to purge all vectors 2024-06-22 17:41:02 +03:00
Cohee
b8830e34d3 Add ollama download shortcut to vector storage 2024-06-22 16:38:00 +03:00
Cohee
b448568aa3 More ollama multimodal models 2024-06-22 16:28:57 +03:00
Cohee
b513043e4a Prevent sticky from using probability 2024-06-22 15:04:49 +03:00
Cohee
0fe19bca47 Non-static map. Better typing. 2024-06-22 14:56:46 +03:00
Cohee
b4559d3fd8 Use WeakMap for WI cache 2024-06-22 14:43:15 +03:00
Cohee
6c9f3a868d Merge branch 'staging' into timed-wi 2024-06-22 14:39:38 +03:00
Cohee
36ecf8a717 Update UI when remembering tag import setting 2024-06-22 12:56:57 +03:00
Cohee
aa16ac446d Migrate preference for existing users 2024-06-22 12:53:03 +03:00
Cohee
a6e2692e52 Merge branch 'staging' into tag-import-setting 2024-06-22 12:48:08 +03:00
Cohee
26eb5f0926
Merge pull request #2406 from SillyTavern/gray-out-useless-folders
Gray out bogus folders if they don't drill down
2024-06-22 12:46:06 +03:00
Wolfsblvt
07da2461d0 Fix vertical scaling of images in enlarge popup 2024-06-22 10:04:14 +02:00
Wolfsblvt
c79f1e4360 Fix image enlarge popup image sizing 2024-06-22 08:52:13 +02:00
Wolfsblvt
87915a5f79 Gray out bogus folders if they don't drill down
- Implements and resolves #2404
- Common CSS class for entities in char list
- entity flag to lower opacity for entities that aren't really useful for navigation
2024-06-22 08:15:31 +02:00
Wolfsblvt
d64b265a39 Tag import popup improvements
- Save "remember" setting of tag import popup
- Add user option to change the tag import setting
- Improve tag import popup with adding drilled down bogus folders as auto-added tags
- Extract tag import popup to template
- Force-open popup no matter the setting on char dropdown button option
2024-06-22 05:03:05 +02:00
Wolfsblvt
7c2b475e46 Improve popup class with close event handlers 2024-06-22 04:54:13 +02:00
Cohee
d02fbbb42f Change type of timed events metadata 2024-06-22 03:54:54 +03:00
Cohee
37930caade Refactor timed events funcs 2024-06-22 03:15:13 +03:00
Wolfsblvt
c6c8f91c99 forceEnum:false as default & enum icon changes
- Set forceEnum to false, for now
- Switch some icons around
2024-06-22 01:04:03 +02:00
Cohee
473e11c773 New OpenRouter providers 2024-06-22 02:03:39 +03:00
Cohee
abb186db01 He warned me. I didn't listen. 2024-06-22 00:46:14 +03:00
Cohee
a00560d2b3 Ensure format supported before captioning 2024-06-22 00:36:29 +03:00
Cohee
791ce3da86 Add stopgaps to fill the second row 2024-06-22 00:11:08 +03:00
Cohee
6380e0a062 Add fallback source for attachments. Fix typo 2024-06-21 23:48:11 +03:00
Cohee
62bc550d3a Open enums with Alt+Space (also non-breaking) 2024-06-21 23:32:17 +03:00
Wolfsblvt
da6d77cffd Enum provider for /model 2024-06-21 21:24:37 +02:00
Wolfsblvt
824d0a9b63 Small fix to boolean automatic enums 2024-06-21 20:40:58 +02:00
Cohee
1ede346cbc Merge branch 'staging' into timed-wi 2024-06-21 21:18:12 +03:00
Wolfsblvt
3ab5cc1766 Merge branch 'staging' into slash-command-enums 2024-06-21 20:07:19 +02:00
Wolfsblvt
48077d200b More slash command enums (nearly done) 2024-06-21 20:04:55 +02:00
Cohee
30765550c8 Place sticky + cooldown entry on cooldown when unstuck 2024-06-21 20:50:18 +03:00
Cohee
56710fee39 Apply fix for group chats 2024-06-21 13:09:41 +00:00
splitclover
0c69b698b9
Removed redundant emmiter 2024-06-21 14:16:59 +02:00
splitclover
feb8321147
Fix emmiter for imported cards 2024-06-21 13:53:31 +02:00
splitclover
3092c68a05
Fixed typo 2024-06-21 13:19:36 +02:00
splitclover
2a1704add0
Added event emmiters when creating new chats 2024-06-21 13:12:57 +02:00
Cohee
9c3cad2df2 Fix sticky/cooldown interaction. Add icons 2024-06-21 02:42:15 +03:00
Cohee
aa473dd749 Move new fields to the right 2024-06-21 01:06:00 +03:00
Cohee
ab7b07ba28 Add sticky and cooldown for timed WI entries 2024-06-21 00:53:00 +03:00
Wolfsblvt
a5baa3605f Fix closing popup sometimes being stuck via Escape 2024-06-20 21:43:13 +02:00
Wolfsblvt
f092269c01 Fix toastr alignment in popups 2024-06-20 21:02:50 +02:00
Wolfsblvt
ffc84f5118 Merge branch 'staging' into slash-command-enums 2024-06-20 20:38:55 +02:00
Wolfsblvt
461b1a9d87 Even more enum refactorings (not done yet)
- Add common enum icons
- enum def for existing enum types, with color description
2024-06-20 20:33:45 +02:00
Cohee
514ac27d00 Remove unmatched closing div 2024-06-20 20:40:37 +03:00
Conor Nash
c684bfbf52 Claude Sonnet 3.5 2024-06-20 16:31:55 +01:00
Cohee
8d5876c2c8 Rename endpoints for websearch 2024-06-19 22:37:51 +03:00