Commit Graph

1265 Commits

Author SHA1 Message Date
Derrick Hammer 5c3d1144d4
feat: add ability for pinning to import a CID via cron task 2024-02-25 07:23:30 -05:00
Derrick Hammer 0010d6c5b9
feat: add verifier class that wraps a reader and proof 2024-02-25 07:22:17 -05:00
Derrick Hammer de3b226df5
feat: add support for verifying data in bao service 2024-02-25 07:21:20 -05:00
Derrick Hammer ea8c50edc7
refactor: make PostUploadLimit uint64 2024-02-25 02:10:41 -05:00
Derrick Hammer fc40563ae4
feat: add GetJobsByPrefix, GetJobByName, GetJobByID 2024-02-25 01:58:26 -05:00
Derrick Hammer f47552bf60
refactor: move s3 client creation to a factory method on storage for re-usability 2024-02-24 10:34:49 -05:00
Derrick Hammer 988a313f93
dep: update tusd 2024-02-24 09:37:53 -05:00
Derrick Hammer 3c1e60c3d2
feat: convert zap logger to slogger for tusd 2024-02-24 09:33:24 -05:00
Derrick Hammer 5a78750df1
fix: need to call the hook not pass it as a factory 2024-02-24 08:57:36 -05:00
Derrick Hammer fb8dfb2fa2
fix: dont log ErrRecordNotFound messages 2024-02-24 08:44:34 -05:00
Derrick Hammer f6f9a7f97a
feat: add custom logger wrapper to use zap logger for database 2024-02-24 08:41:40 -05:00
Derrick Hammer b5b0ed64b6
feat: add database cache support with both memory and redis modes 2024-02-24 08:19:27 -05:00
Derrick Hammer 995b227d7e
chore: unneeded config.go 2024-02-24 05:43:08 -05:00
Derrick Hammer 7987e597b0
fix: use snake_case 2024-02-23 08:26:27 -05:00
Derrick Hammer 8602d5ed97
fix: use snake_case 2024-02-23 08:21:45 -05:00
Derrick Hammer ee2f7331eb
fix: routes need http verbs 2024-02-23 08:20:03 -05:00
Derrick Hammer 1a9fa9c4be
fix: Config should embed a pointer to s5config.NodeConfig 2024-02-23 08:18:05 -05:00
Derrick Hammer daf63268eb
fix: need to use viper.Sub to scope on the protocol namespace and unmarshal 2024-02-23 07:54:45 -05:00
Derrick Hammer 6ddd10a4c9
dep: update libs5 2024-02-23 07:26:24 -05:00
Derrick Hammer 9932e6194e
fix: update error message 2024-02-22 03:44:27 -05:00
Derrick Hammer 7f5741a64b
fix: update config management in account pkg 2024-02-22 03:41:28 -05:00
Derrick Hammer 856b7fb627
fix: update config management in init functions 2024-02-22 03:39:29 -05:00
Derrick Hammer ef25887a87
feat: add save method that will re-unmarshal into the config struct 2024-02-22 03:38:05 -05:00
Derrick Hammer 10060f0245
fix: port in dsn is a number 2024-02-22 03:32:47 -05:00
Derrick Hammer 051cf59195
fix: need to update config management in db pkg 2024-02-22 03:30:40 -05:00
Derrick Hammer bbfea6fc9e
fix: need to update config management in storage pkg 2024-02-22 03:27:48 -05:00
Derrick Hammer a6218e9b7c
fix: need to update config management in s5 protocol 2024-02-22 03:27:40 -05:00
Derrick Hammer 939e329591
fix: need to update config management in renter pkg 2024-02-22 03:23:06 -05:00
Derrick Hammer 41a3b1faa6
fix: missing return in constructor 2024-02-22 03:19:46 -05:00
Derrick Hammer 4f094eab2c
fix: Unmarshal needs a pointer to config 2024-02-22 03:17:27 -05:00
Derrick Hammer 0125fb4d01
dep: move back to sia core v0.1.12 2024-02-22 02:56:19 -05:00
Derrick Hammer a42cda1ced
dep: need to update dependencies, downgrade sia core, downgrade kin-openapi, and switch to coreutils wallet 2024-02-22 02:46:37 -05:00
Derrick Hammer 7f12ee5b0d
refactor: implement new configuration management system 2024-02-22 02:13:59 -05:00
Derrick Hammer 99b97d9495
fix: need to use new_outboard 2024-02-18 22:19:43 -05:00
Derrick Hammer 901c68fdfc
refactor: have the forward slash always prefixed at the renter abstraction 2024-02-18 03:30:42 -05:00
Derrick Hammer ca289818a9
refactor: use errors.Is 2024-02-18 03:24:06 -05:00
Derrick Hammer a77981f0a6
fix: PinByHash does not query right 2024-02-18 03:21:52 -05:00
Derrick Hammer ae7d048e6c
fix: don't create subpath, as we use buckets 2024-02-18 03:07:14 -05:00
Derrick Hammer b4f8a1979b
fix: PROOF_EXTENSION already has file dot 2024-02-18 02:57:10 -05:00
Derrick Hammer 418cdf7836
fix: need to use a reader for mime detection 2024-02-18 02:44:57 -05:00
Derrick Hammer e435e6ded5
fix: need to return muReader early 2024-02-18 02:38:17 -05:00
Derrick Hammer 0e61a5c1fa
chore: dont log proof, too large 2024-02-18 02:29:33 -05:00
Derrick Hammer 938b6cdf9e
fix: store buf outside for loop 2024-02-18 02:29:15 -05:00
Derrick Hammer bff0981731
fix: use write_all 2024-02-18 02:25:13 -05:00
Derrick Hammer 0873dee1f3
fix: use a background ctx 2024-02-18 00:27:19 -05:00
Derrick Hammer 88a636ba9c
refactor: pass only the upload hash to the cron task 2024-02-18 00:23:25 -05:00
Derrick Hammer 15750acec0
fix: check for error 2024-02-18 00:04:28 -05:00
Derrick Hammer 8a32e69b06
fix: use storageProtocol 2024-02-18 00:01:01 -05:00
Derrick Hammer 517abe9193
fix: unneeded cast 2024-02-18 00:00:02 -05:00
Derrick Hammer 16ed748bfb
fix: cast to uint not uint64 2024-02-17 23:58:31 -05:00