Commit Graph

9323 Commits

Author SHA1 Message Date
Wolfsblvt
076e5e3186 Fix temporary persona toast
- Temporary persona toast was appearing when auto-lock was enabled, which didn't make sense
2025-01-25 18:23:00 +01:00
Cohee
2d8da60ffc Fix types for session 2025-01-25 19:13:25 +02:00
Cohee
5ff402aabf Replace CSRF middleware
Closes #3349
2025-01-25 16:56:11 +02:00
Spappz
e07faea874 rework createDefaultFiles()
Reorganised copy-able `default/` files as a sparse copy of the production file-tree. This should save the `defaultItems` (formerly `files`) array from getting unwieldy.
2025-01-25 03:45:16 +00:00
Spappz
a5dc505e61 add 404 error-handling to server
This is all that seems necessary according to Express? Admittedly my first time using it.
https://expressjs.com/en/starter/faq.html#how-do-i-handle-404-responses
2025-01-25 03:42:04 +00:00
Spappz
538d66191e add 401 error page for basicAuth mode
Most modern browsers don't actually show users 401 responses, but it doesn't hurt to have it in there anyway ¯\_(ツ)_/¯
2025-01-25 03:40:47 +00:00
Spappz
928487985d defer 403 HTML to file 2025-01-25 03:38:52 +00:00
Wolfsblvt
e1bf781b10 Fix wrongly changed jQuery data "chid" attribute 2025-01-25 03:33:53 +01:00
Wolfsblvt
608e1c195b Add button to show connections for current char 2025-01-25 02:52:41 +01:00
Cohee
9d73189133 Add updateMessageBlock and appendMediaToMessage to getContext 2025-01-25 00:38:13 +02:00
Cohee
536d4218c2 Update button class 2025-01-25 00:33:07 +02:00
Cohee
e3885c2b5c Combine functions 2025-01-25 00:29:55 +02:00
Cohee
9250be348d Split if condition 2025-01-25 00:28:16 +02:00
Wolfsblvt
7c12a286c3 Fix one persona connected warning 2025-01-24 23:27:31 +01:00
Wolfsblvt
7454532641 Expand /persona-lock command for type
- Add new main alias for /lock, renamed to /persona-lock
- Allow no state to be provided to return the current lock state
- Deprecate the old usage of /lock without state, without breaking it
2025-01-24 23:24:35 +01:00
Cohee
8d35ca90e1 Decrease block size 2025-01-25 00:12:48 +02:00
Cohee
24c16f622f Update styles for mes_reasoning 2025-01-24 23:56:16 +02:00
Cohee
9a2968d1eb Merge branch 'staging' into woo-yeah 2025-01-24 23:50:15 +02:00
Cohee
0937f44f39 Validate avatar_url field with a middleware (#3314)
* Validate avatar_url field with a middleware

* Fix validating wrong endpoint
2025-01-24 23:47:32 +02:00
Wolfsblvt
91dabeff53 Add css class to allow multiple avatar lists 2025-01-24 21:57:47 +01:00
Wolfsblvt
7c9b347116 Refactor chid/grid attributes to data attributes
- We don't believe in imaginary HTML attributes that we make up, right?
2025-01-24 21:12:49 +01:00
Spappz
075368b5ae Ensure Handlebars template is only compiled once 2025-01-24 19:56:19 +00:00
Wolfsblvt
a611a3ac59 Merge branch 'staging' into persona-improvements 2025-01-24 20:42:04 +01:00
Spappz
90459116e3 woohoo 2025-01-24 03:39:05 +00:00
Wolfsblvt
d4672b3517 Merge pull request #3340 from bmen25124/export_getCharacters_uuidv4_humanizedDateTime
New exported methods: getCharacters(), uuidv4(), humanizedDateTime()
2025-01-24 02:39:30 +01:00
bmen25124
bbf28c74f7 New exported methods: getCharacters(), uuidv4(), humanizedDateTime() 2025-01-24 04:27:12 +03:00
Cohee
bbd85fc823 Merge pull request #3315 from SillyTavern/extensions-config
config.yaml: Group extension settings into one section
2025-01-24 02:54:48 +02:00
Cohee
291a5f42cd Merge pull request #3338 from Tosd0/staging
Update zh-CN translations
2025-01-24 01:58:33 +02:00
Cohee
1dd73e74ab Add thonk block copy 2025-01-24 01:21:08 +02:00
Cohee
03c98fb55a OpenRouter: Support reasoning blocks 2025-01-24 00:56:44 +02:00
Cohee
7f9b139ae0 Merge branch 'staging' into woo-yeah 2025-01-24 00:13:06 +02:00
Cohee
6aaeb754ef Exportable temporary assistant chats 2025-01-24 00:12:00 +02:00
Cohee
144277bdcc Wrap thonk into collapsible 2025-01-23 22:43:04 +02:00
Cohee
823b9db6f6 Gemini: Fix requesting thought blocks 2025-01-23 22:41:39 +02:00
Sevenyine
adad1fde19 Modified Translations about Group Chats 2025-01-23 22:56:59 +08:00
Sevenyine
8b2d97b946 Modification 2025-01-23 22:32:41 +08:00
Sevenyine
515f78619f Update 2025-01-23 22:25:17 +08:00
Sevenyine
71be63dbb1 Update zh-CN translations about lorebook 2025-01-23 22:23:46 +08:00
subzero5544
a503f58d0c Adding reverse proxy support to DeepSeek chat completion (#3328)
* added reverse proxy settings to deepseek chat completion

* Update chat-completions.js

* Update chat-completions.js

* Update chat-completions.js

* Update chat-completions.js

* Update chat-completions.js

* Update chat-completions.js

* Unify API key requirement

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-01-23 09:02:44 +02:00
Cohee
afae8d02be The THONKening 2025-01-23 02:52:52 +02:00
Cohee
6fef696268 Featherless: use scaleable font sizes for models list 2025-01-22 22:58:58 +02:00
Cohee
e4290140bc TC: Remove -1 seeds from request body
Closes #3336
2025-01-22 22:45:30 +02:00
Cohee
7c93acedc3 post-install: Fix getting keys of null values
Original commit by @honey-tree
5c40876a4a
2025-01-22 22:41:34 +02:00
Cohee
ae29f06e44 Gemini: Fix image inlining for new models
#3332
2025-01-22 22:38:13 +02:00
Cohee
a2f71d387f Merge pull request #3331 from qvink/emit_event_on_load_messages
adding event after loading more messages in chat
2025-01-22 18:21:26 +02:00
Cohee
8f18d35109 [chore] Add missing semi 2025-01-22 16:18:34 +00:00
qvink
f1923c5364 making showMoreMessages async to await event emission 2025-01-22 08:36:47 -07:00
Cohee
636c8cb165 Merge pull request #3332 from sirius422/add-new-gemini-model
Add new Gemini thinking model and its alias
2025-01-22 15:10:28 +02:00
Cohee
513ea97769 Merge pull request #3333 from kallewoof/202501-deepseek-fix
fix: corrects the preset name and adds deepseek v2.5 hash.
2025-01-22 15:08:00 +02:00
Karl-Johan Alm
93b18e6440 fix: corrects the preset name and adds deepseek v2.5 hash. 2025-01-22 21:36:18 +09:00