Commit Graph

58 Commits

Author SHA1 Message Date
joeyak e5f1598cd0 Add color dropdown
issue #69
2019-03-30 17:01:44 -04:00
joeyak 5aa41cc80c Hide color div when clicking color button
closes #69
2019-03-30 16:08:41 -04:00
joeyak ca72dc28c0 Add autocomplete for emotes
closes #9
2019-03-30 15:23:54 -04:00
Zorchenhimer 8801269969 Fix canceling the Auth popup dialog
Don't try to auth if the user cancels out of the auth popup.
2019-03-30 15:14:30 -04:00
joeyak 237619f57e Make font 12px to better fit words and timestamp 2019-03-30 13:17:27 -04:00
joeyak a2cc5115aa Fix timeout not being set and scrolling not catching up with chat 2019-03-28 22:06:57 -04:00
joeyak b281ebe408 Add remote easter egg 2019-03-28 21:55:28 -04:00
joeyak ee2e92a9a5 Adding timestamps
resolves #66
2019-03-28 20:54:29 -04:00
joeyak 8e4ac4d600 Add color cookies
closes #6
2019-03-28 20:01:48 -04:00
Zorchenhimer 64a6b2943c Fix #70, name change on cancel
Don't send the /nick command if a user clicks on the "nick" button and
cancels out of the prompt.
2019-03-28 15:19:43 -04:00
joeyak 86207ecd48 Added spoilers in chat
If a user clicks the spoiler, it will change color and the background will revert.
closes #62
2019-03-24 23:43:30 -04:00
joeyak 4864669df6 Add color checking and removed autoreconnect
closes issue #44
2019-03-23 15:37:48 -04:00
Zorchenhimer f36a51bf2b Fix clearing the title
If no title is given with the /playing command, clear the title.
2019-03-23 14:53:29 -04:00
joeyak da21234fca Fix formatting of golang template to be consistant. 2019-03-23 08:49:38 -04:00
joeyak a480c51454 Added reconnecting when websocket connection closes or errors
resolves #38
2019-03-22 23:32:52 -04:00
joeyak bdfa75f8bc Added nick button and some cleanup
resolves #55
2019-03-21 23:01:21 -04:00
joeyak 53e103302a Make messages div scroll all the way to the bottom
resolves #18
2019-03-21 21:20:29 -04:00
joeyak d13de4213f Fix chat width 2019-03-21 18:07:48 -04:00
joeyak d3334fd58c Fix broken chat scrolling again 2019-03-21 16:48:59 -04:00
joeyak 0de457d28f Change highlighting to be a box instead of the user color
This allows users with hard to read colors to still see mentions
issue #48
2019-03-21 09:27:14 -04:00
joeyak 53410bea40 Fixing scrollbar showing up again when notify box is mroe than one line 2019-03-20 00:08:08 -04:00
joeyak 1cfa040f7b Added color names as possible arguements for /color
Did some linting fixing too.
Closes #45
2019-03-19 22:56:01 -04:00
joeyak 7ce4c04942 Fixed autocomplete and positioning of suggestions
closes #41
2019-03-19 15:15:11 -04:00
Zorchenhimer 1f217c56a9 Replace favicon with something else
This is an icon that I threw together in a few minutes.  I don't want
my avatar as the favicon for this repository.

Also, the favicon.png has moved to the root directory as it is
something that is meant to be customized along with the settings that
is also in the root.
2019-03-18 11:21:17 -04:00
joeyak e42c7d14cc Minor UI changes
Changed playing div to be outside of hidden and the color to be darker
Make the notifyBox a smaller font to not be as imposing
Changed joinbox to have a better style that matches the rest of the website
2019-03-17 22:35:07 -04:00
Zorchenhimer 0b05a7aea6 Add the /purge command
This is a moderator command that clears chat for everybody.

