Commit Graph

9726 Commits

Author SHA1 Message Date
0773a86922 Loop 3 times before discarding response length override on save 2025-01-14 00:15:23 +02:00
749c5df29a Restore temp response length as early as possible
Fixes #3297
2025-01-13 21:20:26 +02:00
82422b4500 Refactor persona panel with headings 2025-01-13 19:52:23 +01:00
4322197aba Merge pull request #3291 from Yokayo/staging
Update ru-ru translation
2025-01-13 19:02:40 +02:00
4ebff0ffcc Merge branch 'staging' into ruRuJan 2025-01-13 16:53:26 +00:00
7e691143d0 Merge pull request #3299 from johnfrian/alternate-greeting-scroll
Constrict scrolling to lower dynamic formarea in alternate greetings popup
2025-01-13 18:49:08 +02:00
f840d63bdb Fix formatting 2025-01-13 15:56:17 +01:00
e38cd31ca7 Relocate scroll constriction in alternate greetings popup 2025-01-13 15:45:47 +01:00
218f198ec6 Merge pull request #3247 from Tosd0/staging
zh-CN translation staging
2025-01-13 16:02:53 +02:00
d78c8b7cc8 Merge pull request #3283 from BPplays/ipv6_auto
adds checking for if localhost resolves + JSDoc additions
2025-01-13 15:59:31 +02:00
977e7a40bc Fix typo 2025-01-13 15:29:23 +07:00
d769798ba3 replaced some jsdoc with assigning false by default 2025-01-12 22:39:42 -08:00
867a9950d5 Update zh-CN translation 2025-01-13 13:16:56 +08:00
6ab79ae689 feat: add Prome spanish translation (#3293)
* feat: add Prome spanish translation

Since someone added Traditional Chinese translations to Prome for ST, might as well do the same for Spanish.

* chore: disable biome formatting

* chore: add parenthesis
2025-01-12 05:27:38 +01:00
40d29bd453 Merge pull request #3292 from SillyTavern/macrosparser 2025-01-12 03:53:45 +02:00
1f66bc7756 Don't allow duplicate registrations 2025-01-11 23:18:03 +02:00
b177affd81 Merge pull request #3289 from zerofata/vector-db-search-cmd
Add returnChunks and resultSize args to /db-search
2025-01-11 23:05:06 +02:00
89c984830b rename resultSize to count 2025-01-12 07:20:36 +13:00
1d5cf8d25c Work on translation 2025-01-12 00:42:58 +07:00
1dccb08cd6 Add enumerator for MacrosParser 2025-01-11 19:04:36 +02:00
f462436450 Merge pull request #3290 from SillyTavern/qr-set-rename
QR Set buttons for rename and duplicate
2025-01-11 14:49:17 +02:00
fc5debc660 replaced returnChunks with return arg to use existing helper functions 2025-01-11 17:42:19 +13:00
b89d41a701 Refactor prepare/redraw for consistency 2025-01-11 02:31:14 +01:00
3455da404a Add QR set duplicate button 2025-01-11 02:22:10 +01:00
0f45ebda03 Refactor QR set popups to new popup 2025-01-11 01:59:38 +01:00
4c1c62a56b Add QR set rename button 2025-01-11 01:41:46 +01:00
7f5ce54b1f Add returnChunks and resultSize args to /db-search 2025-01-11 11:32:05 +13:00
1528e2afed Merge branch 'SillyTavern:staging' into staging 2025-01-10 16:32:03 +01:00
a66f9bf494 Fix translation inconsistencies and typos in UI files.
This commit resolves several translation inaccuracies, grammatical errors, and formatting issues in the French UI locale and HTML files.
2025-01-10 15:27:28 +00:00
faaa4ba6bc changed formatting 2025-01-10 03:58:15 -08:00
aa10dd98c9 more jsdoc stuff 2025-01-10 02:56:00 -08:00
a62fa3b073 Merge pull request #3287 from SillyTavern/fix-first-included-message-id-macro
Fix `{{firstIncludedMessageId}}` to not rely on DOM
2025-01-10 12:17:09 +02:00
9f98bee362 foramtting 2025-01-09 19:42:27 -08:00
f372e1a69d more jsdoc stuff 2025-01-09 19:09:55 -08:00
5b5b9a91aa more jsdoc stuff 2025-01-09 18:44:48 -08:00
b43ac187ec formatting changes 2025-01-09 18:27:21 -08:00
adc5940d15 formatting changes 2025-01-09 18:17:02 -08:00
e33c3771f5 No metadata save 2025-01-10 01:27:02 +01:00
d78577c46d Merge pull request #3266 from d-ber/character_import_speedup
Character import speedup by delaying tag import
2025-01-09 23:06:07 +02:00
2ab59f5a7a chore: reformat new code 2025-01-09 22:57:43 +02:00
1807af355b Merge pull request #3284 from SillyTavern/css-var-slash-command
Add `/css-var` slash command
2025-01-09 22:49:14 +02:00
efeedc1274 Revert gallery selector changes 2025-01-09 22:39:40 +02:00
f869b26664 Ensure unique selectors for loaded extension files 2025-01-09 22:32:15 +02:00
7a2276c176 Fix {{firstIncludedMessageId}} to not rely on DOM
Up until now, the {{firstIncludedMessageId}} macro relied on searching the DOM for the actual CSS class applied for the context line.
Bad design, as the actual message was maybe not display, with display X messages enabled.

- Use setInContextMessages() that sets the context line on generation to also update a chat metadata field
- Utilize that field inside the macro
- Update docs to clarify that this will only show the mesid that was relevant during last generation
2025-01-09 21:23:18 +01:00
b604588638 Add scroll option to /chat-render command 2025-01-09 21:15:34 +02:00
a585f3abcc Add {{firstDisplayedMessageId}} macro 2025-01-09 21:12:34 +02:00
0a03793d7b Add /chat-render and /chat-reload commands 2025-01-09 21:10:12 +02:00
667ab77651 Merge pull request #3285 from SillyTavern/zoom-image-closing
Allow zoomed in images in chat to be closed by clicking outside
2025-01-09 21:01:19 +02:00
9be04fd69f Fix <code> tag structure 2025-01-09 20:58:36 +02:00
ba73d278ae Allow zoomed in images be closed by click outside
- Add event listener to close image enlarge popup when clicked outside of image or description
- Change img div to not be width:100% by default, was useless and just confusing when you could click next to the image and it zoomed in
2025-01-09 19:16:48 +01:00