Commit Graph

1205 Commits

Author SHA1 Message Date
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
Derrick Hammer 8965395fdf
feat: add apis for sending email verification, and verifying an email code 2024-02-26 08:14:30 -05:00
Derrick Hammer 25ebb00765
refactor: update const names 2024-02-26 08:03:30 -05:00
Derrick Hammer 1be4fb47fc
feat: add password reset, account verification models, and a verified field to users 2024-02-26 07:47:05 -05:00
Derrick Hammer 3da1ae3e5f
feat: add core.portal_name required config to be used for communication 2024-02-26 07:32:46 -05:00
Derrick Hammer 81e540c2ce
feat: initial mailer module with password reset and email verification templates 2024-02-26 07:30:53 -05:00
Derrick Hammer 39f8152e09
refactor: use just Read 2024-02-25 11:43:44 -05:00
Derrick Hammer 907de0b3af
fix: need to init apiDomain 2024-02-25 09:54:34 -05:00
Derrick Hammer 3a0c7bdea2
refactor: always preload all relations with exists 2024-02-25 09:48:26 -05:00
Derrick Hammer 38375d44d8
feat: initial DNS link support 2024-02-25 09:47:40 -05:00
Derrick Hammer 40b3504c1d
refactor: rewrite main api router to be a class, lazy init it, and introduce RoutableAPI which can dynamically handle incoming requests if the main routes aren't matched 2024-02-25 08:36:32 -05:00
Derrick Hammer 8cae7bba57
fix: syntax errors 2024-02-25 07:54:16 -05:00
Derrick Hammer 5b210de198
refactor: use job terminology for consistency 2024-02-25 07:52:28 -05:00
Derrick Hammer 8885fd37cc
refactor: use job terminology for consistency 2024-02-25 07:50:59 -05:00
Derrick Hammer d618f08275
refactor: rename RetryableTask to RetryableJob 2024-02-25 07:49:22 -05:00
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