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
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
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
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
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
Brandon Thomas
81757870ab
Crockford constructor
2022-12-13 02:22:23 -05:00
Brandon Thomas
2769a0b3f9
macro to implement common string token methods
2022-12-13 01:27:29 -05:00
Brandon Thomas
89e721e3bc
derive serde traits
2022-12-13 00:20:49 -05:00
Brandon Thomas
353aa4211b
more tests
2022-12-13 00:16:44 -05:00
Brandon Thomas
422e36b405
add tests
2022-12-12 23:54:09 -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
b1d5244620
WIP tokens crate
2022-12-12 22:34:08 -05:00
Brandon Thomas
cc56deb27c
UserBadge moved to reusable_types
2022-12-06 06:39:10 -05:00
Brandon Thomas
a15324adee
CORS separation by environments + tests
2022-12-04 02:40:28 -05:00
Brandon Thomas
fa108a5303
Add more german languages, fix failing test time bomb
2022-12-03 23:25:08 -05:00
Brandon Thomas
11304d77cb
Italian TTS
2022-12-03 17:42:46 -05:00
Brandon Thomas
ba52695f35
root directory option for downloader
2022-12-01 21:52:52 -05:00