Resolves #5
2019-03-17 22:30:00 -04:00
joeyak 708056a86e Formatting html files 2019-03-17 17:31:48 -04:00
joeyak 7dca3be538 UI Changes
Changed UI to scale better
Moved info box into a hidden div that shows when the notifyBox is hovered
Added a color button that sends the /color command
Split client.js into separate files that the video and chat call separatly
The reload player button only shows up in chat when there is a video
added references to other code so code complete can work in js files

Fixes #40
2019-03-17 01:55:50 -04:00
Zorchenhimer 7dff29b152 Add user badges
Add badges for admins and mods.  Admins get a red badge, and mods get a
green one.

Normal users do not get a badge.
2019-03-16 18:11:27 -04:00
joeyak 1b8dd76a45 Add help button 2019-03-16 17:59:10 -04:00
joeyak ff1590d972 Added command buttons section
closes #39
2019-03-16 17:57:58 -04:00
Zorchenhimer 224fdd96c8 Don't use different port for websocket
Use the same port for the websocket that is being used for everything
else.
2019-03-16 16:53:22 -04:00
Zorchenhimer d0cd90e7af Properly implement the help popup
Move the help html to a template and populate the lists dynamically.
This also splits out the base HTML stuff (eg, the <html> and <body>
tags) to a base template file.
2019-03-16 16:15:55 -04:00
joeyak c4507cc496 Ignore those evil backspaces 2019-03-16 16:01:54 -04:00
joeyak 30d480d878 Change heartbeat to be send only when in chat 2019-03-16 15:47:48 -04:00
Zorchenhimer e94ceda655 Fix the command response
Respond to commands with the output of the command, not the command
received.  Also, don't use the server message formatting.
2019-03-16 14:37:34 -04:00
joeyak ad4186a279 Added completion on tab for autocompleting name
closes  #7
2019-03-16 11:56:43 -04:00
joeyak 57e1f3863a Added popup box and arrow controls
When typing @ a div will show up with all the chat names that match.
When up or down arrow keys are pressed, the highlight changes.
Tab handling is currently incomplete but the event is prevented.

issue #7
2019-03-16 11:40:39 -04:00
joeyak 7297e01ab5 Add hack css font 2019-03-16 10:10:00 -04:00
Zorchenhimer 28d43a726a Add Mod notice messages
These messages are only sent to mods and admins for certain events:
- User gains mod/admin privileges
- User attempts to gain mod/admin privileges unsuccessfully
- Mod/Admin uses the /sv command
- Mod/Admin uses the /playing command
- Mod unmods themselves
- Mod/Admin mods/unmods a user
- Mod/Admin uses the /reloademotes command
- Mod/Admin uses the /reloadplayer command

A separate message queue is used for these messages, and they are only
sent to clients that are either a mod or an admin.  They are sent
with the same call to ChatRoom.Broadcast(), but after all the normal
messages are sent.

Resolves #3
2019-03-15 16:03:31 -04:00
Zorchenhimer 2517aebe92 Break long words across lines in chat 2019-03-13 15:11:04 -04:00
Zorchenhimer 447768f8dc Fix setPlaying() not clearing
Some div's were moved and renamed, but this function wasn't updated.
2019-03-13 14:56:33 -04:00
joeyak d77078edc3 divs in #messages are removed after set count maxes out. Default is 300
closes #20
2019-03-13 00:02:36 -04:00
joeyak 7f2c17f041 Add minor cleanups 2019-03-12 22:55:35 -04:00
joeyak 7ee1c1ffb8 Changing css to go from floats and widths to css grid
close #11
close #23
2019-03-12 18:16:35 -04:00
Zorchenhimer cc5e5fc4be Fix layout for title and reload player button
These should go below the video player, not above chat.
2019-03-12 12:23:07 -04:00
joeyak b0206a84c2 initPlayer() not being called 2019-03-12 10:33:04 -04:00
joeyak 91b5378c84 Removed unused video.js reference 2019-03-12 10:08:55 -04:00
joeyak 272272e29c Changed index to use templates so chat and video only versions can be made
close #1
2019-03-12 01:58:03 -04:00
joeyak 5544ac817f Converted to code to using webassembly 2019-03-11 23:15:42 -04:00