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
|
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
|
0cb1f96813
|
fix: bug fix exists
|
2024-02-17 20:19:00 -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
|
a546089378
|
refactor: account api needs to use the error interface
|
2024-02-17 08:14:58 -05:00 |
Derrick Hammer
|
1812b9cd38
|
refactor: change PinByHash to take hash in byte form
|
2024-02-16 21:57:20 -05:00 |
Derrick Hammer
|
16e8c84daa
|
refactor: OTPDisable needs to return *AccountError
|
2024-02-15 21:00:08 -05:00 |
Derrick Hammer
|
24d491ec4e
|
refactor: UpdateAccountName needs to return *AccountError
|
2024-02-15 20:56:48 -05:00 |
Derrick Hammer
|
829852c6c1
|
refactor: use new error struct and error messages
|
2024-02-14 00:24:22 -05:00 |
Derrick Hammer
|
143a563a51
|
refactor: param consistency changes
|
2024-02-13 23:31:08 -05:00 |
Derrick Hammer
|
634a285ea8
|
refactor: use uint and param consistency changes
|
2024-02-13 23:29:36 -05:00 |
Derrick Hammer
|
96758a5559
|
feat: add opt support to account, refactor validation api
|
2024-02-13 23:23:45 -05:00 |
Derrick Hammer
|
93e7563bed
|
refactor: don't use pointer receiver
|
2024-02-13 22:38:13 -05:00 |
Derrick Hammer
|
f645499c7f
|
refactor: prefix all jwt helpers
|
2024-02-13 22:31:44 -05:00 |
Derrick Hammer
|
9f6f2c9c87
|
feat: add purpose to jwt with consts
|
2024-02-13 20:58:17 -05:00 |
Derrick Hammer
|
8423578bdd
|
refactor: more re-organizing
|
2024-02-13 20:00:16 -05:00 |
Derrick Hammer
|
f5bb0fa45f
|
chore: remove un-used function
|
2024-02-13 19:58:24 -05:00 |
Derrick Hammer
|
9b748e1f57
|
refactor: de-duplicate login logic and re-organize code
|
2024-02-13 19:57:41 -05:00 |
Derrick Hammer
|
40b830d669
|
refactor: update account login and ip address in LoginPassword
|
2024-02-13 19:52:18 -05:00 |
Derrick Hammer
|
23113d0f9c
|
refactor: create updateAccountInfo
|
2024-02-13 19:49:08 -05:00 |
Derrick Hammer
|
302821d749
|
refactor: more refactoring of methods and move some validation to gorm
|
2024-02-13 19:36:23 -05:00 |
Derrick Hammer
|
99c440ab88
|
refactor: unify account exists methods
|
2024-02-13 19:28:04 -05:00 |
Derrick Hammer
|
3c55ed2853
|
feat: add initial account services api
|
2024-02-13 19:07:24 -05:00 |
Derrick Hammer
|
6d34f5b683
|
refactor: change struct naming convention from "impl" to "default"
|
2024-01-31 20:29:27 -05:00 |
Derrick Hammer
|
2dc8fc56f5
|
refactor: epic refactor to use uber fx microframework/DI framework to manage dependency graph, remove the portal object, and remove the interfaces package
|
2024-01-28 02:20:59 -05:00 |
Derrick Hammer
|
9b655b4a70
|
fix: preload uploads
|
2024-01-24 12:47:20 -05:00 |
Derrick Hammer
|
4378da70da
|
refactor: create and export GenerateTokenWithDuration and GenerateToken
|
2024-01-20 07:30:46 -05:00 |
Derrick Hammer
|
6545faad6a
|
refactor: have PinByHash use PinByID
|
2024-01-17 17:19:46 -05:00 |
Derrick Hammer
|
310c23b95e
|
refactor: have PinByID check for a pin before adding one
|
2024-01-17 17:18:58 -05:00 |
Derrick Hammer
|
b56a8ba5ac
|
feat: add PinByID
|
2024-01-17 17:14:45 -05:00 |
Derrick Hammer
|
6a8a3c436a
|
feat: implement /s5/pin/:cid
|
2024-01-17 13:13:37 -05:00 |
Derrick Hammer
|
1a5aaa3927
|
feat: add DeletePinByHash
|
2024-01-17 13:03:52 -05:00 |
Derrick Hammer
|
cc61a090b6
|
feat: add AccountPins
|
2024-01-17 12:32:50 -05:00 |
Derrick Hammer
|
4ae272205a
|
feat: add AccountExists method
|
2024-01-17 08:37:01 -05:00 |
Derrick Hammer
|
9cc05b3096
|
fix: wrong model
|
2024-01-16 15:42:42 -05:00 |
Derrick Hammer
|
9ad8d70f09
|
feat: implement EmailExists, PubkeyExists, CreateAccount,AddPubkeyToAccount, LoginPassword, LoginPubkey
|
2024-01-16 13:30:36 -05:00 |
Derrick Hammer
|
47602854a0
|
feat: bare bones account service
|
2024-01-16 00:19:36 -05:00 |