Commit Graph
90 Commits
Author SHA1 Message Date
Brandon Thomas 77e1319b81 'crockford' crate, use crockford entropy for bucket 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 651ed42b64 New 'buckets' crate for cloud storage uploads 2023-01-11 00:33:40 -05:00
Brandon Thomas e870d6f4de rename storage_buckets_common crate -> cloud_storage 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 603a678378 new errors crate, cleanup media duration calculation 2023-01-11 00:33:40 -05:00
Brandon Thomas 1ba3215881 organize media/files crates 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 9aaee506ed hash uploaded file 2023-01-11 00:33:40 -05:00
Brandon Thomas 45b7af9bd2 detect upload mimetype 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
Paul Sajna b7fd9aa8d1 x86_64-unknown-linux-musl compatibility and volume mount 2023-01-10 18:59:01 -08:00
Brandon Thomas 0d3ffd3f3b use DownloadJobToken throughout codebase 2022-12-13 18:26:45 -05:00
Brandon Thomas c4ca48f399 prefix registry 2022-12-13 16:50:23 -05:00
Brandon Thomas 81757870ab Crockford constructor 2022-12-13 02:22:23 -05:00
Brandon Thomas b1d5244620 WIP tokens crate 2022-12-12 22:34:08 -05:00
Brandon Thomas a15324adee CORS separation by environments + tests 2022-12-04 02:40:28 -05:00
Brandon Thomas 6e7c708374 Duplicate tts-inference-job into inference-job 2022-11-27 16:07:29 -05:00
Brandon Thomas 24c9cc2d08 subprocess stuff in its own lib 2022-11-27 03:10:01 -05:00
Brandon Thomas 7f5ccac55c rename generic-download-job -> download-job 2022-11-26 20:41:13 -05:00
Brandon Thomas 9aec48d237 placeholder 2022-11-07 12:47:38 -05:00
Brandon Thomas 2ca477fd8c Better environment-based URL configuration 2022-10-31 00:07:34 -04:00
Brandon Thomas 15c9c1256b Stripe customer portal (subscription cancellation / modification) 2022-10-30 04:57:10 -04:00
Brandon Thomas 009d0eab87 CLI crates
(was building a stripe tool, but need to remember to make DB tools)
2022-10-29 22:20:26 -04:00
Brandon Thomas 4c878e332e upgrade breaking transitive dependency? 2022-10-25 05:13:24 -04:00
Brandon Thomas 5ee51ed8e2 Continued work on product integration 2022-10-25 05:02:52 -04:00
Brandon Thomas 1b40495ef3 Integrate stripe / product crate
Associates internal metadata with stripe subscription and better
composes both systems
2022-10-24 23:02:16 -04:00
Brandon Thomas 8e6c02d1b1 Premium plan definitions 2022-10-23 00:43:53 -04:00
Brandon Thomas ddd29ada80 This appears to fix openssl!? Transitive dep update. 2022-10-21 03:17:00 -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 aec31779b8 store webhook logs 2022-09-17 13:02:10 -04:00
Brandon Thomas f81d40b5bb Make logging less verbose 2022-09-10 05:42:50 -04:00
Brandon Thomas f066658c3c Move in-progress Stripe / billing work to shared component crate 2022-09-10 04:26:24 -04:00
Brandon Thomas 3b3603d7cf How did I forget to include the lock file? ugh. 2022-09-09 01:09:44 -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 273b5f3c4e Move SessionCookieManager to users component 2022-08-29 05:39:00 -04:00
Brandon Thomas 3477cc395b refactor 2022-08-29 04:49:51 -04:00
Brandon Thomas 84c616b6f6 New lib and service crates 2022-08-29 00:28:26 -04:00
Brandon Thomas 70daacf559 Profile endpoint instrumented 2022-08-16 02:26:00 -04:00
Brandon Thomas 8696613477 generic-download-job now running (need to test) 2022-08-09 22:06:36 -04:00
Brandon Thomas 08c05cbcf2 Schema changes, endpoints, routes, queries, etc. 2022-08-09 22:06:36 -04:00
Brandon Thomas f8175d7666 reusable_types, WIP endpoints 2022-08-09 22:06:36 -04:00
Brandon Thomas 463a7479b9 Generic download job, hifigan model downloads 2022-08-09 22:06:36 -04:00
Brandon Thomas bf26f7864f Move last remaining jobs out of storyteller-web and into own crates
- w2l-inference-job
- w2l-download-job

These are now in their own independent crates, which should be easier to
do build caching on.
2022-08-04 04:15:55 -04:00
Brandon Thomas 3ae65f5d11 Add multi-item cache 2022-07-14 19:36:23 -04:00
Brandon Thomas b807adc73d Create "memory_caching" lib crate, start building more tools there 2022-07-14 19:03:22 -04:00
Brandon Thomas f75f55fa22 Use Rust Enum instead 2022-07-06 01:28:08 -04:00
Brandon Thomas 8aaa9dfceb utilities for text pipeline determination 2022-07-05 17:52:08 -04:00