Commit Graph

74 Commits

Author SHA1 Message Date
7532882c35 Fix waifu stacking logic 2023-06-07 00:22:34 +03:00
c7054770df Fix mobile group waifu mode 2023-06-07 00:07:17 +03:00
645397e355 #442 Auto-classify backgrounds based on chat context. Add string fuzzy matching library. 2023-06-06 15:06:21 +03:00
1ba8b5b3ed Fix major slowdown in groups without sprites. Remove error handler after it's been fired 2023-06-04 22:19:05 +03:00
8ffc4e6d51 Fix VN mode on groups where character is not found in the list. 2023-06-04 21:54:06 +03:00
0a65e36d1c fix for expression image grid button styles 2023-06-05 03:32:24 +09:00
c5d51fcd3c Fix a couple of issues with Group VN & overrides 2023-06-04 20:52:34 +03:00
446b3a4f05 Account overrides for group chats and VN mode 2023-06-04 17:27:09 +03:00
d5e75d7c7b Merge pull request #443 from bdashore3/dev
Expressions: Add sprite aliasing for chats
2023-06-04 16:50:01 +03:00
3cfec828ef Draggable VN sprites. Fix layering 2023-06-04 16:32:45 +03:00
a273fcb593 Adjust VN mode width overlap calculations 2023-06-04 15:33:28 +03:00
4935a8e46b Force flush VN wrapper on waifu mode change 2023-06-04 14:37:21 +03:00
cf2660074d Expressions: Add sprite aliasing for single chats
Duplicate characters get handled by the system, so why not sprites?
If a sprite is duplicated, users can specify the folder name that
the changed sprites are located in.

This commit only adds support for single person chats and breaks
compatibility with group chats. Another commit is required to fix
group sprite functionality.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-03 21:51:29 -04:00
cccca22601 Handle offline expressions for VN mode. Don't add blocks without sprites. Force empty block on chat change. 2023-06-04 00:42:16 +03:00
faa097fabd Multiple expressions per group in waifu mode 2023-06-03 22:17:25 +03:00
36ea41f0a6 Extras: Add API authentication support
An API key is extremely important for ST-Extras servers that are
exposed to the internet.

Add an API key field below where the user enters the extras URL. For
convenience, this key is persisted whenever the user refreshes the
page.

Also modify the fetch requests to always include API keys if present.

See ST-Extras for more information on how this works.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-03 00:00:38 -04:00
745ceb0f31 Update links to organization repo 2023-06-02 21:01:26 +03:00
13d012a3a2 Reduce console logs clutter 2023-06-01 01:02:51 +03:00
ef90c31643 Add slash command for dice rolls. Create class for worker wrappers 2023-05-31 13:57:08 +03:00
584394ded0 Upload sprites as ZIP archive 2023-05-29 02:28:09 +03:00
602bceb26e Upload or delete a sprite image. 2023-05-29 01:17:52 +03:00
437cf59a48 Add more options to SD plugin 2023-05-03 23:49:57 +03:00
1c92fb4b00 Adjust update intervals of some extensions 2023-05-03 14:03:57 +03:00
6f47b07063 Add group member defs peeking 2023-05-01 19:39:18 +03:00
6615d94051 Rename character as a group member.
Unify CSRF headers usage in fetch request.
2023-04-30 22:36:18 +03:00
0cc4a5f736 fix for waifumode default expressions on mobile 2023-04-26 04:14:05 +09:00
42cc69c3ed prevent default sprites from expanding over 120px 2023-04-25 19:30:50 +09:00
99d924bb2b Merge branch 'main' into dev.
Reformat all notes
2023-04-22 23:00:08 +03:00
f11305367d Reduce console spam 2023-04-22 22:34:07 +03:00
dfe3801f79 expressions only flex center on waifu mode,
otherwise sit in left margin
2023-04-22 03:28:00 +09:00
b47b13b7ba fixed waifu mode expression centering for PC 2023-04-22 03:20:25 +09:00
7f171466c9 - fix expressions and sheld z-index
- imperfect fix to PC waifu mode expression holder positioning
2023-04-21 18:05:22 +09:00
35f669d7e9 Fix hint on expressions 2023-04-20 21:42:22 +03:00
9360e65606 Reload expressions list on connecting to API 2023-04-20 21:16:58 +03:00
330a8cd1d6 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-20 20:27:48 +03:00
59284a5436 New validation logic of expression images 2023-04-20 20:26:32 +03:00
03b3fc9fc1 - added edit message auto saving
- toggle in PowerUser settings
- removed consolelog spam from RA-mods and expressions
2023-04-21 02:14:16 +09:00
4b54193d3f - smarter expression display
- only show after expression is set.
2023-04-20 05:02:02 +09:00
4df04f3b3f added <base> tag to HTML
added observer to wait for expressions before enabling drag
2023-04-19 22:58:59 +09:00
f1f80812fb normal mode expression-holder no longer in front of sheld 2023-04-19 19:38:06 +09:00
d186e7372e added toggle for movingUI 2023-04-18 21:21:39 +09:00
180b06f4e0 missing expression images are now hidden 2023-04-18 20:54:41 +09:00
77f1d59b12 fixed waifu mode expressions resizing 2023-04-18 20:50:50 +09:00
ffd1e8baa4 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-18 20:12:48 +09:00
846c9d0a12 - min-sizes for input bar and expressions
- console log spam trying to debug expression image loading
2023-04-18 20:12:45 +09:00
56bb604b7e Add more metadata to ext. manifests 2023-04-18 12:58:24 +03:00
ac7ee2f11f character expressions are now draggable 2023-04-18 18:35:36 +09:00
eb9fddf7db Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-17 14:44:30 +09:00
9fb7dc5e42 WIP: element dragging & resizing
- currently enabled on #sheld when window is over 1000px wide.
- click top right gripper dots to drag sheld around
- resize with lower right size dragger.
- snaps to static view and hides grabbers when windows under 1000px
- position not remembered across sessions..yet
- updated styles on dice, options, and send_but
2023-04-17 14:44:27 +09:00
3af6bcafa7 Default expressions for groups 2023-04-17 00:20:35 +03:00