Derrick Hammer
|
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
|
2023-05-16 18:42:03 -04:00 |
Derrick Hammer
|
4548de5c60
|
refactor: change storing path to just ID and fetch from upload via the tus store
|
2023-05-16 17:11:38 -04:00 |
Derrick Hammer
|
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
|
2023-05-15 15:47:46 -04:00 |
Derrick Hammer
|
687f26cc77
|
feat: add ComputeFile bao RPC method
|
2023-05-15 15:45:05 -04:00 |
Derrick Hammer
|
35878a2427
|
chore: update deps
|
2023-05-15 12:36:08 -04:00 |
Derrick Hammer
|
3005be6fec
|
feat: tus support
|
2023-05-15 12:36:00 -04:00 |
Derrick Hammer
|
a8d2ad3393
|
refactor: move to a go-plugin based GRPC approach for bao
|
2023-05-15 12:34:55 -04:00 |
Derrick Hammer
|
435445dda5
|
refactor: change where to use a struct
|
2023-05-11 15:25:31 -04:00 |
Derrick Hammer
|
294370d88d
|
fix: hasher needs the size set to 32
|
2023-05-11 15:24:49 -04:00 |
Derrick Hammer
|
b44b12f85e
|
refactor: change download controller method to use a path argument and not a query
|
2023-05-10 15:09:18 -04:00 |
Derrick Hammer
|
90e4ce6408
|
fix: use bufio reader
|
2023-05-10 14:50:36 -04:00 |
Derrick Hammer
|
b48db1d8c4
|
refactor: add Download function to files service
|
2023-05-10 14:41:12 -04:00 |
Derrick Hammer
|
73bc836cbc
|
refactor: change files controller to use new files service api
|
2023-05-10 14:40:29 -04:00 |
Derrick Hammer
|
118c679f76
|
feat: add StringHash
|
2023-05-10 14:36:45 -04:00 |
Derrick Hammer
|
a93add8f70
|
refactor: create new files package with Upload
|
2023-05-10 14:28:32 -04:00 |
Derrick Hammer
|
2dae0c8687
|
refactor: rename services to controllers
|
2023-05-10 14:23:22 -04:00 |
Derrick Hammer
|
488f8737c0
|
feat: add EncodeString function
|
2023-05-10 14:17:50 -04:00 |
Derrick Hammer
|
8f3af2084c
|
refactor: rename services to controllers
|
2023-05-10 07:07:56 -04:00 |
Derrick Hammer
|
6ceefc11cf
|
refactor: make encode fixed method to take a [32]byte, and change Encode to take a byte array that just copies and calls EncodeFixed
|
2023-05-09 12:48:48 -04:00 |
Derrick Hammer
|
b21a425e24
|
fix: dont try to stream if we have an error
|
2023-05-08 10:16:47 -04:00 |
Derrick Hammer
|
9b17557d14
|
chore: update deps
|
2023-05-08 10:11:19 -04:00 |
Derrick Hammer
|
79fd550c54
|
feat: add download endpoint
|
2023-05-08 10:10:57 -04:00 |
Derrick Hammer
|
fb65690abd
|
fix: add shutdown signal and flag for renterd
|
2023-05-08 10:09:33 -04:00 |
Derrick Hammer
|
4e6c29f1fd
|
feat: add Valid, and Decode methods, and create CID struct
|
2023-05-08 10:09:00 -04:00 |
Derrick Hammer
|
2dc9d4dcf6
|
refactor: rename encode method
|
2023-05-06 04:38:09 -04:00 |
Derrick Hammer
|
5ba0111d08
|
core: update deps
|
2023-05-06 03:56:48 -04:00 |
Derrick Hammer
|
9b8cb38496
|
fix: disable client warnings
|
2023-05-06 03:56:38 -04:00 |
Derrick Hammer
|
7aea462ab7
|
fix: uploading of main file
|
2023-05-04 09:11:31 -04:00 |
Derrick Hammer
|
5aca66d919
|
fix: encode size as uint64 to the end of the cid
|
2023-05-04 08:16:44 -04:00 |
Derrick Hammer
|
479df7eb39
|
chore: update deps
|
2023-05-04 08:01:46 -04:00 |
Derrick Hammer
|
039a4a3354
|
fix: if upload status code isn't 200, make it an err based on the body
|
2023-05-04 07:58:06 -04:00 |
Derrick Hammer
|
fbc9133df5
|
chore: update deps
|
2023-05-04 04:21:51 -04:00 |
Derrick Hammer
|
37033bf45c
|
refactor: register files service
|
2023-05-04 04:21:39 -04:00 |
Derrick Hammer
|
ca3d3588a4
|
refactor: call renterd earlier but wait until its ready
|
2023-05-04 04:20:39 -04:00 |
Derrick Hammer
|
b16beebabb
|
feat: add files service with upload endpoint
|
2023-05-04 04:18:38 -04:00 |
Derrick Hammer
|
4c649bfcb9
|
feat: add bao package and rust bao wasm library
|
2023-05-04 04:18:15 -04:00 |
Derrick Hammer
|
706f7a05b9
|
feat: add cid package
|
2023-05-04 04:14:47 -04:00 |
Derrick Hammer
|
13d1adb717
|
refactor: add upload and pin models to migration
|
2023-05-04 04:14:31 -04:00 |
Derrick Hammer
|
ea99108327
|
feat: add jwt package
|
2023-05-04 04:13:53 -04:00 |
Derrick Hammer
|
aaa2c17212
|
feat: add pin model
|
2023-05-04 04:13:27 -04:00 |
Derrick Hammer
|
f73a04bb2e
|
feat: add upload model
|
2023-05-04 04:13:19 -04:00 |
Derrick Hammer
|
782ac58ed2
|
refactor: update LoginSession
|
2023-05-04 04:13:00 -04:00 |
Derrick Hammer
|
7bb7edb7d9
|
refactor: make seed/password public to be called, and create a chan to be checked with Ready to see if the renter is ready
|
2023-05-04 04:12:26 -04:00 |
Derrick Hammer
|
5ad91ad263
|
fix: upstream renterd updates
|
2023-05-04 04:11:11 -04:00 |
Derrick Hammer
|
a3cfebab30
|
fix: ctx needs to be public in AuthService
|
2023-04-30 04:49:19 -04:00 |
Derrick Hammer
|
699e4244e0
|
feat: add more validation, and put account creation, with optional pubkey in a transaction
|
2023-04-30 04:48:56 -04:00 |
Derrick Hammer
|
00f2b962a0
|
fix: remove PrivateKey, rename PublicKey in Key model
|
2023-04-30 04:47:32 -04:00 |
Derrick Hammer
|
48164ec320
|
fix: register LoginSession model
|
2023-04-30 04:47:07 -04:00 |
Derrick Hammer
|
7257b5d597
|
feat: add validation to account register
|
2023-04-30 04:09:42 -04:00 |
Derrick Hammer
|
53264dfb24
|
refactor: change var name to not conflict
|
2023-04-30 03:30:19 -04:00 |