Commit Graph

1277 Commits

Author SHA1 Message Date
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
Derrick Hammer eef49c34be
dep: update dashboard 2024-03-25 21:09:11 -04:00
Derrick Hammer f6be51b942
refactor: move away from a granular tracking to a simpler, stage based tracking 2024-03-23 10:43:18 -04:00
Derrick Hammer 334fa4d788
feat: add UpdateProgress and UpdateStatus 2024-03-23 10:36:20 -04:00
Derrick Hammer f2c68857f2
refactor: fix pinning logic if file exists 2024-03-22 20:31:44 -04:00
Derrick Hammer 0caa54f028
fix: if i > 0 add to bytesRead 2024-03-22 20:23:51 -04:00
Derrick Hammer 96713e3538
fix: always pass 0 to ReadBytes 2024-03-22 20:23:37 -04:00
Derrick Hammer ba60a6c729
fix: if eof, return the byte count 2024-03-22 20:23:14 -04:00
Derrick Hammer 35b64515d7
fix: if a field changed, set its changes 2024-03-22 19:35:11 -04:00
Derrick Hammer 8d20659a5b
fix: if a field changed, set its changes 2024-03-22 19:34:40 -04:00
Derrick Hammer e3022b8587
fix: skipExisting should be false 2024-03-22 19:19:31 -04:00
Derrick Hammer 66ddf67337
fix: wrong model registered 2024-03-22 18:49:56 -04:00
Derrick Hammer 085c4d69d6
fix: add cors to pin api 2024-03-22 18:47:41 -04:00
Derrick Hammer 5b2a86275f
refactor: if the user has the file pinned and no import exists, assume a completed status 2024-03-22 18:30:02 -04:00
Derrick Hammer 7665937196
refactor: add ImportStatusCompleted 2024-03-22 18:29:09 -04:00
Derrick Hammer 0a85711ead
feat: implement /s5/pin/:cid/status 2024-03-22 18:01:12 -04:00
Derrick Hammer 7696997e53
refactor: implement import reader in s5 pinning 2024-03-22 17:39:17 -04:00
Derrick Hammer 5523d5e60d
feat: add ImportReader class to wrap and track the reading of the import and update at every read, and support a stage number to act as an offset so it can be used for both s3 upload and sia upload stages 2024-03-22 17:32:30 -04:00
Derrick Hammer 0e3a25aa8a
feat: add import metadata db service based off the upload metadata service 2024-03-22 16:36:59 -04:00