Added a few more stats to keep track of:
- Max users in chat
- Stream start
Also added a `/stats` command to list the user count (current and max),
as well as uptime (sever and stream, separately).
Resolves#85
This is for #32.
This adds a starting framework for loading, caching, and executing
templates on the server and the client. Currently only the server uses
this functionality.
Temp connections were removed to reduce some complexity. Now a
connection is a full client, even before joining chat. A name is
required to be set to join chat and receive messages.
This change also removes the need for UUIDs on connections and clients.
Change the function signature for commands to return a string as well as
an error. Currently, errors are handled no differently than normal
response messages.
Also removed the redundant `/setpin` command.
- Tweaked the build to copy `settings_example.json` to `settings.json` if
it doesn't exist.
- Updated the readme to reflect changes with modules and the Makefile.
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.
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
This reverts commit 13d74faf01, reversing
changes made to ec0c6752bc.
These changes completely broke the RTMP stream. Reverting until I
figure out why.
This should fix#65, although it may be expanded in the future.
Default settings for limits can be changed or disabled in the settings.
Default values:
- Chat: 1 second
- Duplicate chat: 30 seconds
- /nick: 5 minutes
- /auth: 5 seconds
- /color: 1 minute
Creation of the chat Client object has been moved from ChatRoom.Join()
to NewClient(). This function also handles setting the initial name.