Commit Graph

1229 Commits

Author SHA1 Message Date
Derrick Hammer fcf43e1f79
refactor: add cluster configuration support to set db cache based on the cluster settings 2024-02-28 09:21:20 -05:00
Derrick Hammer d71849493b
chore: unneeded method 2024-02-28 09:16:35 -05:00
Derrick Hammer 9b82da72ca
refactor: move redis to its own file and add in defaults 2024-02-28 09:14:11 -05:00
Derrick Hammer 960c2b01d9
refactor: move all config defaults and add some validations. remove initCheckRequiredConfig. 2024-02-28 09:04:47 -05:00
Derrick Hammer cb558cdfc3
feat: add reflection-based system to manage defaults and validations per struct 2024-02-28 08:47:33 -05:00
Derrick Hammer 1a20a7d35f
refactor: define a cluster config with redis and etcd support 2024-02-28 08:03:36 -05:00
Derrick Hammer 7edab13afe
refactor: define Protocol under Config for completeness 2024-02-28 06:11:04 -05:00
Derrick Hammer d9d85f2804
fix: casing 2024-02-27 11:14:38 -05:00
Derrick Hammer 5878d1557f
refactor: switch using hkdf for child key 2024-02-27 11:10:46 -05:00
Derrick Hammer 097e29aa94
refactor: switch to using All api then filter to find valid locations 2024-02-27 10:58:15 -05:00
Derrick Hammer cdb23540ca
dep: update libs5 2024-02-27 10:51:09 -05:00
Derrick Hammer 9782907c90
fix: increase iterations to 600k 2024-02-27 09:54:11 -05:00
Derrick Hammer 1ca46dddd4
fix: use proto.identity 2024-02-27 09:15:18 -05:00
Derrick Hammer b5509f11d1
fix: use a deterministic child key 2024-02-27 09:11:17 -05:00
Derrick Hammer 944c5f01b9
refactor: add support for ExcludeNodes via excludeSelf in newStorageLocationProvider 2024-02-27 07:31:59 -05:00
Derrick Hammer f9e8d4e2fc
dep: update libs5 2024-02-27 07:28:43 -05:00
Derrick Hammer d002c56ffe
fix: set no limit on message size 2024-02-27 07:16:00 -05:00
Derrick Hammer c8a6570e8f
refactor: bao verifier needs to manage a data buffer to allow any number of bytes read while verifying in chunks 2024-02-27 06:37:49 -05:00
Derrick Hammer 9f5b676f47
refactor: use S3MultipartUpload if greater than S3_MULTIPART_MIN_PART_SIZE 2024-02-27 06:14:27 -05:00
Derrick Hammer 7411228106
feat: add S3MultipartUpload api 2024-02-27 06:12:41 -05:00
Derrick Hammer 01eda4aa23
fix: need to pass content length 2024-02-27 04:31:55 -05:00
Derrick Hammer 9b6a253313
fix: need to use Get, head isn't always supported 2024-02-27 04:26:55 -05:00
Derrick Hammer 218c0a1b1a
fix: used a named sub-logger 2024-02-27 04:14:18 -05:00
Derrick Hammer 355e8a3d22
dep: update libs5 2024-02-27 04:11:21 -05:00
Derrick Hammer b51f28ea64
fix: remove import cycle 2024-02-27 03:57:17 -05:00
Derrick Hammer 6e3e096be9
refactor: change NewLogger to use config manager, and have CM pass nil to newConfig 2024-02-27 03:54:00 -05:00
Derrick Hammer 8f8944a645
fix: pass ctx 2024-02-27 03:43:41 -05:00
Derrick Hammer 89c03f9cee
fix: pass context.Background() 2024-02-27 03:43:34 -05:00
Derrick Hammer 86dc8c8b9a
fix: pass ctx on protocol Stop 2024-02-27 03:36:09 -05:00
Derrick Hammer 43eb8c3e9a
refactor: add ctx to protocol Init 2024-02-27 03:35:43 -05:00
Derrick Hammer 6061cffcfd
dep: update libs5 2024-02-27 03:32:45 -05:00
Derrick Hammer 5dfedeb66a
fix: need to squash embedded config 2024-02-27 03:18:02 -05:00
Derrick Hammer d5c0157fd8
dep: update libs5 2024-02-27 03:12:06 -05:00
Derrick Hammer 5ed22efa83
fix: wrong peers key 2024-02-27 03:06:32 -05:00
Derrick Hammer 795bc5f82a
dep: update libs5 2024-02-27 02:53:22 -05:00
Derrick Hammer fb03cd28b9
dep: update libs5 2024-02-27 02:50:21 -05:00
Derrick Hammer f89be1fef8
refactor: make mail init a lifecycle hook so it's called after initCheckRequiredConfig 2024-02-27 02:24:20 -05:00
Derrick Hammer 33af108d39
feat: add password reset endpoints 2024-02-26 11:04:05 -05:00
Derrick Hammer 25b4286011
feat: add password reset apis 2024-02-26 10:55:26 -05:00
Derrick Hammer 057db6a636
feat: add /api/auth/verify-email endpoint 2024-02-26 10:47:47 -05:00
Derrick Hammer e629618f25
fix: apply ProxyMiddleware to register 2024-02-26 10:43:55 -05:00
Derrick Hammer 92c33e0af5
refactor: delete all the users email verifications after a successful verification 2024-02-26 10:39:09 -05:00
Derrick Hammer 036520581f
refactor: handle both user verification, and changing email 2024-02-26 10:35:57 -05:00
Derrick Hammer 5c6224222f
fix: only update user if we aren't yet verified 2024-02-26 10:30:22 -05:00
Derrick Hammer b3d63007e1
fix: pass login ip 2024-02-26 08:30:17 -05:00
Derrick Hammer 355033634d
refactor: set login ip with LoginPubkey 2024-02-26 08:28:22 -05:00
Derrick Hammer 2573936000
refactor: add bypassSecurity to doLogin 2024-02-26 08:26:59 -05:00
Derrick Hammer b270d6f414
fix: CreateAccount needs a verify email argument 2024-02-26 08:23:53 -05:00
Derrick Hammer 88ef43acaa
fix: dnslink would not import 2024-02-26 08:18:55 -05:00
Derrick Hammer 90834601d7
refactor: modify CreateAccount to optionally send an email verification 2024-02-26 08:15:10 -05:00