Commit Graph

98 Commits

Author SHA1 Message Date
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
Derrick Hammer b023105b21
refactor: setup api versioning 2023-04-30 03:30:03 -04:00
Derrick Hammer a0d747fdf4
fix: Ctx must be public 2023-04-30 03:29:38 -04:00
Derrick Hammer 44d0a90ca0
style: comment formatting 2023-04-30 02:46:47 -04:00
Derrick Hammer c42d2b5dfe
core: fix code comment 2023-04-30 02:46:11 -04:00
Derrick Hammer 593410c137
chore: update deps 2023-04-30 02:18:55 -04:00
Derrick Hammer 49c3844406
feat: add swagger support 2023-04-30 02:18:42 -04:00
Derrick Hammer f5e437777a
fix: use AccountID not Account 2023-04-30 02:17:33 -04:00
Derrick Hammer 09b9f195f4
fix: public_key should be pubkey 2023-04-30 02:16:53 -04:00
Derrick Hammer 628f1b4aca
fix: update model relationships 2023-04-30 02:16:32 -04:00
Derrick Hammer 25c7d6d4fb
fix: use database.path over database.name 2023-04-30 02:15:57 -04:00
Derrick Hammer 6e0ec8aaf9
fix: only panic if the error is other than a missing config file 2023-04-30 02:14:44 -04:00
Derrick Hammer 241db4deb6
fix: update default flag values 2023-04-30 02:14:14 -04:00
Derrick Hammer 58165e01af
fix: load config before db 2023-04-30 02:10:52 -04:00
Derrick Hammer 9a4c3d5d13
feat: wip version 2023-04-29 13:40:43 -04:00
Derrick Hammer 0591a26eb9 Initial commit 2023-04-27 06:27:27 +00:00