Commit Graph

61 Commits

Author SHA1 Message Date
c18008725d Fix group VN mode 2023-06-28 16:39:37 +03:00
f06ca28bbf Reduce console spam on expressions 2023-06-28 15:55:53 +03:00
346d5cfb3a Author's Notes: Add per-character author's note
Adds the option to override the chat's author's note with one set
for each character. This saves the pain of having to copy and paste
author's notes for every chat.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-14 23:00:28 -04:00
e1dd0e8899 Consolidate expressions plugin name 2023-06-08 18:36:36 +03:00
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
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
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
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
b47b13b7ba fixed waifu mode expression centering for PC 2023-04-22 03:20:25 +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
77f1d59b12 fixed waifu mode expressions resizing 2023-04-18 20:50:50 +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
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
339f212981 Fixes for expressions plugin 2023-04-17 00:13:31 +03:00
62929301fa Angry swiping fix 2023-04-16 02:39:48 +03:00
9378c8811e Adjust styles of OAI prompt boxes. Add more expressions to offline mode. 2023-04-16 00:35:50 +03:00
648f2e9ceb Bug fixes and optimizations 2023-04-15 13:45:25 +03:00
81bffd34d8 Smart refresh thumbnails cache. Sort group candidates list. Remove members by click on remove btn 2023-04-14 19:44:59 +03:00
4b98f9d825 Support for group chat expressions 2023-04-14 15:13:31 +03:00
c126f15291 Hide extension settings to drawers 2023-04-14 14:44:39 +03:00