Commit Graph

1310 Commits

Author SHA1 Message Date
Derrick Hammer 1b394f3ca1
chore: remove usage of buf and rust in docker image 2024-03-30 14:01:01 -04:00
Derrick Hammer 8d98f131d5
refactor: implement native bao support 2024-03-30 13:59:53 -04:00
Derrick Hammer ba67d19299
fix: reset file after seeking 2024-03-29 15:59:01 -04:00
Derrick Hammer d5575fbf4f
fix: unpin needs to return 200, not 201 2024-03-29 14:46:54 -04:00
Derrick Hammer 86669d9f08
dep: update dashboard 2024-03-29 13:22:00 -04:00
Derrick Hammer 818ee60aea
dep: update dashboard 2024-03-29 12:33:39 -04:00
Derrick Hammer d913e0f7b2
fix: seek after mime read 2024-03-29 12:29:57 -04:00
Derrick Hammer 8ccd90825b
fix: wrong error handling 2024-03-29 12:28:46 -04:00
Derrick Hammer 09c9ab8614
refactor: if no db mimetype, manually use mimetype.DetectReader, and if none found fall back to application/octet-stream 2024-03-29 11:56:30 -04:00
Derrick Hammer 8e9d2d0398
refactor: switch to github.com/gabriel-vasile/mimetype 2024-03-29 11:51:58 -04:00
Derrick Hammer aeba225c87
fix: only set the Content-Type header if we actually have a mime type, else let ServeContent detect it. 2024-03-29 00:49:54 -04:00
Derrick Hammer 5ad1aaeb6a
refactor: pass mimetype to tus upload record and check a list of meta fields for it 2024-03-29 00:47:33 -04:00
Derrick Hammer 9d259925f8
dep: update dashboard 2024-03-29 00:19:23 -04:00
Derrick Hammer 277c3ff23f
dep: update dashboard 2024-03-28 23:40:01 -04:00
Derrick Hammer 161d71bfda
dep: update dashboard 2024-03-28 22:53:25 -04:00
Derrick Hammer bb41d70c10
fix: UploadExists check needs to be before UploadCompleted call 2024-03-28 22:35:05 -04:00
Derrick Hammer 82532b01eb
fix: use lock on CompleteUploads 2024-03-28 22:18:45 -04:00
Derrick Hammer 9254dc20c8
fix: use decodedHash.HashBytes() 2024-03-28 21:48:13 -04:00
Derrick Hammer fffe769ccf
fix: use mapKey as a string 2024-03-28 21:47:48 -04:00
Derrick Hammer 775d3f7e6f
fix: bad mapKey typing 2024-03-28 21:42:12 -04:00
Derrick Hammer 0679a7cc3b
refactor: add a sync.Map, and lock parallel uploads in a mutex keyed by the hash and tus upload id, check if it already exists, and if so, abort. 2024-03-28 21:20:44 -04:00
Derrick Hammer 0f1360c6df
dep: update dashboard 2024-03-28 20:41:39 -04:00
Derrick Hammer cb6ba5a24b
fix: remove PinByHash logic 2024-03-28 18:31:40 -04:00
Derrick Hammer d810cf0848
fix: don't error if IsFinal 2024-03-28 18:08:13 -04:00
Derrick Hammer a16390ccc1
refactor: add tus uploads to the pins response 2024-03-28 17:52:01 -04:00
Derrick Hammer a54238d4b6
feat: add TusHandler::Uploads 2024-03-28 17:43:32 -04:00
Derrick Hammer b267ace017
fix: ignore exists check if we are in partial/parallel upload mode 2024-03-28 17:41:17 -04:00
Derrick Hammer 90c8ce39eb
dep: update dashboard 2024-03-28 17:20:17 -04:00
Derrick Hammer 76b8def51d
dep: update dashboard 2024-03-28 16:56:33 -04:00
Derrick Hammer 87477ad559
dep: update dashboard 2024-03-28 16:31:40 -04:00
Derrick Hammer 804f32e2be
dep: update dashboard 2024-03-28 16:20:08 -04:00
Derrick Hammer af5c7dc40d
dep: update dashboard 2024-03-28 15:45:11 -04:00
Derrick Hammer 12caef5f9b
dep: update dashboard 2024-03-28 10:01:45 -04:00
Derrick Hammer d078999108
dep: update portal-sdk 2024-03-28 00:02:35 -04:00
Derrick Hammer 3331f1b1c1
refactor: update progress logic 2024-03-26 23:40:11 -04:00
Derrick Hammer 6a9eede07d
fix: invert check 2024-03-26 23:31:17 -04:00
Derrick Hammer 989ed70265
fix: client does not return ErrBucketNotFound, only the string error 2024-03-26 23:14:50 -04:00
Derrick Hammer d03a781e18
fix: correct checking the download size based on LimitedReader 2024-03-26 22:46:06 -04:00
Derrick Hammer 48da5d3fd4
Revert "chore: temp disable email verification for testing"
This reverts commit f6b28b0ee0.
2024-03-26 20:40:26 -04:00
Derrick Hammer 7ba826490e
dep: update dashboard 2024-03-26 20:33:15 -04:00
Derrick Hammer 0a5e52ec16
refactor: use ErrKeySecurityInvalidToken 2024-03-26 20:26:59 -04:00
Derrick Hammer adc5bc213e
Revert "fix: add error for email verification"
This reverts commit ea5a97c6
2024-03-26 20:24:55 -04:00
Derrick Hammer 501de26793
fix: update error 2024-03-26 20:22:53 -04:00
Derrick Hammer 5a9f4a5940
fix: don't pass db error 2024-03-26 20:21:34 -04:00
Derrick Hammer ea5a97c613
fix: add error for email verification 2024-03-26 20:19:38 -04:00
Derrick Hammer 64eea68a84
fix: if user is already verified, abort 2024-03-26 20:17:41 -04:00
Derrick Hammer 12a9ad28fd
fix: check if email or token is empty 2024-03-26 17:04:16 -04:00
Derrick Hammer 4c2baf164f
fix: bad verify url, remove email query var 2024-03-26 16:49:53 -04:00
Derrick Hammer d40a954b67
fix: add required to AccountInfoResponse 2024-03-26 16:44:03 -04:00
Derrick Hammer c2d4ea7847
refactor: add verified to account info 2024-03-26 16:43:43 -04:00