Commit Graph

1145 Commits

Author SHA1 Message Date
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
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