Commit Graph

540 Commits

Author SHA1 Message Date
Cohee
990f958f4f #1484 Consolidate chat name template 2023-12-07 16:59:53 +02:00
Cohee
2417ae9d87 #1484 Display version on close chat 2023-12-07 16:57:47 +02:00
Cohee
9b7a0f3d35 Hide loader before displaying blocking error message 2023-12-07 12:29:12 +02:00
Cohee
bd1f09c644 Add loader for chat renaming 2023-12-07 12:27:18 +02:00
Cohee
698890ae0f Fix /delchat slash command 2023-12-07 12:20:33 +02:00
valadaptive
6efe95f4f1 Rename chat API endpoints 2023-12-06 19:58:24 -05:00
Cohee
55d7bd6a87 Return last evaluation of random 2023-12-07 02:45:35 +02:00
Cohee
f575e0d61d Add {{currentSwipeId}} / {{lastSwipeId}} macros 2023-12-07 02:35:24 +02:00
Cohee
b58f14d1d2 Fix bulk menu not working 2023-12-06 00:55:42 +02:00
Cohee
7f703704c7 Display loader on loading past chats 2023-12-06 00:42:41 +02:00
valadaptive
b689b8bd30 Rename character API endpoints
Precursor to moving the character API into its own module
2023-12-04 17:35:06 -05:00
Cohee
ddd16c1469
Merge pull request #1452 from valadaptive/assets-router
Use Express router for assets + "files" endpoints
2023-12-04 21:29:52 +02:00
Cohee
1ac494d468 Don't attempt to send files on dry runs. 2023-12-04 21:28:36 +02:00
Cohee
3ad7d5d520 Negotiate formatting with VS Code autoformat 2023-12-04 20:59:11 +02:00
valadaptive
5f1bed1e70 Enable object-curly-spacing lint 2023-12-04 12:32:41 -05:00
valadaptive
3c59b5b7a5 Fix holdover textgenerationwebui_settings 2023-12-03 17:36:25 -05:00
valadaptive
9c33ddbafc Make textgen settings type checks more concise 2023-12-03 14:56:01 -05:00
valadaptive
047c897ead Remove is[API] functions
Just use an equality comparison. It's a bit longer, but only because
"textgenerationwebui_settings" is a long identifier.
2023-12-03 14:56:01 -05:00
valadaptive
ba54e3dea0 Replaces is_[api] params with api_type param
These were 5 mutually-exclusive booleans, which can be replaced with one
param that takes on 5 values, one for each API type.
2023-12-03 14:56:01 -05:00
Cohee
939e938ba2 Disallow multiswipe for quiet gens 2023-12-03 20:56:25 +02:00
Cohee
1786b0d340 #1403 Add Aphrodite multi-swipe 2023-12-03 20:40:09 +02:00
Cohee
676cc7731e #1436 Add unlock to response length 2023-12-03 18:30:21 +02:00
Cohee
91811f63b5 lint: Fix JSdocs 2023-12-03 14:23:20 +02:00
Cohee
4cb9cd128f Rename bookmarks to checkpoints 2023-12-03 03:11:14 +02:00
Cohee
2c949b672a Fix bulk edit and message context action styles 2023-12-03 02:17:02 +02:00
Cohee
c9ab85d8c9 Add /forcesave command 2023-12-03 00:53:45 +02:00
LenAnderson
1eb32b247e add close stop for cancel button 2023-12-02 21:45:08 +00:00
LenAnderson
c10e298777 fix old popup closing next popup 2023-12-02 21:22:58 +00:00
Cohee
ff46a249d8 Add {{maxPrompt}} macro 2023-12-02 22:47:43 +02: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
Cohee
9faa1e34b0 Merge branch 'staging' into singlequote 2023-12-02 20:43:41 +02:00
Cohee
a28c23d295 Wait for generation unlock before running continue or trigger 2023-12-02 20:12:36 +02:00
valadaptive
a37f874e38 Require single quotes 2023-12-02 13:04:51 -05: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
66f704bdda Refactor prompt itemization to not redeclare vars 2023-12-02 12:11:19 -05:00
valadaptive
45ad0683d9 Remove characterName silliness
If mes.name is name1, we set it to name1. Otherwise, we set it to
mes.name. It's always mes.name.
2023-12-02 12:10:31 -05: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
27e63a7a77 Enable no-case-declarations lint 2023-12-02 10:32:26 -05:00
Cohee
6b348f6128 Fix trailing stopping strings removal 2023-12-01 18:55:11 +02:00
Cohee
bb9d302c3a Don't skip ephemeral stop strings if there are no custom stop strings 2023-12-01 17:18:30 +02:00
RossAscends
59880ee171 disallow newlines in onboarding username 2023-12-01 17:43:05 +09:00
RossAscends
862fc56b39 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-12-01 11:39:39 +09:00
RossAscends
c050f2c44d better manual input for normal sliders 2023-12-01 11:39:37 +09:00
Cohee
bb727d5f9c Insert files before user text, not after 2023-12-01 03:54:28 +02:00
Cohee
ddd4fac38c Fix {{mesExamples}} strip behavior with in story string 2023-11-30 19:47:57 +02:00