Commit Graph

115 Commits

Author SHA1 Message Date
Cohee
aa796e5aae #1649 Fix deactivation of singular group entry per recursion step 2024-01-09 11:48:51 +02:00
Cohee
ead0aa65ff #1649 Fix inclusion groups with recursion 2024-01-09 02:34:43 +02:00
Cohee
023cbf3cff
Merge pull request #1664 from LenAnderson/wi-fix-setentryfield-escapes
fix escape sequences in setentryfield slash command
2024-01-08 20:23:11 +02:00
LenAnderson
63938a0f7a fix escape sequences in setentryfield slash command 2024-01-08 17:58:17 +00:00
LenAnderson
9433a74fe8 fix typo 2024-01-07 19:19:46 +00:00
LenAnderson
7f8128b5d8 fix toggle toast content 2024-01-07 18:34:16 +00:00
Cohee
b4298d1958 Merge branch 'staging' into wi-prevent-recurse 2024-01-07 19:03:40 +02:00
Cohee
c54746b21c Fix world unset 2024-01-07 19:00:16 +02:00
Cohee
247048ebfa Use boolean selector 2024-01-07 18:58:30 +02:00
LenAnderson
49483e2e21 add optional arguments to /world command
- deactivate a single world
- toggle a world
- suppress toast messages
2024-01-07 11:36:44 +00:00
LenAnderson
9e34804ab0 add option on WI entries to prevent further recursion 2024-01-07 10:51:13 +00:00
Cohee
a69f92444b Add AND ALL logic for WI secondary keys 2024-01-01 21:49:54 +02:00
LenAnderson
8cd75cf03d add event when world info is updated 2024-01-01 14:34:09 +00:00
Cohee
6c16b94f9d
Merge pull request #1540 from valadaptive/refactor-device-check
Refactor mobile device check
2023-12-15 17:01:32 +02:00
valadaptive
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
valadaptive
769cc0a78f Rename settings API endpoints 2023-12-14 16:47:03 -05:00
Cohee
1b11ddc26a Add vector storage to WI scanning 2023-12-11 22:47:26 +02:00
Cohee
c84b6a5101 Add WI inclusion groups 2023-12-07 20:06:06 +02:00
Cohee
b1f68d886c Fix WI field access for UID = 0 2023-12-07 18:45:34 +02:00
valadaptive
c746e6a426 Rename worldinfo API endpoints 2023-12-06 20:00:51 -05:00
Cohee
c9fbe75566 Rename WI logic ONE => ANY 2023-12-05 12:04:27 +02:00
Bronya Rand
537e9428e0 proper revert cuz vsc revert weird... 2023-12-05 03:00:26 -06:00
Bronya Rand
f9ecc77b10 revert changes after cohee fix 2023-12-05 02:56:52 -06:00
Bronya Rand
a90fe54e5b bak should not be here 2023-12-04 16:05:05 -06:00
Bronya Rand
f71b83b14f add comment on new code and add () for logic checks 2023-12-04 16:00:02 -06:00
Bronya Rand
085daaeff7 simplify and proper NOT check fix 2023-12-04 15:57:04 -06:00
Cohee
8bf18891b3 Add data model field for WI entry group 2023-12-04 18:47:35 +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
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
c893e2165e Enable no-prototype-builtins lint 2023-12-02 12:10:31 -05:00
valadaptive
97c49a405b Enable no-extra-boolean-cast lint 2023-12-02 10:32:26 -05:00
valadaptive
27e63a7a77 Enable no-case-declarations lint 2023-12-02 10:32:26 -05:00
valadaptive
7c3dd75e6a Enable no-fallthrough lint 2023-12-02 10:32:07 -05:00
Cohee
9ad42025e5 Add depth to entry template 2023-12-01 22:09:13 +02:00
Cohee
07962e0e4e Add /setentryfield command 2023-12-01 21:51:49 +02:00
Cohee
fae90f8227 Add validation messages 2023-12-01 02:25:55 +02:00
Cohee
27d27127e0 Fix docstring typo 2023-12-01 02:11:47 +02:00
Cohee
fe355c5d4f Add MVP set of WI manipulation commands 2023-12-01 01:50:10 +02:00
RossAscends
3ec692e76c fix /world unsetting function 2023-11-26 05:26:41 +09:00
nonenothingnada
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
Cohee
f24aae546c Filter WI entries by tags 2023-11-14 23:54:08 +02:00
Cohee
0d4e5c31e2 Code clean-up 2023-11-12 22:35:17 +02:00
Cohee
5d34c8aef5 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-11-11 21:53:15 +02:00
Cohee
10264367aa WI editor visual QoL 2023-11-11 21:53:11 +02:00
Cohee
25b549b034 WI custom order (slight return) 2023-11-11 20:16:57 +02:00
Cohee
2d3fb08638 Add filter for missing WI entries 2023-11-04 20:02:38 +02:00
Cohee
890ae4bba9 Optimize WI layout 2023-11-04 17:44:43 +02:00