Commit Graph

24 Commits

Author SHA1 Message Date
Ennea 0023988ada chat2web frontend: fortify autoscroll code
so that it hopefully works across all devices.. scrolling needs another
look or ten in the javascript spec, seriously
2024-08-28 17:22:13 +02:00
Ennea d309030def chat2web frontend: wrap JSON.parse()s in try-catch blocks 2024-08-28 16:37:26 +02:00
Ennea d10d37011f chat2web frontend: several small adjustments, fixes, refactor
* moving the frontend gfd code into its own file
* refactoring the rest of the js code
* new "more messages"/scroll indicator
* autoscroll fixes in both javascript and css
* adjustments to mobile layout to use space more effectively
* make sure view keeps being scrolled to bottom on viewport changes
  (mobile keyboard show/hide)
2024-08-28 16:27:16 +02:00
Infi 2ababa82b0 - Implement better start/stop for the webinterface
- Save session tokens between startups
2024-08-28 14:09:09 +02:00
Infi 579d405621 Use JSON for POST responses 2024-08-28 12:52:23 +02:00
Infi 7b96b52217 Use QueryParser for redirect and expose method for new clients 2024-08-28 12:42:01 +02:00
Infi 2d7d1c9615 Switch to HTML encoded strings 2024-08-27 18:13:02 +02:00
Infi 0482f20fdf Support URI payloads 2024-08-27 17:26:34 +02:00
Infi 3da41c86fc End SSE connection successfully no matter the cause 2024-08-27 17:11:16 +02:00
Infi 3dedc315ca Add SSE disconnect logic 2024-08-27 16:40:36 +02:00
Infi 1c60556cc8 switch to chat.html 2024-08-26 22:42:35 +02:00
Infi 7ee4151973 test 2024-08-26 22:41:50 +02:00
Ennea 769d34befd disable inter's on-by-default ligatures, redo icon/emote CSS
also:
* proper styling for auth page
* clean-up of html, css, js
* fix scroll indicator eating mouse events
* fix scroll indicator on (mobile?) chrome
* re-calculate timestamp width on each new message, to account for
  unknown/unexpected formats like the inclusion of AM/PM
2024-08-26 22:21:04 +02:00
Infi abde7447be use short path 2024-08-26 17:59:08 +02:00
Infi f97da5d3fd Fix rate limit not applying correctly 2024-08-26 00:15:00 +02:00
Infi f6ea2c0dd3 Adjust emote size and implement load delay 2024-08-26 00:10:56 +02:00
Infi bb3e1fd98b Add bulk message sending 2024-08-25 23:35:57 +02:00
Infi d0802a8d7a implement route for channel switching and use json for received data 2024-08-25 17:06:00 +02:00
Infi 1d7153fc50 Redo the auth system and implement rate limits 2024-08-25 15:37:13 +02:00
Infi 19f10b09c8 Implement dynamic channel list 2024-08-25 01:03:02 +02:00
Infi 29e3c6acee Redo the message protocols to work with SSE data directly 2024-08-24 19:52:53 +02:00
Infi c7a52e8edb More cleanup for events 2024-08-24 17:00:54 +02:00
Infi c9be7c9c2c Move to SSE from websocket 2024-08-24 16:49:56 +02:00
Infi 5e93732183 Add pre-testing version of the webinterface 2024-08-24 03:05:33 +02:00