This website requires JavaScript.
1b394f3ca1
chore: remove usage of buf and rust in docker image
develop
Derrick Hammer
2024-03-30 14:00:37 -0400
8d98f131d5
refactor: implement native bao support
Derrick Hammer
2024-03-30 13:59:47 -0400
ba67d19299
fix: reset file after seeking
Derrick Hammer
2024-03-29 15:59:01 -0400
d5575fbf4f
fix: unpin needs to return 200, not 201
Derrick Hammer
2024-03-29 14:46:54 -0400
86669d9f08
dep: update dashboard
Derrick Hammer
2024-03-29 13:22:00 -0400
818ee60aea
dep: update dashboard
Derrick Hammer
2024-03-29 12:33:39 -0400
d913e0f7b2
fix: seek after mime read
Derrick Hammer
2024-03-29 12:29:57 -0400
8ccd90825b
fix: wrong error handling
Derrick Hammer
2024-03-29 12:28:46 -0400
09c9ab8614
refactor: if no db mimetype, manually use mimetype.DetectReader, and if none found fall back to application/octet-stream
Derrick Hammer
2024-03-29 11:56:30 -0400
8e9d2d0398
refactor: switch to github.com/gabriel-vasile/mimetype
Derrick Hammer
2024-03-29 11:47:33 -0400
aeba225c87
fix: only set the Content-Type header if we actually have a mime type, else let ServeContent detect it.
Derrick Hammer
2024-03-29 00:49:54 -0400
5ad1aaeb6a
refactor: pass mimetype to tus upload record and check a list of meta fields for it
Derrick Hammer
2024-03-29 00:47:33 -0400
9d259925f8
dep: update dashboard
Derrick Hammer
2024-03-29 00:19:23 -0400
277c3ff23f
dep: update dashboard
Derrick Hammer
2024-03-28 23:40:01 -0400
161d71bfda
dep: update dashboard
Derrick Hammer
2024-03-28 22:53:25 -0400
bb41d70c10
fix: UploadExists check needs to be before UploadCompleted call
Derrick Hammer
2024-03-28 22:35:05 -0400
82532b01eb
fix: use lock on CompleteUploads
Derrick Hammer
2024-03-28 22:18:45 -0400
9254dc20c8
fix: use decodedHash.HashBytes()
Derrick Hammer
2024-03-28 21:48:13 -0400
fffe769ccf
fix: use mapKey as a string
Derrick Hammer
2024-03-28 21:47:48 -0400
775d3f7e6f
fix: bad mapKey typing
Derrick Hammer
2024-03-28 21:42:12 -0400
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.
Derrick Hammer
2024-03-28 21:20:44 -0400
0f1360c6df
dep: update dashboard
Derrick Hammer
2024-03-28 20:41:39 -0400
cb6ba5a24b
fix: remove PinByHash logic
Derrick Hammer
2024-03-28 18:31:40 -0400
d810cf0848
fix: don't error if IsFinal
Derrick Hammer
2024-03-28 18:08:13 -0400
a16390ccc1
refactor: add tus uploads to the pins response
Derrick Hammer
2024-03-28 17:52:01 -0400
a54238d4b6
feat: add TusHandler::Uploads
Derrick Hammer
2024-03-28 17:43:32 -0400
b267ace017
fix: ignore exists check if we are in partial/parallel upload mode
Derrick Hammer
2024-03-28 17:41:17 -0400
90c8ce39eb
dep: update dashboard
Derrick Hammer
2024-03-28 17:20:17 -0400
76b8def51d
dep: update dashboard
Derrick Hammer
2024-03-28 16:56:33 -0400
87477ad559
dep: update dashboard
Derrick Hammer
2024-03-28 16:31:40 -0400
804f32e2be
dep: update dashboard
Derrick Hammer
2024-03-28 16:20:08 -0400
af5c7dc40d
dep: update dashboard
Derrick Hammer
2024-03-28 15:45:11 -0400
12caef5f9b
dep: update dashboard
Derrick Hammer
2024-03-28 10:01:45 -0400
d078999108
dep: update portal-sdk
Derrick Hammer
2024-03-27 23:44:21 -0400
3331f1b1c1
refactor: update progress logic
Derrick Hammer
2024-03-26 23:40:11 -0400
6a9eede07d
fix: invert check
Derrick Hammer
2024-03-26 23:31:17 -0400
989ed70265
fix: client does not return ErrBucketNotFound, only the string error
Derrick Hammer
2024-03-26 23:14:50 -0400
d03a781e18
fix: correct checking the download size based on LimitedReader
Derrick Hammer
2024-03-26 22:46:06 -0400
48da5d3fd4
Revert "chore: temp disable email verification for testing"
Derrick Hammer
2024-03-26 20:40:26 -0400
7ba826490e
dep: update dashboard
Derrick Hammer
2024-03-26 20:33:15 -0400
0a5e52ec16
refactor: use ErrKeySecurityInvalidToken
Derrick Hammer
2024-03-26 20:25:32 -0400
adc5bc213e
Revert "fix: add error for email verification"
Derrick Hammer
2024-03-26 20:24:55 -0400
501de26793
fix: update error
Derrick Hammer
2024-03-26 20:22:53 -0400
5a9f4a5940
fix: don't pass db error
Derrick Hammer
2024-03-26 20:21:34 -0400
ea5a97c613
fix: add error for email verification
Derrick Hammer
2024-03-26 20:19:38 -0400
64eea68a84
fix: if user is already verified, abort
Derrick Hammer
2024-03-26 20:17:41 -0400
12a9ad28fd
fix: check if email or token is empty
Derrick Hammer
2024-03-26 17:04:16 -0400
4c2baf164f
fix: bad verify url, remove email query var
Derrick Hammer
2024-03-26 16:49:53 -0400
d40a954b67
fix: add required to AccountInfoResponse
Derrick Hammer
2024-03-26 16:44:03 -0400
c2d4ea7847
refactor: add verified to account info
Derrick Hammer
2024-03-26 16:43:43 -0400
23f462773f
fix: add cors route for /api/account/verify-email/resend
Derrick Hammer
2024-03-26 16:38:51 -0400
cf83dc6767
refactor: switch to a verification link
Derrick Hammer
2024-03-26 15:12:31 -0400
90cdcd16af
fix: put verify-email behind auth
Derrick Hammer
2024-03-26 15:03:56 -0400
ccf1707f11
feat: add /api/account/verify-email/resend route
Derrick Hammer
2024-03-26 15:03:20 -0400
98c576e2e8
refactor: update SendEmailVerification to take a user id and look it up
Derrick Hammer
2024-03-26 15:00:29 -0400
6d12ef9b94
Revert "fix: send, echo, and remove a copy of the cookie without the domain to try and work better with localhost"
Derrick Hammer
2024-03-26 11:23:20 -0400
ad23104700
fix: send, echo, and remove a copy of the cookie without the domain to try and work better with localhost
Derrick Hammer
2024-03-26 11:04:15 -0400
1f183c5052
dep: update dashboard
Derrick Hammer
2024-03-26 10:51:12 -0400
8b1c2f1065
dep: update dashboard
Derrick Hammer
2024-03-26 01:18:22 -0400
c73b5c4d47
dep: update dashboard
Derrick Hammer
2024-03-26 01:00:01 -0400
46f81443c6
dep: update dashboard
Derrick Hammer
2024-03-26 00:46:36 -0400
1185a2a56e
feat: add /api/meta endpoint
Derrick Hammer
2024-03-26 00:46:11 -0400
73247a86fd
fix: handle edge case where the Protocol config map has no configs, but we are creating a default configuration for a protocol.
Derrick Hammer
2024-03-26 00:18:42 -0400
c9531bc588
fix: update error messages to reflect full config keys
Derrick Hammer
2024-03-26 00:00:04 -0400
fc6240c149
fix: use errors.As as viper uses a custom error struct
Derrick Hammer
2024-03-25 22:05:24 -0400
eef49c34be
dep: update dashboard
Derrick Hammer
2024-03-25 21:09:11 -0400
f6be51b942
refactor: move away from a granular tracking to a simpler, stage based tracking
Derrick Hammer
2024-03-23 10:43:18 -0400
334fa4d788
feat: add UpdateProgress and UpdateStatus
Derrick Hammer
2024-03-23 10:36:20 -0400
f2c68857f2
refactor: fix pinning logic if file exists
Derrick Hammer
2024-03-22 20:31:44 -0400
0caa54f028
fix: if i > 0 add to bytesRead
Derrick Hammer
2024-03-22 20:23:51 -0400
96713e3538
fix: always pass 0 to ReadBytes
Derrick Hammer
2024-03-22 20:23:37 -0400
ba60a6c729
fix: if eof, return the byte count
Derrick Hammer
2024-03-22 20:23:14 -0400
35b64515d7
fix: if a field changed, set its changes
Derrick Hammer
2024-03-22 19:35:11 -0400
8d20659a5b
fix: if a field changed, set its changes
Derrick Hammer
2024-03-22 19:34:40 -0400
e3022b8587
fix: skipExisting should be false
Derrick Hammer
2024-03-22 19:19:31 -0400
66ddf67337
fix: wrong model registered
Derrick Hammer
2024-03-22 18:49:56 -0400
085c4d69d6
fix: add cors to pin api
Derrick Hammer
2024-03-22 18:44:57 -0400
5b2a86275f
refactor: if the user has the file pinned and no import exists, assume a completed status
Derrick Hammer
2024-03-22 18:30:02 -0400
7665937196
refactor: add ImportStatusCompleted
Derrick Hammer
2024-03-22 18:29:09 -0400
0a85711ead
feat: implement /s5/pin/:cid/status
Derrick Hammer
2024-03-22 18:01:12 -0400
7696997e53
refactor: implement import reader in s5 pinning
Derrick Hammer
2024-03-22 17:39:17 -0400
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
Derrick Hammer
2024-03-22 16:42:51 -0400
0e3a25aa8a
feat: add import metadata db service based off the upload metadata service
Derrick Hammer
2024-03-22 15:52:11 -0400
f22506b413
fix: add interface type check
Derrick Hammer
2024-03-22 15:43:02 -0400
d06f436fa1
refactor: rewrite getHandler
Derrick Hammer
2024-03-21 16:56:29 -0400
74cc88540d
fix: add rw mutex lock to getHandler
Derrick Hammer
2024-03-21 16:53:48 -0400
755aff15da
feat: add pinned_at field to account pins
Derrick Hammer
2024-03-21 16:28:48 -0400
62867f26a9
refactor: use CIDFromHash and extract the hash
Derrick Hammer
2024-03-21 15:57:05 -0400
a48b10e50c
fix: we aren't pinning small files after uploading
Derrick Hammer
2024-03-21 15:50:11 -0400
a8f62fd666
refactor: add option to SaveUpload so we have the option not to change an upload record if we are uploading or importing a file
Derrick Hammer
2024-03-21 15:45:52 -0400
8bf4887dae
fix: add GET and DELETE to cors
Derrick Hammer
2024-03-21 14:58:26 -0400
3e3f539a8b
refactor: change cookie approach to broadcast cookies across all protocols based on the root domain, so they can be shared.
Derrick Hammer
2024-03-21 14:54:17 -0400
a289828c6f
fix: add cors to /s5/account/pins
Derrick Hammer
2024-03-21 14:39:06 -0400
d895d047b3
refactor: add upload size to account pin response
Derrick Hammer
2024-03-21 12:35:45 -0400
abec1877cd
fix: set hash and mime_type as required
Derrick Hammer
2024-03-21 11:01:03 -0400
4dec430c69
fix: set pins as required
Derrick Hammer
2024-03-21 10:54:15 -0400
facea33e0e
fix: need to pass api name
Derrick Hammer
2024-03-20 17:28:25 -0400
be7a7977ac
refactor: need to pass api name to SetAuthCookie
Derrick Hammer
2024-03-20 17:13:58 -0400
ee8fa2b98d
refactor: dont pass a domain
Derrick Hammer
2024-03-20 17:13:31 -0400
ad8de8f5a1
refactor: switch to using MaxAge
Derrick Hammer
2024-03-20 17:13:13 -0400