Commit graph

26 commits

Author SHA1 Message Date
Calvin Montgomery cb95aaa4e8 Error on node < 8 2019-03-27 20:33:54 -07:00
Calvin Montgomery c1e78fd4dc Kill process if www/js/player.js is not found at startup 2018-04-05 20:39:49 -07:00
Calvin Montgomery 34eaca7b84 Fix version check in index.js to reject node <v6 2018-03-13 22:36:21 -07:00
Calvin Montgomery 4102d6eaf2 Refactor index.js logic into src/main 2017-08-13 22:16:42 -07:00
Xaekai 8dae6e66cc Add a simple listener for SIGUSR2 to reload SSL certs 2017-05-14 04:20:58 -07:00
Calvin Montgomery 6bfbbc0c01 Support hot-swapping HTTPS certificates 2017-04-30 17:20:19 -07:00
Calvin Montgomery 8306d2d1b6 Refactor logging 2017-04-04 23:02:31 -07:00
Calvin Montgomery f6c201f3ba Add a few safeguards around channel saving 2016-12-20 00:09:24 -08:00
calzoneman da99ea8288 Add node version check to index.js 2016-08-04 19:00:36 -07:00
Xaekai 9655d2635a Minor fixes 2016-07-21 18:17:38 -07:00
Xaekai 670cb97e79 Complete rewrite of the service socket client
Add one more command to the service commandline
2016-07-20 03:22:57 -07:00
Xaekai 9559035118 Add a service socket to enable out of band access to the process commandline 2016-07-16 11:05:32 -07:00
calzoneman 6e772c6837 Add partition map reload 2016-06-08 22:54:16 -07:00
calzoneman b69bd82a72 Add DualClusterClient for live testing phase of backend/frontend split 2016-04-23 19:53:18 -07:00
calzoneman 01004c6a3f Improve require failure message as suggested in #546 2015-12-21 17:34:22 -08:00
calzoneman 50ca141f1d Web refactoring 2015-10-26 22:56:53 -07:00
calzoneman 7f62e14045 index: add explicit error message for missing lib/server.js 2015-10-06 21:25:27 -07:00
calzoneman 0109a87e55 package: build with babel for ES2015 support
* Rename lib/ -> src/
* Add `postinstall` npm target for compiling src files to lib
* Add `build-watch` npm target for development with babel --watch
* Add `lib/` to .gitignore
* Add `source-map-support` module for babel-generated sourcemaps
2015-09-23 19:27:04 -07:00
Calvin Montgomery 4013779750 Remove license banner from index.js (see LICENSE file) 2014-12-31 12:07:43 -05:00
Calvin Montgomery 36c4e41131 Add console command for deleting old channel tables 2014-06-23 22:15:57 -07: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
Calvin Montgomery 4e2c6d486b Add /reload console command, change some internal config 2014-02-26 14:28:24 -06:00
calzoneman 4a2366eb06 Switch config to YAML 2014-01-22 17:11:26 -06:00
calzoneman 521c786cdc Start the long process of making it work again 2014-01-05 19:42:09 -06:00
calzoneman f2c996ebfa major refactoring 2013-10-11 16:31:40 -05:00
calzoneman 542461a533 Refactor out server init to index.js 2013-10-11 15:48:01 -05:00