Commit Graph

83 Commits

Author SHA1 Message Date
Zorchenhimer
8fc3f86135 Add an emote list
It's ugly, but it get's the job done.  This list will need to be
improved a lot (ie, make it searchable and maybe even clickable
emotes?).  This is for #99, but should not be considered fixed yet.
2019-11-29 12:48:17 -05:00
Zorchenhimer
528b29e0ff Make the login links easier to see
Changed the color of the three links under the login box to be easier to
read.  Also removed the underline unless it's being hovered over.
2019-11-29 12:46:53 -05:00
Zorchenhimer
78ecee1395 Fix chat not showing on join
Opacity was set to zero percent and never changed.  This removes the
opacity CSS value.  It looks like opacity was used at one point, but
never fully removed.
2019-11-28 20:01:25 -05:00
joeyak
3ac5af4548 Removed dependency of dennwc\dom\js
This removes the dependency of dennwc\dom\js which allows building with
Go 1.13.
2019-09-22 14:31:04 -04:00
Alastair Bridgewater
42bcead627 Hide suggestion menu explicitly
* On some systems (currently hypothesized to be Firefox with
GTK+ using a system theme that has always-visible scrollbars with
a minimum size on their long axis), the suggestion menu starts off
visible and obscuring the chat message entry area, then moves to
obscuring the chat history area once it has been invoked.  At no
time does it become invisible.

  * Fix, by hiding the suggestion menu by default and explicitly
managing its visibility as it is updated.
2019-09-16 14:17:31 -04:00
joeyak
d153c2b4f0 Fix cookies not staying across browser sessions 2019-05-07 19:42:43 -04:00
Zorchenhimer
0c3850d2f7 Make the pin entry screen not look terrible
Change the color of the message to be readable, and some other
positioning tweaks.
2019-04-13 14:21:53 -04:00
Zorchenhimer
332dfdc9cf Fix connecting to websocket with SSL
Request a secure web socket (wss://) when connecting to the site with
https.  Fixes #61.
2019-04-13 13:47:38 -04:00
joeyak
ad2579d59a Adding some hardening to user joining
Client sends the server a object to join instead of a message
server can send a message to notify the user

closes #57
2019-04-13 13:12:08 -04:00
Zorchenhimer
5819bdb85a Make links in chat readable 2019-04-11 22:46:04 -04:00
Zorchenhimer
81e647c1c8 Handle command errors differently than responses
Make them red.
2019-04-11 22:01:10 -04:00
joeyak
ccecc64763 Add loading files message
closes #72
2019-04-11 21:20:32 -04:00
joeyak
293c818eb2 Remove debug log I left in and fix konami code 2019-04-11 20:00:02 -04:00
joeyak
f8f6a133d5 Fix centering on non-chat items in chat
closes #74
2019-04-11 19:55:43 -04:00
Zorchenhimer
d102d0c5ed Merge remote-tracking branch 'origin/room-access-restrictions'
Merge in the room access restrictions changes into master.  Currently,
only the PIN/Password method is implemented, and it's not all that
secure.  Some more work needs to be done in planning before really
moving forward, but this should be fine for now.

Issue #28 should not be considered finished with this merge.
2019-04-04 10:29:37 -04:00
joeyak
24ba706827 Suggestions div changes
Added scrolling and more than 10 elements in div
if the user changes the current element, the div will scroll with it
added debug div to show the keys
closes #76
2019-03-31 21:17:19 -04:00
joeyak
4758cd68bd Add links to open chat, video, and both separatly
closes #77
2019-03-31 17:25:24 -04:00
joeyak
6923b13af9 Fix layout of playing 2019-03-31 17:11:50 -04:00
joeyak
bea491e1c0 Remove debug log 2019-03-31 15:23:37 -04:00
Zorchenhimer
34d8fbf20c Merge branch 'master' into room-access-restrictions
# Conflicts:
#	main.go
2019-03-30 17:45:39 -04:00
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
Zorchenhimer
4e35418a79 Merge branch 'master' into room-access-restrictions
# Conflicts:
#	common/chatcommands.go
#	main.go
#	settings.go
2019-03-30 16:04:06 -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
Zorchenhimer
857974aef3 Merge branch 'master' into room-access-restrictions
# Conflicts:
#	main.go
#	settings.go
2019-03-26 12:06:25 -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
Zorchenhimer
7448876299 Merge branch 'master' into room-access-restrictions
# Conflicts:
#	chatcommands.go
#	common/chatcommands.go
#	connection.go
#	static/css/site.css
#	static/main.html
2019-03-23 17:03:28 -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
970321b92a Adding example template of access requests and css 2019-03-22 22:38:58 -04:00
Zorchenhimer
82149cda0c Start adding room access restrictions
So far only PIN and Open modes are implemented.  It uses a session
cookie to store the validity of the pin/password.

The "Enter pin" page has some unreadable messages on it right now, but
it kinda works.
2019-03-22 21:39:55 -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