Commit Graph

64 Commits (05eb852bb99e173d1a71f3ac7b94f0a3f1b8847f)

Author SHA1 Message Date
Noah 05eb852bb9 Webhooks and Report Users
* Added support for Webhooks and you can configure a Report Message hook
  to let users report messages on chat.
* Add /reconfigure command to dynamically reload the server
  settings.toml
* TODO: documentation for the webhooks.
2023-08-12 21:35:41 -07:00
Noah f7f188dde9 Flexbox CSS fixes for video panel 2023-08-11 18:52:24 -07:00
Noah f8a1bed564 More status options and fixes 2023-08-11 18:37:33 -07:00
Noah 51905734e7 Bugfix on unMutualVideo on who list update 2023-08-11 18:02:29 -07:00
Noah 63889b6c6a Option to auto-mute your video by default 2023-08-11 17:11:32 -07:00
Noah 4ee6c106d2 Add live camera settings to the chat settings modal 2023-08-11 16:51:17 -07:00
Noah 69abf26e80 New status options + Tweak freeze video timeout 2023-08-10 20:01:38 -07:00
Noah b3d4b375ed Video freeze detection + Other tweaks
* Color code usernames on video windows to be blue or red depending on
  their local cam explicit setting
* Attempt to detect freezes on RTCPeerConnection videos by registering a
  video onmute handler. If a freeze is detected, show a cyan mountain
  icon by their name. Clicking the icon will re-connect their video.
* Update the video buttons on the Who List to always re-connect video
  instead of toggling it opened and closed. The X buttons on videos are
  now how you close a video.
2023-08-08 17:51:52 -07:00
Noah a6866bd129 Order the Who List by Logged-in Time 2023-08-06 21:06:27 -07:00
Noah 52b1271591 Emojis and gender flags for users 2023-08-05 19:38:04 -07:00
Noah 4fbf3e7d75 CSS fix 2023-08-05 12:16:15 -07:00
Noah f59a1a6759 Ordering options for the Who List 2023-08-05 12:15:16 -07:00
Noah 029f25029d Cached Blocklist from your website
* New API endpoint: /api/blocklist where your site can pre-deliver muted
  username lists for users before they enter the chat.
* Image sharing in DMs is allowed if either party is an operator.
2023-07-30 10:32:08 -07:00
Noah f3517bec87 No pictures shared over chat DMs 2023-07-27 22:29:56 -07:00
Noah fbae93d4f9 DMs disclaimer banner 2023-07-27 20:40:16 -07:00
Noah d80f67dd1e Increase idle threshold to 5 minutes 2023-07-23 15:49:04 -07:00
Noah e111899404 Spit and polish
* Add a scrollback buffer option to the chat Settings to trim room history
  so your browser can manage its memory usage
* Update the wording that ChatServer sends to users when the /nsfw command
  has been used on them
* Fix the ordering of active DMs for Chromium browsers so the most recently
  updated DM thread moves to the top of the list
* Show an indicator on videos whether the person you watch also watches
  you back
* Fix the "X" button on the photo modal not functioning correctly
2023-07-22 18:30:45 -07:00
Noah 75c7511410 Kick off conflicting usernames + Frontend mobile fixes
* When JWT tokens are used to join the chat and the username conflicts:
  instead of renaming the new user to add a "2" it will disconnect the
  original login (sending a message that they have signed in somewhere
  else and are logged out now)
* When disconnected the text entry box will be greyed out.
* Improvements for the mobile user experience: if you're viewing the
  chat history panel and have unread messages or DMs, a number indicator
  appears on the channels button. It is grey for public channel messages
  or red if any of them are DMs
