Commit Graph

115 Commits

Author SHA1 Message Date
2a1938bc93 Group chat list order 100% working 2023-04-06 01:07:26 +03:00
7f35986b9c Rename poe backend client 2023-04-05 13:23:15 +03:00
b2b199d247 Unauthorized status 2023-04-05 12:53:57 +03:00
5ec5d70111 Fix wretched KleboldCpp crashing my beloved tovern 2023-04-05 00:25:52 +03:00
ddb7eee3fb Move poe API to main block 2023-04-04 16:04:27 +03:00
2ab42f40f7 Fix messages deletion for poe 2023-04-04 12:35:43 +03:00
3eb9fa975c Fix poe server crash 2023-04-04 12:19:18 +03:00
c5a7151ab3 Local poe support 2023-04-03 23:44:01 +03:00
006c5b63cc OpenAI presets saving (presumably) 2023-04-02 17:13:20 +03:00
a82c9af78e Big avatars style 2023-04-01 01:59:43 +03:00
d73ae6d0f7 Fix memory leak in OAI tokenizer 2023-03-31 21:56:24 +03:00
1541683492 Add caching of OAI messages tokens 2023-03-30 19:11:42 +03:00
ec3d3d6247 Sanitation adjustments 2023-03-30 00:44:38 +03:00
0bf66d522b Togglable multigen 2023-03-29 00:30:48 +03:00
bab50bd58b Configurable group self-responses 2023-03-28 18:55:12 +03:00
73b76d3974 Avatars thumbs improved 2023-03-24 21:28:17 +02:00
1bf3377a70 Reduce log spam 2023-03-24 21:14:28 +02:00
fd2c74b8ec Thumbnail user avatars 2023-03-24 21:12:57 +02:00
f45ea2a5a2 fixed display bug in past chat deletion 2023-03-24 15:06:12 +09:00
e1a337f140 Added Past Chat File Delete Function 2023-03-24 13:55:34 +09:00
339d3c357d Proper handle settings presets for TextGen 2023-03-23 22:47:02 +02:00
9eebe6ce61 Add preset settings for TextGen. Thanks oobabooga for compiling them! 2023-03-23 22:17:44 +02:00
c75fd0379d Thumbnails cache ensure 2023-03-23 11:10:14 +02:00
9f3d40e3ed CSS tweaks:
- resized addbg3.png from 1600x1600 to 160x90
- added trans grey border to right nav, to match chat and send_form
- reduced opacity of chat/sendform >> 70% to 50%
- reduced blur on chat/sendform >> 20px to 10px
- added 1px gap between chat and right nav to match chat/sendform
- fixed add_bg button being too tall and skewing top bg row on mobile
- 2 new utility classes no-border and no-shadow
- made drawer heights match chat+sendform height on mobile

/img cleanup:
- removed unused files from /img
- resized large UI-only PNG files to 100px x 100px
- replaced fluffy.png with a custom PNG 'ai4.png'
- total /img footprint is now 615kb  (compared to 3.5MB in main tai 1.3)
-- /default-expressions 509kb
-- everything else 106kb
2023-03-23 16:48:40 +09:00
a82c07548b Add backgrounds thumbnailing 2023-03-22 21:18:43 +02:00
c44bb9bb41 Tweak name sanitation logic 2023-03-22 14:52:56 +02:00
4e2bc3e80a OpenAI fixes 2023-03-22 12:29:07 +02:00
e6413d0905 OpenAI support (by @CncAnon1) 2023-03-21 23:31:26 +02:00
dc9e8add6f Ensure public directories exist 2023-03-21 15:56:02 +02:00
624b843f79 Added mime filter 2023-03-21 15:10:58 +02:00
f705f12f34 File names sanitation 2023-03-21 14:49:27 +02:00
20c6cb242b Sanitizing 2023-03-21 14:30:06 +02:00
19a05e8e43 Merge branch 'dev-settings-on-top' into dev 2023-03-21 12:53:47 +02:00
2c9805858a - fixed display of ooba and novel settings
- made server respond with BGs in filename alphabetical order
- removing default BGs for renaming (will replace manually)
- CSS: transparent grey border to chat and form_send for visibility on dark BGs
- CSS: sheld is now centered with 'absolute'
- CSS: top-settings are now same width same as chat on PC
2023-03-21 17:42:42 +09:00
15edcbb4ac Add single-line mode for Kobold 2023-03-20 00:31:12 +02:00
6177985340 Fix generation error handling 2023-03-19 23:31:09 +02:00
296deba415 Version check 2023-03-19 21:10:30 +02:00
006ffec1f9 Fix security from upstream + console error messages 2023-03-19 20:23:18 +02:00
c9e64c8091 Dumb: formatting fix 2023-03-19 17:04:22 +02:00
40e371aa72 Horde compatibility 2023-03-19 16:22:15 +02:00
bdd2708f89 Add IP listening option 2023-03-17 19:33:16 +09:00
2d48a3bd25 Fix images getting squeezed when resized 2023-03-16 19:38:16 +02:00
6d85f527a2 Farewell, stupid sharp. Hello jimp (thx CncAnon) 2023-03-15 13:56:53 +02:00
15f6f745a0 Reformat code 2023-03-12 15:51:27 +02:00
b01bf57fda Create date fix 2023-03-12 14:33:45 +02:00
62a6fa8519 Add support for text generation UI (by @im-not-tom) 2023-03-08 17:34:14 +02:00
36a62aad9e Merge branch 'main' into dev 2023-03-06 17:51:20 +02:00
d2cce0eead Merge remote-tracking branch 'ross/main' 2023-03-06 16:04:41 +02:00
2cd6739aaa dynamic char delete + button/create form styling
1. enabled deletion of characters without page reload. now when a user deletes a character, the page will not auto-refresh, but they will be get a message from Chloe instructing them to pick another character to continue.

2. standardized all buttons to use menu_button class instead of individual ID stylings

3. adjusted create_form, making wider range inputs for mobile users.
- moved 'back button' to the bottom of the form next to delete/create/export
- changed the 'back' button on post-creation rm_info to look like a button

4. condensed redundant CSS where possible; removed unused CSS.

5. Fixed the problem of the nav auto-closing when a character is created or when using advanced editing window.

6. made the token counter load when a character is selected. previously it only showed up after edits were made.

7. found some problems with /createcharacter - if a character/PNG with the same name exists, the server won't make a new character, but it doesn't tell the user about the error.  I UI acts as if the character was created. I added some soft console.error messages for this, but couldn't figure out a way to make it give a proper error. probably because fs.existsSync doesn't have a callback.
2023-03-06 10:58:10 +09:00
7ce52046fd New toggle features: Auto-Connect & Auto-Load-Chat
1. new function - Auto-connect to API
2. new function - Auto-load last character/chat

Both of these have toggles in the right menu at the bottom in a "Power user options" section.

Both only load if settings.json has a pre-defined setting for them. (won't fire on first load after install)
2023-03-04 04:00:40 +09:00