Commit Graph

1187 Commits

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