Commit Graph

193 Commits

Author SHA1 Message Date
f18fce63ce Tweaks to profile cards 2023-10-08 11:24:44 -07:00
7373882abf Profile Modals + Misc Features
* Add profile modal popups and Webhook support to get more detailed user
  info from your website.
* Add "unboot" command, available in the profile modal.
2023-10-07 13:22:41 -07:00
2810169ce9 Volume sliders, fullscreen video, misc tweaks 2023-10-05 18:59:49 -07:00
489f5b6aad Tweak padding and spacing 2023-09-30 15:59:11 -07:00
b363bd3cab Fix content display 2023-09-30 15:52:26 -07:00
dec0f63eca Fix Markdown display in compact mode 2023-09-30 15:47:19 -07:00
85a431c6b5 Lighten DM background color a tad 2023-09-30 15:44:17 -07:00
1d29c6da18 Tweak compact display option 2023-09-30 15:18:55 -07:00
b5d0885c23 Compact-style message display options 2023-09-30 14:53:43 -07:00
15b291826e Make WebSocketSendTimeout configurable 2023-09-30 12:46:45 -07:00
a1b0d2e965 Blocklist improvements + WebSocket timeout tweak 2023-09-30 12:32:09 -07:00
4b971fcf41 Server side filtering 2023-09-29 19:10:34 -07:00
6fda8dca63 Fix go.mod replacement 2023-09-27 01:22:09 +00:00
4b8ae56abd Add JavaScript macro support to the chatbot 2023-09-26 18:20:40 -07:00
810115d20c Update documentation 2023-09-25 17:29:44 -07:00
267cda7989 Tweak chatbot logging for deadlock detection 2023-09-19 17:47:57 -07:00
e600250908 Chatbot Object Macros: NSFW and Send Message 2023-09-16 16:03:54 -07:00
d651f96678 Bugfix with freeze video interval 2023-09-13 22:31:24 -07:00
b7dc4c8df6 Properly cancel frozen video intervals 2023-09-13 21:51:15 -07:00
d01bae9966 Bugfix on booted cams 2023-09-12 20:03:10 -07:00
1acc626819 Update chatbot deadlock watcher 2023-09-10 12:02:34 -07:00
239e80a7cc Fix z-index on message entry emoji menu 2023-09-09 12:12:29 -07:00
56ae9dbe9c Custom emoji group for reaction picker 2023-09-09 11:55:43 -07:00
ff6e36a142 Emoji picker for text entry box too 2023-09-09 11:38:36 -07:00
7999ffc6d9 Lazy load emoji picker component to save on memory 2023-09-09 04:47:49 +00:00
676c183528 Fix find/replace on at mentions 2023-09-08 20:53:32 -07:00
25bbe84a61 Bugfixes on at-mentions and use images on emoji keyboard 2023-09-08 20:43:17 -07:00
f091747380 At-mention popups for chat 2023-09-08 20:27:00 -07:00
3b06676343 Better emoji keyboard 2023-09-08 19:37:39 -07:00
cbfbcd768f Chat Setting Menu + Various Tweaks
* 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.
2023-09-08 18:46:36 -07:00
52dd53240e Another minor undeclared variable fix 2023-09-07 21:20:26 -07:00
5d0515cba6 Minor undeclared variable fix 2023-09-07 21:17:33 -07:00
dbfd45794a More safely parse JSON from localStorage 2023-09-07 21:03:15 -07:00
a2cb32cce2 Fix emoji upvotes and add interactjs 2023-09-07 20:36:47 -07:00
d7226e7f1d Small tweaks 2023-09-07 20:26:06 -07:00
8853f9882b Store sort order and explicit setting to localStorage 2023-09-07 20:05:52 -07:00
d8c92800f3 Fixes for admins, VIP and blocking + Frontend tweaks
Changes to the chat server:
* Blocking will not apply to admin user accounts (operators)
* Users who block an admin will instead mute them, but the admin can
  still DM them if required
* Messages to VIP channels are broadcast to admins even if they are not
  VIPs, e.g. so moderator chatbots can see
* On the Who List: VIP-only cameras to highlight with the VIP background
  color on those buttons
2023-09-07 19:43:03 -07:00
d8cb1c7c11 Refactor more Vue components
Spin out components for:
* MessageBox: draw a chat message in the chat history panel as well as reused
  in the Report Modal.
* WhoListRow: provides a consistent UX for the Who List and Watching tab. On
  the Watching tab, the video button is replaced with the boot from video.

Other changes:
* Move VideoFlag into its own separate ES module.
* Emoji available reactions are moved into MessageBox.
* On WhoListRow: usernames are clickable to also open their profile page.
* On WhoListRow: the Watching tab is now sortable and follows the user's
  sort selection like the Online tab does.
2023-09-07 19:24:26 -07:00
8906e89a51 Refactor some modals and features into components
Move some chat modals into external components:
* LoginModal
* ExplicitOpenModal
* ReportModal
* The Photo Modal was hoisted into the main index.html page, because it is not
  a Vue component and relied on global onclick handlers and the DOM.

Spin off some external JS modules:
* isAppleWebkit moved to lib/browsers.js
* Local Storage management centralized and moved to lib/LocalStorage.js
2023-09-06 23:03:12 -07:00
e728644a77 Port front-end over to Vue CLI (create-vue)
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.
2023-09-06 17:15:02 -07:00
a7342988ba Null exception fix 2023-09-05 14:09:07 -07:00
7ffa6b4dbd More thorough blocking behavior 2023-09-05 13:57:11 -07:00
940f14e2d6 VIP-only chat channels 2023-09-03 12:48:21 -07:00
0174bf7bd8 Some bugfixes with mutual require video 2023-09-03 12:36:15 -07:00
6e2aa517f5 Support for VIP users via JWT Auth 2023-09-03 12:08:23 -07:00
f65f653430 Quick mute all sounds checkbox 2023-09-01 17:11:17 -07:00
3404373a4b Disable autocomplete on the message box 2023-08-31 17:34:40 -07:00
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