Commit Graph
790 Commits
Author SHA1 Message Date
Brandon Thomas d83fbb993e got cheer !!! 2022-01-18 00:22:57 -05:00
Brandon Thomas 52785debf7 more pubsub 2022-01-17 23:58:06 -05:00
Brandon Thomas 46b688aa28 more 2022-01-17 23:30:00 -05:00
Brandon Thomas 7a9f747d7d leasing (WIP) 2022-01-17 21:15:05 -05:00
Brandon Thomas 5f66017fb7 more work towards threading, redis messaging 2022-01-17 15:20:05 -05:00
Brandon Thomas ffe86adc60 this threading paradigm should work! 2022-01-16 19:18:41 -05:00
Brandon Thomas 446dd31f81 redis pubsub works! 2022-01-16 18:59:55 -05:00
Brandon Thomas 698c052036 background thread (won't ctrl-c) 2022-01-16 18:42:36 -05:00
Brandon Thomas 76ef8be03f cleanup 2022-01-16 18:31:23 -05:00
Brandon Thomas 4af8aeee5b publish session active events 2022-01-16 18:20:51 -05:00
Brandon Thomas e489d7f245 json test 2022-01-16 17:19:25 -05:00
Brandon Thomas 713fc6bd1c make redis_common lib crate to contain centralized Redis keys, etc. 2022-01-16 17:07:09 -05:00
Brandon Thomas c0e9fe7d0e update dockerfile 2022-01-16 11:09:12 -05:00
Brandon Thomas 85f27e603f Move migrations directories to sort first, needs PATCHED diesel-cli 2022-01-16 11:07:59 -05:00
Brandon Thomas c0833bb69a Docs on Redis schema 2022-01-16 10:42:17 -05:00
Brandon Thomas 277cb36c85 cleanup websocket 2022-01-16 10:14:31 -05:00
Brandon Thomas 37331f685a fix twitch query, add common error library code 2022-01-16 10:06:30 -05:00
Brandon Thomas 8f8a3e44f3 Two Redis indices. Twitch/OBS will be on n=1
This will require updating deployment yamls.
2022-01-15 14:22:37 -05:00
Brandon Thomas 1343ab2de1 move docs to top 2022-01-15 11:40:58 -05:00
Brandon Thomas c4f42cb4f9 update to make username mandatory field 2022-01-15 11:38:40 -05:00
Brandon Thomas c8bfb1f2f0 codegen db 2022-01-12 01:42:53 -05:00
Brandon Thomas 0a27c79ee3 handle more fields 2022-01-12 01:36:42 -05:00
Brandon Thomas 322d957105 persist twitch tokens to db! woo! 2022-01-12 01:27:47 -05:00
Brandon Thomas 38d58cf0c7 WIP: sqlx / actix version mismatch 2022-01-12 00:59:28 -05:00
Brandon Thomas fdaa4a2eef fix queries 2022-01-12 00:17:08 -05:00
Brandon Thomas 405834f2d6 "find" builder (not yet working) 2022-01-12 00:05:26 -05:00
Brandon Thomas ee5d4be0a6 add ip address at creation 2022-01-11 22:23:53 -05:00
Brandon Thomas 86953af7c2 new shared lib crate for db queries, insert into oauth tokens 2022-01-11 22:18:40 -05:00
Brandon Thomas 367595f4e8 work on twitch database table schema 2022-01-11 21:14:51 -05:00
Brandon Thomas 902ae9e5be Split up documentation across multiple files 2022-01-11 20:17:17 -05:00
Brandon Thomas c3e3bf8ef8 this appears to work 2022-01-11 00:43:07 -05:00
Brandon Thomas 95486d659a new design idea: separate job to handle polling 2022-01-11 00:42:00 -05:00
Brandon Thomas f05eb2589a ugh, this is not working 2022-01-10 20:21:00 -05:00
Brandon Thomas 20c5a9578a this compiles! does it work? 2022-01-10 19:06:16 -05:00
Brandon Thomas 40fdb3d2ac WIP (not building) 2022-01-10 18:58:46 -05:00
Brandon Thomas 5907ba7aa6 async blocks 2022-01-10 05:05:50 -05:00
Brandon Thomas fd9cfc159b refactor 2022-01-10 04:39:02 -05:00
Brandon Thomas 22cf399f5c more refactor 2022-01-10 04:24:04 -05:00
Brandon Thomas 7aa33d19b0 refactor 2022-01-10 03:33:23 -05:00
Brandon Thomas d29286a164 simplify - polling client is too much 2022-01-10 03:19:30 -05:00
Brandon Thomas f7bf44f64c proved we can have multiple threads now
Old setup was blocking, must have executed on the same runtime thread

Need a way to prevent people from spinning up multiple threads.
2022-01-10 02:37:25 -05:00
Brandon Thomas d77f723c98 move a few more utilities to common code (tokens, uuids) 2022-01-10 02:33:51 -05:00
Brandon Thomas a6855f5b80 start using container shared lib 2022-01-10 02:12:38 -05:00
Brandon Thomas 380b5d62a3 sort shared library directory tree before app code 2022-01-10 01:52:44 -05:00
Brandon Thomas 8500c2d888 this seems to work ? 2022-01-09 21:32:03 -05:00
Brandon Thomas 6b03fb84c5 OBS WIP 2022-01-09 21:14:15 -05:00
Brandon Thomas cb5a135f68 trying to figure out websocket stuff again 2022-01-09 02:57:20 -05:00
Brandon Thomas e9fd96cd4b OBS 2022-01-09 01:32:26 -05:00
Brandon Thomas aad92d7295 CORS for storyteller.io 2022-01-08 02:43:32 -05:00
Brandon Thomas 00036b0b5d proper setup for local dev + optional ssl 2022-01-07 16:56:49 -05:00