Commit Graph
2257 Commits
Author SHA1 Message Date
Brandon Thomas 1e0847ecdd hypothetical rustfmt rules (not yet applied to codebase) 2021-12-22 03:16:53 -05:00
Brandon Thomas eb11bb5118 Delete and undelete categories 2021-12-22 01:02:11 -05:00
Brandon Thomas 9668a3274e Add new params for mods in create category 2021-12-22 00:30:37 -05:00
Brandon Thomas 42637b2949 Fix create category and test endpoint, add idempotency 2021-12-22 00:12:58 -05:00
Brandon Thomas 9f0763b5ea Run cargo fix to fix imports 2021-12-21 23:48:17 -05:00
Brandon Thomas 7088b8657d category create route 2021-12-21 23:39:37 -05:00
Brandon Thomas 2119cfbe09 add an ip banlist error message 2021-12-21 23:08:10 -05:00
Brandon Thomas 591f3ac2ad organize routes module 2021-12-21 22:52:00 -05:00
Brandon Thomas 5db08c3b83 Move routes to their own file for maintainability 2021-12-21 12:27:51 -05:00
Brandon Thomas 18c3913f8f create category endpoint (no route) 2021-12-21 01:55:32 -05:00
Brandon Thomas bbc268aaef Empty rust modules, change schema to add w2l support 2021-12-20 22:45:14 -05:00
Brandon Thomas 4cb208bad7 Model category tables 2021-12-20 19:37:21 -05:00
Brandon Thomas 69dad0d854 move unused OBS migrations out of the way (for now) 2021-12-20 17:56:17 -05:00
Brandon Thomas 898fe142e9 Uncommitted old OBS code 2021-12-20 17:47:16 -05:00
Brandon Thomas 90950567e2 cors for fakeyou.com 2021-11-18 01:37:30 -05:00
Brandon Thomas 20e0f265c1 read more topics 2021-11-17 01:14:40 -05:00
Brandon Thomas 80db649b9f wip 2021-11-17 01:03:12 -05:00
Brandon Thomas 2514ec3356 wip websocket + twitch pubsub (not working) 2021-11-17 00:36:05 -05:00
Brandon Thomas 885ad53383 websockets basics work, cors fix 2021-11-16 22:56:29 -05:00
Brandon Thomas 39906ae9c2 begin testing websockets 2021-11-16 22:51:06 -05:00
Brandon Thomas fe7b8a8d07 now with refresh token 2021-11-16 20:41:29 -05:00
Brandon Thomas dd8945dc5e Oauth redemption works, but I'm hacking the CSRF 2021-11-16 20:36:22 -05:00
Brandon Thomas d370d13f2d OAuth flow compiles, but has issues 2021-11-16 20:00:16 -05:00
Brandon Thomas 6bf35a8381 oauth enrollment wip 2021-11-16 06:28:57 -05:00
Brandon Thomas 75aa1f81aa redirect oauth endpoint 2021-11-15 02:36:05 -05:00
Brandon Thomas 9b2c0edcc5 Twitch oauth enroll endpoint 2021-11-15 02:28:25 -05:00
Brandon Thomas c7989106b7 Attempt to fix dockerfile 2021-11-15 00:33:57 -05:00
Brandon Thomas 807365bd61 fixup loc.sh 2021-11-15 00:32:24 -05:00
Brandon Thomas 7e5f2b8c10 cleanup bucket client 2021-11-15 00:30:37 -05:00
Brandon Thomas 1e19067113 Repair model/ files that were overwritten for testing 2021-11-15 00:13:25 -05:00
Brandon Thomas 65934b2041 IP polling job works now. Migrated to Tokio runner 2021-11-13 00:46:34 -05:00
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