Commit Graph

354 Commits

Author SHA1 Message Date
Bertrand Moreau 2e32db2794 Multi-target build
Try to customize the MakeFile in order to be able to build an binary for
any target system.
2020-10-20 00:45:17 +02:00
Nick 932e0ed370
Merge pull request #139 from koloml/master
Mobile styling for combined mode
2020-10-19 18:37:51 -04:00
Konstantin 868f7da3d2
Fixed aspect ratio for video element on mobile 2020-10-20 01:28:34 +04:00
Konstantin ed733b6992
More useful combined mode for small mobile display 2020-09-18 03:15:08 +04:00
Konstantin 25260b213c
Merge pull request #1 from zorchenhimer/master
Updating upstream
2020-09-18 03:01:03 +04:00
Zorchenhimer 4e1e73b385 Update go alt-version link in the readme
The link to the go documentation changed because they reorganized the
page.
2020-09-04 18:58:58 -04:00
Nick fa72c4cf35
Merge pull request #135 from Brosilio/master
Changed settings.go to allow disabling the ratelimits.
2020-08-12 23:11:54 -04:00
brosilio 84f3fc5761 Changed settings.go to allow disabling the ratelimits.
Before, the settings parser would automatically reset the ratelimit
times to the default if you set them to zero. You could get around
this by setting the ratelimits to -1, but then the parser would
immediately set them to zero and write to disk. On next launch,
the parser would read the zeros and then reset the values to
default, so you would have to modify your ratelimits every
launch.
2020-08-09 19:36:22 -04:00
Zorchenhimer fd95fa708f Add MIT license 2020-07-09 18:48:08 -04:00
Nick 1828ee5999
Merge pull request #130 from dunn/doc-commands
readme: document new command-line options
2020-06-25 00:26:20 -04:00
Alex Dunn 4167c995fc readme: document new command-line options 2020-06-24 21:18:43 -07:00
Zorchenhimer 630abfe474 Add option to change the RTMP listen address
A new setting has been added to change the address and port that the
RTMP server listens on.  `RtmpListenAddress` in the settings json and
`-r` on the command line.  Both options use the same format:
`host:port`.
2020-06-12 23:58:45 -04:00
Nick fa206980e7
Merge pull request #126 from dunn/dockerignore
add dockerignore file
2020-06-10 22:59:28 -04:00
Nick f0553d5540
Merge pull request #125 from dunn/docs
readme: document settings.json
2020-06-09 01:59:01 -04:00
Alex Dunn 24bb7f8a5c add dockerignore file 2020-06-08 22:19:09 -07:00
Alex Dunn e8833b16e1 readme: add table of contents 2020-06-08 19:33:48 -07:00
Alex Dunn 43e70eb9af readme: document settings.json 2020-06-08 19:29:50 -07:00
Nick 523f648379
Merge pull request #124 from dunn/emote-grid
emotes: display in grid instead of one per line
2020-06-08 11:00:07 -04:00
Nick 17ce730d65
Merge pull request #123 from dunn/scss
extract inlined css into conditional classes
2020-06-08 10:59:28 -04:00
Alex Dunn 25890d22c7 emotes: display in grid instead of one per line 2020-06-07 14:36:52 -07:00
Alex Dunn d4d513420c extract inlined css into conditional classes 2020-06-06 17:54:37 -07:00
Nick fb32ba7348
Merge pull request #121 from dunn/color-contrast
colors: remove colors that aren't AA accessible
2020-06-05 12:31:28 -04:00
Nick 9595f592bd
Merge pull request #122 from dunn/emote-oauth
emotes: send OAuth secret token to Twitch when fetching emotes
2020-06-05 12:31:05 -04:00
Alex Dunn 391db3f0bf emotes: send OAuth secret token to Twitch when fetching emotes
As of last month, requests made to the Twitch Helix API require an OAuth token
as well as the Client ID: https://discuss.dev.twitch.tv/t/requiring-oauth-for-helix-twitch-api-endpoints/23916
2020-06-04 00:32:01 -07:00
Alex Dunn 086d22a941 colors: remove colors that aren't AA accessible
per https://webaim.org/resources/contrastchecker/
2020-06-03 22:30:45 -07:00
Alex Dunn c8fba1dc5b colors: each on one line 2020-06-03 22:27:15 -07:00
Nick c9e7af72b4
Merge pull request #120 from dunn/lurk
add new setting to suppress join/leave announcements
2020-06-04 00:55:47 -04:00
Alex Dunn 9b85475fe4 add new setting to suppress join/leave announcements 2020-06-03 19:47:57 -07:00
Alex Dunn d28d6e7635 sort settings.json 2020-06-03 19:45:54 -07:00
Nick c91e5f5e1e
Merge pull request #119 from dunn/custom-title
allow customization of <title>
2020-06-03 17:56:52 -04:00
Alex Dunn 677a9fd9cb allow customization of <title> 2020-06-03 12:24:07 -07:00
Clif Gordon de117eb5a9 Prepend @ symbol to names shown in user list, so they highlight
(cherry picked from commit abfeb0c1cf270e90496f42e3545eafd2dc518782)
2020-05-28 16:41:28 -04:00
Nick d759a3d7ab
Merge pull request #115 from voldyman/overlay
Made video muted by default and added overlay to ask the user to unmute
2020-05-13 13:31:14 -04:00
Akshay Shekher 3a5e5f8dbe made overlay background darker 2020-05-13 05:57:08 -07:00
Akshay Shekher 5e5cb2d5b4 updated the mute icon 2020-05-12 20:33:00 -07:00
Akshay Shekher 95c0663684 Made video muted by default and added overlay to ask the user to unmute 2020-05-10 10:51:34 -07:00
Zorchenhimer 16c36ca9bc Don't wrap name highlights with colons
Name suggestions would wrap a name in colons instead of just emotes.  It
looks like this may have still worked fine, but it wasn't the correct
behavior.
2020-04-27 12:50:29 -04:00
Zorchenhimer 94a4f08467 Make suggestions popup insert wrapped emotes
The suggestions popup will now insert wrapped emotes instead of bare
word emotes.  This is so the autocompletion will still work if the
WrappedEmotesOnly setting is set to true.
2020-04-19 12:50:26 -04:00
Zorchenhimer fab56e39ea Rework emote parsing to properly handle wrapped emotes
Reworked the emote parsing to properly handle "wrapped" emotes.  A
wrapped emote is one that is wrapped in colons or square braces (eg,
:Kappa: or [Kappa]).  This allows emotes to be input without a space
between them, like is required with non-wrapped emotes.

