Commit Graph

22 Commits (97b1132ef019124ddaf9e4d6b32f55bf4f3ab1d5)

Author SHA1 Message Date
knotteye 297aeb3d4a Move SIGINT listener to connect function to avoid socket does not exist errors
Add conditional to disconnect peering
2019-11-05 17:48:12 -06:00
knotteye 9076b1817b Add contributors file
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.
2019-11-05 17:22:52 -06:00
knotteye 182b7e2f5f Add help page, change base links. Turn off watch in nunjucks config.
I do not know if that made it master, hopefully not.
2019-11-05 16:30:15 -06:00
knotteye 61bf54de95 Add cleanup script to fix any problems arising from restarting the server mid-stream.
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.
2019-10-22 18:26:00 -05:00
knotteye eba441b624 Add working Socket.IO based chat
Bump version I guess.
2019-10-20 16:09:28 -05:00
knotteye 1afe462c0b Removed old IRC implementation
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.
2019-10-18 18:43:01 -05:00
knotteye fad832fe38 Remove long winded installation guide
Add config guide
Minor changes to default config
2019-10-05 15:11:03 -05:00
knotteye f9e4a7a5c6 I don't even know.
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.
2019-10-05 14:34:57 -05:00
knotteye b0533f973b Added some api functions, an express server for the API and nunjucks
Added nunjucks templates for frontend pages.
2019-09-28 21:44:55 -05:00
knotteye 085dd02148 Changed init functions to be more consistent.
Added setup script and templates for config and database setup.
Fixed typo in tsconfig.
2019-09-26 14:43:24 -05:00
knotteye 5958f8c0ff Moved readme, started documentation. 2019-09-24 18:35:11 -05:00
knotteye 68f9866c16 Added cli for user management, abstracted some database queries into handler functions. 2019-09-24 17:29:37 -05:00
knotteye abcd6787ca Worked out bugs in config and checking if localhost
Added comments to server.ts to improve readability
2019-09-23 15:59:07 -05:00
knotteye 27eafbd71d Added runtime config. 2019-09-23 14:27:01 -05:00
knotteye fcff93c533 Removed executable, added 'npm start' script. 2019-09-22 17:12:49 -05:00
knotteye 935b850bcd Hooked up server.ts to database, it now validates, redirects, and records based on database queries.
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.
2019-09-22 16:33:18 -05:00
knotteye 577612cee5 Moved site dir
Added IRCD logic
2019-09-20 13:02:29 -05:00
knotteye d05c59c896 Added executable
Added controller file to launch other processes
Moved compile dir to build
2019-09-20 11:09:15 -05:00
knotteye 4309da7c39 Added setup script for inspIRCd
Added bot script for registering and unregistering permanent channels
TODO: inspircd config template
2019-09-18 16:46:25 -05:00
knotteye 61d0e0bd0e Add package.json and LICENSE, name the project. 2019-09-15 12:23:09 -05:00
knotteye e128bdcdaa Added skeleton function for recording. 2019-09-14 21:24:05 -05:00
knotteye 5a637ce866 Initial
Added initial setup of ircd and node-media-server
Skeletion function in node-media-server prepublish for authenticating and redirecting streams.
2019-09-11 19:28:17 -05:00