Commit Graph

246 Commits

Author SHA1 Message Date
0607fac724 Merge pull request 'WebRTC iPad Testing' (#36) from ipad-testing into master
Reviewed-on: #36
2023-09-01 00:24:07 +00:00
f3a917ec04 Code cleanup 2023-08-31 17:18:18 -07:00
81a4d0cd0c Merge branch 'master' into ipad-testing 2023-08-31 16:34:28 -07:00
230098f949 Walk of shame for promoting spammy links in chat 2023-08-30 18:14:59 -07:00
28d4768406 WebRTC iPad Testing 2023-08-30 23:28:37 +00:00
0acb729175 Update admin icon from gavel to peace 2023-08-30 13:31:21 -07:00
dc9260c8e6 Restore presence messages for non-join, non-leave 2023-08-29 19:57:12 -07:00
4cbc919793 Small tweaks 2023-08-29 16:44:54 -07:00
fd82a463f3 Deadlock detection, DND, and Frontend Fixes
* Deadlock detection: the chatbot handlers will spin off a background goroutine
  to ping DMs at itself and test for responsiveness. If the echoes don't return
  for a minute, issue a /api/shutdown command to the HTTP server to force a
  reboot.
* New admin API endpoint: /api/shutdown, equivalent to the operator '/shutdown'
  command sent in chat. Requires your AdminAPIKey to call it. Used by the chatbot
  as part of deadlock detection.
* Adjust some uses of mutexes to hopefully mitigate deadlocks a bit.
* Do Not Disturb: if users opt to "Ignore unsolicited DMs" they will set a DND
  status on the server which will grey-out their DM icon for other chatters.
* Bring back an option for ChatServer to notify you when somebody begins watching
  your camera (on by default).
* Automatically focus the message entry box when changing channels.
* Lower webcam resolution hints to 480p to test performance implications.
2023-08-29 15:54:40 -07:00
59fc04b99e Reduce Notification Spam; Unsolicited DMs Option; New SFX
* New "Misc" tab added to the Settings modal with options to reduce spam
  and improve privacy.
    * Opt in (or out) for public channel join/leave presence
      notifications
    * New option to auto-ignore unsolicited DMs
* New sound effects for Watched and Unwatched (your camera)
    * Reduces spam so ChatServer doesn't need to tell you every time
      somebody opens your camera.
* New spinner icon when opening someone else's camera.
    * If their cam takes a while to appear, the video button shows a
      spinner icon as feedback so we avoid ChatClient spam giving you
      acknowledgement of the cam trying to open.
2023-08-28 22:46:40 -07:00
c4f90fadd2 Message padding fix 2023-08-20 21:13:46 -07:00
8e25145bec New status options: Studying and Gaming 2023-08-19 11:16:20 -07:00
2aea41537b Store preferred webcam device names the user selected
* In case the user has remembered their camera/mic permission and the
  Share Webcam button is able to list their devices before they go on
  video the first time, we can (try to) select their favorite devices
  (by name) that they used the last time they were on.
2023-08-18 18:54:45 -07:00
13fe6eccb7 Chatbot auto-greet cooldown tweaks 2023-08-17 22:33:01 -07:00
fd4761288a Bugfix for device picker on Firefox for Android 2023-08-17 19:36:33 -07:00
802f4d744c Attempt to show webcam devices before initial broadcast 2023-08-17 19:15:26 -07:00
664eeaa068 Refresh video devices on demand 2023-08-17 18:45:43 -07:00
0a4fa00087 Mouseover tooltips for message buttons 2023-08-16 22:42:51 -07:00
42fa0e0e7a Change the default image handler to collapse 2023-08-16 22:40:17 -07:00
74aa9527cc UX improvement for send message button 2023-08-16 22:26:02 -07:00
89f3937da8 Don't use the CaseSensitive RiveScript option 2023-08-15 20:49:04 -07:00
2b9b23f37a Update to RiveScript 0.4.0 2023-08-15 20:40:58 -07:00
9cbf9e664d Setting to collapse image shares by default 2023-08-14 19:59:35 -07:00
af35ac9ed6 Chatbot improvements 2023-08-14 19:08:40 -07:00
591775a34d Fix tooltip for emojis 2023-08-13 23:09:11 -07:00
b5429226d6 A muted admin user can still DM you 2023-08-13 22:59:35 -07:00
a1aedea2f4 Case insensitive at-mention for the chatbot 2023-08-13 22:21:29 -07:00
9c8ff88f6e Update chatbot program
* New object macros: dm, takeback, report
* Bugfixes
2023-08-13 20:45:53 -07:00
9c05af2c2e BareBot Chatbot Client 2023-08-13 19:21:27 -07:00
2cfabaf251 Don't show report button on own messages 2023-08-12 23:39:51 -07:00
58ca6a818a CSS class fix 2023-08-12 23:11:16 -07:00
bb8fa33493 Some fixes 2023-08-12 23:09:46 -07:00
29cb7c5cc9 Fix emoji popup 2023-08-12 22:42:04 -07:00
0bcdc646cd Update wording on report reasons 2023-08-12 22:07:11 -07:00
59a611b05a Update README 2023-08-12 22:04:24 -07:00
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
e7e1fc3d5b CSS fix 2023-08-11 18:59:41 -07:00
f7f188dde9 Flexbox CSS fixes for video panel 2023-08-11 18:52:24 -07:00
f8a1bed564 More status options and fixes 2023-08-11 18:37:33 -07:00
51905734e7 Bugfix on unMutualVideo on who list update 2023-08-11 18:02:29 -07:00
63889b6c6a Option to auto-mute your video by default 2023-08-11 17:11:32 -07:00
4ee6c106d2 Add live camera settings to the chat settings modal 2023-08-11 16:51:17 -07:00
ef496b5642 Update messaging on /nsfw command 2023-08-11 16:32:47 -07:00
69abf26e80 New status options + Tweak freeze video timeout 2023-08-10 20:01:38 -07:00
26a5b3549a No longer permit temporary unmutes if you blocked them via CachedBlocklist 2023-08-09 20:49:41 -07:00
6572ee2059 Always reset freeze detection on closeVideo 2023-08-08 19:09:49 -07:00
0e79788e0f Fix the camera open debounce logic 2023-08-08 17:55:22 -07:00
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
37360211e7 Shorten the open webcam confirmation message 2023-08-06 21:53:52 -07:00
a6866bd129 Order the Who List by Logged-in Time 2023-08-06 21:06:27 -07:00