Brandon Thomas
e1793d71b5
enqueue voice conversion request handler, media synthetic ids, ...
2023-01-11 00:33:40 -05:00
Brandon Thomas
5b20710f96
Upload file to GCS bucket
2023-01-11 00:33:40 -05:00
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
16a2e765ca
Handle video formats, too
2023-01-11 00:33:40 -05:00
Brandon Thomas
ee7626602a
Calculate duration for audio files without metadata
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
7f51ccd01b
file size bytes
2023-01-11 00:33:40 -05:00
Brandon Thomas
f2bfcfeb75
audio codec/encoding
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
ff12990b01
sort _types crates at the top
2023-01-11 00:33:40 -05:00
Brandon Thomas
45b7af9bd2
detect upload mimetype
2023-01-11 00:33:39 -05:00
Brandon Thomas
a34aedc375
move sqlx impls to reusable macro
2023-01-11 00:33:39 -05:00
Brandon Thomas
cb1e092ccd
tests on derived Display/Debug
2023-01-11 00:33:39 -05:00
Brandon Thomas
07d13a4ab5
proper case for enum mysql insert
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
32c7354798
Get rid of super legacy CreatorSetVisibility
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
68f2e46540
more tests on enum types
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
c2f4c2c057
Fix hifigan (softvc) model check
2023-01-11 00:33:39 -05:00
Brandon Thomas
51350e6e5c
default parameters for local download job
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
13d00f6edf
partially handle softvc model downloads
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
91ac868369
new download types
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
1de10d1b9f
Move all service/web/job projects into grouped subdirectories by type
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
4196a6499b
fix download url check
2022-12-19 19:14:19 -05:00
Brandon Thomas
2cf07c1346
Block uploads of invalid video urls for w2l
2022-12-19 18:02:30 -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
1b60427ab0
Add UserToken-specific tests so we have a backup in case the macro fails
2022-12-13 18:05:35 -05:00
Brandon Thomas
75ede876d5
More tests
2022-12-13 17:46:46 -05:00
Brandon Thomas
086980318c
use enum variants for prefixes
2022-12-13 17:08:12 -05:00
Brandon Thomas
c4ca48f399
prefix registry
2022-12-13 16:50:23 -05:00
Brandon Thomas
ad88800b4e
enum variants to control character set
2022-12-13 15:43:19 -05:00
Brandon Thomas
64e3864140
Macro-defined tests "kind of" work.
2022-12-13 15:32:23 -05:00