Commit Graph
165 Commits
Author SHA1 Message Date
Brandon Thomas e1793d71b5 enqueue voice conversion request handler, media synthetic ids, ... 2023-01-11 00:33:40 -05:00
Brandon Thomas 8061880a83 consolidate upload handling, use new bucket paths 2023-01-11 00:33:40 -05:00
Brandon Thomas 533cd5e051 Tests + test data for media uploads 2023-01-11 00:33:40 -05:00
Brandon Thomas c4c5b89118 Calculate audio duration millis 2023-01-11 00:33:40 -05:00
Brandon Thomas 45b7af9bd2 detect upload mimetype 2023-01-11 00:33:39 -05:00
Brandon Thomas 43c890b27c Hack for sqlx to insert enums into varchar, but case still wrong 2023-01-11 00:33:39 -05:00
Brandon Thomas a1510d45b2 Media uploads "working" from frontend. Need to handle file + upload 2023-01-11 00:33:39 -05:00
Brandon Thomas 31bb03d9d3 Sayonara, RecordVisibility 2023-01-11 00:33:39 -05:00
Brandon Thomas 66bb76e60f Goodbye, 'EntityVisibility' 2023-01-11 00:33:39 -05:00
Brandon Thomas d08d3cd543 New 'enums' crate for db "enum-like" fields, composite keys, etc.
This should be useful for:

- Actual enum fields
- Enum-like char/varchar fields
- Composite keys, polymorphic record behavior, etc.

This should also define how these values are returned over the HTTP API
2023-01-11 00:33:39 -05:00
Brandon Thomas e7fc93de86 Mild refactor: tokens, reusable_types under types/ directory 2023-01-11 00:33:39 -05:00
Brandon Thomas deb3671be6 Endpoint for audio uploading 2023-01-11 00:33:39 -05:00
Brandon Thomas 5f598dc516 Fix download-job queries and compile errors 2023-01-11 00:33:39 -05:00
Brandon Thomas 7bcde1e490 queries to handle softvc download (insert) 2023-01-11 00:33:39 -05:00
Brandon Thomas 91695cde00 downloader job: handle softvc hifigan 2023-01-11 00:33:39 -05:00
Brandon Thomas 60af0ea36d enum refactor, whew 2023-01-11 00:33:39 -05:00
Brandon Thomas 02bf8808d0 Web + Job queries for generic_inference_jobs 2023-01-11 00:33:39 -05:00
Brandon Thomas 5e0851eb09 fix session / loyalty plan test; mark legacy tokens deprecated 2022-12-13 18:42:18 -05:00
Brandon Thomas 0d3ffd3f3b use DownloadJobToken throughout codebase 2022-12-13 18:26:45 -05:00
Brandon Thomas 110c7f828f simplify UserToken type as a wrapper type 2022-12-12 23:16:44 -05:00
Brandon Thomas b9e2c87025 use UserToken in an existing flow 2022-12-12 22:44:04 -05:00
Brandon Thomas cc56deb27c UserBadge moved to reusable_types 2022-12-06 06:39:10 -05:00
Brandon Thomas 3d3dec1e23 download job can now handle tacotron (untested) 2022-11-27 04:37:49 -05:00
Brandon Thomas 507f97bef5 note on subscription statuses 2022-11-18 05:27:53 -05:00
Brandon Thomas a3234b3cb4 Add max_decoder_steps / max_duration_seconds to tts job 2022-11-17 21:41:16 -05:00
Brandon Thomas 2d2a0b68ff fix errors from last yolo-commit 2022-11-13 17:37:12 -05:00
Brandon Thomas a211d45f26 on-prem worker stats 2022-11-13 16:42:18 -05:00
Brandon Thomas fb99af8a23 Log failure metadata for TTS inference jobs 2022-11-02 22:51:47 -04:00
Brandon Thomas 5377cca3b1 TTS now has premium features 2022-11-02 04:36:19 -04:00
Brandon Thomas 3efe1afa48 Migrations to change/rename some columns 2022-11-01 23:33:59 -04:00
Brandon Thomas 6b4d0b3ad1 Adding premium info to sessions 2022-11-01 06:39:59 -04:00
Brandon Thomas 23f6e74fd8 ugh, a gross refactor commit 2022-11-01 03:19:08 -04:00
Brandon Thomas 13487a9046 Fix bug with upsert not changing the product key 2022-10-30 05:25:22 -04:00
Brandon Thomas 15c9c1256b Stripe customer portal (subscription cancellation / modification) 2022-10-30 04:57:10 -04:00
Brandon Thomas c8ba2d1863 include price, make adjustments to subscription product/price 2022-09-19 06:30:49 -04:00
Brandon Thomas 6ea1bf3226 handle events with idempotency by ignoring replays 2022-09-19 04:11:35 -04:00
Brandon Thomas 334fc3022e record whether webhook events had actions taken, idempotency flag 2022-09-19 03:54:32 -04:00
Brandon Thomas 3fb26771de subscription interval tracked 2022-09-19 03:35:30 -04:00
Brandon Thomas ba448ccc50 record subscription billing periods, start date 2022-09-19 02:09:35 -04:00
Brandon Thomas fd3081e440 Track status as an enum, don't update at terminal state 2022-09-19 01:36:01 -04:00
Brandon Thomas 66981c4d2c Track subscription status 2022-09-19 00:26:16 -04:00
Brandon Thomas c6a1fc18d6 coalesce nulls 2022-09-19 00:12:21 -04:00
Brandon Thomas afb77393c0 Don't update on create if already existing, make user token optional 2022-09-19 00:02:52 -04:00
Brandon Thomas a2e71d8944 Handle subscription update and create 2022-09-18 23:26:39 -04:00
Brandon Thomas faf689dc09 log more info from webhooks 2022-09-17 13:33:22 -04:00
Brandon Thomas aec31779b8 store webhook logs 2022-09-17 13:02:10 -04:00
Brandon Thomas 4284aeced6 Substantial refactor: pull user system (except mod controls) into crate
This has been tested in storyteller-web to ensure it still works
2022-09-01 23:33:21 -04:00
Brandon Thomas d047fa50a9 Successfully move one "user" endpoint into new package 2022-09-01 17:25:13 -04:00
Brandon Thomas 1da020abd4 Use single connector with list TTS endpoint 2022-08-17 19:41:30 -04:00
Brandon Thomas 68fec1c8da leaderboard endpoint now uses connection pool (granted, not great) 2022-08-16 21:58:24 -04:00