Commit Graph

102 Commits

Author SHA1 Message Date
6c16b94f9d Merge pull request #1540 from valadaptive/refactor-device-check
Refactor mobile device check
2023-12-15 17:01:32 +02:00
fbdfa05f81 Replace usage of getDeviceInfo with isMobile
We were using getDeviceInfo to check whether we were on a desktop or a
mobile device. This can be done more simply with isMobile, which means
we can stop exporting getDeviceInfo.
2023-12-14 18:37:54 -05:00
769cc0a78f Rename settings API endpoints 2023-12-14 16:47:03 -05:00
1b11ddc26a Add vector storage to WI scanning 2023-12-11 22:47:26 +02:00
c84b6a5101 Add WI inclusion groups 2023-12-07 20:06:06 +02:00
b1f68d886c Fix WI field access for UID = 0 2023-12-07 18:45:34 +02:00
c746e6a426 Rename worldinfo API endpoints 2023-12-06 20:00:51 -05:00
c9fbe75566 Rename WI logic ONE => ANY 2023-12-05 12:04:27 +02:00
537e9428e0 proper revert cuz vsc revert weird... 2023-12-05 03:00:26 -06:00
f9ecc77b10 revert changes after cohee fix 2023-12-05 02:56:52 -06:00
a90fe54e5b bak should not be here 2023-12-04 16:05:05 -06:00
f71b83b14f add comment on new code and add () for logic checks 2023-12-04 16:00:02 -06:00
085daaeff7 simplify and proper NOT check fix 2023-12-04 15:57:04 -06:00
8bf18891b3 Add data model field for WI entry group 2023-12-04 18:47:35 +02:00
64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
08fedf3a96 lint: Use 4 space indent 2023-12-02 21:56:16 +02:00
c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
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
c893e2165e Enable no-prototype-builtins lint 2023-12-02 12:10:31 -05:00
97c49a405b Enable no-extra-boolean-cast lint 2023-12-02 10:32:26 -05:00
27e63a7a77 Enable no-case-declarations lint 2023-12-02 10:32:26 -05:00
7c3dd75e6a Enable no-fallthrough lint 2023-12-02 10:32:07 -05:00
9ad42025e5 Add depth to entry template 2023-12-01 22:09:13 +02:00
07962e0e4e Add /setentryfield command 2023-12-01 21:51:49 +02:00
fae90f8227 Add validation messages 2023-12-01 02:25:55 +02:00
27d27127e0 Fix docstring typo 2023-12-01 02:11:47 +02:00
fe355c5d4f Add MVP set of WI manipulation commands 2023-12-01 01:50:10 +02:00
3ec692e76c fix /world unsetting function 2023-11-26 05:26:41 +09:00
bca21ec9b6 Bugfix: World Info - NOT operator only considers first secondary key
Small fix to correct the behavior of the World Info NOT operator with a list of secondary keys to what was (hopefully) intended. Previously only the first secondary key was ever checked. Now each primary key should be checked against each secondary key with a single match invalidating the entry activation.
2023-11-15 12:11:09 +01:00
f24aae546c Filter WI entries by tags 2023-11-14 23:54:08 +02:00
0d4e5c31e2 Code clean-up 2023-11-12 22:35:17 +02:00
5d34c8aef5 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-11-11 21:53:15 +02:00
10264367aa WI editor visual QoL 2023-11-11 21:53:11 +02:00
25b549b034 WI custom order (slight return) 2023-11-11 20:16:57 +02:00
2d3fb08638 Add filter for missing WI entries 2023-11-04 20:02:38 +02:00
890ae4bba9 Optimize WI layout 2023-11-04 17:44:43 +02:00
3eaff02c2f World Info Min Activations: min max depth default unlimited 2023-11-01 14:36:20 -03:00
77bde48a48 World Info Min Activations: added UI & persistence & budget respect 2023-11-01 14:02:38 -03:00
8203ebb835 world_info_min_activations 2023-10-30 18:55:32 -03:00
922007ea25 #1294 Fix selective logic for embedded lorebooks 2023-10-28 12:28:03 +03:00
b29f63f89e fix WI sliders 2023-10-27 03:01:25 +09:00
5cdc3d1d18 Smudge groups depth prompts in Join mode. 2023-10-26 00:39:11 +03:00
77f0fe5b80 Fix event typing 2023-10-17 13:55:02 +03:00
81f1bfd23f Update world-info.js (revert personal new WI pos preference) 2023-10-17 03:15:18 +03:00
819b92a1d5 Force open Char WI with Shift
QoL - Force open character WI selector menu if icon clicked with Shift.
2023-10-17 03:10:57 +03:00
eaadb1c5c2 Prevent double insert of chat lore 2023-10-16 23:13:32 +03:00
6a1b230c7e #1226 Add chat-bound lorebooks 2023-10-16 23:03:42 +03:00
2c1a6ca67c World Info: Add scanning with AN
Add support for adding extension prompts into WI scanning. Doing this
required adding a method to get extension prompts by name. Now, AN
and depth prompts can be added to world info scanning.

However, since scanning just looks for keys in the chatlog, append
the extension prompts on the top of scanned text.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-10-11 23:50:58 -04:00
2c54627926 Format code 2023-10-10 20:48:21 +03:00