Derrick Hammer pcfreak30
pcfreak30 pushed to master at LumeWeb/portal 2023-06-07 17:04:58 +00:00
2f7c31d53c refactor: completely restructure validation. split request and respond structs to their own package
bfbf13a57d refactor: use tryParseRequest
9d843bffdb refactor: use tryParseRequest
f3e43f522f refactor: add validation for all auth request structs
dd8e5704c8 refactor: rename checkPubkey to CheckPubkeyValidator
Compare 6 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-06-07 02:29:03 +00:00
27e7ea7d7a fix: PostPubkeyLogin should not preload any model
09d53ffa76 fix: PostPubkeyLogin should be lowercasing the pubkey and signature
d680f0660f fix: PostPubkeyChallenge should be lowercasing the pubkey for consistency
36745bb55b fix: PostPubkeyChallenge should be using ChallengeRequest
db3ba1f014 fix: PostPubkeyChallenge should not be checking email, but pubkey
Compare 7 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-06-06 21:27:37 +00:00
f3172b0d31 fix: handle duplicate tus uploads by hash
pcfreak30 pushed to master at LumeWeb/portal 2023-06-06 21:02:05 +00:00
f8aaeff6de fix: rewrite gorm query logic for tus uploads
pcfreak30 pushed to master at LumeWeb/portal 2023-06-06 20:37:43 +00:00
99d7b8347a feat: add debug mode logging support
670bc9d64c refactor: enable automatic env parsing
4831b8b68f refactor: need to add renterd-api-password config arg
38b76155af feat: add a status endpoint and move cid validation to a utility method
1f195cf328 feat: add a Status method for uploads
Compare 7 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-31 23:36:19 +00:00
8331136f7f chore: update renterd
325ab7044f refactor: sync cli options and env code with upstream
d1742265b6 chore: update renterd
09cd274d29 chore: update renterd
Compare 4 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-24 00:16:37 +00:00
26042b62ac fix: Use gorm save, and return nil if successful
038d2c440b fix: save upload info after every chunk
96ac75bf3f refactor: add logging
56d61895f5 refactor: pass id to FileInfo and use info in fileUpload
89ef950432 refactor: use provided file hash
Compare 11 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-22 20:36:25 +00:00
4b712a3a80 refactor: see if proof exists and only if both the proof and file are not 404, do we abort as already existing
pcfreak30 pushed to master at LumeWeb/portal 2023-05-22 15:03:05 +00:00
7fe05862b1 chore: update renterd
90170e5b81 fix: if we have an existing upload, just return it as if successful
ed6220fc7d refactor: optionally compare passed hash with computed one and reject if they don't match
09f9a5bdfd refactor: update id fields
75e5838b01 refactor: move tus record delete logic to terminateUpload and delete by tus upload id
Compare 5 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-19 13:05:48 +00:00
6ddef03790 fix: if uploading returns a 500 and its a slab error, treat as a 404
bef2ed7431 refactor: add logging
748cac542e refactor: add zap logger
0a90ff6439 refactor: add terminateUpload method
80561f89e9 fix: missing setting SetTusComposer
Compare 6 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-17 15:45:19 +00:00
76b6fb34fe chore: update renterd
033522222f chore: remove unused deps
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-17 14:12:34 +00:00
ee33da755c refactor: use BaoEncodedSize
aa702ffd02 refactor: move to new golang bao implementation
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-16 22:46:16 +00:00
2f514c02be refactor: move shared global state to a shared package
503cb55c55 refactor: tus needs to move to its own package
55d8dda6e8 refactor: have the Download method check for a tus upload thats still in progress and use it if a upload item does not exist
4548de5c60 refactor: change storing path to just ID and fetch from upload via the tus store
Compare 4 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-15 19:48:24 +00:00
673f7c6dfd refactor: have Upload take both a io.ReaderSeeker and os.File and update usages based of if we are streaming a small file or handling a big one via filename
687f26cc77 feat: add ComputeFile bao RPC method
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-15 16:36:16 +00:00
35878a2427 chore: update deps
3005be6fec feat: tus support
a8d2ad3393 refactor: move to a go-plugin based GRPC approach for bao
Compare 3 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-11 19:54:58 +00:00
435445dda5 refactor: change where to use a struct
294370d88d fix: hasher needs the size set to 32
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-10 22:25:37 +00:00
b44b12f85e refactor: change download controller method to use a path argument and not a query
90e4ce6408 fix: use bufio reader
b48db1d8c4 refactor: add Download function to files service
73bc836cbc refactor: change files controller to use new files service api
118c679f76 feat: add StringHash
Compare 10 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-08 14:16:55 +00:00
b21a425e24 fix: dont try to stream if we have an error
pcfreak30 pushed to master at LumeWeb/portal 2023-05-08 14:11:27 +00:00
9b17557d14 chore: update deps
79fd550c54 feat: add download endpoint
fb65690abd fix: add shutdown signal and flag for renterd
4e6c29f1fd feat: add Valid, and Decode methods, and create CID struct
2dc9d4dcf6 refactor: rename encode method
Compare 5 commits »
pcfreak30 pushed to master at LumeWeb/portal 2023-05-06 07:56:55 +00:00
5ba0111d08 core: update deps
9b8cb38496 fix: disable client warnings
Compare 2 commits »