Derrick Hammer
|
5d393c3915
|
fix: pubkey missing from challenge record
|
2024-01-16 14:22:16 -05:00 |
Derrick Hammer
|
3be1042def
|
fix: add S5Challenge to AutoMigrate
|
2024-01-16 14:18:36 -05:00 |
Derrick Hammer
|
56b99f3c14
|
dep: update libs5
|
2024-01-16 14:07:22 -05:00 |
Derrick Hammer
|
40479d8bb3
|
fix: wrong account paths
|
2024-01-16 13:57:33 -05:00 |
Derrick Hammer
|
ec9026c8b1
|
feat: implement AccountLogin
|
2024-01-16 13:56:25 -05:00 |
Derrick Hammer
|
eee1faab18
|
feat: implement AccountLoginChallenge
|
2024-01-16 13:51:03 -05:00 |
Derrick Hammer
|
17441ff674
|
refactor: use setAuthCookie helper
|
2024-01-16 13:38:10 -05:00 |
Derrick Hammer
|
891ca20a72
|
feat: implement AccountRegister, and switch to using structs for request/response
|
2024-01-16 13:32:47 -05:00 |
Derrick Hammer
|
2512a6bdaf
|
dep: add jwt, email-verifier, and bcrypt
|
2024-01-16 13:31:29 -05:00 |
Derrick Hammer
|
9ad8d70f09
|
feat: implement EmailExists, PubkeyExists, CreateAccount,AddPubkeyToAccount, LoginPassword, LoginPubkey
|
2024-01-16 13:30:36 -05:00 |
Derrick Hammer
|
1bbedecad9
|
refactor: remove username from user
|
2024-01-16 13:28:33 -05:00 |
Derrick Hammer
|
c4f0226d1a
|
refactor: re-implement s5 routes
|
2024-01-16 12:20:43 -05:00 |
Derrick Hammer
|
69b1938e87
|
feat: add AccountRegisterChallenge handler
|
2024-01-16 11:31:33 -05:00 |
Derrick Hammer
|
a62c6daa4a
|
feat: add S5 challenge model
|
2024-01-16 11:31:25 -05:00 |
Derrick Hammer
|
fb136234a9
|
dep: update libs5
|
2024-01-16 11:30:44 -05:00 |
Derrick Hammer
|
4b581d5879
|
dep: update libs5
|
2024-01-16 10:25:38 -05:00 |
Derrick Hammer
|
185269afea
|
feat: add upload create call
|
2024-01-16 02:01:18 -05:00 |
Derrick Hammer
|
cc5fadeef3
|
fix: remove debug line
|
2024-01-16 01:54:46 -05:00 |
Derrick Hammer
|
aa2ee9eee2
|
fix: handle both when IsError is true and when we have an error object
|
2024-01-16 01:36:19 -05:00 |
Derrick Hammer
|
d017b0741c
|
fix: use DatabaseService
|
2024-01-16 01:30:06 -05:00 |
Derrick Hammer
|
af4a2eed4a
|
fix: use Database not Db
|
2024-01-16 01:29:29 -05:00 |
Derrick Hammer
|
d36bf67e85
|
fix: remove duplicate Db getter
|
2024-01-16 01:29:17 -05:00 |
Derrick Hammer
|
c2075989fa
|
fix: need a Database and DatabaseService getter, and a getter on Database
|
2024-01-16 01:24:47 -05:00 |
Derrick Hammer
|
0c5827ce0b
|
Revert "fix: try to deref?"
This reverts commit a19af267cf .
|
2024-01-16 01:17:46 -05:00 |
Derrick Hammer
|
a19af267cf
|
fix: try to deref?
|
2024-01-16 01:14:42 -05:00 |
Derrick Hammer
|
58f734d3b3
|
fix: use a 32 byte hash, not 64
|
2024-01-16 01:08:39 -05:00 |
Derrick Hammer
|
276719f47f
|
feat: handle existing files
|
2024-01-16 01:05:09 -05:00 |
Derrick Hammer
|
a4e0e1fa58
|
refactor: have FileExists return the upload model if it exists
|
2024-01-16 01:01:57 -05:00 |
Derrick Hammer
|
866d105028
|
refactor: rename CIDExists to FileExists and have it work on hashes and check in hex format
|
2024-01-16 00:58:51 -05:00 |
Derrick Hammer
|
48f03c0f47
|
refactor: add Size field
|
2024-01-16 00:54:32 -05:00 |
Derrick Hammer
|
441e07f00e
|
refactor: rename ProtocolType
|
2024-01-16 00:53:39 -05:00 |
Derrick Hammer
|
f986e3e483
|
refactor: uploads should not store the cid but just a hash
|
2024-01-16 00:52:55 -05:00 |
Derrick Hammer
|
61696f42b8
|
feat: add GetHash
|
2024-01-16 00:48:06 -05:00 |
Derrick Hammer
|
62e22d0d39
|
feat: add CIDExists
|
2024-01-16 00:40:50 -05:00 |
Derrick Hammer
|
47602854a0
|
feat: bare bones account service
|
2024-01-16 00:19:36 -05:00 |
Derrick Hammer
|
4a408a179d
|
dep: add jwt
|
2024-01-16 00:11:21 -05:00 |
Derrick Hammer
|
4976874453
|
fix: ensure blocklist is singular
|
2024-01-16 00:11:12 -05:00 |
Derrick Hammer
|
86c80aefaa
|
fix: fix user relationship
|
2024-01-16 00:05:25 -05:00 |
Derrick Hammer
|
d30d2f34b5
|
fix: correct db name setting
|
2024-01-16 00:00:54 -05:00 |
Derrick Hammer
|
539d5ead65
|
fix: make core.db.name required
|
2024-01-15 23:59:58 -05:00 |
Derrick Hammer
|
cd7790834b
|
fix: provide a default database name
|
2024-01-15 23:59:18 -05:00 |
Derrick Hammer
|
4b56de03a3
|
fix: fix policies
|
2024-01-15 23:56:44 -05:00 |
Derrick Hammer
|
1ccc5d1141
|
fix: fix policies
|
2024-01-15 23:46:54 -05:00 |
Derrick Hammer
|
46dbfe77bc
|
fix: update def's
|
2024-01-15 23:41:13 -05:00 |
Derrick Hammer
|
e40111a276
|
fix: sec was not used
|
2024-01-15 23:15:57 -05:00 |
Derrick Hammer
|
b2d863d466
|
Revert "fix: refactor AddPolicy"
This reverts commit 17f16c53af .
|
2024-01-15 23:08:44 -05:00 |
Derrick Hammer
|
17f16c53af
|
fix: refactor AddPolicy
|
2024-01-15 23:07:44 -05:00 |
Derrick Hammer
|
f0b92aa2d6
|
fix: need to load policies
|
2024-01-15 22:53:51 -05:00 |
Derrick Hammer
|
87ebf5012b
|
fix: policies need to be added after
|
2024-01-15 22:53:12 -05:00 |
Derrick Hammer
|
212832eda1
|
refactor: since Portal.Logger can return a temporary logger, just use it
|
2024-01-15 22:44:28 -05:00 |