Commit Graph

3052 Commits

Author SHA1 Message Date
Brandon Thomas 554766bd2a Don't load IP ban sets that are empty 2023-03-18 13:25:14 -04:00
Brandon Thomas 86382bf219 rename files for better sorting 2023-03-18 13:13:54 -04:00
Brandon Thomas 59b1e28a14 unban IP 2023-03-18 13:12:52 -04:00
Brandon Thomas 3f88a741c9 private model logging + fix(?) 2023-03-18 13:06:19 -04:00
Brandon Thomas 2efcba5da6 fix broken path 2023-03-18 13:00:19 -04:00
Brandon Thomas b4718a2f13 block broken python script IP 104.251.211.22 2023-03-18 12:59:19 -04:00
Brandon Thomas efbb0000f3 fix list comment route 2023-03-18 07:02:50 -04:00
Brandon Thomas 0280e6b706 let's not do this table just yet 2023-03-18 05:37:14 -04:00
Brandon Thomas 79d568ee14 codegen db 2023-03-18 04:51:35 -04:00
Brandon Thomas 85630390a0 route bindings, list endpoint 2023-03-18 04:33:53 -04:00
Brandon Thomas 215b727bc1 create comment, delete comment handlers (not tested) 2023-03-18 03:54:30 -04:00
Brandon Thomas e29c0b4c68 edit comment query 2023-03-18 02:13:46 -04:00
Brandon Thomas c81e6af507 fix codegen script 2023-03-18 01:35:40 -04:00
Brandon Thomas 98d30917e5 rename crate 'database_queries' -> 'mysql_queries' because sqlite 2023-03-18 01:19:15 -04:00
Brandon Thomas e62e409857 refactor package directory structure 2023-03-18 01:11:10 -04:00
Brandon Thomas 417137a9a8 deprecate some crates 2023-03-18 01:07:01 -04:00
Brandon Thomas 0da1994f0c 101soundboards user tokens 2023-03-18 00:45:33 -04:00
Brandon Thomas 36d016c3c7 todo 2023-03-17 09:34:58 -04:00
Brandon Thomas b22e978e54 cleanup tts authorization logic 2023-03-17 08:52:04 -04:00
Brandon Thomas c387f47c97 (untested) disallow use of private models unless owner 2023-03-17 08:34:15 -04:00
Brandon Thomas 1a09676327 codegen db 2023-03-17 07:57:50 -04:00
Brandon Thomas e516f85e5f filter out models that are private/hidden 2023-03-17 07:54:57 -04:00
Brandon Thomas e16b86d36e analytics query for non-public tts models 2023-03-17 06:50:06 -04:00
Brandon Thomas 003a86cd31 delete comments 2023-03-17 06:42:04 -04:00
Brandon Thomas ebf48e20be list comments endpoint 2023-03-16 12:21:28 -04:00
Brandon Thomas df2444ddc0 insert comment 2023-03-16 11:09:26 -04:00
Brandon Thomas 6b6a2ceeba codegen 2023-03-16 10:42:46 -04:00
Brandon Thomas 80da0d9649 Add tts result audio path to result endpoint 2023-03-16 10:31:28 -04:00
Brandon Thomas b8fd0486c7 Untested query for inserting audit log items 2023-03-16 10:25:47 -04:00
Brandon Thomas 12ffb2ded1 new token types: comments, audit logs 2023-03-16 09:36:13 -04:00
Brandon Thomas f810256b9c new table enums 2023-03-16 09:28:49 -04:00
Brandon Thomas 461030b681 new tables (WIP) for comments + voice survey 2023-03-16 09:03:56 -04:00
Brandon Thomas a33ff3f060 20 trending english voices 2023-03-16 09:02:43 -04:00
Brandon Thomas 98736324dc 25 trending english voices 2023-03-16 09:01:57 -04:00
Brandon Thomas 89a6f36f1a gitignore for windows 2023-03-13 20:33:31 -04:00
Brandon Thomas ac5bcbdd16 aichatbot: handler for current level 2023-03-13 18:27:25 -04:00
Brandon Thomas 7566c0d71c use strum and default for more maintainable options 2023-03-13 18:20:58 -04:00
Brandon Thomas 0ca007b6e7 add level option for AiChatbotSidecar 2023-03-13 18:09:28 -04:00
Brandon Thomas cbe07e2b3e move test function out of aichatbot-sidecar 2023-03-13 17:50:04 -04:00
Brandon Thomas 495c01c38c
Merge pull request #40 from storytold/bt-cache-session
cache sessions + purge cache on billing, edit profile, etc.
2023-03-12 05:19:28 -04:00
Brandon Thomas ff22319c77 purge session cache with billing endpoints 2023-03-12 05:17:37 -04:00
Brandon Thomas 16f2d5557b clear session cache when user is edited 2023-03-12 04:49:59 -04:00
Brandon Thomas e5cdb84c52 correct cache key 2023-03-12 04:34:50 -04:00
Brandon Thomas 8079be9f7e progress with generics 2023-03-12 04:25:44 -04:00
Brandon Thomas 2821240cc0 generic over executor types 2023-03-12 04:12:22 -04:00
Brandon Thomas ae0522419a this *should* work - need to work on non-pooled version 2023-03-12 03:11:33 -04:00
Brandon Thomas 46bb4274ca work in progress session caching (redis) 2023-03-12 03:00:47 -04:00
Brandon Thomas f2b6dc4349
Merge pull request #39 from storytold/bt-redis-cache-endpoint
Bt redis cache endpoint
2023-03-12 01:25:31 -05:00
Brandon Thomas a395c04265 Delete cache when tts model is edited 2023-03-12 01:24:23 -05:00
Brandon Thomas d3a4613cc9 cleanup closures, fail open to db 2023-03-12 00:04:25 -05:00