* In place of the Help and Settings buttons, add a hamburger menu
dropdown and place the links under there.
* Also in the dropdown is Close All Cameras and Mute All Cameras (if you
have any cams open; the links are hidden if not)
* Also in the dropdown add a Logout button that just links to a new
/logout route in order to unload the page and align with some users'
expectations (not knowing closing out of the chat page was enough to
log out of the room before)
* Bring back "(offline)" indicators when a user is no longer in the
room.
This commit makes an initial port of the front-end over to a proper Vue
CLI application. It seems to work from surface level testing.
Changes made:
* Rename web/static to public/static to place it into the Vue build path
* Notes: web/static/js/BareRTC.js and web/templates/chat.html are now
deprecated
* Rename web/static/js/sounds.js into src/lib/sounds.js making it a
proper JavaScript module with exports.
* Fill out initial src/App.vue by copying and updating
web/templates/chat.html and web/static/js/BareRTC.js into this module.
* 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.
* 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.
* 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.
* 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.
* 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.