A new configuration setting has been added to only allow parsing of
wrapped emotes: "WrappedEmotesOnly".  This defaults to False as to not
break current configurations.

The emote autocompletion will only insert non-wrapped emotes.  Setting
"WrappedEmotesOnly" configuration value to True will not change this.

Lastly, made the bare-word emote parsing a bit cleaner by removing a for
loop in favor of a map lookup with a check.  This should in theory be
more efficient.

This change is in response to #111.  The issue should not be considered
resolved until the autocompletion handles the new setting correctly.
2020-04-19 12:26:27 -04:00
Zorchenhimer ce2150f719 Add ability to set admin password at startup
The -a flag has been added to allow specifying a new admin password on
the command line.  This password will only be used for the current
session and will not be written to the configuration file.  If the
password contains spaces, wrap it in quotes on the command line.  The
quotes should be omitted with the /auth command.

Eg, starting the server with:
    ./MovieNight -a "the admin password"
the auth command in chat would be:
    /auth the admin password
2020-04-18 16:02:41 -04:00
Nick d08eff1bdb
Merge pull request #110 from MichaelThomasMPT/master
Bans was present twice in the example settings.json file.
2020-04-18 15:29:28 -04:00
MichaelThomasMPT 474eeb1153 Bans was present twice in the example settings.json file. 2020-04-11 21:21:11 +08:00
Nick 10c2590677
Merge pull request #107 from nocylah/nocylah-mobile-tweaks
Tweak elements for mobile experience
2020-03-30 20:21:18 -04:00
Nick c85e95ca3f
Merge pull request #108 from nocylah/nocylah-wasm-exec
Use system wasm_exec.js
2020-03-30 20:00:08 -04:00
Louis Jencka 3c55a8a1f3 Use system wasm_exec.js
The wasm_exec.js included in the repo didn't work in go1.14.1 - always
using the local go-provided wasm_exec.js should avoid this problem.
2020-03-29 20:47:42 -06:00
Louis Jencka a399cf38e7 Tweak elements for mobile experience
This commit forces a device-width sized viewport, which makes for a much
more usable chat experience on mobile devices. A chat element min-size
is also removed to avoid screen overflow on mobile devices.
2020-03-29 20:45:51 -06:00
Nick f7f63207c9
Merge pull request #104 from lukasklinger/master
Add Support for Docker
2020-03-22 11:13:14 -04:00
Zorchenhimer 6996621c0e Update Go version in readme
Also added instructions for installing a newer version of Go alongside
the OS version and using that instead.
2020-03-22 11:06:35 -04:00
Lukas c15bf0c9e5 updated README to include instructions for Docker 2020-03-19 13:34:51 +01:00
Lukas 895cb5d58c added docker-compose file 2020-03-19 12:55:17 +01:00