Commit Graph
259 Commits
Author SHA1 Message Date
Brandon Thomas 2b1cf957c7 synthetic ids for w2l 2021-06-13 06:30:28 -04:00
Brandon Thomas 76c2fe446c synthetic IDs for TTS 2021-06-13 06:17:43 -04:00
Brandon Thomas 31effd2ea8 synthetic ids work (but need finishing and cleanup) 2021-06-13 06:11:18 -04:00
Brandon Thomas 5c76623907 redis-based counts for w2l 2021-06-13 03:56:26 -04:00
Brandon Thomas 3d8da4598f add model use counts 2021-06-13 03:39:09 -04:00
Brandon Thomas 323bf9ea8d move bucket utils under ./utils so it's with similar stuff 2021-06-13 03:12:50 -04:00
Brandon Thomas 30dfe649ae configure redis with env var 2021-06-13 03:04:04 -04:00
Brandon Thomas c416069f69 write redis with tts use count (needs connection config) 2021-06-13 02:56:24 -04:00
Brandon Thomas f21bac526c add model title in tts results list 2021-06-13 01:58:12 -04:00
Brandon Thomas b380a3197c fix markdown from containing HTML !!!! also: temporary no-entropy cursors 2021-06-13 01:17:31 -04:00
Brandon Thomas 1a98e10a4f fix 2021-06-12 19:13:40 -04:00
Brandon Thomas 6e4f1225a6 fix endpoint, fix bug, add tests (not tested in browser) 2021-06-11 23:41:35 -04:00
Brandon Thomas 255f54c39a all predicates for W2L pagination (endpoint is no-op temporarily) 2021-06-11 23:27:03 -04:00
Brandon Thomas a2e4098fd6 mod check (manually tested the cursors - they work!) 2021-06-11 22:12:17 -04:00
Brandon Thomas 75df0cda4a cleanup (let's test if it works...) 2021-06-11 22:02:21 -04:00
Brandon Thomas 9aac3beb9c query mechanics in the builder 2021-06-11 21:47:51 -04:00
Brandon Thomas 806339d295 tests for all predicates 2021-06-11 21:33:15 -04:00
Brandon Thomas e7dc15d832 offset predicate 2021-06-11 21:26:14 -04:00
Brandon Thomas 981b2f746a another predicate 2021-06-11 21:23:49 -04:00
Brandon Thomas e7c3db608d wip query builder 2021-06-11 21:10:17 -04:00
Brandon Thomas ea64e212b3 sorting both ways seems to work 2021-06-11 20:49:32 -04:00
Brandon Thomas 76e3f96a86 fix tts dl job 2021-06-11 19:58:23 -04:00
Brandon Thomas 0713de8658 pagination from query string (untested) 2021-06-11 19:18:30 -04:00
Brandon Thomas 50b694f8e6 paginated queries 2021-06-11 18:58:37 -04:00
Brandon Thomas be40729ee8 order by clause (not tested) 2021-06-11 18:45:00 -04:00
Brandon Thomas adf3741d85 wip untested dynamic query builder for tts results 2021-06-11 04:52:03 -04:00
Brandon Thomas c015f431b2 sort key crypto tool added to server 2021-06-11 03:34:56 -04:00
Brandon Thomas 84548abf76 entropy + tests 2021-06-11 03:29:15 -04:00
Brandon Thomas af4c831aaa sort key encrypter (so we don't leak how big our database is) 2021-06-11 03:23:56 -04:00
Brandon Thomas 4fe9305099 set user role handler (untested) 2021-06-11 02:38:20 -04:00
Brandon Thomas d603b832cf add staff list endpoint (untested) 2021-06-11 02:24:55 -04:00
Brandon Thomas 03d8b9ada2 list user roles endpoint (untested) 2021-06-11 00:54:35 -04:00
Brandon Thomas 1a341c5705 move moderation handler files 2021-06-11 00:31:30 -04:00
Brandon Thomas c985269953 list bans endpoint (not tested) 2021-06-11 00:11:21 -04:00
Brandon Thomas 1be0d3b0eb use to_simple_json_error to replace all old, verbose constructions 2021-06-10 23:38:40 -04:00
Brandon Thomas a3cb58e716 delete/undelete ip address ban handler 2021-06-10 23:25:55 -04:00
Brandon Thomas 214f048967 add ip ban handler (untested); stubs for other endpoints 2021-06-10 23:06:46 -04:00
Brandon Thomas 10a84b624e no mod comments on inference results 2021-06-10 22:13:03 -04:00
Brandon Thomas 848233b6fa add mod details editing to w2l templates 2021-06-10 22:01:02 -04:00
Brandon Thomas 544c61b0a8 add one more field 2021-06-10 21:53:27 -04:00
Brandon Thomas fe75726e04 add moderator fields to edit_tts_model endpoint 2021-06-10 21:49:15 -04:00
Brandon Thomas 812f43254c fix code to deal with moderation field renames and deletes 2021-06-10 14:18:14 -04:00
Brandon Thomas 8e633ee5c5 propagate schema changes through to code (all binaries run) not tested 2021-06-10 04:59:42 -04:00
Brandon Thomas bdc6e6d1e9 cleanup get_tts_result endpoint to use shared queries 2021-06-10 02:04:36 -04:00
Brandon Thomas 1496090142 tts inference result delete endpoint (untested) 2021-06-10 01:59:56 -04:00
Brandon Thomas 0a1aa0aeab forbid private types in public 2021-06-10 01:49:18 -04:00
Brandon Thomas 727c57ddaa delete w2l results endpoint (not tested) 2021-06-10 01:45:36 -04:00
Brandon Thomas dfb552abfc prevent locked templates/models from being edited by non-mods 2021-06-10 00:38:22 -04:00
Brandon Thomas 3065f20f9f add endpoint for editing tts models (untested) 2021-06-10 00:29:38 -04:00
Brandon Thomas ec1e280eda new edit w2l endpoint (untested) + http helper functions 2021-06-10 00:11:40 -04:00