Commit Graph
3583 Commits
Author SHA1 Message Date
Brandon Thomas 85f27e603f Move migrations directories to sort first, needs PATCHED diesel-cli 2022-01-16 11:07:59 -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 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 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 eb028fe561 Filter out deleted category assignments 2022-01-07 02:59:29 -05:00
Brandon Thomas 14159a26a6 also sort the tts models 2022-01-05 02:08:00 -05:00
Brandon Thomas 963c5f7c32 natural+lexographic sort of category dropdown names 2022-01-05 02:04:55 -05:00
Brandon Thomas 62d894b826 Add deleted_at and other timestamps so it resembles other endpoints
It's not too bloated (# categories is tractable), and we need these for
endpoint uniformity
2022-01-03 05:54:47 -05:00
Brandon Thomas 684603eebd Fix OBS builds 2022-01-03 01:56:52 -05:00
Brandon Thomas ad722ed505 show/hide categories with tri-state query params 2022-01-02 01:00:42 -05:00
Brandon Thomas d2f6fb5c3d make "delete category" a mod handler 2022-01-01 23:47:12 -05:00
Brandon Thomas a050c4d2de additional filtering on models 2021-12-31 06:25:26 -05:00
Brandon Thomas 7a83a51ca3 Fix bug with removing categories 2021-12-31 05:21:53 -05:00
Brandon Thomas f97cdc1ae5 tree integrity checks 2021-12-31 05:11:07 -05:00
Brandon Thomas 60cb078cd3 comment 2021-12-31 03:55:53 -05:00
Brandon Thomas c15f694a1d forgot a GET endpoint for single categories 2021-12-31 02:48:42 -05:00
Brandon Thomas 9f508aedbe Category assignment flag check 2021-12-31 02:05:33 -05:00
Brandon Thomas db7f5d20fe additional create category bool 2021-12-30 19:37:50 -05:00
Brandon Thomas 4777ca25fa Move edit category to moderation, add list handler 2021-12-30 02:49:42 -05:00
Brandon Thomas 8138766583 Endpoint to list categories for model (not working?) 2021-12-30 02:22:26 -05:00
Brandon Thomas adc365cf44 list assigned category query builder 2021-12-30 01:39:36 -05:00
Brandon Thomas 654f826598 add tts categories to model list results 2021-12-29 02:50:50 -05:00