* Fix the emoji picker drop-down on the first messages of a DM thread
2023-07-17 20:38:07 -07:00
Noah 55b17f62c4 Add device picker for webcams and microphones to the settings modal 2023-07-09 12:33:02 -07:00
Noah 3a334a8d68 Remove alt text on avatars in case of broken images 2023-07-08 10:52:12 -07:00
Noah b6881919ff Take back emojis and other small tweaks 2023-07-01 11:39:08 -07:00
Noah 0612f76979 Can click an emoji to upvote it 2023-06-30 21:55:08 -07:00
Noah f985b0cf2b New emojis 2023-06-30 21:48:09 -07:00
Noah 5f4b14ecc4 Emoji reactions 2023-06-30 20:00:21 -07:00
Noah 2445d45d3f Video Status Bitflags + Improvements
* Consolidate all the Video flags (active, nsfw, mutual, mutualOpen)
  into a bitmask flag (single integer)
* New video flag for when the source has muted their video, to show a
  crossed out grey mic on their camera for other chatters
* Bugfixes around syncing the mute state for self and other videos when
  videos are opened, closed and opened again
* Profile pictures on the DMs list
2023-06-30 18:42:40 -07:00
Noah b19a4821e4 Message Takebacks 2023-06-24 13:08:15 -07:00
Noah a797bc45da Spit and polish
* Add a distinctly colored title and background for DM threads apart
  from the public channels
* On the Who List, the profile picture is clickable to open profile
  links
* Fix auto-scrolling issues: it won't autoscroll if the new message was
  in a different channel, and when toggling between channels always
  scroll back to the bottom of that channel
2023-06-24 11:12:02 -07:00
Noah 2da08aa67a You can not open the camera of someone you have muted 2023-06-14 21:06:57 -07:00
Noah b767620699 Tweak unmute user UX 2023-06-14 20:45:54 -07:00
Noah 4be18ea3a2 Add TURN server support 2023-06-13 21:57:31 -07:00
Noah 92f1e7ba04 Show user display name on join events 2023-06-12 18:16:27 -07:00
Noah 50d7aea39d Chat style updates 2023-06-11 20:33:26 -07:00
Noah 58264515f9 Pop-out draggable video support 2023-04-19 22:00:31 -07:00
Noah d6860160f4 Padding fix for message UI 2023-04-18 22:34:45 -07:00
Noah 219413ae6d Display names and WIP multiple camera support 2023-04-18 22:18:12 -07:00
Noah 45ab63cfba Remember video mutality prefs on localStorage 2023-03-31 20:25:53 -07:00
Noah 4f61b8dc1c Slashed out video icon if mutual and you can't follow 2023-03-31 20:12:20 -07:00
Noah 4a2fc9c923 Sort the WhoList + Mutual Video options
* The who list now sorts alphabetically instead of random
* New user controls when they share video:
  * Require users to also be sharing before they open ours
  * We auto-open a viewer's video when they open ours
2023-03-31 19:46:42 -07:00
Noah dd9f4b4dd4 Bugfixes with user status 2023-03-28 18:34:50 -07:00
Noah e69449124e Chat status updates 2023-03-28 18:09:13 -07:00
Noah 3560e63096 User status and idle detection 2023-03-27 21:13:04 -07:00
Noah b3551cbe9a Font size options 2023-03-24 22:10:44 -07:00
Noah ea4c597cbd Auto-scroll checkbox 2023-03-24 21:56:40 -07:00
Noah 6a2657ad49 Minor style fix 2023-03-22 20:27:32 -07:00
Noah 4d842247e6 Minor style fix 2023-03-22 20:26:42 -07:00
Noah c5c8d08c7a Boot and Mute
* Users can now boot viewers off their camera. From the viewer's POV the
  booter has just turned off their camera and it will remain "off" for
  the remainder of the booter's session.
* Users can now mute one another: if you mute a user, you will no longer
  see that user's messages or DMs; and the muted user will never see
  your video as being active (like a boot but revokable if you unmute
  later).
2023-03-22 20:21:04 -07:00
Noah 08b8435448 Style fix 2023-03-21 21:59:02 -07:00
Noah d819a1181d Photo sharing support 2023-03-21 21:29:24 -07:00
Noah 368902e801 Draggable resizable video panels 2023-03-13 21:31:34 -07:00
Noah 5f2456103b Style fix for videos: wrap, not scroll 2023-02-28 15:32:14 -08:00