Commit Graph

606 Commits

Author SHA1 Message Date
valadaptive 769cc0a78f Rename settings API endpoints 2023-12-14 16:47:03 -05:00
Cohee 6406f76c7d Compress too large images for Google captions 2023-12-14 22:28:22 +02:00
LenAnderson b5b85724c7 add slash command to update existing QR preset 2023-12-14 19:08:27 +00:00
LenAnderson 0519629b70 fix autocomplete help text 2023-12-14 18:54:42 +00:00
LenAnderson dbf28fce47 cleanup autocomplete help text 2023-12-14 18:52:23 +00:00
LenAnderson 5e3584d5ed add slash command to create QR preset 2023-12-14 18:51:55 +00:00
Cohee bb8b8f9386 Fix sending PNG/WEBP to Google captioning 2023-12-14 20:36:31 +02:00
LenAnderson 90ec6b9159 add slash commands for context menus 2023-12-14 18:25:19 +00:00
LenAnderson 3e44e4240c handle escapes for pipes and curcly brackets 2023-12-14 18:09:33 +00:00
Cohee a6bb754567 Fix API key access 2023-12-14 19:56:43 +02:00
LenAnderson 5e61ff8d05 fix help string 2023-12-14 16:11:03 +00:00
based 5071b9a369 webstorm moment 2023-12-15 02:01:42 +10:00
LenAnderson 372ef2172e add slash commands to crud QRs 2023-12-14 16:00:38 +00:00
based 178b07f414 cleaned up a little 2023-12-14 23:18:56 +10:00
based 0b7c1a98cd added google vision caption support 2023-12-14 22:37:53 +10:00
Cohee 1b11ddc26a Add vector storage to WI scanning 2023-12-11 22:47:26 +02:00
Cohee 7482a75bbd
Merge pull request #1493 from valadaptive/generate-cleanups
Clean up Generate(), part 1
2023-12-11 20:21:32 +02:00
Cohee 0302686a96 Return from Generate if calling circuit breaker 2023-12-11 19:07:33 +02:00
Cohee e96fb0c1b5 Fix group wrapper not resolving to a valid text 2023-12-11 19:00:42 +02:00
Cohee 17105568f4 Reduce hard coded anim. durations 2023-12-11 16:23:21 +02:00
Cohee 05b08f1ce2 Don't await delay promise 2023-12-10 21:51:16 +02:00
Cohee 2e50efc35c Limit waiting for TTS to init to 1 second on chat change 2023-12-10 21:50:52 +02:00
LenAnderson bf88829b03 add option to skip codeblock narration 2023-12-10 16:32:10 +00:00
Cohee af89cfa870 Code clean-up 2023-12-10 16:48:25 +02:00
LenAnderson a3ec8d709d add support for tab and shift-tab in QR editor 2023-12-09 17:56:36 +00:00
LenAnderson d00861d913 allow /run for quick replies from other presets
/run otherPresetName.quickReplyLabel
2023-12-09 17:20:15 +00:00
Cohee e9a49b7997
Merge pull request #1485 from LenAnderson/qr-expand-editor
Add expand button to QR textareas
2023-12-07 15:31:01 +02:00
Cohee b506a17260 Fix expand after drag 2023-12-07 15:29:40 +02:00
LenAnderson 0290916035 stop expanding textarea 2023-12-07 12:29:00 +00:00
LenAnderson a1bfca78b3 add custom titles (tooltips) to QR buttons 2023-12-07 12:20:02 +00:00
LenAnderson d62ef8badc add expand button for QR textareas 2023-12-07 12:04:39 +00:00
Cohee 393a15cd81 Run auto-executed STscripts after message rendered 2023-12-07 02:12:49 +02:00
Cohee 61f186764d Fix QR bar popout position 2023-12-06 14:53:29 +02:00
valadaptive 5f1bed1e70 Enable object-curly-spacing lint 2023-12-04 12:32:41 -05:00
Cohee fcbfdc70af Merge branch 'staging' into sd-next-upscalers 2023-12-04 19:07:34 +02:00
valadaptive 9d4990d25d Rename sd-next/upscalers to sd/next/upscalers 2023-12-04 10:22:47 -05:00
LenAnderson 76bfad8cdc fix: listeners calling wrong index after reorder 2023-12-04 13:33:28 +00:00
LenAnderson 8283d4dc08 fix: ctx button id after reordering 2023-12-04 13:28:58 +00:00
Cohee 6e09e45651 Fix /trigger and /continue auto-execution 2023-12-02 22:34:46 +02:00
Cohee 64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee 08fedf3a96 lint: Use 4 space indent 2023-12-02 21:56:16 +02:00
Cohee c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
valadaptive a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
Cohee a06f1e8ad6
Merge pull request #1431 from valadaptive/eslint-fixes-3
ESLint fixes part 3 - more significant changes
2023-12-02 19:55:54 +02:00
Cohee a367285ac2
Merge pull request #1430 from valadaptive/eslint-fixes-2
ESLint fixes, part 2 - bulky changes
2023-12-02 19:43:11 +02:00
valadaptive 518bb58d5a Enable no-unused-vars lint
This is the big one. Probably needs thorough review to make sure I
didn't accidentally remove any setInterval or fetch calls.
2023-12-02 12:11:19 -05:00
valadaptive 39bbef376f Enable no-undef lint
I'm not sure where run_edit is supposed to go or if any logic is
missing. I just made my best guess.
2023-12-02 12:11:19 -05:00
valadaptive 14afa1575b Enable no-redeclare lint 2023-12-02 12:11:19 -05:00
valadaptive c893e2165e Enable no-prototype-builtins lint 2023-12-02 12:10:31 -05:00
Cohee a91694ebbc Change audio format check 2023-12-02 18:41:54 +02:00
valadaptive b023312117 Enable no-useless-escape lint 2023-12-02 10:32:26 -05:00
valadaptive 0a27275772 Enable no-extra-semi lint 2023-12-02 10:32:26 -05:00
valadaptive 1c121f1ba5 Enable use-isnan lint 2023-12-02 10:32:07 -05:00
valadaptive 9204a31d32 Enable no-self-assign lint 2023-12-02 10:32:07 -05:00
valadaptive c05aee8e72 Enable no-unsafe-negation lint
This actually fixes a bug--the old code was negating "audioData.type"
2023-12-02 10:32:07 -05:00
Cohee 249f9f649f Escape QR button labels 2023-12-02 15:19:44 +02:00
Cohee bb727d5f9c Insert files before user text, not after 2023-12-01 03:54:28 +02:00
Cohee b6ed67b4b4 Add /regex command 2023-11-30 22:59:04 +02:00
Cohee 252af836f0 #1418 Remove prefix from SD raw_last 2023-11-30 01:22:31 +02:00
Cohee 19df1f52cd Vector storage file retrieval 2023-11-30 00:01:59 +02:00
RossAscends 307f0d88c3 'All' for ooba rep pen range zenslider, maxCtx tweak 2023-11-29 11:37:18 +09:00
Cohee 16527710b3 Make less obtrusive 2023-11-28 19:24:26 +02:00
Cohee a1098a4f31 Merge branch 'staging' into silerott-add-session-handling 2023-11-28 18:25:31 +02:00
Cohee f809d80ba2 Improve XTTS text processing 2023-11-28 16:56:50 +02:00
Cohee 5fd4ed6c81 Fix mobile QR context menu 2023-11-28 13:26:36 +02:00
Cohee 5dd6665505 Don't set negative zIndex for regular image when using group VN mode 2023-11-28 11:40:39 +02:00
LenAnderson fd8551b73b fix context menu for Qr popout 2023-11-27 22:02:20 +00:00
Cohee 84811ec518 Fix image gen prefix combining 2023-11-27 16:10:42 +02:00
Cohee ffc4f22012 Add provider-specific TTS processing: XTTS - replace ellipsis, Novel - remove tildes. 2023-11-27 13:25:49 +02:00
Cohee c742251c5a Mobile sprites fixes: hide non-VN sprite, fix group VN position, fix live2d conflicts 2023-11-27 03:22:35 +02:00
RossAscends fd8697afc0 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-11-27 09:48:07 +09:00
RossAscends 34d8588691 QR popout 2023-11-27 09:48:05 +09:00
Cohee fd0edd67a6 Fix recursive QR auto-execution 2023-11-27 02:18:36 +02:00
Cohee e587f208be Add resolution match on load 2023-11-26 18:19:37 +02:00
deffcolony aaeaa643e3
resolution presets for image generation extension (#1394)
+ New drawer with resolution presets at image generation extension

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-11-26 17:55:49 +02:00
Cohee c328d6f04a Add QR auto-exec on app startup 2023-11-26 02:12:31 +02:00
Danil Boldyrev fbc72085f8 Hindi Support for XTTS 2023-11-24 20:16:49 +03:00
Cohee c9b3ccc585 Add STscript procedure calls with /run command 2023-11-24 15:58:00 +02:00
Cohee bcf73e0e55 Add auto-execute on opening chat option to quick
reply settings
2023-11-24 14:02:04 +02:00
Cohee f1d375c2ba Add hidden/invisible/auto-exec only QR buttons 2023-11-24 13:50:42 +02:00
Cohee 720da5649b Don't auto-exec on disable QR 2023-11-24 13:32:27 +02:00
RossAscends 55607ee847 remove HumiBlur from QR chain menus 2023-11-24 17:45:13 +09:00
Cohee 74fbc88d7d Move macros replacement to script execution time 2023-11-24 01:56:43 +02:00
Cohee 461e8d7929 Update the tooltip on the vertical ellipsis button 2023-11-24 01:39:39 +02:00
Cohee e593dd4dbd Auto-executable QR 2023-11-24 01:32:02 +02:00
LenAnderson ab9c654708 Merge branch 'staging' into qr-context 2023-11-23 20:35:21 +00:00
LenAnderson cdbcd6cfb2 add a healthy dose of mobile copium 2023-11-23 20:34:20 +00:00
Cohee 22e17cd681 Pass image type to thumbnail creator 2023-11-23 20:50:08 +02:00
LenAnderson 81f135fa7c use client coords not screen coords 2023-11-23 17:42:31 +00:00
LenAnderson af2b108730 add context menu editor 2023-11-23 17:42:19 +00:00
LenAnderson d32224041a add parent placeholders 2023-11-23 15:57:14 +00:00
LenAnderson e2a1892e6b Merge branch 'staging' into qr-context 2023-11-23 12:21:46 +00:00
LenAnderson cc426e9897 add qr context menus 2023-11-23 12:21:25 +00:00
RossAscends e0e303b339 Sortable QuickReplies 2023-11-23 19:49:15 +09:00
Cohee f802fe1797 Fix xtts separator 2023-11-22 17:47:58 +02:00
RossAscends fe21a7c25b Add toggle for hiding muted group member sprites 2023-11-22 07:48:35 +09:00
Danil Boldyrev bcad0d4e51 add XTTS 2023-11-21 13:16:56 +03:00
Cohee 52d9855916 Code lint 2023-11-21 02:00:50 +02:00
LenAnderson 1c725879d8 add func for loading dropdown opts for settings 2023-11-20 22:00:40 +00:00
LenAnderson 3d4442ab25 make api routes kebab 2023-11-20 18:27:50 +00:00