Commit Graph
675 Commits
Author SHA1 Message Date
Brandon Thomas 6cb6c83dba clean up dependencies 2021-11-12 23:58:10 -05:00
Brandon Thomas a3bbf7b42c Refactor crate organization. Both server binaries build 2021-11-12 23:51:25 -05:00
Brandon Thomas 23f5051ace cleanup 2021-11-12 23:43:33 -05:00
Brandon Thomas 5ce4bd3b37 Cleanup IP filter 2021-11-12 23:35:43 -05:00
Brandon Thomas 4aa9724d41 BROKEN, BUT - filter works !! Needs cleanup and correct logic 2021-11-12 20:05:54 -05:00
Brandon Thomas 6849e6d051 HOLY SHIT, MIDDLEWARE ORDER MATTERED
https://issueexplorer.com/issue/actix/actix-extras/191
2021-11-12 19:52:00 -05:00
Brandon Thomas 38cc8f31a8 NOT WORKING (but close?) 2021-11-12 19:46:57 -05:00
Brandon Thomas 5c9da5fae5 Middleware not compiling, see:
https://stackoverflow.com/questions/68944823/returning-an-unauthorized-response-in-actix-web-middleware-in-rust
2021-11-12 18:12:13 -05:00
Brandon Thomas f2f39685a9 WIP filter (not working) 2021-11-12 04:36:50 -05:00
Brandon Thomas 2b3fdb87e0 BROKEN: IP filter compiles, but does not block 2021-11-12 03:30:15 -05:00
Brandon Thomas 30c26647da rust-s3 "never-encode-slash" feature seems to do the trick! 2021-11-12 03:01:37 -05:00
Brandon Thomas a26e11a294 BROKEN: OBS gateway now runs on same actix and shared code 2021-11-12 01:14:29 -05:00
Brandon Thomas c40d772ebc MAYBE BROKEN: Full actix/tokio/etc. upgrade on storyteller-web 2021-11-12 01:12:39 -05:00
Brandon Thomas e424297abf WIP 2021-11-12 00:07:17 -05:00
Brandon Thomas aa7c13ad5d BROKEN - rearrange workspace to group libraries 2021-11-11 22:20:39 -05:00
Brandon Thomas c55cc81022 TEMP BROKEN - need to upgrade storyteller-web, I think
The situation with selectively enabling different versions off actix
in a workspace using library features is crazy. It doesn't work,
anyway.
2021-11-11 22:13:53 -05:00
Brandon Thomas aa38f0a71f mostly working for two projects (broke 404 handler, index) 2021-11-09 23:12:04 -05:00
Brandon Thomas d0c156718a fix for obs-gateway (broken for a few commits now) 2021-11-09 23:00:39 -05:00
Brandon Thomas 6c9fc98c68 update docs 2021-11-09 22:18:47 -05:00
Brandon Thomas d209e7fd79 HACK: Multiple versions of actix in support package with features 2021-11-09 22:16:18 -05:00
Brandon Thomas 8a00f37e9e wip using common HTTP utils 2021-11-09 21:13:44 -05:00
Brandon Thomas 7256630d87 http common package versions that work with both apps 2021-11-08 05:02:42 -05:00
Brandon Thomas 5507e3bd6a setup for new oauth endpoints (disabled temporarily) 2021-11-08 04:48:36 -05:00
Brandon Thomas 5ba21a9771 more of the oauth flow, fixing tokio versions 2021-11-08 01:52:38 -05:00
Brandon Thomas 06a327367c versions of tokio/actix work for OBS gateway 2021-11-08 00:57:02 -05:00
Brandon Thomas a727e261d1 Figuring out Tokyo runtimes between projects (ugh...) 2021-11-08 00:19:56 -05:00
Brandon Thomas 5809dd7c40 Share CORS configs 2021-11-07 23:39:54 -05:00
Brandon Thomas 60e0ef5860 Twitch secrets handling, AnyhowResult in common crate, etc. 2021-11-07 23:32:21 -05:00
Brandon Thomas 9b2d2957ca websocket examples 2021-11-07 19:49:35 -05:00
Brandon Thomas 1fed826127 line count statistics fix 2021-11-07 15:39:24 -05:00
Brandon Thomas 18ce4e1c62 Move websocket endpoint to OBS app 2021-11-07 15:36:14 -05:00
Brandon Thomas f049a6f7d0 Make a shared "http server common" package 2021-11-07 15:24:28 -05:00
Brandon Thomas 0c409c6af1 Shared config package 2021-11-07 15:03:42 -05:00
Brandon Thomas f166837083 Fix up dockerfile for image builds 2021-11-07 14:37:13 -05:00
Brandon Thomas 5dd7efa2d5 Massive refactor: Two app packages in a workspace (5 binaries total) 2021-11-07 14:35:34 -05:00
Brandon Thomas e05d519e5a NEW OBS GATEWAY ARC (NOT YET WOKRING) 2021-11-07 14:07:01 -05:00
Brandon Thomas de80284665 util to get http hostname header (turns out I don't need it yet) 2021-09-28 01:09:14 -04:00
Brandon Thomas 5187d25e91 add fakeyou.com to CORS 2021-09-27 17:47:47 -04:00
Brandon Thomas 383a5a99ff tts model cache duration configurable 2021-09-20 01:25:44 -04:00
Brandon Thomas ef8711ab2e codegen 2021-09-20 00:48:36 -04:00
Brandon Thomas 8ec7f0956b TTL cache list of models in memory to de-strain the DB 2021-09-20 00:47:10 -04:00
Brandon Thomas 535f957467 codegen 2021-09-19 20:20:51 -04:00
Brandon Thomas b9e4087e3e mark jobs permanently dead if models are gone 2021-09-19 20:20:06 -04:00
Brandon Thomas 40b35fb642 warn to error level log 2021-09-19 19:33:57 -04:00
Brandon Thomas e3fd377257 codegen db for new endpoint 2021-09-17 02:58:32 -04:00
Brandon Thomas fb320f0338 endpoint to count voices 2021-09-17 02:50:14 -04:00
Brandon Thomas d29990b877 rename endpoint directory 2021-09-17 02:06:53 -04:00
Brandon Thomas d615a05930 Update README.md 2021-09-14 23:57:46 -04:00
Brandon Thomas ef4a25ee6e freaking dockerfile 2021-09-13 06:03:40 -04:00
Brandon Thomas 58af7c52c8 don't spam newrelic 2021-09-13 05:46:18 -04:00