Add irc.js for peering with IRC
Change default to reflect that
Add basic peering.
Implemented:
register/unregister a user
messages
join/part
Not implemented/TODO:
Kill, kick, change nick
It is likely that the web chat will not have full feature parity with clients connecting directly to IRC.
This may cause further problems if the user manages to reconnect before the cleanup script has finished, but the server *shouldn't* start listening until after the script is done.
Increment version I guess, I don't really know how versioning works.
User accounts are now only for streamers, update CLI, API, and config to reflect that.
Fixed a bug with registration in api.ts
Made http port configurable
Added beginnings of socket.io chat server
Possibly more, I took a break in the middle of this commit.
Filled out API for user management
Proper escaping of user input for SQL queries (stream keys aren't user input)
Filled out frontend with profile management, vods, etc.
I don't remember there's probably more, fuck.
Added setup script for database.
Added database.ts to create and manage a pool of connections. Possibly abstracting query logic in the future.
Updated controller to instantiate database.ts.