Commit graph

2194 commits

Author SHA1 Message Date
David Siaw 23a5578003 make ACP use HTTPS only if it is enabled 2017-06-12 18:15:00 +09:00
David Siaw fb59de1fb0 make it possible to specify mysql host and port 2017-06-12 17:31:38 +09:00
David Siaw 770330ef47 fix port config not affecting listener 2017-06-07 10:28:05 +09:00
David Siaw 472473dafc add parameters 2017-06-07 09:57:43 +09:00
David Siaw fce4a078cf version required 2017-06-02 22:06:24 +09:00
David Siaw 80e0e11031 add docker readme 2017-06-02 22:05:34 +09:00
David Siaw e1e03ac034 add ffmpeg 2017-06-02 20:45:25 +09:00
David Siaw bb634b8f06 add more env vars for completeness 2017-06-02 19:56:09 +09:00
David Siaw 04dbacfcf3 add env var for url 2017-06-02 19:40:47 +09:00
David Siaw 650c0d6ac2 remove all the crap in the database that allows passwordless access 2017-06-02 19:35:37 +09:00
David Siaw ef67d3e27c move db init to end 2017-06-02 18:57:38 +09:00
David Siaw aa50cd2f42 fix up mysql deploy 2017-06-02 18:52:26 +09:00
root 7d3f53b5b2 additions 2017-06-02 09:27:20 +00:00
David Siaw 1f79675e74 add mysql cruft 2017-06-02 16:37:29 +09:00
David Siaw a73812c9cb oopsie daisy 2017-06-02 15:21:16 +09:00
David Siaw 1c7e1c3303 r 2017-06-02 15:20:41 +09:00
David Siaw 75abadbf31 initial commit of dockerfile 2017-06-02 15:19:15 +09:00
David Siaw 58adbfc8e0 Update package.json 2017-06-02 15:01:43 +09:00
Calvin Montgomery d0712d007e Work on refactoring global IP ban database calls 2017-05-31 22:46:15 -07:00
Calvin Montgomery 7fcf31dec6 Merge pull request #671 from calzoneman/knex
The knexening: part 1
2017-05-29 13:16:35 -07:00
Calvin Montgomery 290f802b7c Merge pull request #670 from calzoneman/camo-proxy-chat-images
Support proxying chat images via camo
2017-05-29 10:32:01 -07:00
Calvin Montgomery e02bc46ed2 Add camo example config 2017-05-29 10:24:49 -07:00
Calvin Montgomery 2a694e73af The knexening: part 1 2017-05-28 22:39:27 -07:00
Calvin Montgomery 22a9acfc90 Support proxying chat images via camo
Camo: https://github.com/atmos/camo.  This has a couple advantages over
just allowing images to be dumped as-is:

  - Prevents mixed-content warnings by allowing the server to proxy HTTP
    images to an HTTPS camo instance
  - Protects users' privacy by not exposing their browser directly to
    the image host
  - Allows the camo proxy to intercept and reject bad image sources
    (URLs that are not actually images, gigapixel-sized images likely to
    DoS users' browsers, etc.)

Whitelisting specific domains is supported for cases where the source is
known to be trustworthy.
2017-05-28 19:38:43 -07:00
Calvin Montgomery f968521936 Remove google drive refresh logic
No longer relevant since the video links are retrieved by the
userscript.
2017-05-28 18:35:13 -07:00
Calvin Montgomery e9c519c6e2 Add twitch clip support (#659) 2017-05-27 11:49:43 -07:00
Calvin Montgomery 995ab142e3 Merge pull request #669 from Xaekai/hail.satan
Glory to the dark lord
2017-05-25 21:42:05 -07:00
Xaekai 5163c2acb1 Glory to the dark lord 2017-05-25 08:04:19 -07:00
Calvin Montgomery 97f94dd3ac Merge pull request #667 from Xaekai/acp.users
[ACP] Allow searching users by email.
2017-05-24 19:50:05 -07:00
Xaekai 1d65eb036e Use a more salient variable name.
Use a style thats readable with brevity.
2017-05-24 19:18:47 -07:00
Xaekai 93ef067b8c [ACP] Allow searching users by email. 2017-05-24 04:44:55 -07:00
Calvin Montgomery d23b5278b1 Rename Hitbox -> Smashcast 2017-05-20 16:50:00 -07:00
Calvin Montgomery 55b03d51d7 Fix setOptions for playlist_max_duration_per_user 2017-05-20 16:31:52 -07:00
Calvin Montgomery 02587dbb5c Merge pull request #664 from Xaekai/emote.rename
Emote renaming
2017-05-18 22:02:50 -07:00
Xaekai 9cfd97088e Some validation 2017-05-18 20:12:00 -07:00
Xaekai 8434d20826 Fix minor issues with emote rename 2017-05-17 09:50:47 -07:00
Xaekai 8e3ce4e1c3 Emote renaming
This allow emotes to be renamed in the same fashion the image URLs can be changed.
2017-05-16 10:08:53 -07:00
Calvin Montgomery 5f6176b18c Merge pull request #663 from Xaekai/vidme.parseupdate
Add support for embedded VidMe URLs
2017-05-15 22:01:57 -07:00
Xaekai 929e1b2c69 Add support for embedded VidMe URLs 2017-05-14 19:21:01 -07:00
Calvin Montgomery dd97c244f2 Merge pull request #662 from Xaekai/SignalHandler
Add a simple listener for SIGUSR2 to reload SSL certs
2017-05-14 18:39:50 -07:00
Calvin Montgomery 071170dd90 Merge pull request #661 from Xaekai/ServcmdCert
Add tab completion entry for reloading cert
2017-05-14 18:39:12 -07:00
Calvin Montgomery 35a01b6127 Merge pull request #660 from Xaekai/UstreamURLs
Fix UStream URL Generation
2017-05-14 18:38:33 -07:00
Xaekai 8dae6e66cc Add a simple listener for SIGUSR2 to reload SSL certs 2017-05-14 04:20:58 -07:00
Xaekai c6065dbd95 Add tab completion entry for reloading cert 2017-05-14 04:10:18 -07:00
Xaekai 8b95b9fc41 Fix UStream URL Generation 2017-05-14 04:02:32 -07:00
Calvin Montgomery de309d675e Remove redundant signing logic from IP session cookie 2017-05-01 21:51:11 -07:00
Calvin Montgomery 6bfbbc0c01 Support hot-swapping HTTPS certificates 2017-04-30 17:20:19 -07:00
Calvin Montgomery e92afcb203 Fix error logger to only log if error is non-null 2017-04-30 16:49:23 -07:00
Calvin Montgomery a0af0ccab5 Remove dead/commented-out code 2017-04-29 17:08:43 -07:00
Calvin Montgomery 089ac75e9a Fix DB purge of expired password reset reqs
3 year old bug introduced when refactoring 2.x -> 3.0.
Never worked in the first place.
2017-04-29 17:05:45 -07:00