Commit Graph

175 Commits

Author SHA1 Message Date
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
192d97727b Renamed file since handlers are not just chat only anymore 2019-03-12 01:04:16 -04:00
Zorchenhimer
1a217775ff Fix stream key loading
Somehow I broke this without noticing.  Also, If a stream key is
provided as a command line flag, load it but do not save it to
settings.json.
2019-03-11 23:45:23 -04:00
joeyak
2e17d92cae
Merge pull request #21 from zorchenhimer/wasm
Converted to code to using webassembly

closes #4
2019-03-11 23:32:35 -04:00
joeyak
5544ac817f Converted to code to using webassembly 2019-03-11 23:15:42 -04:00
Zorchenhimer
2879ab2c95 Add stream key and listen address to settings.json
This resolves #14.  If the stream key or address are passed on the
command line, those values take precedence over whatever is in the
settings file.
2019-03-11 23:05:01 -04:00
Zorchenhimer
c0b6b3598c Update readme
Rewrote a bunch of the readme to reflect the current project instead of
the demo streaming server that the streaming code is based on.
2019-03-11 17:10:15 -04:00
Zorchenhimer
a1a7f8aa3b Rework stream key parsing
Instead of using a GET value in the URL, split on the path separators
and use the second element of the path as the key.  This enables
putting the stream key in the appropriate settings in OBS, instead of
appending it to the stream URL manually.
2019-03-11 17:09:12 -04:00
Zorchenhimer
b62b89c13e Fix formatLinks() not working
This broke when moving to the standard library for escaping and
unescaping HTML.  The original escaping code replaced "//" with
"&x2F;&x2F;" while the standard library doesn't.
2019-03-11 15:41:41 -04:00
Zorchenhimer
86ba07b4f7 Write the /help command
This still needs a bunch of work, but this should be OK until the UI is
rewritten.

The command injects a <script> tag to open up a new window.  Mod and
admin commands are only shown to mods and admins (no authentication
happens for this).

Resolves #8 for now.
2019-03-11 12:06:45 -04:00
Zorchenhimer
02400b667c Fix crash when trying to mod nobody
Fixes issue #12
2019-03-10 21:35:24 -04:00
Zorchenhimer
5b75615b90 Fixup the random color code
Don't allow the user to randomize their color if it was previously
changed by an mod.  And don't change to a random color if an incorrect
argument was given for the command.
2019-03-10 21:26:37 -04:00
joeyak
61643f579a Fixed bug where any mod could not change color 2019-03-10 20:47:59 -04:00
joeyak
81f02f6a51 Add debug file to gitignore 2019-03-10 20:47:39 -04:00
joeyak
ae292ccb88 removed unneeded function - escaped server side 2019-03-10 19:13:28 -04:00
joeyak
08dbf73d99 fix ws connection when having the port in the url 2019-03-10 18:45:52 -04:00
joeyak
c60406cb2c Remove sourcemapping since map isnt there
Also fixed a log that was still in the js file
2019-03-10 18:13:53 -04:00
joeyak
ecf64dff8a Cleaning up files and some organization 2019-03-10 16:45:10 -04:00
Zorchenhimer
5cdafe8f42 Add favicon
This was accidentally ignored by the initial .gitignore.
2019-03-10 14:21:03 -04:00
joeyak
fff5d85aa6 updating .gitignore files
Added default golang ignores to main
/static/emotes/.gitingore to keep an empty folder while ignore emotes
2019-03-10 14:11:02 -04:00
joeyak
df6b6da044 Some minor fixes in readme and linting errors 2019-03-10 13:41:06 -04:00
Zorchenhimer
3276295421 Initial commit
So far things work.  Needs lots of improvements.
2019-03-10 11:42:12 -04:00