Commit Graph
75 Commits
Author SHA1 Message Date
Cohee e1dd0e8899 Consolidate expressions plugin name 2023-06-08 18:36:36 +03:00
Cohee 7532882c35 Fix waifu stacking logic 2023-06-07 00:22:34 +03:00
Cohee c7054770df Fix mobile group waifu mode 2023-06-07 00:07:17 +03:00
Cohee 645397e355 #442 Auto-classify backgrounds based on chat context. Add string fuzzy matching library. 2023-06-06 15:06:21 +03:00
Cohee 1ba8b5b3ed Fix major slowdown in groups without sprites. Remove error handler after it's been fired 2023-06-04 22:19:05 +03:00
Cohee 8ffc4e6d51 Fix VN mode on groups where character is not found in the list. 2023-06-04 21:54:06 +03:00
RossAscends 0a65e36d1c fix for expression image grid button styles 2023-06-05 03:32:24 +09:00
Cohee c5d51fcd3c Fix a couple of issues with Group VN & overrides 2023-06-04 20:52:34 +03:00
Cohee 446b3a4f05 Account overrides for group chats and VN mode 2023-06-04 17:27:09 +03:00
Cohee d5e75d7c7b Merge pull request #443 from bdashore3/dev
Expressions: Add sprite aliasing for chats
2023-06-04 16:50:01 +03:00
Cohee 3cfec828ef Draggable VN sprites. Fix layering 2023-06-04 16:32:45 +03:00
Cohee a273fcb593 Adjust VN mode width overlap calculations 2023-06-04 15:33:28 +03:00
Cohee 4935a8e46b Force flush VN wrapper on waifu mode change 2023-06-04 14:37:21 +03:00
kingbri 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
Cohee 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
Cohee faa097fabd Multiple expressions per group in waifu mode 2023-06-03 22:17:25 +03:00
kingbri 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
SillyLossy 745ceb0f31 Update links to organization repo 2023-06-02 21:01:26 +03:00
SillyLossy 13d012a3a2 Reduce console logs clutter 2023-06-01 01:02:51 +03:00
SillyLossy ef90c31643 Add slash command for dice rolls. Create class for worker wrappers 2023-05-31 13:57:08 +03:00
SillyLossy 584394ded0 Upload sprites as ZIP archive 2023-05-29 02:28:09 +03:00
SillyLossy 602bceb26e Upload or delete a sprite image. 2023-05-29 01:17:52 +03:00
SillyLossy 437cf59a48 Add more options to SD plugin 2023-05-03 23:49:57 +03:00
Cohee1207 1c92fb4b00 Adjust update intervals of some extensions 2023-05-03 14:03:57 +03:00
SillyLossy 6f47b07063 Add group member defs peeking 2023-05-01 19:39:18 +03:00
SillyLossy 6615d94051 Rename character as a group member.
Unify CSRF headers usage in fetch request.
2023-04-30 22:36:18 +03:00
RossAscends 0cc4a5f736 fix for waifumode default expressions on mobile 2023-04-26 04:14:05 +09:00
RossAscends 42cc69c3ed prevent default sprites from expanding over 120px 2023-04-25 19:30:50 +09:00
SillyLossy 99d924bb2b Merge branch 'main' into dev.
Reformat all notes
2023-04-22 23:00:08 +03:00
SillyLossy f11305367d Reduce console spam 2023-04-22 22:34:07 +03:00
RossAscends dfe3801f79 expressions only flex center on waifu mode,
otherwise sit in left margin
2023-04-22 03:28:00 +09:00
RossAscends b47b13b7ba fixed waifu mode expression centering for PC 2023-04-22 03:20:25 +09:00
RossAscends 7f171466c9 - fix expressions and sheld z-index
- imperfect fix to PC waifu mode expression holder positioning
2023-04-21 18:05:22 +09:00
SillyLossy 35f669d7e9 Fix hint on expressions 2023-04-20 21:42:22 +03:00
SillyLossy 9360e65606 Reload expressions list on connecting to API 2023-04-20 21:16:58 +03:00
SillyLossy 330a8cd1d6 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-20 20:27:48 +03:00
SillyLossy 59284a5436 New validation logic of expression images 2023-04-20 20:26:32 +03:00
RossAscends 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
RossAscends 4b54193d3f - smarter expression display
- only show after expression is set.
2023-04-20 05:02:02 +09:00
RossAscends 4df04f3b3f added <base> tag to HTML
added observer to wait for expressions before enabling drag
2023-04-19 22:58:59 +09:00
RossAscends f1f80812fb normal mode expression-holder no longer in front of sheld 2023-04-19 19:38:06 +09:00
RossAscends d186e7372e added toggle for movingUI 2023-04-18 21:21:39 +09:00
RossAscends 180b06f4e0 missing expression images are now hidden 2023-04-18 20:54:41 +09:00
RossAscends 77f1d59b12 fixed waifu mode expressions resizing 2023-04-18 20:50:50 +09:00
RossAscends ffd1e8baa4 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-18 20:12:48 +09:00
RossAscends 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
SillyLossy 56bb604b7e Add more metadata to ext. manifests 2023-04-18 12:58:24 +03:00
RossAscends ac7ee2f11f character expressions are now draggable 2023-04-18 18:35:36 +09:00
RossAscends eb9fddf7db Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-17 14:44:30 +09:00
RossAscends 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