Commit Graph

2286 Commits

Author SHA1 Message Date
Calvin Montgomery ed811db6ec Integrate ACP with GlobalBanDB class 2017-06-05 22:53:35 -07:00
Calvin Montgomery b80a87ba01 Add integration test for global bans 2017-06-05 22:45:14 -07:00
Calvin Montgomery 8ad9b4e543 Remove redundant template local 2017-06-05 18:57:04 -07:00
Calvin Montgomery 58c65a5bac Use host header instead of req.host which is actually req.hostname 2017-06-05 18:53:36 -07:00
Calvin Montgomery 830486bc4f Fix channel registration error due to extra knex query param 2017-06-05 18:46:41 -07:00
Calvin Montgomery 07c801a12d Merge pull request #674 from Xaekai/channel.registration
Touch up validations on account pages
2017-06-05 18:40:50 -07:00
Xaekai 699aa2abe1 Finish validation touchup 2017-06-05 00:06:15 -07:00
Xaekai d42de93d74 Round 2. 2017-06-04 22:16:40 -07:00
Xaekai 668477d711 Nice is subjective. 2017-06-04 22:04:39 -07:00
Xaekai 8769ca1dd9 Basic validation of channel IDs on the registration page 2017-06-04 19:03:42 -07: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
Calvin Montgomery 8e74b0c765 Tweak setting description for playlist_max_ruation_per_user 2017-04-29 16:50:56 -07:00
Calvin Montgomery fac94d46a6 Bugfix: stringify first parameter to Logger.xxx() 2017-04-27 21:06:16 -07:00
Calvin Montgomery 5b58c30011 Fix TypeError 2017-04-24 22:31:51 -07:00
Calvin Montgomery ef9c744003 Use HTTPS in formatURL 2017-04-11 21:57:05 -07:00
Calvin Montgomery 8d40c87dda Deprecate jwplayer and googleplus videos 2017-04-11 21:55:31 -07:00
Calvin Montgomery 25c663c110 Fix node deprecation warning about calling fs.writeFile without cb 2017-04-04 23:12:02 -07:00
Calvin Montgomery 8306d2d1b6 Refactor logging 2017-04-04 23:02:31 -07:00
Calvin Montgomery b1a328d2e0 Implement max total video time per user 2017-04-03 21:18:40 -07:00