Commit Graph
1479 Commits
Author SHA1 Message Date
Cohee 6b821409e0 Add server events emitter 2025-03-06 14:55:50 +00:00
Sorro fc94ed64c1 Same changes but on staging 2025-03-06 01:22:45 +01:00
Cohee 3b9fcfae60 Console log Ollama model pulls 2025-03-05 21:42:56 +02:00
Cohee 2d2bf48d3d Make Groq happier 2025-03-05 21:38:38 +02:00
Cohee c167890d26 Add multimodal captioning for Cohere 2025-03-05 21:36:43 +02:00
Cohee 507ce78c27 Fix crash on undefined url in /chats 2025-03-05 00:51:54 +02:00
Cohee 28bad6479c Use human-readable memory cache capacity in config 2025-03-05 00:45:34 +02:00
Cohee c48ecc67b2 Merge branch 'staging' into char-shallow 2025-03-04 23:32:47 +02:00
Cohee 3d813e4ef6 Move shallow toggle to config.yaml 2025-03-04 23:32:42 +02:00
CoheeandWolfsblvt 8d608bcd72 Add gallery folder and sort order controls (#3605)
* Add gallery folder and sort order controls
Closes #3601

* Refactor sort constants to use Object.freeze for immutability

* Add comment

* Remove excessive null propagation

* Update type hint for gallery.folders

* Use defaultSettings.sort as a fallback

* Throw in groups

* Handle rename/deletion events

* Merge init functions

* Fix multiple gallery file uplods

* Add min-height for gallery element

* Fix gallery endpoint not parsing body

* translatable toasts

* Pass folder path in request body

* Change restore pictogram

* Add title to gallery thumbnail images

* Allow optional folder parameter in image list endpoint and handle deprecated usage warning

* Add validation for folder parameter in image list endpoint

* Add border to gallery sort selection

* Remove override if default folder is set to input

* Use server-side path sanitation

* Sanitize gallery folder input before updating

---------

Co-authored-by: Wolfsblvt <wolfsblvt@gmail.com>
2025-03-04 23:16:56 +02:00
Cohee 383806325a Add shallow character load mode 2025-03-04 10:00:12 +00:00
Cohee c9ebea1d0a Merge pull request #3590 from SillyTavern/update-libs
Update third-party dependencies
2025-03-02 23:35:56 +02:00
Cohee 4c242fefe8 More concise startup logs 2025-03-01 21:07:12 +02:00
Cohee 947a307b25 Update function comment 2025-03-01 20:25:55 +02:00
Cohee 61132dd7b9 Set default for whitelistDockerHosts to true 2025-03-01 20:25:00 +02:00
Cohee 1d995fb92d Rewrite to only consider Docker 2025-03-01 20:22:33 +02:00
Cohee 8aa7ed8635 Rewrite whitelist resolve logic to skip unresolved hosts from whitelist 2025-03-01 19:57:36 +02:00
Cohee 68db63b629 Merge branch 'staging' into whitelist-hosts 2025-03-01 19:44:49 +02:00
Cohee 743f07167c Update third-party dependencies 2025-03-01 19:38:21 +02:00
Cohee b95dd04fbe Merge pull request #3585 from SillyTavern/chalk-lib
Use chalk lib for console colorization
2025-03-01 19:04:31 +02:00
Cohee 661b84033f Don't use String constructor in calculateDataSize 2025-03-01 14:30:48 +02:00
Cohee 868e97804a Use chalk lib for console colorization 2025-03-01 00:56:50 +02:00
Cohee 7e8471f28f Enhance logging for resolved whitelist hostnames with color formatting 2025-03-01 00:30:00 +02:00
Cohee 60e8ffbf90 Improve logging in resolveHostnames function to provide clearer output for resolved IP addresses 2025-02-28 00:39:32 +02:00
Cohee 50ad31f8e8 Update the resolveHostnames function to clarify its behavior and improve documentation 2025-02-28 00:36:27 +02:00
Cohee 978b2cdb21 Refactor whitelist middleware to return a promise and update server.js to handle async initialization 2025-02-28 00:25:59 +02:00
Cohee d286fff42c Merge branch 'staging' into whitelist-hosts 2025-02-28 00:17:31 +02:00
Cohee 0bc4396427 Resolve hostnames from whitelist 2025-02-27 23:14:57 +02:00
Wolfsblvt ea643cce6e Add gpt-4.5-preview 2025-02-27 22:08:29 +01:00
Cohee 60448f4ce8 Move security checks to users.js 2025-02-27 21:27:39 +02:00
Cohee d5056a5563 Merge branch 'staging' into cli-args-refactor 2025-02-27 20:48:34 +02:00
Cohee c60af6659c Change extensions list to debug level 2025-02-26 20:54:25 +02:00
Cohee 02ab882e63 Fix deno startup 2025-02-26 20:53:17 +02:00
Cohee 02cdec5a10 Validate SSL config for sanity before startup 2025-02-26 20:32:26 +02:00
Cohee 813ec537cd Fix default values for SSL command line 2025-02-26 20:24:22 +02:00
Cohee 1ef04ffc4d Rewrite comments 2025-02-26 16:22:56 +00:00
Cohee 68eecc77bb Refactor IP interface query 2025-02-26 15:44:39 +00:00
Cohee b64273ab94 Fix comments, update function interfaces 2025-02-26 15:36:01 +00:00
Cohee e7fcd0072b Refactor server startup 2025-02-26 14:46:54 +00:00
Stephen Brown 6947ca7433 Show forwarded IP in whitelist denied message 2025-02-25 23:58:12 +00:00
Cohee acd8b817f4 Improve number type conversion in getConfigValue to handle NaN cases 2025-02-26 00:08:04 +02:00
Cohee 0776f65193 Allow JSON array and objects in env.var configs 2025-02-25 22:20:17 +02:00
Cohee 4edb069bd8 Split avatar dimensions config read by types 2025-02-25 22:19:09 +02:00
Cohee 861c502e44 Return type casts where they were 2025-02-25 22:12:22 +02:00
Cohee 11d56a407d Merge branch 'staging' into immutable-config 2025-02-25 22:08:35 +02:00
Cohee b8ebed0f4c Claude 3.7 think mode 2025-02-24 23:43:13 +02:00
Cohee 82b74628c6 Sonnet 3.7 2025-02-24 21:06:12 +02:00
Cohee ae666c9012 OpenRouter (CC): explicit opt-out for reasoning 2025-02-23 22:13:11 +02:00
Cohee 252ae9f534 Update access log configuration to enforce boolean type 2025-02-22 20:20:23 +02:00
Cohee a73dfa7586 Merge branch 'staging' into immutable-config 2025-02-22 20:15:13 +02:00