Commit Graph

897 Commits

Author SHA1 Message Date
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
Derrick Hammer 2ce26239da
fix: add missing tus background worker 2024-02-17 23:55:25 -05:00
Derrick Hammer 445084ca5b
fix: remove rows effected check 2024-02-17 23:42:32 -05:00
Derrick Hammer 9e35c614e3
refactor: change SaveUpload to use gorm create or selective Updates 2024-02-17 23:39:51 -05:00
Derrick Hammer 8f78f6fe87
fix: metadata service not passed in construction 2024-02-17 23:27:37 -05:00
Derrick Hammer fc042570ab
refactor: change to store the hash as a raw, but also make it unique with an index 2024-02-17 23:17:26 -05:00
Derrick Hammer a20b79ff90
fix: forgot to return UploadMetadata 2024-02-17 22:59:34 -05:00
Derrick Hammer cfb0abf81a
fix: try to fetch the upload by hash, and if no error, return the upload meta 2024-02-17 22:54:44 -05:00
Derrick Hammer 84a78b7a7e
fix: use realKey 2024-02-17 20:25:30 -05:00
Derrick Hammer 0cb1f96813
fix: bug fix exists 2024-02-17 20:19:00 -05:00
Derrick Hammer 484b9ac583
fix: missing returning the claim 2024-02-17 20:16:19 -05:00
Derrick Hammer 7ec03524ed
fix: need to pass the claim by ref 2024-02-17 20:12:49 -05:00
Derrick Hammer fc1dd491d6
fix: need to use the claim by ref 2024-02-17 20:07:43 -05:00
Derrick Hammer 2fd3368b5a
fix: trim bearer in lowercase 2024-02-17 19:48:28 -05:00
Derrick Hammer ca559eccc5
chore: remove AccountErrorNil 2024-02-17 09:02:17 -05:00
Derrick Hammer bbf8ec79d3
refactor: change info to be the model struct 2024-02-17 09:02:04 -05:00
Derrick Hammer 11f30700c3
fix: use tx.Statement.Changed to ensure email is being changed before validating it 2024-02-17 09:00:44 -05:00
Derrick Hammer c076d219d0
refactor: move checking of users name to api layer 2024-02-17 08:45:06 -05:00
Derrick Hammer a546089378
refactor: account api needs to use the error interface 2024-02-17 08:14:58 -05:00