Commit Graph

26 Commits

Author SHA1 Message Date
Calvin Montgomery 84579c0d60 Add missing disconnect() in throttle 2015-04-10 12:05:27 -05:00
calzoneman df62ee8d58 Fixes 2015-02-20 18:54:00 -06:00
calzoneman 08a9eae2d3 Change login sessions 2015-02-20 18:53:02 -06:00
Calvin Montgomery cf35c92391 Apparently this happens a lot, don't put it in the logfile 2015-01-06 10:58:15 -05:00
Calvin Montgomery 414cbfdc5d Add more safeguards for socket errors 2015-01-06 10:54:14 -05:00
calzoneman 575b762ba1 Fix kick behavior 2014-10-25 22:49:22 -05:00
calzoneman 4967e46343 Fix socket.io issue; fix ACP announcements 2014-10-24 10:24:02 -05:00
calzoneman 289807535a Typo 2014-10-24 10:24:02 -05:00
calzoneman b4bcb7637b Reject sockets with no IP 2014-10-24 10:24:02 -05:00
calzoneman 50dd0982a4 Fix IP extraction for socket.io 2014-10-24 10:24:02 -05:00
calzoneman 6e0735f3fe Update to socket.io 1.0 2014-10-24 10:23:30 -05:00
calzoneman b3c3ee93ce Hopefully fix an error case
I have no idea why it's possible for sock.handshake to be defined and then undefined
2014-08-21 14:37:40 -05:00
calzoneman 6dfeab9657 Update rest of dependencies 2014-08-19 00:46:30 -05:00
calzoneman c255133a2b Fix wrong argument being passed 2014-08-14 22:02:58 -05:00
calzoneman 8fddbc3e6e Add IP cloaking; make tor bans channel specific 2014-08-14 21:42:13 -05:00
Calvin Montgomery 9ea48f58cf Merge refactoring into 3.0 2014-05-20 19:30:14 -07:00
calzoneman fb0533bd94 Convert server definitions to be more flexible 2014-04-11 00:14:52 -05:00
calzoneman 04dbb3444b Fix a few memory leaks; add /gc console command
3 memory leaks were fixed
  - ipThrottle (due to the periodic cleaner clearing the wrong object...)
  - ipCount (shouldn't have leaked very much, but removing obsolete data is good practice)
  - lastguestlogin (again, shouldn't leak much, but should be cleared periodically anyways)
A new console command (i.e. from the terminal running node) was added: /gc
  - If the process is invoked as node --expose-gc index.js, /gc allows you to manually invoke the garbage collector
2014-04-10 21:54:46 -05:00
calzoneman 324fa6c81a Fix a typo and an undefined variable case 2014-04-08 18:06:37 -05:00
calzoneman 91aaed96fa Add socket.io login handler 2014-02-16 13:27:01 -06:00
calzoneman feabf35714 Work on SIO and SSL 2014-01-22 21:12:43 -06:00
calzoneman 4a2366eb06 Switch config to YAML 2014-01-22 17:11:26 -06:00
calzoneman 9c989f7ed7 Work on chat filters, UI stuff 2014-01-18 20:18:00 -06:00
calzoneman b5a45a25bf Refactor user.js 2014-01-05 19:30:45 -06:00
calzoneman 9d49df6157 Work on user options 2013-12-25 16:18:21 -05:00
calzoneman a14363a845 More refactoring 2013-12-12 17:09:49 -06:00