Cohee
8448d6c6e6
Merge branch 'staging' into persona-improvements
2025-01-26 21:18:51 +02:00
Cohee
9f54adbeb4
Comment dupe default persona button
2025-01-26 21:18:38 +02:00
Cohee
6d43eea1bd
Merge pull request #3361 from SillyTavern/write-fallback-img
...
Use default avatar if imported image is corrupted
2025-01-26 20:36:14 +02:00
Cohee
312969462e
Fix AICC website reference
2025-01-26 20:35:24 +02:00
Cohee
999da4945a
Fix error log
2025-01-26 20:29:04 +02:00
Cohee
bf294aa684
Merge pull request #3360 from SillyTavern/group-member-version
...
Add char version to group panel member names
2025-01-26 20:22:27 +02:00
Cohee
a58476d079
Clip long version strings
2025-01-26 20:15:32 +02:00
Cohee
65e32f720d
Use default avatar if imported image is corrupted
2025-01-26 19:58:37 +02:00
Wolfsblvt
35ab677ff1
Add char version to group panel member names
...
- Follows the same style as version in char list
- Respects the chosen "auxiliary field" setting
Closes #3359
2025-01-26 18:44:12 +01:00
Cohee
a42337ad0a
Use 'localhost' as a fallback for hostname
2025-01-26 16:50:59 +02:00
Cohee
9aac5a22f1
Defer middleware HTML file reads
2025-01-26 01:46:30 +02:00
Cohee
96143177ce
Fix logit bias for DeepSeek on OpenRouter
2025-01-26 01:42:08 +02:00
Cohee
c9a1a3eb94
Merge pull request #3351 from SillyTavern/csrf-sync
...
Replace CSRF middleware
2025-01-25 23:23:43 +02:00
Cohee
44ade6ad64
Customize CSRF token error message
2025-01-25 23:20:26 +02:00
Cohee
44ad69ceca
Merge pull request #3342 from Spappz/staging
...
Allow customisation of the 403 page
2025-01-25 23:00:23 +02:00
Wolfsblvt
f78bf5e46f
Add "StartDev.bat" placeholder to .gitignore
2025-01-25 21:45:55 +01:00
Spappz
6099ffece1
No exceptions on missing error webpages
...
- Create a `safeReadFileSync()` function in `src/utils.js` to wrap around `fs.readFileSync()`
- Migrate error-webpage loads to use `safeReadFileSync()`, with default values of an empty string
- Move the 404 error middleware to explicitly only be called *after* extensions are registered
2025-01-25 20:29:31 +00:00
Spappz
9e54070c1d
Revert path/posix
to path
in post-install.js
2025-01-25 19:38:01 +00:00
Wolfsblvt
9a79c6b1a4
Remove all connections button for the popups
2025-01-25 19:54:45 +01:00
Wolfsblvt
3fc4207cdb
Temporary persona toast respects setting
2025-01-25 19:27:29 +01:00
Wolfsblvt
ef73ab43da
Fix "Default" persona connection tooltip
2025-01-25 19:25:42 +01:00
Wolfsblvt
2ff1957ca8
Consistent headers in persona panel
2025-01-25 19:24:40 +01:00
Wolfsblvt
0141a60eb8
Add hint on how to use persona connections
2025-01-25 19:20:21 +01:00
Wolfsblvt
2253990898
Highlight personas from current chat in popup
2025-01-25 18:47:53 +01:00
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
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
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
6aaeb754ef
Exportable temporary assistant chats
2025-01-24 00:12:00 +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