Commit graph

52 commits

Author SHA1 Message Date
MDMCK10 6893c62c08 Run prettier 2024-07-16 01:50:25 +02:00
MDMCK10 3f2b776325 Allow dragging of windows and agents on mobile, fix unintended text selection on long press 2024-07-16 01:43:29 +02:00
Elijah R cb0752b9c7 make chat bubbles not dependant on TTS 2024-07-14 22:46:58 -04:00
Elijah R 1d4a2673b0 add image upload from clipboard 2024-07-14 20:33:41 -04:00
Elijah R d3aba5c519 fix wordbubble sticking 2024-07-14 19:43:42 -04:00
Elijah R 8394920d4d add image upload support 2024-07-14 19:35:00 -04:00
Elijah R 653ce2e413 expose some stuff to DOM to allow scripting
we can probably water it down if its used for abuse
2024-07-14 17:04:27 -04:00
Elijah R 5065c7ab58 ok i really need to gitignore this or something jesus 2024-07-14 16:20:08 -04:00
Elijah R 9e0f472251 Add wav->ogg (opus) transcoding 2024-07-14 16:05:33 -04:00
Elijah R 1ad9ee14fe format code with prettier 2024-07-14 15:26:05 -04:00
Elijah R cc2a9db92e Change to SCSS so that rules are automatically backported to older browsers. In the future we can also take advantage of its other features. 2024-07-14 15:22:55 -04:00
Elijah R bb8c40b440 pretend that didnt happen 2024-07-14 15:06:01 -04:00
Elijah R 82f10a350c CSS improvements (credit Undefishin) 2024-07-14 15:01:42 -04:00
Elijah R e90c8cd36c actual username validation lol 2024-07-12 21:20:37 -04:00
DarkOK 5e9de132b3
webapp: Room settings dialog mockup 2024-07-13 01:08:53 +01:00
Elijah R dab1b26429 mute now stops current message 2024-07-12 14:59:04 -04:00
Elijah R 97932c4a93 add keepalive message to prevent proxies closing the connection 2024-07-12 14:57:10 -04:00
Elijah R 6a3aedaf6a prevent duplicate password prompts 2024-07-12 14:44:27 -04:00
Elijah R b515578750 add configurable server address to webapp, remove webapp serving from server 2024-07-12 14:38:49 -04:00
Elijah R 8d04752f52 add motd and links to bottom of webapp 2024-07-12 14:33:17 -04:00
Elijah R 7771251f4f add admin to init message 2024-07-12 02:07:25 -04:00
Elijah R 3525fdcff4 Add admin features (get ip, kick, ban), context menu, ban database, clean disconnect and reconnect, and errors. 2024-07-12 02:00:20 -04:00
Elijah R bad5daf075 add logo to webapp 2024-07-11 22:55:43 -04:00
Elijah R c5e54b62ac minor bugfixes 2024-07-10 23:20:03 -04:00
Elijah R 39fb90382c prevent duplicate connection 2024-07-10 23:00:03 -04:00
Elijah R d1295bcc2f - fix bug where the wordballoon doesn't show if you send a message while the TTS for another message is still playing
- agents now spawn in random positions on the viewport
2024-07-10 22:45:58 -04:00
Elijah R e9504c6359 add username balloons under agents 2024-07-10 22:07:58 -04:00
Lily Tsuru 396ef67c78 add wordballoons to agents on the webapp
(i know they will be broken, this is just to give an environment for them to actually be used in)
2024-07-10 07:23:29 -04:00
Lily Tsuru d5b7e174a1 testbed: mount agents in a seperate div
mostly to test that works
2024-07-10 07:15:19 -04:00
Elijah R 918ab5f95e add (very basic) agent rendering to webapp 2024-07-10 01:21:06 -04:00
Elijah R 9951e7bcaf server now hosts ACS files, websocket is now at /api/socket 2024-07-10 00:48:26 -04:00
Elijah R 89d0092f65 add agentCreateCharacterFromUrl 2024-07-10 00:08:06 -04:00
Elijah R 0e4ae45d01 nullify contextmenu 2024-07-09 23:53:34 -04:00
Lily Tsuru b6b069450d remove debug prints, axe testbed-only APIs 2024-07-09 23:50:16 -04:00
Lily Tsuru f720acc738 add param to hide() to auto remove the agent 2024-07-09 23:42:43 -04:00
Lily Tsuru 29d6213134 add remove() to remove from dom (TODO: will need to handle wordballoon) 2024-07-09 23:35:30 -04:00
Lily Tsuru 803c63f1f9 make show/hide play respective animations 2024-07-09 23:32:20 -04:00
Elijah R 36ad3fe178 - expose agent to window in testbed
- ts-ignore setTimeout line causing errors
2024-07-09 23:29:21 -04:00
Lily Tsuru 8d029c682f add playAnimationByName() api 2024-07-09 23:26:12 -04:00
Lily Tsuru 438489c43f animation playback (no branches or anything yet) 2024-07-09 23:21:24 -04:00
Lily Tsuru 76541dd31d msagent.js: fixed bitmap drawing
Now everything is top down, correctly colored, as you'd expect! Woohoo!
2024-07-09 22:42:12 -04:00
Elijah R 9f211ec36a half working frame rendering 2024-07-09 19:47:10 -04:00
Lily Tsuru c7b54f1c86 webapp: fix testbed
oops™️
2024-07-03 06:04:42 -04:00
Lily Tsuru 2c8793a796 msagent.js: Parse character info
msagent.js can now parse the character section of a ACS file fully.

This also adds a testbed thing. Later on it will display individual frames
and animations for debugging before the full character API is ready.
For now, it just has a file input for dumping ACS files into so we can debug
reading of the data.
2024-07-03 06:00:22 -04:00
Elijah R ba3ce91410 a few fixes and improvements 2024-07-03 02:12:02 -04:00
Elijah R 7d30426a08 fix https, prevent audio spam 2024-07-03 01:06:01 -04:00
Elijah R f9307278c6 FUCK x3 2024-07-02 23:47:30 -04:00
Elijah R c7963631cb working chat and TTS 2024-07-02 23:43:27 -04:00
Lily Tsuru c3c0d33e5b msagent.js: add wordballoon code
also initalize msagent.js inside of the webapp
2024-07-02 23:04:45 -04:00
Elijah R 0c7fece5b6 switch webapp to using 98.css 2024-07-02 21:42:58 -04:00