Commit Graph

1295 Commits

Author SHA1 Message Date
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
Derrick Hammer 23f462773f
fix: add cors route for /api/account/verify-email/resend 2024-03-26 16:38:51 -04:00
Derrick Hammer cf83dc6767
refactor: switch to a verification link 2024-03-26 15:12:31 -04:00
Derrick Hammer 90cdcd16af
fix: put verify-email behind auth 2024-03-26 15:03:56 -04:00
Derrick Hammer ccf1707f11
feat: add /api/account/verify-email/resend route 2024-03-26 15:03:20 -04:00
Derrick Hammer 98c576e2e8
refactor: update SendEmailVerification to take a user id and look it up 2024-03-26 15:00:29 -04:00
Derrick Hammer 6d12ef9b94
Revert "fix: send, echo, and remove a copy of the cookie without the domain to try and work better with localhost"
This reverts commit ad23104700.
2024-03-26 11:23:20 -04:00
Derrick Hammer ad23104700
fix: send, echo, and remove a copy of the cookie without the domain to try and work better with localhost 2024-03-26 11:04:15 -04:00
Derrick Hammer 1f183c5052
dep: update dashboard 2024-03-26 10:51:12 -04:00
Derrick Hammer 8b1c2f1065
dep: update dashboard 2024-03-26 01:18:22 -04:00
Derrick Hammer c73b5c4d47
dep: update dashboard 2024-03-26 01:00:01 -04:00
Derrick Hammer 46f81443c6
dep: update dashboard 2024-03-26 00:46:36 -04:00
Derrick Hammer 1185a2a56e
feat: add /api/meta endpoint 2024-03-26 00:46:11 -04:00
Derrick Hammer 73247a86fd
fix: handle edge case where the Protocol config map has no configs, but we are creating a default configuration for a protocol. 2024-03-26 00:18:42 -04:00
Derrick Hammer c9531bc588
fix: update error messages to reflect full config keys 2024-03-26 00:00:04 -04:00
Derrick Hammer fc6240c149
fix: use errors.As as viper uses a custom error struct 2024-03-25 22:05:24 -04:00